------- Comment #2 from rguenth at gcc dot gnu dot org 2009-08-08 10:55 ------- Investigating.
Related testcase, same bug: typedef int *FARPROC; static int * __restrict__ acceptex_fn; int xWSAIoctl(void*); static void get_fn(FARPROC* fn) { FARPROC func; if (!xWSAIoctl( &func)) *fn = func; } void get_fn_pointers() { get_fn((FARPROC*)&acceptex_fn); } -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Component|c |middle-end Ever Confirmed|0 |1 Keywords| |ice-checking, ice-on-valid- | |code Last reconfirmed|0000-00-00 00:00:00 |2009-08-08 10:55:37 date| | Summary|verify_stmts failed: error: |[4.5 Regression] |non-trivial conversion at |verify_stmts failed: error: |assignment |non-trivial conversion at | |assignment Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41006