public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mikpe at it dot uu.se" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/55355] internal compiler error: in tree_low_cst, at tree.c:6415
Date: Thu, 22 Nov 2012 23:26:00 -0000	[thread overview]
Message-ID: <bug-55355-4-Se0Sf8zozg@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55355-4@http.gcc.gnu.org/bugzilla/>


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu.se

--- Comment #12 from Mikael Pettersson <mikpe at it dot uu.se> 2012-11-22 23:25:45 UTC ---
It's a HWI32 bug.

The ICE reproduces on x86 with 4.6 branch if you build a 32-bit compiler that
targets 32-bit x86; passing -m32 to a 64-bit compiler won't trigger it.

The ICE was silenced on 32-bit x86 for 4.7 by r176871:
http://gcc.gnu.org/ml/gcc-cvs/2011-07/msg01139.html
which is when HJ made 32-bit x86 HWI64.

The ICE reproduces with current 4.7 and 4.8 in 32-bit compilers with HWI32
targets; for instance an i686 to m68k linux cross says:

pr55355.cc: In member function 'void C::funcC()':
pr55355.cc:34:1: internal compiler error: in tree_low_cst, at tree.c:6603
 }
 ^
0x856174f tree_low_cst(tree_node const*, int)
        /mnt/scratch/gcc-4.8-20121118/gcc/tree.c:6603
0x856179e int_bit_position(tree_node const*)
        /mnt/scratch/gcc-4.8-20121118/gcc/tree.c:2480
0x846af0b type_internals_preclude_sra_p
        /mnt/scratch/gcc-4.8-20121118/gcc/tree-sra.c:719
0x846af0b type_internals_preclude_sra_p
        /mnt/scratch/gcc-4.8-20121118/gcc/tree-sra.c:678
0x8471e1f find_param_candidates
        /mnt/scratch/gcc-4.8-20121118/gcc/tree-sra.c:3627
0x8471e1f ipa_early_sra
        /mnt/scratch/gcc-4.8-20121118/gcc/tree-sra.c:4928
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.


  parent reply	other threads:[~2012-11-22 23:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-16 17:16 [Bug c++/55355] New: " rcp at sentientmeat dot ca
2012-11-16 17:23 ` [Bug c++/55355] " rcp at sentientmeat dot ca
2012-11-16 17:31 ` paolo.carlini at oracle dot com
2012-11-16 17:51 ` rcp at sentientmeat dot ca
2012-11-18 13:53 ` paolo.carlini at oracle dot com
2012-11-19 16:19 ` rcp at sentientmeat dot ca
2012-11-19 17:20 ` paolo.carlini at oracle dot com
2012-11-19 17:25 ` rcp at sentientmeat dot ca
2012-11-19 17:25 ` paolo.carlini at oracle dot com
2012-11-20 15:45 ` rcp at sentientmeat dot ca
2012-11-22 14:53 ` rcp at sentientmeat dot ca
2012-11-22 15:04 ` paolo.carlini at oracle dot com
2012-11-22 23:26 ` mikpe at it dot uu.se [this message]
2012-11-23  9:14 ` jakub at gcc dot gnu.org
2012-11-23 16:06 ` rcp at sentientmeat dot ca
2012-12-09  1:38 ` pinskia at gcc dot gnu.org
2012-12-12 16:25 ` jamborm at gcc dot gnu.org
2012-12-14 12:06 ` [Bug tree-optimization/55355] " jamborm at gcc dot gnu.org
2012-12-21 22:07 ` jamborm at gcc dot gnu.org
2012-12-21 22:21 ` jamborm at gcc dot gnu.org
2012-12-21 22:29 ` jamborm at gcc dot gnu.org
2012-12-21 22:31 ` jamborm at gcc dot gnu.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-55355-4-Se0Sf8zozg@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).