From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122088 invoked by alias); 20 Mar 2015 21:41:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 122027 invoked by uid 48); 20 Mar 2015 21:41:51 -0000 From: "joel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65501] New: v850 ICE at c_register_pragma_1, at c-family/c-pragma.c:1317 Date: Sat, 21 Mar 2015 00:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joel at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg02183.txt.bz2 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 : 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 for instructions. configure:15136: $? = 1 configure:15165: error: unable to detect exception model