public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/55391] New: [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux
@ 2012-11-19 10:38 mikpe at it dot uu.se
  2012-11-19 11:48 ` [Bug bootstrap/55391] " ebotcazou at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: mikpe at it dot uu.se @ 2012-11-19 10:38 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55391
           Summary: [4.8 regression] ICE in adjust_address_1 at
                    emit-rtl.c:2180 breaks bulding cross to sparc64-linux
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mikpe@it.uu.se


Attempting to build gcc-4.8-20121118 as a cross from x86_64-linux to
sparc64-linux fails with:

libtool: compile:  /mnt/scratch/objdir/./gcc/g++ -B/mnt/scratch/objdir/./gcc/
-nostdinc++ -nostdinc++
-I/mnt/scratch/objdir/sparc64-unknown-linux/libstdc++-v3/include/sparc64-unknown-linux
-I/mnt/scratch/objdir/sparc64-unknown-linux/libstdc++-v3/include
-I/mnt/scratch/gcc-4.8-20121118/libstdc++-v3/libsupc++
-I/mnt/scratch/gcc-4.8-20121118/libstdc++-v3/include/backward
-I/mnt/scratch/gcc-4.8-20121118/libstdc++-v3/testsuite/util
-L/mnt/scratch/objdir/sparc64-unknown-linux/libstdc++-v3/src
-L/mnt/scratch/objdir/sparc64-unknown-linux/libstdc++-v3/src/.libs
-B/home/mikpe/pkgs/linux-x86_64/cross-sparc64/sparc64-unknown-linux/bin/
-B/home/mikpe/pkgs/linux-x86_64/cross-sparc64/sparc64-unknown-linux/lib/
-isystem
/home/mikpe/pkgs/linux-x86_64/cross-sparc64/sparc64-unknown-linux/include
-isystem
/home/mikpe/pkgs/linux-x86_64/cross-sparc64/sparc64-unknown-linux/sys-include
-DHAVE_CONFIG_H -I. -I/mnt/scratch/gcc-4.8-20121118/libitm
-I/mnt/scratch/gcc-4.8-20121118/libitm/config/linux/sparc
-I/mnt/scratch/gcc-4.8-20121118/libitm/config/linux
-I/mnt/scratch/gcc-4.8-20121118/libitm/config/sparc
-I/mnt/scratch/gcc-4.8-20121118/libitm/config/posix
-I/mnt/scratch/gcc-4.8-20121118/libitm/config/generic
-I/mnt/scratch/gcc-4.8-20121118/libitm -ftls-model=initial-exec -Wall -pthread
-Werror -std=gnu++0x -funwind-tables -fno-exceptions -fno-rtti -fabi-version=4
-g -O2 -D_GNU_SOURCE -MT method-serial.lo -MD -MP -MF .deps/method-serial.Tpo
-c /mnt/scratch/gcc-4.8-20121118/libitm/method-serial.cc -o method-serial.o
In file included from /mnt/scratch/gcc-4.8-20121118/libitm/libitm_i.h:87:0,
                 from /mnt/scratch/gcc-4.8-20121118/libitm/method-serial.cc:25:
/mnt/scratch/gcc-4.8-20121118/libitm/method-serial.cc: In member function
'virtual _ITM_TYPE_CE {anonymous}::serialirr_dispatch::ITM_RCE(const
_ITM_TYPE_CE*)':
/mnt/scratch/gcc-4.8-20121118/libitm/dispatch.h:37:41: internal compiler error:
in adjust_address_1, at emit-rtl.c:2180
     return load(ptr, abi_dispatch::LSMOD);                                  \
                                         ^
(long stack dump omitted)

Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [method-serial.lo] Error 1
make[4]: Leaving directory `/mnt/scratch/objdir/sparc64-unknown-linux/libitm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/scratch/objdir/sparc64-unknown-linux/libitm'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/scratch/objdir/sparc64-unknown-linux/libitm'
make[1]: *** [all-target-libitm] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir'
make: *** [all] Error 2

Found while checking to see if the native ICE reported in PR55388 could be
reproduced with a cross.  Disabling libitm allows the build to complete.  (I
also had to disable libsanitizer to work around a build error there.)

Starting a bisection...


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

* [Bug bootstrap/55391] [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux
  2012-11-19 10:38 [Bug bootstrap/55391] New: [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux mikpe at it dot uu.se
@ 2012-11-19 11:48 ` ebotcazou at gcc dot gnu.org
  2012-11-19 12:06 ` ebotcazou at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-11-19 11:48 UTC (permalink / raw)
  To: gcc-bugs


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

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

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-11-19 11:48:03 UTC ---
> Found while checking to see if the native ICE reported in PR55388 could be
> reproduced with a cross.  Disabling libitm allows the build to complete.  (I
> also had to disable libsanitizer to work around a build error there.)
> 
> Starting a bisection...

I have a successful bootstrap on 20121117 so it's very recent.


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

* [Bug bootstrap/55391] [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux
  2012-11-19 10:38 [Bug bootstrap/55391] New: [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux mikpe at it dot uu.se
  2012-11-19 11:48 ` [Bug bootstrap/55391] " ebotcazou at gcc dot gnu.org
@ 2012-11-19 12:06 ` ebotcazou at gcc dot gnu.org
  2012-11-19 12:39 ` mikpe at it dot uu.se
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-11-19 12:06 UTC (permalink / raw)
  To: gcc-bugs


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-11-19
                 CC|                            |rsandifo at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-11-19 12:05:27 UTC ---
It's http://gcc.gnu.org/ml/gcc-cvs/2012-11/msg00548.html


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

* [Bug bootstrap/55391] [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux
  2012-11-19 10:38 [Bug bootstrap/55391] New: [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux mikpe at it dot uu.se
  2012-11-19 11:48 ` [Bug bootstrap/55391] " ebotcazou at gcc dot gnu.org
  2012-11-19 12:06 ` ebotcazou at gcc dot gnu.org
@ 2012-11-19 12:39 ` mikpe at it dot uu.se
  2012-11-20  3:00 ` [Bug middle-end/55391] " pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mikpe at it dot uu.se @ 2012-11-19 12:39 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Mikael Pettersson <mikpe at it dot uu.se> 2012-11-19 12:38:47 UTC ---
(In reply to comment #2)
> It's http://gcc.gnu.org/ml/gcc-cvs/2012-11/msg00548.html

My bisection identified the same rev (193601).


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

* [Bug middle-end/55391] [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux
  2012-11-19 10:38 [Bug bootstrap/55391] New: [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux mikpe at it dot uu.se
                   ` (2 preceding siblings ...)
  2012-11-19 12:39 ` mikpe at it dot uu.se
@ 2012-11-20  3:00 ` pinskia at gcc dot gnu.org
  2012-11-20 19:50 ` rsandifo at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-11-20  3:00 UTC (permalink / raw)
  To: gcc-bugs


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build, ice-on-valid-code
          Component|bootstrap                   |middle-end
   Target Milestone|---                         |4.8.0


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

* [Bug middle-end/55391] [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux
  2012-11-19 10:38 [Bug bootstrap/55391] New: [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux mikpe at it dot uu.se
                   ` (3 preceding siblings ...)
  2012-11-20  3:00 ` [Bug middle-end/55391] " pinskia at gcc dot gnu.org
@ 2012-11-20 19:50 ` rsandifo at gcc dot gnu.org
  2012-11-20 19:53 ` rsandifo at gcc dot gnu.org
  2012-11-20 22:13 ` mikpe at it dot uu.se
  6 siblings, 0 replies; 8+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-11-20 19:50 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2012-11-20 19:49:39 UTC ---
Author: rsandifo
Date: Tue Nov 20 19:49:26 2012
New Revision: 193674

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193674
Log:
gcc/
    PR middle-end/55403
    PR middle-end/55391
    * expmed.c (store_bit_field_1): Use adjust_bitfield_address_size
    rather than adjust_bitfield_address to change the mode of a reference.
    (extract_bit_field_1): Likewise.

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


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

* [Bug middle-end/55391] [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux
  2012-11-19 10:38 [Bug bootstrap/55391] New: [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux mikpe at it dot uu.se
                   ` (4 preceding siblings ...)
  2012-11-20 19:50 ` rsandifo at gcc dot gnu.org
@ 2012-11-20 19:53 ` rsandifo at gcc dot gnu.org
  2012-11-20 22:13 ` mikpe at it dot uu.se
  6 siblings, 0 replies; 8+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-11-20 19:53 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #5 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2012-11-20 19:53:10 UTC ---
I optimistically included this PR in the changelog,
but please let me know if the patch doesn't in fact
fix the ICE.


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

* [Bug middle-end/55391] [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux
  2012-11-19 10:38 [Bug bootstrap/55391] New: [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux mikpe at it dot uu.se
                   ` (5 preceding siblings ...)
  2012-11-20 19:53 ` rsandifo at gcc dot gnu.org
@ 2012-11-20 22:13 ` mikpe at it dot uu.se
  6 siblings, 0 replies; 8+ messages in thread
From: mikpe at it dot uu.se @ 2012-11-20 22:13 UTC (permalink / raw)
  To: gcc-bugs


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

Mikael Pettersson <mikpe at it dot uu.se> changed:

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

--- Comment #6 from Mikael Pettersson <mikpe at it dot uu.se> 2012-11-20 22:13:11 UTC ---
r193674 does fix the ICE.  Thanks -- closing as fixed.


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

end of thread, other threads:[~2012-11-20 22:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-19 10:38 [Bug bootstrap/55391] New: [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux mikpe at it dot uu.se
2012-11-19 11:48 ` [Bug bootstrap/55391] " ebotcazou at gcc dot gnu.org
2012-11-19 12:06 ` ebotcazou at gcc dot gnu.org
2012-11-19 12:39 ` mikpe at it dot uu.se
2012-11-20  3:00 ` [Bug middle-end/55391] " pinskia at gcc dot gnu.org
2012-11-20 19:50 ` rsandifo at gcc dot gnu.org
2012-11-20 19:53 ` rsandifo at gcc dot gnu.org
2012-11-20 22:13 ` mikpe at it dot uu.se

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