This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap error on arm-netbsd1.4 (release branch)
- To: richard dot earnshaw at arm dot com
- Subject: Re: Bootstrap error on arm-netbsd1.4 (release branch)
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 13 Aug 1999 01:34:05 -0600
- cc: gcc-bugs at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <199908121543.QAA04560@sun52.NIS.cambridge>you write:
> Arrgh! I thought this was working ok, but I tried a bootstrap of the
> release branch (as of this morning) and I get an ICE when building
> libchill/chillstdio.c. I think it can be reduced to
>
> static void foo(void) __attribute__ ((constructor));
>
> static void foo(void)
> {
> printf("Hello\n");
> }
>
[ ... ]
> (call_insn 5 4 6 (parallel[
> (set (reg:CC_NOOV 0 r0)
> (call (mem:SI (symbol_ref:SI ("foo")) 0)
> (const_int 0 [0x0])))
> (clobber (reg:SI 14 lr))
> ] ) -1 (nil)
> (nil)
> (nil))
I'd suggest a breakpoint in make_call_insn_raw conditional on
cur_insn_uid == 5
Then walk backwards from that point to see who/what is setting the weird
mode on the return register from the call.
I would also verify that the stage1 compiler exhibits this bug... It may be
the case that the compiler is mis-compiling itself...
jeff