public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/55403] New: ICE building libitm
@ 2012-11-19 23:46 rth at gcc dot gnu.org
  2012-11-19 23:50 ` [Bug middle-end/55403] " rth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: rth at gcc dot gnu.org @ 2012-11-19 23:46 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55403
           Summary: ICE building libitm
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rth@gcc.gnu.org


../../../git-master/libitm/method-serial.cc: In member function ‘virtual
_ITM_TYPE_CE {anonymous}::serialirr_dispatch::ITM_RCE(const _ITM_TYPE_CE*)’:
../../../git-master/libitm/method-serial.cc:92:6212: internal compiler error:
in adjust_address_1, at emit-rtl.c:2180
0x8d4501 adjust_address_1(rtx_def*, machine_mode, long, int, int, int, long)
    ../../git-master/gcc/emit-rtl.c:2180
0x8eb94c extract_bit_field_1
    ../../git-master/gcc/expmed.c:1383
0x8ec540 extract_bit_field(rtx_def*, unsigned long, unsigned long, int, bool,
rtx_def*, machine_mode, machine_mode)
    ../../git-master/gcc/expmed.c:1655
0x9166f3 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**)
    ../../git-master/gcc/expr.c:9568
0x90ef0b expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier,
rtx_def**)
    ../../git-master/gcc/expr.c:7816
0x91477d expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**)
    ../../git-master/gcc/expr.c:9179
0x90ef0b expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier,
rtx_def**)
    ../../git-master/gcc/expr.c:7816
0x905781 store_expr(tree_node*, rtx_def*, int, bool)
    ../../git-master/gcc/expr.c:5192
0x90472d expand_assignment(tree_node*, tree_node*, bool)
    ../../git-master/gcc/expr.c:4978
0x81fb69 expand_gimple_stmt_1
    ../../git-master/gcc/cfgexpand.c:2209
0x81ff6c expand_gimple_stmt
    ../../git-master/gcc/cfgexpand.c:2305


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

* [Bug middle-end/55403] ICE building libitm
  2012-11-19 23:46 [Bug middle-end/55403] New: ICE building libitm rth at gcc dot gnu.org
@ 2012-11-19 23:50 ` rth at gcc dot gnu.org
  2012-11-19 23:53 ` rth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu.org @ 2012-11-19 23:50 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |alphaev67-linux
                 CC|                            |rdsandiford at googlemail
                   |                            |dot com

--- Comment #1 from Richard Henderson <rth at gcc dot gnu.org> 2012-11-19 23:49:46 UTC ---
Richard S, I suspect your bit field changes.  I'll have a look at it
myself tomorrow if you don't find it first.


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

* [Bug middle-end/55403] ICE building libitm
  2012-11-19 23:46 [Bug middle-end/55403] New: ICE building libitm rth at gcc dot gnu.org
  2012-11-19 23:50 ` [Bug middle-end/55403] " rth at gcc dot gnu.org
@ 2012-11-19 23:53 ` rth at gcc dot gnu.org
  2012-11-20  3:01 ` [Bug middle-end/55403] [4.8 Regression] " pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu.org @ 2012-11-19 23:53 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from Richard Henderson <rth at gcc dot gnu.org> 2012-11-19 23:52:51 UTC ---
Created attachment 28739
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28739
preprocessed source

Compile with ./cc1plus -quiet -std=c++11 -O2 method-serial.ii


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

* [Bug middle-end/55403] [4.8 Regression] ICE building libitm
  2012-11-19 23:46 [Bug middle-end/55403] New: ICE building libitm rth at gcc dot gnu.org
  2012-11-19 23:50 ` [Bug middle-end/55403] " rth at gcc dot gnu.org
  2012-11-19 23:53 ` rth at gcc dot gnu.org
@ 2012-11-20  3:01 ` pinskia at gcc dot gnu.org
  2012-11-20  8:26 ` rsandifo at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-11-20  3:01 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build, ice-on-valid-code
            Version|unknown                     |4.8.0
         Depends on|                            |55391
   Target Milestone|---                         |4.8.0
            Summary|ICE building libitm         |[4.8 Regression] ICE
                   |                            |building libitm

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-11-20 03:00:36 UTC ---
Most likely the same issue as reported on sparc, PR 55391.


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

* [Bug middle-end/55403] [4.8 Regression] ICE building libitm
  2012-11-19 23:46 [Bug middle-end/55403] New: ICE building libitm rth at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-11-20  3:01 ` [Bug middle-end/55403] [4.8 Regression] " pinskia at gcc dot gnu.org
@ 2012-11-20  8:26 ` rsandifo at gcc dot gnu.org
  2012-11-20 16:34 ` rth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-11-20  8:26 UTC (permalink / raw)
  To: gcc-bugs


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

rsandifo@gcc.gnu.org <rsandifo at gcc dot gnu.org> changed:

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

--- Comment #4 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2012-11-20 08:26:25 UTC ---
(In reply to comment #1)
> Richard S, I suspect your bit field changes.  I'll have a look at it
> myself tomorrow if you don't find it first.

Yeah, I expect it is, sorry.  'Fraid I couldn't get the testcase to fail
in a cross compiler though.  At first I was getting a load of warnings
about visiblity not being supported, etc., so I built cross binutils
and pointed configure at them.  That silenced all the warnings but the
cc1plus command still succeeded.  I suspect something important is
still configured out, but I couldn't tell what from a scan of auto-host.h.


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

* [Bug middle-end/55403] [4.8 Regression] ICE building libitm
  2012-11-19 23:46 [Bug middle-end/55403] New: ICE building libitm rth at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-11-20  8:26 ` rsandifo at gcc dot gnu.org
@ 2012-11-20 16:34 ` rth at gcc dot gnu.org
  2012-11-20 19:50 ` rsandifo at gcc dot gnu.org
  2012-11-20 19:51 ` rsandifo at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu.org @ 2012-11-20 16:34 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #5 from Richard Henderson <rth at gcc dot gnu.org> 2012-11-20 16:34:20 UTC ---
I now suspect you're missing --with-long-double-128, which would have been
auto-detected given alpha glibc headers in --with-sysroot, as I have.

Proposed patch here:
http://gcc.gnu.org/ml/gcc-patches/2012-11/msg01681.html


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

* [Bug middle-end/55403] [4.8 Regression] ICE building libitm
  2012-11-19 23:46 [Bug middle-end/55403] New: ICE building libitm rth at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2012-11-20 16:34 ` rth at gcc dot gnu.org
@ 2012-11-20 19:50 ` rsandifo at gcc dot gnu.org
  2012-11-20 19:51 ` rsandifo at gcc dot gnu.org
  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=55403

--- Comment #6 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2012-11-20 19:49:38 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/55403] [4.8 Regression] ICE building libitm
  2012-11-19 23:46 [Bug middle-end/55403] New: ICE building libitm rth at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2012-11-20 19:50 ` rsandifo at gcc dot gnu.org
@ 2012-11-20 19:51 ` rsandifo at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-11-20 19:51 UTC (permalink / raw)
  To: gcc-bugs


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

rsandifo@gcc.gnu.org <rsandifo at gcc dot gnu.org> changed:

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

--- Comment #7 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2012-11-20 19:51:06 UTC ---
Patch applied to trunk.  Thanks for the help.


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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-19 23:46 [Bug middle-end/55403] New: ICE building libitm rth at gcc dot gnu.org
2012-11-19 23:50 ` [Bug middle-end/55403] " rth at gcc dot gnu.org
2012-11-19 23:53 ` rth at gcc dot gnu.org
2012-11-20  3:01 ` [Bug middle-end/55403] [4.8 Regression] " pinskia at gcc dot gnu.org
2012-11-20  8:26 ` rsandifo at gcc dot gnu.org
2012-11-20 16:34 ` rth at gcc dot gnu.org
2012-11-20 19:50 ` rsandifo at gcc dot gnu.org
2012-11-20 19:51 ` rsandifo at gcc dot gnu.org

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