public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/45790] New: 1308 new GCC HEAD@164592 regressions
@ 2010-09-25 14:31 dominiq at lps dot ens.fr
2010-09-27 12:29 ` [Bug lto/45790] " dominiq at lps dot ens.fr
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-09-25 14:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45790
Summary: 1308 new GCC HEAD@164592 regressions
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dominiq@lps.ens.fr
Host: powerpc-apple-darwin9
Target: powerpc-apple-darwin9
Build: powerpc-apple-darwin9
On powerpc-apple-darwin9 at revision 164592, most (all?) the tests with -flto
of -fwhopr fail with
lto1: fatal error: target specific builtin not available
(see http://gcc.gnu.org/ml/gcc-testresults/2010-09/msg02251.html ).
Last known working revision is r164531 (see
http://gcc.gnu.org/ml/gcc-testresults/2010-09/msg02113.html ).
--
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug lto/45790] 1308 new GCC HEAD@164592 regressions
2010-09-25 14:31 [Bug lto/45790] New: 1308 new GCC HEAD@164592 regressions dominiq at lps dot ens.fr
@ 2010-09-27 12:29 ` dominiq at lps dot ens.fr
2010-09-27 12:45 ` jiez at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-09-27 12:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45790
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |iains at gcc dot gnu.org,
| |rguenther at suse dot de
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-09-27 09:42:21 UTC ---
This pr seems to be due to revision 164591:
Author: rguenth
Date: Fri Sep 24 13:21:30 2010 UTC (2 days, 19 hours ago)
Changed paths: 5
Log Message:
2010-09-24 Richard Guenther <rguenther@suse.de>
* c-decl.c (pop_scope): Always set file-scope DECL_CONTEXT.
Make sure to not call set_type_context with error_mark_node.
* langhooks.c (lhd_set_decl_assembler_name): Use DECL_FILE_SCOPE_P.
* gcc.dg/lto/20091006-2_0.c: Prune warnings.
Changed paths:
Path Details
trunk/gcc/ChangeLog modified , text changed
trunk/gcc/c-decl.c modified , text changed
trunk/gcc/langhooks.c modified , text changed
trunk/gcc/testsuite/ChangeLog modified , text changed
trunk/gcc/testsuite/gcc.dg/lto/20091006-2_0.c modified , text changed
If I revert it at revision 164604, the failures are gone.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug lto/45790] 1308 new GCC HEAD@164592 regressions
2010-09-25 14:31 [Bug lto/45790] New: 1308 new GCC HEAD@164592 regressions dominiq at lps dot ens.fr
2010-09-27 12:29 ` [Bug lto/45790] " dominiq at lps dot ens.fr
@ 2010-09-27 12:45 ` jiez at gcc dot gnu.org
2010-09-27 14:21 ` dominiq at lps dot ens.fr
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jiez at gcc dot gnu.org @ 2010-09-27 12:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45790
Jie Zhang <jiez at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jiez at gcc dot gnu.org
--- Comment #2 from Jie Zhang <jiez at gcc dot gnu.org> 2010-09-27 10:07:21 UTC ---
The same issue was found on arm-none-eabi:
http://gcc.gnu.org/ml/gcc-patches/2010-09/msg02004.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug lto/45790] 1308 new GCC HEAD@164592 regressions
2010-09-25 14:31 [Bug lto/45790] New: 1308 new GCC HEAD@164592 regressions dominiq at lps dot ens.fr
2010-09-27 12:29 ` [Bug lto/45790] " dominiq at lps dot ens.fr
2010-09-27 12:45 ` jiez at gcc dot gnu.org
@ 2010-09-27 14:21 ` dominiq at lps dot ens.fr
2010-09-29 22:05 ` [Bug target/45790] " pinskia at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-09-27 14:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45790
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-09-27 10:31:13 UTC ---
On powerpc64-unknown-linux-gnu, this problem seems to only affect the
gcc.dg/vmx/* tests (see
http://gcc.gnu.org/ml/gcc-testresults/2010-09/msg02397.html ).
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/45790] 1308 new GCC HEAD@164592 regressions
2010-09-25 14:31 [Bug lto/45790] New: 1308 new GCC HEAD@164592 regressions dominiq at lps dot ens.fr
` (2 preceding siblings ...)
2010-09-27 14:21 ` dominiq at lps dot ens.fr
@ 2010-09-29 22:05 ` pinskia at gcc dot gnu.org
2010-09-29 22:09 ` [Bug target/45790] [4.6 Regression] rs6000 builtin vs LTO pinskia at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-09-29 22:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45790
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|lto |target
Host|powerpc-apple-darwin9 |
Build|powerpc-apple-darwin9 |
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-09-29 17:08:53 UTC ---
>lto1: fatal error: target specific builtin not available
PowerPC has the hook implemented, why is it failing for powerpc-darwin then?
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/45790] [4.6 Regression] rs6000 builtin vs LTO
2010-09-25 14:31 [Bug lto/45790] New: 1308 new GCC HEAD@164592 regressions dominiq at lps dot ens.fr
` (3 preceding siblings ...)
2010-09-29 22:05 ` [Bug target/45790] " pinskia at gcc dot gnu.org
@ 2010-09-29 22:09 ` pinskia at gcc dot gnu.org
2010-09-29 22:18 ` iains at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-09-29 22:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45790
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|powerpc-apple-darwin9 |powerpc*-*-*
Target Milestone|--- |4.6.0
Summary|1308 new GCC HEAD@164592 |[4.6 Regression] rs6000
|regressions |builtin vs LTO
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-09-29 17:12:34 UTC ---
rs6000_builtin_decl should be working correctly.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/45790] [4.6 Regression] rs6000 builtin vs LTO
2010-09-25 14:31 [Bug lto/45790] New: 1308 new GCC HEAD@164592 regressions dominiq at lps dot ens.fr
` (4 preceding siblings ...)
2010-09-29 22:09 ` [Bug target/45790] [4.6 Regression] rs6000 builtin vs LTO pinskia at gcc dot gnu.org
@ 2010-09-29 22:18 ` iains at gcc dot gnu.org
2010-09-29 23:23 ` howarth at nitro dot med.uc.edu
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: iains at gcc dot gnu.org @ 2010-09-29 22:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45790
--- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> 2010-09-29 17:26:51 UTC ---
(In reply to comment #5)
> rs6000_builtin_decl should be working correctly.
Indeed,
I suspect it is because we patch the builtin names to append $LDBL128 for the
case that we have 128bit long doubles. However, I've not had a chance to
investigate why that patching process does not result in a correctly emitted
builtin (or maybe the target needs to get to opportunity to do so in lto).
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/45790] [4.6 Regression] rs6000 builtin vs LTO
2010-09-25 14:31 [Bug lto/45790] New: 1308 new GCC HEAD@164592 regressions dominiq at lps dot ens.fr
` (5 preceding siblings ...)
2010-09-29 22:18 ` iains at gcc dot gnu.org
@ 2010-09-29 23:23 ` howarth at nitro dot med.uc.edu
2010-09-30 10:30 ` rguenther at suse dot de
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2010-09-29 23:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45790
Jack Howarth <howarth at nitro dot med.uc.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |howarth at nitro dot
| |med.uc.edu
--- Comment #7 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-09-29 19:15:02 UTC ---
(In reply to comment #6)
> (In reply to comment #5)
> > rs6000_builtin_decl should be working correctly.
>
> Indeed,
> I suspect it is because we patch the builtin names to append $LDBL128 for the
> case that we have 128bit long doubles. However, I've not had a chance to
> investigate why that patching process does not result in a correctly emitted
> builtin (or maybe the target needs to get to opportunity to do so in lto).
You might also look at the definition of TARGET_OS_CPP_BUILTINS() in
gcc/config/rs6000/darwin.h.
The arm-none-eabi target which is also regressed has that redefined as well.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/45790] [4.6 Regression] rs6000 builtin vs LTO
2010-09-25 14:31 [Bug lto/45790] New: 1308 new GCC HEAD@164592 regressions dominiq at lps dot ens.fr
` (6 preceding siblings ...)
2010-09-29 23:23 ` howarth at nitro dot med.uc.edu
@ 2010-09-30 10:30 ` rguenther at suse dot de
2010-10-10 19:20 ` dominiq at lps dot ens.fr
2010-10-10 19:32 ` dominiq at lps dot ens.fr
9 siblings, 0 replies; 11+ messages in thread
From: rguenther at suse dot de @ 2010-09-30 10:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45790
--- Comment #8 from rguenther at suse dot de <rguenther at suse dot de> 2010-09-30 08:45:26 UTC ---
On Wed, 29 Sep 2010, pinskia at gcc dot gnu.org wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45790
>
> Andrew Pinski <pinskia at gcc dot gnu.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Component|lto |target
> Host|powerpc-apple-darwin9 |
> Build|powerpc-apple-darwin9 |
>
> --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-09-29 17:08:53 UTC ---
> >lto1: fatal error: target specific builtin not available
>
> PowerPC has the hook implemented, why is it failing for powerpc-darwin then?
Because
else if (fclass == BUILT_IN_MD)
{
result = targetm.builtin_decl (fcode, true);
if (!result || result == error_mark_node)
fatal_error ("target specific builtin not available");
appearantly the ppc backends lazy construction doesn't work? Or
target specific flags are not properly set (or recorded and
re-instantiated at link time).
Sth to investigate.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/45790] [4.6 Regression] rs6000 builtin vs LTO
2010-09-25 14:31 [Bug lto/45790] New: 1308 new GCC HEAD@164592 regressions dominiq at lps dot ens.fr
` (7 preceding siblings ...)
2010-09-30 10:30 ` rguenther at suse dot de
@ 2010-10-10 19:20 ` dominiq at lps dot ens.fr
2010-10-10 19:32 ` dominiq at lps dot ens.fr
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-10-10 19:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45790
--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-10-10 19:20:19 UTC ---
This pr has vanished between revisions 165163 and 165193 (see
http://gcc.gnu.org/ml/gcc-testresults/2010-10/msg00634.html and
http://gcc.gnu.org/ml/gcc-testresults/2010-10/msg00646.html ). Revision 165191
seems to be the best candidate.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/45790] [4.6 Regression] rs6000 builtin vs LTO
2010-09-25 14:31 [Bug lto/45790] New: 1308 new GCC HEAD@164592 regressions dominiq at lps dot ens.fr
` (8 preceding siblings ...)
2010-10-10 19:20 ` dominiq at lps dot ens.fr
@ 2010-10-10 19:32 ` dominiq at lps dot ens.fr
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-10-10 19:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45790
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-10-10 19:32:13 UTC ---
On IRC Richard Guenther told me that he understand why r165191 fixed this pr.
Closing as fixed.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2010-10-10 19:32 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-25 14:31 [Bug lto/45790] New: 1308 new GCC HEAD@164592 regressions dominiq at lps dot ens.fr
2010-09-27 12:29 ` [Bug lto/45790] " dominiq at lps dot ens.fr
2010-09-27 12:45 ` jiez at gcc dot gnu.org
2010-09-27 14:21 ` dominiq at lps dot ens.fr
2010-09-29 22:05 ` [Bug target/45790] " pinskia at gcc dot gnu.org
2010-09-29 22:09 ` [Bug target/45790] [4.6 Regression] rs6000 builtin vs LTO pinskia at gcc dot gnu.org
2010-09-29 22:18 ` iains at gcc dot gnu.org
2010-09-29 23:23 ` howarth at nitro dot med.uc.edu
2010-09-30 10:30 ` rguenther at suse dot de
2010-10-10 19:20 ` dominiq at lps dot ens.fr
2010-10-10 19:32 ` 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).