https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61602

--- Comment #1 from Zhendong Su <su at cs dot ucdavis.edu> ---
To help diagnose the issue, here is another test case that triggers the same
ICE without using LTO.  

$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-unknown-linux-gnu/4.10.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-trunk/configure --prefix=/usr/local/gcc-trunk
--enable-languages=c,c++ --disable-werror --enable-multilib
Thread model: posix
gcc version 4.10.0 20140708 (experimental) [trunk revision 212357] (GCC) 
$ 
$ gcc-trunk -O1 -c small.c         
small.c:9:1: internal compiler error: in ipa_single_use, at ipa.c:1255
 }
 ^
0x81fc21 ipa_single_use
    ../../gcc-trunk/gcc/ipa.c:1255
0x81fc21 execute
    ../../gcc-trunk/gcc/ipa.c:1303
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.
$ 


-------------------------------------------


static int a, *b = &a, **c = &b, ***d = &c;

int
main ()
{
  d = 0;
  b = 0;
  return 0;
}

Reply via email to