[Bug target/65501] New: v850 ICE at c_register_pragma_1, at c-family/c-pragma.c:1317
joel at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Mar 21 00:07:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65501
Bug ID: 65501
Summary: v850 ICE at c_register_pragma_1, at
c-family/c-pragma.c:1317
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: joel at gcc dot gnu.org
This occurs during the exception model probe for libstdc++-v3. This should be
reproducible on v850-elf. I think this is the conftest.c based on the
aclocal.m4 file:
cat > conftest.$ac_ext << EOF
[#]line __oline__ "configure"
struct S { ~S(); };
void bar();
void foo()
{
S s;
bar();
}
configure:15092: checking for exception model to use
configure:15133: /users/joel/test-gcc/b-v850-rtems4.11-gcc/./gcc/xgcc
-shared-libgcc -B/users/joel/test-gcc/b-v850-rtems4.11-gcc/./gcc -nostdinc++
-L/users/joel/test-gcc/b-v850-rtems4.11-gcc/v850-rtems4.11/libstdc++-v3/src
-L/users/joel/test-gcc/b-v850-rtems4.11-gcc/v850-rtems4.11/libstdc++-v3/src/.libs
-L/users/joel/test-gcc/b-v850-rtems4.11-gcc/v850-rtems4.11/libstdc++-v3/libsupc++/.libs
-nostdinc -B/users/joel/test-gcc/b-v850-rtems4.11-gcc/v850-rtems4.11/newlib/
-isystem
/users/joel/test-gcc/b-v850-rtems4.11-gcc/v850-rtems4.11/newlib/targ-include
-isystem /users/joel/test-gcc/gcc/newlib/libc/include
-B/users/joel/test-gcc/install-head/v850-rtems4.11/bin/
-B/users/joel/test-gcc/install-head/v850-rtems4.11/lib/ -isystem
/users/joel/test-gcc/install-head/v850-rtems4.11/include -isystem
/users/joel/test-gcc/install-head/v850-rtems4.11/sys-include -c -S
conftest.cpp >&5
<built-in>: internal compiler error: in c_register_pragma_1, at
c-family/c-pragma.c:1317
0x6a15f7 c_register_pragma_1
../../gcc/gcc/c-family/c-pragma.c:1317
0x6a2fa6 c_register_pragma(char const*, char const*, void (*)(cpp_reader*))
../../gcc/gcc/c-family/c-pragma.c:1335
0x534013 init_cp_pragma
../../gcc/gcc/cp/lex.c:225
0x534013 cxx_init()
../../gcc/gcc/cp/lex.c:276
0x435493 lang_dependent_init
../../gcc/gcc/toplev.c:1845
0x435493 do_compile
../../gcc/gcc/toplev.c:2062
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.
configure:15136: $? = 1
configure:15165: error: unable to detect exception model
More information about the Gcc-bugs
mailing list