[Bug c++/12634] New: Cannot specify "section attributes" on class constructors
weidmann at acm dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 16 07:33:00 GMT 2003
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.
More information about the Gcc-bugs
mailing list