This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12999] Internal compiler error for syntax error with __attribute__ ((packed))
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Nov 2003 22:35:17 -0000
- Subject: [Bug c++/12999] Internal compiler error for syntax error with __attribute__ ((packed))
- References: <20031110222953.12999.tron.thomas@verizon.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2003-11-10 22:35 -------
Confirmed. Here's something smaller:
--------------------
void foo() {
typedef struct
{
int i;
} S; __attribute__ ((packed)) S;
}
--------------------
This ICEs with everything up to gcc3.3.2, so it's not a regression. In
addition, it is fixed in mainline, which reports
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -c x.cc
x.cc: In function `void foo()':
x.cc:5: error: declaration does not declare anything
So this is fixed.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |ice-on-invalid-code
Resolution| |FIXED
Target Milestone|--- |3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12999