[Bug middle-end/42559] [4.5 Regression] ice in emit_block_move_hints with -O2

hjl dot tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Dec 30 23:38:00 GMT 2009



------- Comment #2 from hjl dot tools at gmail dot com  2009-12-30 23:38 -------
Here is a small testcase:

[hjl@gnu-34 rrs]$ cat pr19427.c
void jumpfunc(int copy, void *p)
{
 void *l = &&jumplabel;
 if (copy)
  __builtin___memcpy_chk (p, l, 128, __builtin_object_size (p, 0));
jumplabel:
 return;
}
[hjl@gnu-34 rrs]$ /export/gnu/import/rrs/155319/usr/bin/gcc -S -O2 pr19427.c
pr19427.c: In function ‘jumpfunc’:
pr19427.c:5:26: internal compiler error: in emit_block_move_hints, at
expr.c:1197
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-34 rrs]$ 

This assertion is added by revision 155316:

http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00460.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org
            Summary|ice in emit_block_move_hints|[4.5 Regression] ice in
                   |with -O2                    |emit_block_move_hints with -
                   |                            |O2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42559



More information about the Gcc-bugs mailing list