http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52945
Bug #: 52945
Summary: FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble,
-O* -flto *
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Host: x86_64-apple-darwin10
Target: x86_64-apple-darwin10
Build: x86_64-apple-darwin10
On x86_64-apple-darwin10 the test gcc.dg/lto/pr52634* introduced in revision
186252 fails:
FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O0 -flto
-flto-partition=none
UNRESOLVED: gcc.dg/lto/pr52634 c_lto_pr52634_0.o-c_lto_pr52634_1.o link -O0
-flto -flto-partition=none
UNRESOLVED: gcc.dg/lto/pr52634 c_lto_pr52634_0.o-c_lto_pr52634_1.o execute -O0
-flto -flto-partition=none
FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O2 -flto
-flto-partition=none
UNRESOLVED: gcc.dg/lto/pr52634 c_lto_pr52634_0.o-c_lto_pr52634_1.o link -O2
-flto -flto-partition=none
UNRESOLVED: gcc.dg/lto/pr52634 c_lto_pr52634_0.o-c_lto_pr52634_1.o execute -O2
-flto -flto-partition=none
FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O0 -flto
-flto-partition=1to1
UNRESOLVED: gcc.dg/lto/pr52634 c_lto_pr52634_0.o-c_lto_pr52634_1.o link -O0
-flto -flto-partition=1to1
UNRESOLVED: gcc.dg/lto/pr52634 c_lto_pr52634_0.o-c_lto_pr52634_1.o execute -O0
-flto -flto-partition=1to1
FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O2 -flto
-flto-partition=1to1
UNRESOLVED: gcc.dg/lto/pr52634 c_lto_pr52634_0.o-c_lto_pr52634_1.o link -O2
-flto -flto-partition=1to1
UNRESOLVED: gcc.dg/lto/pr52634 c_lto_pr52634_0.o-c_lto_pr52634_1.o execute -O2
-flto -flto-partition=1to1
FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O0 -flto
UNRESOLVED: gcc.dg/lto/pr52634 c_lto_pr52634_0.o-c_lto_pr52634_1.o link -O0
-flto
UNRESOLVED: gcc.dg/lto/pr52634 c_lto_pr52634_0.o-c_lto_pr52634_1.o execute -O0
-flto
FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O2 -flto
UNRESOLVED: gcc.dg/lto/pr52634 c_lto_pr52634_0.o-c_lto_pr52634_1.o link -O2
-flto
UNRESOLVED: gcc.dg/lto/pr52634 c_lto_pr52634_0.o-c_lto_pr52634_1.o execute -O2
-flto
The failure is
Executing on host: /opt/gcc/build_w/gcc/xgcc -B/opt/gcc/build_w/gcc/
-fno-diagnostics-show-caret -O0 -flto -flto-partition=none -c -m32 -o
c_lto_pr52634_0.o /opt/gcc/work/gcc/testsuite/gcc.dg/lto/pr52634_0.c
(timeout = 300)
PASS: gcc.dg/lto/pr52634 c_lto_pr52634_0.o assemble, -O0 -flto
-flto-partition=none
Executing on host: /opt/gcc/build_w/gcc/xgcc -B/opt/gcc/build_w/gcc/
-fno-diagnostics-show-caret -O0 -flto -flto-partition=none -c -m32 -o
c_lto_pr52634_1.o /opt/gcc/work/gcc/testsuite/gcc.dg/lto/pr52634_1.c
(timeout = 300)
/opt/gcc/work/gcc/testsuite/gcc.dg/lto/pr52634_1.c:2:12: error: only weak
aliases are supported in this configuration
/opt/gcc/work/gcc/testsuite/gcc.dg/lto/pr52634_1.c:2:12: error: only weak
aliases are supported in this configuration
compiler exited with status 1
This test should probably skipped on platforms that are not supporting weak
aliases.