This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Testcase g++.old-deja/g++.other/enum5.C on 3.4 branch
- From: "Kaveh R. Ghazi" <ghazi at caipclassic dot rutgers dot edu>
- To: bje at redhat dot com, gdr at integrable-solutions dot net, pinskia at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 Dec 2005 20:45:19 -0500 (EST)
- Subject: Testcase g++.old-deja/g++.other/enum5.C on 3.4 branch
Gaby,
Testcase g++.old-deja/g++.other/enum5.C on the 3.4 branch fails with
this:
WARNING: g++.old-deja/g++.other/enum5.C compilation failed to produce executable
Applying part of Ben's last patch to the testcase allows it to
compile,
> 2004-11-04 Ben Elliston <bje@au.ibm.com>
>
> * g++.old-deja/g++.other/enum5.C (enum conditions): Move the
> packed attribute to the definition to satisfy the new C++ parser.
but gcc-3.4.x won't pack the enums and the runtime tests checking the
sizes abort.
> enum5.C:9: warning: `packed' attribute ignored
> enum5.C:10: warning: `packed' attribute ignored
> enum5.C:11: warning: `packed' attribute ignored
PR 19997 was filed against the 3.4 branch for this, but closed by
Andrew because it's fixed on 4.0. What would you like to do about
this in 3.4.6?
Shall I delete the testcasein 3.4?
2005-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* g++.old-deja/g++.other/enum5.C: Remove.