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]

Re: Small update to reversed_comparison_code



On Tue, 27 Feb 2001, Jan Hubicka wrote:

> This patch makes reversed_comparison_code smarter - it allows reversals
> like LT->UNGE, since they are safe - the resulting comparison may not trap.
> Also allows the oposite direction of reversals for -ffast-math mode.
>
> This patch is needed to make ifcvt match some cmoves on i386 w/o -ffast-math.
>
> Honza
>
> Tue Feb 27 17:52:14 CET 2001  Jan Hubicka  <jh@suse.cz>
> 	* jump.c (reversed_comparison_code_parts): Allow reversal of
> 	unordered compares in -ffast-math mode; reverse ordered compares
> 	for FP even w/o -ffast-math.

Hi,

This patch broke the arm-linux builds on the mainline.  My last
successful build was immediately before this patch was applied.  Reverting
this patch on the next day's build allows it to pass the failure listed
below.  All builds since March 1st fail with the same failure.

It is true that this change could simply have exposed another latent bug
in the compiler.  Let me know if more info is needed, I can send along
the .i file.

Thanks,
-Rms

./xgcc -B./ -B/usr/local/armv4l-unknown-linux-gnu/bin/ -isystem
/usr/local/armv4l-unknown-linux-gnu/include -O2   -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -fomit-frame-pointer -fPIC -g0 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/home/build-rpm/BUILD/gcc/gcc
-I/home/build-rpm/BUILD/gcc/gcc/. -I/home/build-rpm/BUILD/gcc/gcc/config
-I/home/build-rpm/BUILD/gcc/gcc/../include  -DL_fixunsdfsi -c
/home/build-rpm/BUILD/gcc/gcc/libgcc2.c -o libgcc/./_fixunsdfsi.o
/home/build-rpm/BUILD/gcc/gcc/libgcc2.c: In function `__fixunsdfsi':
/home/build-rpm/BUILD/gcc/gcc/libgcc2.c:1173: Internal compiler error in
copy_rtx, at rtl.c:444
Please submit a full bug report, with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [libgcc/./_fixunsdfsi.o] Error 1


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