This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/45388] [4.6 Regression] Global constructor not found
- From: "dave at hiauly1 dot hia.nrc.ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 26 Sep 2010 23:21:46 +0000
- Subject: [Bug middle-end/45388] [4.6 Regression] Global constructor not found
- Auto-submitted: auto-generated
- References: <bug-45388-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45388
--- Comment #7 from dave at hiauly1 dot hia.nrc.ca 2010-09-26 23:21:44 UTC ---
Hi Steve,
> I have a patch I am testing. It worked on the test case but I haven't fully
> bootstrapped it.
Keep plugging away on this.
I have the sense that the breakage is intentional. I fought the same
battle in 4.5, so Honza should be aware what's happened. I believe that
he doesn't want the constructors to be global to improve interprocedurial
optimisations. I'm sure this could be fixed with a target hook, but
Honza doesn't really work on anything but x86.
Regards,
Dave