public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/53963] New: [4.8 Regression] LTO bootstrap failed with bootstrap-profiled
@ 2012-07-14 15:24 hjl.tools at gmail dot com
  2012-07-14 16:47 ` [Bug bootstrap/53963] " ubizjak at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2012-07-14 15:24 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53963

             Bug #: 53963
           Summary: [4.8 Regression] LTO bootstrap failed with
                    bootstrap-profiled
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com


On Linux/x86-64, revision 189467 failed to profiledbootstrap:

checking for suffix of object files... configure: error: in
`/export/gnu/import/git/gcc-test-profile/bld/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[5]: *** [configure-stagefeedback-target-libgcc] Error 1

when configured with

--prefix=/usr/local --enable-clocale=gnu --with-system-zlib --enable-sh
ared --with-demangler-in-ld --with-build-config=bootstrap-lto --with-fpmath=sse 

"--prefix=/usr/local" is the key to trigger this regression.
The stage 3 compiler is miscompiled.  Revision 189349 is OK.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/53963] [4.8 Regression] LTO bootstrap failed with bootstrap-profiled
  2012-07-14 15:24 [Bug bootstrap/53963] New: [4.8 Regression] LTO bootstrap failed with bootstrap-profiled hjl.tools at gmail dot com
@ 2012-07-14 16:47 ` ubizjak at gmail dot com
  2012-07-14 16:52 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2012-07-14 16:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53963

--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2012-07-14 16:46:56 UTC ---
(In reply to comment #0)
> On Linux/x86-64, revision 189467 failed to profiledbootstrap:
> 
> checking for suffix of object files... configure: error: in
> `/export/gnu/import/git/gcc-test-profile/bld/x86_64-unknown-linux-gnu/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> make[5]: *** [configure-stagefeedback-target-libgcc] Error 1
> 
> when configured with
> 
> --prefix=/usr/local --enable-clocale=gnu --with-system-zlib --enable-sh
> ared --with-demangler-in-ld --with-build-config=bootstrap-lto --with-fpmath=sse 
> 
> "--prefix=/usr/local" is the key to trigger this regression.
> The stage 3 compiler is miscompiled.  Revision 189349 is OK.

I don' think so. I have configured as

../gcc-svn/trunk/configure --with-build-config=bootstrap-lto
--enable-languages=c

and fails as well. Backing out r189453 works OK.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/53963] [4.8 Regression] LTO bootstrap failed with bootstrap-profiled
  2012-07-14 15:24 [Bug bootstrap/53963] New: [4.8 Regression] LTO bootstrap failed with bootstrap-profiled hjl.tools at gmail dot com
  2012-07-14 16:47 ` [Bug bootstrap/53963] " ubizjak at gmail dot com
@ 2012-07-14 16:52 ` hjl.tools at gmail dot com
  2012-07-14 18:43 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2012-07-14 16:52 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53963

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2012-07-14 16:52:42 UTC ---
(In reply to comment #1)
> > "--prefix=/usr/local" is the key to trigger this regression.
> > The stage 3 compiler is miscompiled.  Revision 189349 is OK.
> 
> I don' think so. I have configured as
> 
> ../gcc-svn/trunk/configure --with-build-config=bootstrap-lto
> --enable-languages=c

I believe --prefix=/usr/local is the default. I didn't get this
failure with --prefix=/usr/gcc-4.8.0.

> and fails as well. Backing out r189453 works OK.

I am testing reverting:

diff --git a/gcc/gimple.c b/gcc/gimple.c
index 398cb1f..b419591 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -3422,10 +3422,6 @@ gimple_types_compatible_p_1 (tree t1, tree t2,
type_pair_
t p,
     goto different_types;
     }

-  /* If their attributes are not the same they can't be the same type.  */
-  if (!attribute_list_equal (TYPE_ATTRIBUTES (t1), TYPE_ATTRIBUTES (t2)))
-    goto different_types;
-
   /* Do type-specific comparisons.  */
   switch (TREE_CODE (t1))
     {


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/53963] [4.8 Regression] LTO bootstrap failed with bootstrap-profiled
  2012-07-14 15:24 [Bug bootstrap/53963] New: [4.8 Regression] LTO bootstrap failed with bootstrap-profiled hjl.tools at gmail dot com
  2012-07-14 16:47 ` [Bug bootstrap/53963] " ubizjak at gmail dot com
  2012-07-14 16:52 ` hjl.tools at gmail dot com
@ 2012-07-14 18:43 ` hjl.tools at gmail dot com
  2012-07-14 18:50 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2012-07-14 18:43 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53963

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu.org

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-07-14 18:43:31 UTC ---
This is caused by revision 189453:

http://gcc.gnu.org/ml/gcc-cvs/2012-07/msg00357.html


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/53963] [4.8 Regression] LTO bootstrap failed with bootstrap-profiled
  2012-07-14 15:24 [Bug bootstrap/53963] New: [4.8 Regression] LTO bootstrap failed with bootstrap-profiled hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2012-07-14 18:43 ` hjl.tools at gmail dot com
@ 2012-07-14 18:50 ` hjl.tools at gmail dot com
  2012-07-16 12:35 ` hjl at gcc dot gnu.org
  2012-07-16 15:40 ` hjl.tools at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2012-07-14 18:50 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53963

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2012-07/msg00558.htm
                   |                            |l
   Last reconfirmed|                            |2012-07-14
   Target Milestone|---                         |4.8.0
     Ever Confirmed|0                           |1

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2012-07-14 18:50:18 UTC ---
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2012-07/msg00558.html


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/53963] [4.8 Regression] LTO bootstrap failed with bootstrap-profiled
  2012-07-14 15:24 [Bug bootstrap/53963] New: [4.8 Regression] LTO bootstrap failed with bootstrap-profiled hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2012-07-14 18:50 ` hjl.tools at gmail dot com
@ 2012-07-16 12:35 ` hjl at gcc dot gnu.org
  2012-07-16 15:40 ` hjl.tools at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: hjl at gcc dot gnu.org @ 2012-07-16 12:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53963

--- Comment #5 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-07-16 12:35:18 UTC ---
Author: hjl
Date: Mon Jul 16 12:35:10 2012
New Revision: 189528

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189528
Log:
Restore type attribute comparison

    PR middle-end/53959
    PR bootstrap/53963
    * gimple.c (gimple_types_compatible_p_1): Restore type attribute
    comparison.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple.c


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/53963] [4.8 Regression] LTO bootstrap failed with bootstrap-profiled
  2012-07-14 15:24 [Bug bootstrap/53963] New: [4.8 Regression] LTO bootstrap failed with bootstrap-profiled hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2012-07-16 12:35 ` hjl at gcc dot gnu.org
@ 2012-07-16 15:40 ` hjl.tools at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2012-07-16 15:40 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53963

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2012-07-16 15:39:52 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-07-16 15:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-14 15:24 [Bug bootstrap/53963] New: [4.8 Regression] LTO bootstrap failed with bootstrap-profiled hjl.tools at gmail dot com
2012-07-14 16:47 ` [Bug bootstrap/53963] " ubizjak at gmail dot com
2012-07-14 16:52 ` hjl.tools at gmail dot com
2012-07-14 18:43 ` hjl.tools at gmail dot com
2012-07-14 18:50 ` hjl.tools at gmail dot com
2012-07-16 12:35 ` hjl at gcc dot gnu.org
2012-07-16 15:40 ` hjl.tools at gmail dot com

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).