This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]