This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12634] New: Cannot specify "section attributes" on class constructors
- From: "weidmann at acm dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Oct 2003 07:33:36 -0000
- Subject: [Bug c++/12634] New: Cannot specify "section attributes" on class constructors
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12634
Summary: Cannot specify "section attributes" on class
constructors
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: weidmann at acm dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: Linux
The following code (which compiled a few years ago with egcs) fails to compile
on gcc-3.3.1:
class foo {
public:
foo();
};
foo::foo() __attribute__((section("bar")))
{
}
But works on regular class methods.