This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52882] New: ICE in memory_address_length, at config/i386/i386.c:23373
- From: "regehr at cs dot utah.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Apr 2012 20:02:21 +0000
- Subject: [Bug c/52882] New: ICE in memory_address_length, at config/i386/i386.c:23373
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52882
Bug #: 52882
Summary: ICE in memory_address_length, at
config/i386/i386.c:23373
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: regehr@cs.utah.edu
[regehr@dyson r1]$ current-gcc -c -O small.c
small.c: In function 'fn3':
small.c:14:1: internal compiler error: in memory_address_length, at
config/i386/i386.c:23373
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[regehr@dyson r1]$ cat small.c
struct S1 {
int f0;
int f1;
};
int fn1 ();
void fn2 (struct S1);
void
fn3 () {
struct S1 a = { 1, 0 };
if (fn1 ())
fn2 (a);
for (; a.f1;) {
}
}
[regehr@dyson r1]$ current-gcc -v
Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r186167-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --with-libelf=/usr/local --enable-lto
--prefix=/home/regehr/z/compiler-install/gcc-r186167-install
--program-prefix=r186167- --enable-languages=c,c++
Thread model: posix
gcc version 4.8.0 20120405 (experimental) (GCC)