This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13245] [3.3/3.4/3.5 Regression] SIGBUS (alignment) on ia-32 if alignment trapping is enabled
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2004 09:52:14 -0000
- Subject: [Bug c++/13245] [3.3/3.4/3.5 Regression] SIGBUS (alignment) on ia-32 if alignment trapping is enabled
- References: <20031130202210.13245.gcc-bug@vogtner.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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