This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/40085] New: ICE compiling libmudflap.c++/fail24-frag.cxx
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 May 2009 21:06:52 -0000
- Subject: [Bug c++/40085] New: ICE compiling libmudflap.c++/fail24-frag.cxx
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Executing on host: /home/dave/gcc-4.5/objdir/./gcc/g++ -shared-libgcc
-B/home/da
ve/gcc-4.5/objdir/./gcc -nostdinc++
-L/home/dave/gcc-4.5/objdir/hppa-linux/libst
dc++-v3/src -L/home/dave/gcc-4.5/objdir/hppa-linux/libstdc++-v3/src/.libs
-B/hom
e/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/bin/
-B/home/dave/opt/gnu/gcc/gcc-4.5.0/
hppa-linux/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/include
-is
ystem /home/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/sys-include -ggdb3
-DDEBUG_ASS
ERT -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections
-fdata-secti
ons -g -O2 -D_GNU_SOURCE -I/home/dave/gcc-4.5/gcc/libmudflap/testsuite
-I/home/d
ave/gcc-4.5/gcc/libmudflap/testsuite/.. -I.. -nostdinc++
-I/home/dave/gcc-4.5/ob
jdir/hppa-linux/libstdc++-v3/include/hppa-linux
-I/home/dave/gcc-4.5/objdir/hppa
-linux/libstdc++-v3/include -I/home/dave/gcc-4.5/gcc/libstdc++-v3/libsupc++
-I/h
ome/dave/gcc-4.5/gcc/libstdc++-v3/include/backward
-I/home/dave/gcc-4.5/gcc/libs
tdc++-v3/testsuite/util
-L/home/dave/gcc-4.5/objdir/hppa-linux/./libmudflap/.lib
s /home/dave/gcc-4.5/gcc/libmudflap/testsuite/libmudflap.c++/fail24-frag.cxx
-
fmudflap -lmudflap
-L/home/dave/gcc-4.5/objdir/hppa-linux/./libmudflap/testsuit
e -ldl -lm -o ./fail24-frag.exe (timeout = 300)
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
output is:
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
FAIL: libmudflap.c++/fail24-frag.cxx (test for excess errors)
The ICE occurs here:
Program received signal SIGSEGV, Segmentation fault.
0x0011ddec in cp_diagnostic_starter (context=0x978844, diagnostic=0xfe25c30c)
at ../../gcc/gcc/cp/error.c:2624
2624 if (DECL_FUNCTION_MEMBER_P (fn))
It seems DECL_LANG_SPECIFIC (fn) is NULL:
(gdb) p debug_tree ($r3)
<function_decl 0x402dff80 _GLOBAL__I_00099_0_zoo
type <function_type 0x401cf150
type <void_type 0x401c9690 void asm_written VOID
align 8 symtab 0 alias set -1 canonical type 0x401c9690
pointer_to_this <pointer_type 0x401c9700>>
SI
size <integer_cst 0x401b2560 constant 32>
unit size <integer_cst 0x401b2300 constant 4>
align 32 symtab 0 alias set -1 canonical type 0x401cf150
arg-types <tree_list 0x401b2b20 value <void_type 0x401c9690 void>>
pointer_to_this <pointer_type 0x402c6930>>
used static SI file
/home/dave/gcc-4.5/gcc/libmudflap/testsuite/libmudflap.c++/fail24-frag.cxx line
12 col 1 align 32 initial <block 0x402ecbd0>
result <result_decl 0x402898f0 D.2369 type <void_type 0x401c9690 void>
VOID file
/home/dave/gcc-4.5/gcc/libmudflap/testsuite/libmudflap.c++/fail24-frag.cxx line
12 col 1
align 8 context <function_decl 0x402dff80 _GLOBAL__I_00099_0_zoo>>
saved-insns 0x402899f8>
(gdb) p ((tree)$r3)->decl_common
$13 = {common = {common = {base = {code = FUNCTION_DECL,
side_effects_flag = 0, constant_flag = 0, addressable_flag = 0,
volatile_flag = 0, readonly_flag = 0, unsigned_flag = 0,
asm_written_flag = 0, nowarning_flag = 0, used_flag = 1,
nothrow_flag = 0, static_flag = 1, public_flag = 0, private_flag = 0,
protected_flag = 0, deprecated_flag = 0, saturating_flag = 0,
default_def_flag = 0, lang_flag_0 = 0, lang_flag_1 = 0,
lang_flag_2 = 0, lang_flag_3 = 0, lang_flag_4 = 0, lang_flag_5 = 0,
lang_flag_6 = 0, visited = 0, spare = 0, ann = 0x0}, chain = 0x0,
type = 0x401cf150}, locus = 1317191, uid = 2368, name = 0x402ecb98,
context = 0x0}, size = 0x0, mode = SImode, nonlocal_flag = 0,
virtual_flag = 0, ignored_flag = 0, abstract_flag = 0, artificial_flag = 1,
user_align = 0, preserve_flag = 0, debug_expr_is_from = 0, lang_flag_0 = 0,
lang_flag_1 = 0, lang_flag_2 = 0, lang_flag_3 = 0, lang_flag_4 = 0,
lang_flag_5 = 0, lang_flag_6 = 0, lang_flag_7 = 0, decl_flag_0 = 0,
decl_flag_1 = 0, decl_flag_2 = 0, decl_flag_3 = 0, gimple_reg_flag = 0,
no_tbaa_flag = 0, decl_by_reference_flag = 0, decl_common_unused = 0,
off_align = 0, size_unit = 0x0, initial = 0x402ecbd0, attributes = 0x0,
abstract_origin = 0x0, align = 32, pointer_alias_set = -1,
lang_specific = 0x0}
--
Summary: ICE compiling libmudflap.c++/fail24-frag.cxx
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa-unknown-linux-gnu
GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40085