public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/55066] New: lto integer-cst change causes ICE
@ 2012-10-24 22:17 andi-gcc at firstfloor dot org
  2012-10-25 10:47 ` [Bug lto/55066] " rguenth at gcc dot gnu.org
  2012-10-25 11:45 ` andi-gcc at firstfloor dot org
  0 siblings, 2 replies; 3+ messages in thread
From: andi-gcc at firstfloor dot org @ 2012-10-24 22:17 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55066
           Summary: lto integer-cst change causes ICE
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: andi-gcc@firstfloor.org


A large LTO allyes kernel build (no small test case 
unfortunately) recently started ICEing during the LTO phase with

linux-lto-2.6/drivers/isdn/hardware/eicon/message.c:12035:0: internal compiler
error: in widest_int_cst_value, at tree.c:10214
 static byte mixer_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI
*plci, APPL   *appl, API_PARSE *msg)
 ^
0x8c05f8 widest_int_cst_value(tree_node const*)
        ../../gcc/gcc/tree.c:10213
0x81987f find_bswap_1
        ../../gcc/gcc/tree-ssa-math-opts.c:1669
0x819a23 find_bswap_1
        ../../gcc/gcc/tree-ssa-math-opts.c:1733
0x81a194 find_bswap
        ../../gcc/gcc/tree-ssa-math-opts.c:1779
0x81a194 execute_optimize_bswap
        ../../gcc/gcc/tree-ssa-math-opts.c:1905
Please submit a full bug report,



I bisected it down to this change from Richi:

    2012-10-18  Richard Guenther  <rguenther@suse.de>

        * lto-streamer.h (enum LTO_tags): Add LTO_integer_cst.
        * lto-streamer-in.c (lto_input_tree): Use it.
        * lto-streamer-out.c (lto_output_tree): Likewise, for
        !TREE_OVERFLOW integer constants only.
        * tree-streamer-in.c (unpack_ts_int_cst_value_fields): New function.
        (unpack_value_fields): Call it.
        (streamer_read_integer_cst): Simplify.
        * tree-streamer-out.c (pack_ts_int_cst_value_fields): New function.
        (streamer_pack_tree_bitfields): Call it.
        (streamer_write_integer_cst): Adjust.


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

* [Bug lto/55066] lto integer-cst change causes ICE
  2012-10-24 22:17 [Bug lto/55066] New: lto integer-cst change causes ICE andi-gcc at firstfloor dot org
@ 2012-10-25 10:47 ` rguenth at gcc dot gnu.org
  2012-10-25 11:45 ` andi-gcc at firstfloor dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-10-25 10:47 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-10-25
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-25 10:47:22 UTC ---
Please make sure to have the followup fix installed:

2012-10-22  Richard Biener  <rguenther@suse.de>

        PR lto/55021
        * tree-streamer-in.c (unpack_ts_int_cst_value_fields): Remove
        bogus truncations.


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

* [Bug lto/55066] lto integer-cst change causes ICE
  2012-10-24 22:17 [Bug lto/55066] New: lto integer-cst change causes ICE andi-gcc at firstfloor dot org
  2012-10-25 10:47 ` [Bug lto/55066] " rguenth at gcc dot gnu.org
@ 2012-10-25 11:45 ` andi-gcc at firstfloor dot org
  1 sibling, 0 replies; 3+ messages in thread
From: andi-gcc at firstfloor dot org @ 2012-10-25 11:45 UTC (permalink / raw)
  To: gcc-bugs


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

Andi Kleen <andi-gcc at firstfloor dot org> changed:

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

--- Comment #2 from Andi Kleen <andi-gcc at firstfloor dot org> 2012-10-25 11:45:38 UTC ---
Ok seems to work now with latest trunk


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

end of thread, other threads:[~2012-10-25 11:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-24 22:17 [Bug lto/55066] New: lto integer-cst change causes ICE andi-gcc at firstfloor dot org
2012-10-25 10:47 ` [Bug lto/55066] " rguenth at gcc dot gnu.org
2012-10-25 11:45 ` andi-gcc at firstfloor dot 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).