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]
Other format: [Raw text]

[Bug c++/13245] [3.3/3.4/3.5 Regression] SIGBUS (alignment) on ia-32 if alignment trapping is enabled


------- Additional Comments From rth at gcc dot gnu dot org  2004-01-30 09:52 -------
Not a regression, nor a bug.  -maligned-double does *not* affect
parameter lists.

The call to operator<< has two arguments, the first is a 4 byte pointer,
and the second is a double.  The double will *always* be at sp+4, which
will always be misaligned if we're trying to keep the regular stack frame
aligned.

If gcc 2.95 passed this test, it's only because it moved the 3.0 to the
stack with integer move instructions.  Change the test to use the result
of real floating-point arithmetic and it will fail too.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13245


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