GCC BUG: Optimization of offset computations

Nathan Sidwell nathan@acm.org
Thu Dec 2 05:31:00 GMT 1999


Hi,
Another ICE which appeared with

Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
(the checkin which applies to fold-const.c corresponding to
Changlog version:
revision 1.5067
date: 1999/11/27 13:50:12;  author: kenner;  state: Exp;  lines: +9 -0
)

void fn (char *ptr)
{
  void *p = ptr - 8 - 4;
}
nathan@uha:43>cc1 foo.i
 fn
foo.i: In function `fn':
foo.i:4: Unrecognizable insn:
(insn 9 6 11 (parallel[ 
            (set (reg:SI 24)
                (neg:SI (const_int 8 [0x8])))
            (clobber (reg:CC 17 flags))
        ] ) -1 (nil)
    (nil))
foo.i:4: Internal compiler error in `extract_insn', at recog.c:2043
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.

nathan@uha:44>uname -a
Linux uha.cs.bris.ac.uk 2.2.12-20 #1 Mon Sep 27 10:40:35 EDT 1999 i686 unknown

This does not appear to be fixed in todays (2 Dec 1999) CVS.

nathan
-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
Never hand someone a gun unless you are sure where they will point it
nathan@acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan@cs.bris.ac.uk


More information about the Gcc-bugs mailing list