void bar (const unsigned short *const); void foo (void) { const unsigned short *const p = (const unsigned short []){ 'F', 'o', 'o', 0 }; bar (p); }
at -O and higher results in ICE in gimple_add_tmp_var. -- Summary: [4.0/4.1 Regression] ICE in gimple_add_tmp_var Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at redhat dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22050