This is the mail archive of the gcc-bugs@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]

Bug in gcc/config/arm/arm.c


Hi,

There is a bug in output_move_double() in the file gcc/config/arm/arm.c 
which sometimes causes the stack to be corrupted.

The declaration of otherops should be
'rtx otherops[3]' and not 'rtx otherops[2]' 

The bug occured when cross-compiling from linux to arm-semi-aout target.

ECGS was configured "--target=arm-semi-aout" and with CFLAGS="-O6
-mpentium"

Doing a full bootstrap using "make" failed when it tried to compile the
_divdi3 function in libgcc2.c, serveral of the other functions from 
libgcc2.c will fail.

With the change implemented the full bootstrap completes.

Graham


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