This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c
- From: "hp at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Aug 2008 06:27:30 -0000
- Subject: [Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c
- References: <bug-37170-507@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #71 from hp at gcc dot gnu dot org 2008-08-30 06:27 -------
Created an attachment (id=16169)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16169&action=view)
Patch, take 6.
Sigh. This just moves the TREE_STATIC check from the early-return to the
weak-test, since it's wrong for *some* external declarations.
It shouldn't matter for Darwin (which doesn't define ASM_OUTPUT_EXTERNAL,
right?) but will fix the test-case for hppa2.0w-hp-hpux11.11, which BTW seems
not to support weak. Test in progress, native and cris-elf as before.
I'm thankful as always for any testing, this time particularly on hppa-hpux
targets.
--
hp at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #16146|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37170