public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "andi-gcc at firstfloor dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/55066] New: lto integer-cst change causes ICE
Date: Wed, 24 Oct 2012 22:17:00 -0000	[thread overview]
Message-ID: <bug-55066-4@http.gcc.gnu.org/bugzilla/> (raw)


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.


             reply	other threads:[~2012-10-24 22:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-24 22:17 andi-gcc at firstfloor dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-55066-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).