[Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non existant member function
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 5 14:13:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-05 14:13 -------
Confirmed backtrace:
#0 lookup_member (xbasetype=0x0, name=0xb7c12924, protect=1, want_type=0 '\0') at /home/
peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/search.c:1201
#1 0x08123fc5 in lookup_fnfields (xbasetype=0x0, name=0xb7c12924, protect=1) at /home/
peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/search.c:1292
#2 0x08057cb5 in build_new_op (code=CALL_EXPR, flags=3, arg1=0xb7c84480, arg2=Variable "arg2"
is not available.
) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/call.c:2917
#3 0x0812ad28 in finish_call_expr (fn=0xb7c84480, args=0xb7ca8720, disallow_virtual=0 '\0',
koenig_p=0 '\0')
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/semantics.c:1885
#4 0x080e4e67 in cp_parser_unary_expression (parser=0xb7ca7f08, address_p=0 '\0', cast_p=0 '\0')
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:4261
#5 0x080e5b4a in cp_parser_assignment_expression (parser=0xb7ca7f08, cast_p=0 '\0') at /home/
peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:5516
#6 0x080e674b in cp_parser_expression (parser=0xb7ca7f08, cast_p=Variable "cast_p" is not
available.
) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:5820
#7 0x080e6ac9 in cp_parser_expression_statement (parser=0xb7ca7f08, in_statement_expr=0x0) at /
home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:6230
#8 0x080e2f93 in cp_parser_statement (parser=0xb7ca7f08, in_statement_expr=0x0) at /home/
peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:6114
#9 0x080e3bc4 in cp_parser_statement_seq_opt (parser=0xb7ca7f08, in_statement_expr=0x0) at /
home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:6294
#10 0x080e3d75 in cp_parser_compound_statement (parser=0xb7ca7f08, in_statement_expr=0x0,
in_try=Variable "in_try" is not available.
) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:6267
#11 0x080e7486 in cp_parser_ctor_initializer_opt_and_function_body (parser=0xb7ca7f08) at /home/
peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:12217
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|i486-pc-linux-gnu |
GCC host triplet|i486-pc-linux-gnu |
GCC target triplet|i486-pc-linux-gnu |
Keywords| |ice-on-invalid-code
Known to fail| |4.0.0 4.1.0
Known to work| |3.4.0
Last reconfirmed|0000-00-00 00:00:00 |2005-09-05 14:13:41
date| |
Summary|ICE instead of reporting a |[4.0/4.1 Regression] ICE
|call to a non existant |instead of reporting a call
|member function |to a non existant member
| |function
Target Milestone|--- |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23730
More information about the Gcc-bugs
mailing list