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

--- Comment #2 from Guille <guille at cal dot berkeley.edu> ---
Yes, somehow I get ICE with -std=c++1z but not without it. 
Here's 'c++ -v'
*******************************
Using built-in specs.
COLLECT_GCC=c++
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin13.4.0/7.0.0/lto-wrapper
Target: x86_64-apple-darwin13.4.0
Configured with: ../configure --enable-languages=c,c++ --without-multilib
Thread model: posix
gcc version 7.0.0 20161106 (experimental) (GCC) 
*******************************

This is what I get:
*******************************
$ c++ -Wall t.c -o t                 // compiles fine
$ c++ -Wall -std=c++1z t.c -o t      // ICEs
t.c: In function ‘int main()’:
t.c:9:7: internal compiler error: in build_over_call, at cp/call.c:7927
     f();
       ^

t.c:9:7: internal compiler error: Abort trap: 6
c++: internal compiler error: Abort trap: 6 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
*******************************

Reply via email to