optimization/7507: [3.2/3.3 regression] ICE (segfault) with -O2

Volker Reichelt reichelt@igpm.rwth-aachen.de
Thu Nov 28 12:30:00 GMT 2002

Hi again,

a distilled testcase is the following:

---------------------snip here---------------------
void foo (int i);

inline void bar () { return; }

void baz (int (*p)(), void* q)
  if (&p==q) foo( (bar(),p) () );
---------------------snip here---------------------

Compilation with gcc 3.1 - 3.2.1 on i686-pc-linu-gnu yields:

PR7507.i: In function `baz':
PR7507.i:8: internal error: Segmentation fault
Please submit a full bug report, [etc.]

The bug seems to be target specific, since I cannot reproduce it on



More information about the Gcc-bugs mailing list