This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14173] [3.4/3.5 Regression] -fpack-struct crashes on hello_world.cpp
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Feb 2004 07:10:12 -0000
- Subject: [Bug c++/14173] [3.4/3.5 Regression] -fpack-struct crashes on hello_world.cpp
- References: <20040217111611.14173.thome@lix.polytechnique.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-02-20 07:10 -------
IMO, the right fix for this PR is to remove -fpack-struct. It's an option
likely to burn almost all users due to the fact that the C/C++ standard
libraries are never going to be built in that mode on most systems.
Structure-packing should be done on a per-type basis.
On the other hand, there's an easy fix. I'll check that in when testing completes.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14173