This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37170] New: [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: 20 Aug 2008 00:45:40 -0000
- Subject: [Bug middle-end/37170] New: [4.4 Regression]: gcc.dg/weak/weak-1.c
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
With 139231 this test passed.
With 139233 and on, I now see for cris-elf:
Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/weak/weak.exp ...
FAIL: gcc.dg/weak/weak-1.c scan-assembler weak[^ \t]*[ \t]_?j
I see this regression in posted testresults from ia64 and powerpc64 too.
Apparently, this is caused by revision 139233 which appears to rely on
output_operand to catch all weaks, but the change to output_operand on July 21
to call assemble_external is incomplete and only works for targets where
variable references are always wrapped in exactly one MEM around a symbol_ref.
(Missing cases of multiple mems, or where symbol_ref¨s aren't valid addresses
and offset references).
I'm testing a patch.
--
Summary: [4.4 Regression]: gcc.dg/weak/weak-1.c
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hp at gcc dot gnu dot org
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: cris-axis-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37170