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: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Feb 2004 03:17:37 -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 reichelt at gcc dot gnu dot org 2004-02-19 03:17 -------
Here's a redux for the ICE:
=============================================
struct A;
void foo(const A&);
struct A
{
A(const A&);
};
struct B
{
A a;
A bar() { return a; }
};
=============================================
If the ICE is fixed one should probably revisit the errors in libstdc++.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Severity|minor |critical
Component|libstdc++ |c++
Keywords|error-recovery, ice-on- |ice-on-valid-code, monitored
|invalid-code |
Known to work|3.3.1 |3.3.3
Summary|[3.4/3.5 Regression] |[3.4/3.5 Regression] -fpack-
|cvs20040211: -fpack-struct |struct crashes on
|crashes on hello_world.cpp |hello_world.cpp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14173