This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/52882] New: ICE in memory_address_length, at config/i386/i386.c:23373


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]