Bootstrap failure with enable-checking in current CVS (varasm.c: 3423)

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Wed Nov 3 04:09:00 GMT 1999


At 16:24 01.11.99 , Andreas Jaeger wrote:

>With the current CVS version (updated at 19991101 13:00 UTC) I get a
>bootstrap failure with --enable-checking:

Welcome to the club :-). I think the appended patch is the correct 
solution, as, according to the documentation and the comment, a SYMBOL_REF 
contains a string, whereas a LABEL_REF contains an expression.

>(gdb) p *x
>$4 = {code = SYMBOL_REF, mode = SImode, jump = 0, call = 0, unchanging = 
>1, volatil = 0, in_struct = 0, used = 0, integrated = 0,
>   frame_related = 0, fld = {{rtwint = 1075316040, rtint = 1075316040, 
> rtstr = 0x40180548 "*.LC1", rtx = 0x40180548, rtvec = 0x40180548,
>       rttype = 1075316040, rt_addr_diff_vec_flags = {min_align = 72, 
> base_after_vec = 1, min_after_vec = 0, max_after_vec = 1,
>         min_after_base = 0, max_after_base = 0, offset_unsigned = 0, 0, 
> scale = 24}, rtbit = 0x40180548, rttree = 0x40180548,
>       bb = 0x40180548}}}

You might try "p debug_rtx(x)" here, in case you don't know this handy 
little routine :-).

Franz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: varasm.patch
Type: text/x-diff
Size: 825 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/19991103/70d361e4/attachment.bin>


More information about the Gcc-patches mailing list