stack alignment bug in gcc 2.95.2

David Ronis ronis@ronispc.chem.mcgill.ca
Thu Nov 4 10:15:00 GMT 1999


Steven G. Johnson reported the following bug:


          This is just an update to say that the stack
          alignment bug I encountered
          in gcc 2.95.1
          ( http://egcs.cygnus.com/ml/gcc-bugs/1999-10/msg00800.html )

          is still present in 2.95.2.  See the previous
          message for a test case.

I ran his code on an i586 in both libc5/libc6 environments with several
different compile options.  Basically,
under 2.95.2,  with -malign-double,  I don't reproduce his problem with
-O but do with -O3, other options
had no effect, which isn't surprising since the test code makes no
explicit library calls nor does it include any
headers.   Something looks broken with alignment.

I'm on an i586-linux-gnu.

David




More information about the Gcc-bugs mailing list