[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-02-10 20:05 --- > It is not fixed. That's wrong. It is fixed in 4.0.0pre: gcc -E -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common -DHAVE_CONFIG_H-I. -Icp -I/home/eric/cvs/gcc/gcc -I/home/eric/cvs/gcc/gcc/cp -I/home/eric/cvs/gcc/gcc/../include -I/home/eric/cvs/gcc/gcc/../libcpp/include /home/eric/cvs/gcc/gcc/cp/call.c -dM | grep SUPPORTS #define SUPPORTS_ONE_ONLY 1 #define SUPPORTS_WEAK 1 #define SUPPORTS_INIT_PRIORITY 1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19715
[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target
--- Additional Comments From jiri at gaisler dot com 2005-02-10 19:24 --- Subject: Re: C++ init_priority is not enabled for generic sparc-elf target It is not fixed. In gcc-4.0.0, the file that needs to be fixed is gcc/config/sparc/sp-elf.h . It should contain the following: #undef CTORS_SECTION_ASM_OP #undef DTORS_SECTION_ASM_OP #undef SUPPORTS_INIT_PRIORITY #define SUPPORTS_INIT_PRIORITY 1 Jiri. ebotcazou at gcc dot gnu dot org wrote: > --- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-02-10 > 18:51 --- > >>It not fixed on 3.4 or the 4.0 as far as I can see. > > > What do you mean by "as far as I can see"? Did you really try with 4.0.0pre? > > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19715
[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-02-10 18:51 --- > It not fixed on 3.4 or the 4.0 as far as I can see. What do you mean by "as far as I can see"? Did you really try with 4.0.0pre? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19715
[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target
--- Additional Comments From jiri at gaisler dot com 2005-02-10 18:41 --- Subject: Re: C++ init_priority is not enabled for generic sparc-elf target It not fixed on 3.4 or the 4.0 as far as I can see. Jiri. ebotcazou at gcc dot gnu dot org wrote: > --- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-02-10 > 17:42 --- > >>The C++ pragma init_priority is enabled for several sparc targets, but not for >>the generic sparc-elf (--target=sparc-elf). > > > Confirmed, a fallout of the illegitimate dependency on the Solaris config > files > and, as such, probably already fixed on mainline. I'll try to do something > for > the 3.4 branch. > > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19715
[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target
-- What|Removed |Added CC||ebotcazou at gcc dot gnu dot ||org AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED GCC build triplet|any |*-*-* GCC host triplet|any |*-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19715
[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-02-10 17:42 --- > The C++ pragma init_priority is enabled for several sparc targets, but not for > the generic sparc-elf (--target=sparc-elf). Confirmed, a fallout of the illegitimate dependency on the Solaris config files and, as such, probably already fixed on mainline. I'll try to do something for the 3.4 branch. -- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00 |2005-02-10 17:42:28 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19715
[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target
-- What|Removed |Added Component|c++ |target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19715