[Bug testsuite/42854] New: [4.4/4.5 Regression] FAIL: gcc.dg/darwin-weakimport-[13].c scan-assembler-not *
dominiq at lps dot ens dot fr
gcc-bugzilla@gcc.gnu.org
Sun Jan 24 14:42:00 GMT 2010
Since revision 155920 (see
http://gcc.gnu.org/ml/gcc-testresults/2010-01/msg01286.html or
http://gcc.gnu.org/ml/gcc-testresults/2010-01/msg02004.html ) there are the
following failures on *-apple-darwin*:
FAIL: gcc.dg/darwin-weakimport-1.c scan-assembler-not weak_[a-z \\t]*_b
FAIL: gcc.dg/darwin-weakimport-3.c scan-assembler-not coalesced
[karma] f90/bug% gcc45 -S
/opt/gcc/gcc-4.5-work/gcc/testsuite/gcc.dg/darwin-weakimport-1.c
[karma] f90/bug% grep weak darwin-weakimport-1.s
.weak_definition _b
.weak_reference _a
[karma] f90/bug% gcc45 -S
/opt/gcc/gcc-4.5-work/gcc/testsuite/gcc.dg/darwin-weakimport-3.c
[karma] f90/bug% grep coalesced darwin-weakimport-3.s
.section __TEXT,__textcoal_nt,coalesced,pure_instructions
The tests pass at revision: 155908 (see
http://gcc.gnu.org/ml/gcc-testresults/2010-01/msg01246.html ).
Likely due to revision 155919:
Author: jakub
Date: Thu Jan 14 22:41:02 2010 UTC (9 days, 15 hours ago)
Changed paths: 4
Log Message:
PR c++/42608
* varasm.c (declare_weak): Add weak attribute to decl if it
doesn't have one already.
(assemble_external): Only add decls to weak_decls if they also
have weak attribute.
* g++.dg/template/instantiate11.C: New test.
This is also seen on 4.4.3 (see
http://gcc.gnu.org/ml/gcc-testresults/2010-01/msg02202.html or
http://gcc.gnu.org/ml/gcc-testresults/2010-01/msg02196.html ), this seems a
regression since gcc4.4.2 gives:
[karma] f90/bug% gcc-4 -S
/opt/gcc/gcc-4.5-work/gcc/testsuite/gcc.dg/darwin-weakimport-1.c
[karma] f90/bug% grep weak darwin-weakimport-1.s
.weak_reference _a
.weak_reference _a
[karma] f90/bug% gcc-4 -S
/opt/gcc/gcc-4.5-work/gcc/testsuite/gcc.dg/darwin-weakimport-3.c
[karma] f90/bug% grep coalesced darwin-weakimport-3.s
--
Summary: [4.4/4.5 Regression] FAIL: gcc.dg/darwin-weakimport-
[13].c scan-assembler-not *
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
GCC build triplet: *-apple-darwin*
GCC host triplet: *-apple-darwin*
GCC target triplet: *-apple-darwin*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42854
More information about the Gcc-bugs
mailing list