This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/RFA] Handle RTX format 'B' in mark_constants()


> The tip of the trunk is giving me the following ICE when building libstdc++-v3
> for shle-netbsdelf:
> 
> /u1/hack/gnu-toolchain/gcc/build/i386-shle/gcc/xgcc -B/u1/hack/gnu-toolchain/gcc/build/i386-shle/gcc/ -B/usr/local/gnu/shle-unknown-netbsdelf/bin/ -B/usr/local/gnu/shle-unknown-netbsdelf/lib/ -isystem /usr/local/gnu/shle-unknown-netbsdelf/include -DHAVE_CONFIG_H -I. -I../../../../../gcc/libstdc++-v3/libmath -I.. -g -O2 -c ../../../../../gcc/libstdc++-v3/libmath/nan.c -o nan.o
> ../../../../../gcc/libstdc++-v3/libmath/nan.c: In function `nan':
> ../../../../../gcc/libstdc++-v3/libmath/nan.c:36: Internal compiler error in mark_constants, at varasm.c:3981
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Oops, sorry.
> 
> 	* varasm.c (mark_constants): Handle RTX format 'B'.

Yes, the patch is correct.  It would be probably cleaner to use
for_each_rtx instead, but that can be done later.
I apologize for the breakage, this definitly does not reproduce for me.

Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]