This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12587] [tree-ssa] Segfault with __attribute__(pure)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2003 14:30:29 -0000
- Subject: [Bug c++/12587] [tree-ssa] Segfault with __attribute__(pure)
- References: <20031012150535.12587.falk@debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12587
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-10-12 17:49:56 |2003-10-17 14:30:28
date| |
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-17 14:30 -------
Here is the backtrace:
expand_expr (exp=0x0, target=0x0, tmode=VOIDmode, modifier=EXPAND_NORMAL) at /Users/
apinski/src/gccssa/src/gcc/expr.c:6623
6623 if (TREE_CODE (exp) == ERROR_MARK
(gdb) bt
#0 expand_expr (exp=0x0, target=0x0, tmode=VOIDmode, modifier=EXPAND_NORMAL) at /
Users/apinski/src/gccssa/src/gcc/expr.c:6623
#1 0x0026ca00 in expand_expr_1 (exp=0x4189b348, target=0x0, tmode=VOIDmode,
modifier=EXPAND_NORMAL) at /Users/apinski/src/gccssa/src/gcc/expr.c:7965
#2 0x0026ca00 in expand_expr_1 (exp=0x4189b348, target=0x0, tmode=VOIDmode,
modifier=EXPAND_NORMAL) at /Users/apinski/src/gccssa/src/gcc/expr.c:7965
#3 0x002616cc in expand_expr (exp=0x0, target=0x0, tmode=VOIDmode,
modifier=EXPAND_NORMAL) at /Users/apinski/src/gccssa/src/gcc/expr.c:6647
#4 0x00261b58 in expand_expr_1 (exp=0x4189b348, target=0x0, tmode=VOIDmode,
modifier=EXPAND_NORMAL) at /Users/apinski/src/gccssa/src/gcc/expr.c:8775
#5 0x00261644 in expand_expr (exp=0x0, target=0x0, tmode=VOIDmode,
modifier=EXPAND_NORMAL) at /Users/apinski/src/gccssa/src/gcc/expr.c:6654
#6 0x00263de4 in expand_expr_1 (exp=0x4189b348, target=0x0, tmode=VOIDmode,
modifier=EXPAND_NORMAL) at /Users/apinski/src/gccssa/src/gcc/expr.c:7252
#7 0x002616cc in expand_expr (exp=0x0, target=0x0, tmode=VOIDmode,
modifier=EXPAND_NORMAL) at /Users/apinski/src/gccssa/src/gcc/expr.c:6647
#8 0x001f683c in expand_expr_stmt_value (exp=0x0, want_value=0, maybe_last=0) at /Users/
apinski/src/gccssa/src/gcc/stmt.c:2222
#9 0x00141258 in expand_stmt_toplev (t=0x65) at /Users/apinski/src/gccssa/src/gcc/c-
semantics.c:903
#10 0x002ed524 in tree_rest_of_compilation (fndecl=0x4189c078, nested_p=false) at /Users/
apinski/src/gccssa/src/gcc/tree-optimize.c:334
#11 0x000fc9e4 in expand_body (fn=0x4189c078) at /Users/apinski/src/gccssa/src/gcc/cp/
semantics.c:2862
#12 0x002e2550 in cgraph_expand_function (node=0x4189cbb8) at /Users/apinski/src/gccssa/
src/gcc/cgraphunit.c:494
#13 0x002e1870 in cgraph_assemble_pending_functions () at /Users/apinski/src/gccssa/src/gcc/
cgraphunit.c:141
#14 0x002e1a3c in cgraph_finalize_function (decl=0x4189c078, nested=false) at /Users/apinski/
src/gccssa/src/gcc/cgraphunit.c:217
#15 0x000fcda0 in expand_or_defer_fn (fn=0x4189c078) at /Users/apinski/src/gccssa/src/gcc/
cp/semantics.c:2954
#16 0x000bdedc in cp_parser_function_definition_after_declarator (parser=0x41897168,
inline_p=1099546744) at /Users/apinski/src/gccssa/src/gcc/cp/parser.c:13605
#17 0x000bde40 in cp_parser_function_definition_from_specifiers_and_declarator
(parser=0x41897168, decl_specifiers=0x0, attributes=0x0, declarator=0x0) at /Users/apinski/
src/gccssa/src/gcc/cp/parser.c:13544
#18 0x000b8374 in cp_parser_init_declarator (parser=0x41897168, decl_specifiers=0x0,
prefix_attributes=0x0, function_definition_allowed_p=false, member_p=false,
declares_class_or_enum=0, function_definition_p=0x1) at /Users/apinski/src/gccssa/src/gcc/cp/
parser.c:9357
#19 0x000b4840 in cp_parser_simple_declaration (parser=0x41810ea0,
function_definition_allowed_p=1090460480) at /Users/apinski/src/gccssa/src/gcc/cp/parser.c:
6156
#20 0x000b46c0 in cp_parser_block_declaration (parser=0x40ff1b40, statement_p=1098976928)
at /Users/apinski/src/gccssa/src/gcc/cp/parser.c:6072
#21 0x000b4544 in cp_parser_declaration (parser=0x41897168) at /Users/apinski/src/gccssa/
src/gcc/cp/parser.c:5992
#22 0x000b43d0 in cp_parser_declaration_seq_opt (parser=0x41897168) at /Users/apinski/src/
gccssa/src/gcc/cp/parser.c:5901
#23 0x000b0350 in cp_parser_translation_unit (parser=0x41897168) at /Users/apinski/src/
gccssa/src/gcc/cp/parser.c:2163
#24 0x000bf650 in c_parse_file () at /Users/apinski/src/gccssa/src/gcc/cp/parser.c:14521
#25 0x001505fc in c_common_parse_file (set_yydebug=0) at /Users/apinski/src/gccssa/src/gcc/
c-opts.c:1221
#26 0x001864a0 in compile_file () at /Users/apinski/src/gccssa/src/gcc/toplev.c:1836
#27 0x0018b05c in do_compile () at /Users/apinski/src/gccssa/src/gcc/toplev.c:4543
#28 0x0018b19c in toplev_main (argc=1099526504, argv=0x5fbe78) at /Users/apinski/src/
gccssa/src/gcc/toplev.c:4583
#29 0x0015ee08 in main (argc=0, argv=0x0) at /Users/apinski/src/gccssa/src/gcc/main.c:35