public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/52945] New: FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto *
@ 2012-04-12 9:35 dominiq at lps dot ens.fr
2012-04-12 9:58 ` [Bug testsuite/52945] " hubicka at ucw dot cz
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-04-12 9:35 UTC (permalink / raw)
To: gcc-bugs
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: unassigned@gcc.gnu.org
ReportedBy: dominiq@lps.ens.fr
CC: hubicka@gcc.gnu.org, iains@gcc.gnu.org
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/52945] FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto *
2012-04-12 9:35 [Bug testsuite/52945] New: FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto * dominiq at lps dot ens.fr
@ 2012-04-12 9:58 ` hubicka at ucw dot cz
2012-04-12 14:26 ` dominiq at lps dot ens.fr
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hubicka at ucw dot cz @ 2012-04-12 9:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52945
--- Comment #1 from Jan Hubicka <hubicka at ucw dot cz> 2012-04-12 09:56:44 UTC ---
Indeed, it should be tested only when weak aliases are supposed. There is some
dg trick for that...
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/52945] FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto *
2012-04-12 9:35 [Bug testsuite/52945] New: FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto * dominiq at lps dot ens.fr
2012-04-12 9:58 ` [Bug testsuite/52945] " hubicka at ucw dot cz
@ 2012-04-12 14:26 ` dominiq at lps dot ens.fr
2012-06-18 11:48 ` dominiq at lps dot ens.fr
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-04-12 14:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52945
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-04-12 14:26:04 UTC ---
> Indeed, it should be tested only when weak aliases are supposed. There is some
> dg trick for that...
Which one between '/* { dg-require-alias "" } */' and '/* { dg-require-weak ""
} */'?
Note also that I don't have any write access.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/52945] FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto *
2012-04-12 9:35 [Bug testsuite/52945] New: FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto * dominiq at lps dot ens.fr
2012-04-12 9:58 ` [Bug testsuite/52945] " hubicka at ucw dot cz
2012-04-12 14:26 ` dominiq at lps dot ens.fr
@ 2012-06-18 11:48 ` dominiq at lps dot ens.fr
2012-09-23 21:46 ` dominiq at lps dot ens.fr
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-06-18 11:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52945
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-06-18 11:47:57 UTC ---
Using dg-require-weak does not fix the failures, but the test is skipped with
the following patch:
--- ../_clean/gcc/testsuite/gcc.dg/lto/pr52634_0.c 2012-04-10
08:58:02.000000000 +0200
+++ gcc/testsuite/gcc.dg/lto/pr52634_0.c 2012-06-17 15:37:54.000000000 +0200
@@ -1,3 +1,4 @@
+/* { dg-require-alias "" } */
/* { dg-lto-do link } */
/* { dg-lto-options {{-flto -r -nostdlib -flto-partition=1to1}} */
extern int cfliteValueCallBacks;
Is it the RIGHT way to fix this PR?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/52945] FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto *
2012-04-12 9:35 [Bug testsuite/52945] New: FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto * dominiq at lps dot ens.fr
` (2 preceding siblings ...)
2012-06-18 11:48 ` dominiq at lps dot ens.fr
@ 2012-09-23 21:46 ` dominiq at lps dot ens.fr
2012-10-04 14:16 ` hubicka at ucw dot cz
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-09-23 21:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52945
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|x86_64-apple-darwin10 |*-apple-darwin*
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-09-23
CC| |howarth at bromo dot
| |med.uc.edu
Host|x86_64-apple-darwin10 |*-apple-darwin*
Ever Confirmed|0 |1
Build|x86_64-apple-darwin10 |*-apple-darwin*
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-09-23 21:45:59 UTC ---
I have the following patch in my tree for some time now
PR gcc/52945
* testsuite/gcc.dg/lto/pr52634_0.c: skip the test on Darwin.
--- /opt/gcc/_clean/gcc/testsuite/gcc.dg/lto/pr52634_0.c 2012-04-10
08:58:02.000000000 +0200
+++ /opt/gcc/work/gcc/testsuite/gcc.dg/lto/pr52634_0.c 2012-06-19
15:09:29.000000000 +0200
@@ -1,3 +1,5 @@
+/* { dg-require-weak "" } */
+/* { dg-require-alias "" } */
/* { dg-lto-do link } */
/* { dg-lto-options {{-flto -r -nostdlib -flto-partition=1to1}} */
extern int cfliteValueCallBacks;
tested on powerpc-apple-darwin9 and x86_64-apple-darwin10.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/52945] FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto *
2012-04-12 9:35 [Bug testsuite/52945] New: FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto * dominiq at lps dot ens.fr
` (3 preceding siblings ...)
2012-09-23 21:46 ` dominiq at lps dot ens.fr
@ 2012-10-04 14:16 ` hubicka at ucw dot cz
2012-10-23 14:59 ` hubicka at gcc dot gnu.org
2012-10-27 14:37 ` dominiq at lps dot ens.fr
6 siblings, 0 replies; 8+ messages in thread
From: hubicka at ucw dot cz @ 2012-10-04 14:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52945
--- Comment #5 from Jan Hubicka <hubicka at ucw dot cz> 2012-10-04 14:16:15 UTC ---
> I have the following patch in my tree for some time now
>
> PR gcc/52945
> * testsuite/gcc.dg/lto/pr52634_0.c: skip the test on Darwin.
>
> --- /opt/gcc/_clean/gcc/testsuite/gcc.dg/lto/pr52634_0.c 2012-04-10
> 08:58:02.000000000 +0200
> +++ /opt/gcc/work/gcc/testsuite/gcc.dg/lto/pr52634_0.c 2012-06-19
> 15:09:29.000000000 +0200
> @@ -1,3 +1,5 @@
> +/* { dg-require-weak "" } */
> +/* { dg-require-alias "" } */
yes, this looks right. The patch is OK.
Honza
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/52945] FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto *
2012-04-12 9:35 [Bug testsuite/52945] New: FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto * dominiq at lps dot ens.fr
` (4 preceding siblings ...)
2012-10-04 14:16 ` hubicka at ucw dot cz
@ 2012-10-23 14:59 ` hubicka at gcc dot gnu.org
2012-10-27 14:37 ` dominiq at lps dot ens.fr
6 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu.org @ 2012-10-23 14:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52945
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-10-23 14:59:10 UTC ---
Author: hubicka
Date: Tue Oct 23 14:59:02 2012
New Revision: 192716
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192716
Log:
PR gcc/52945
* testsuite/gcc.dg/lto/pr52634_0.c: skip the test on Darwin.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/lto/pr52634_0.c
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/52945] FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto *
2012-04-12 9:35 [Bug testsuite/52945] New: FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto * dominiq at lps dot ens.fr
` (5 preceding siblings ...)
2012-10-23 14:59 ` hubicka at gcc dot gnu.org
@ 2012-10-27 14:37 ` dominiq at lps dot ens.fr
6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-10-27 14:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52945
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-10-27 14:36:41 UTC ---
Thanks for the commit. Closing.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-10-27 14:37 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-12 9:35 [Bug testsuite/52945] New: FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto * dominiq at lps dot ens.fr
2012-04-12 9:58 ` [Bug testsuite/52945] " hubicka at ucw dot cz
2012-04-12 14:26 ` dominiq at lps dot ens.fr
2012-06-18 11:48 ` dominiq at lps dot ens.fr
2012-09-23 21:46 ` dominiq at lps dot ens.fr
2012-10-04 14:16 ` hubicka at ucw dot cz
2012-10-23 14:59 ` hubicka at gcc dot gnu.org
2012-10-27 14:37 ` dominiq at lps dot ens.fr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).