From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8491 invoked by alias); 3 Dec 2010 09:32:21 -0000 Received: (qmail 8474 invoked by uid 22791); 3 Dec 2010 09:32:19 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 03 Dec 2010 09:32:14 +0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/46003] cond5.C fails for ARM EABI tests. X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Last reconfirmed Ever Confirmed Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 03 Dec 2010 09:32:00 -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 X-SW-Source: 2010-12/txt/msg00252.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46003 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2010.12.03 09:32:03 Ever Confirmed|0 |1 --- Comment #1 from Ramana Radhakrishnan 2010-12-03 09:32:03 UTC --- Even something as simple as this brings the compiler down. struct A { A(int); operator void*() const; }; template void foo(const A& x) { 0 ? x : 0; } Here's a backtrace from gdb if that helps. 0 fancy_abort (file=0xe5e0ed "../../combined/gcc/cp/tree.c", line=287, function=0xe60260 "build_target_expr") at ../../combined/gcc/diagnostic.c:892 #1 0x00000000005e7c68 in build_target_expr (decl=0x2ac80b326280, value=0x2ac80b42f678) at ../../combined/gcc/cp/tree.c:284 #2 0x00000000005eceeb in build_cplus_new (type=0x2ac80b43ff18, init=) at ../../combined/gcc/cp/tree.c:450 #3 0x000000000049c742 in convert_like_real (convs=0x70ca550, expr=0x2ac80b42f678, fn=0x0, argnum=0, inner=, issue_conversion_warnings=, c_cast_p=0 '\0', complain=3) at ../../combined/gcc/cp/call.c:5300 #4 0x000000000049e0c9 in build_conditional_expr (arg1=0x2ac80b3128d0, arg2=0x2ac80b3128a0, arg3=0x2ac80b302f50, complain=3) at ../../combined/gcc/cp/call.c:3965 #5 0x000000000058a840 in build_x_conditional_expr (ifexp=0x2ac80b302f50, op1=0x2ac80b3128a0, op2=0xe60260, complain=3) at ../../combined/gcc/cp/typeck.c:5478 #6 0x000000000056d43e in cp_parser_assignment_expression (parser=0x2ac80b44d000, cast_p=, pidk=0x0) at ../../combined/gcc/cp/parser.c:6972 #7 0x000000000056d6b0 in cp_parser_expression (parser=0xe5e0ed, cast_p=, pidk=0xe60260) at ../../combined/gcc/cp/parser.c:7149 #8 0x000000000056da50 in cp_parser_expression_statement (parser=0x2ac80b44d000, in_statement_expr=0x0) at ../../combined/gcc/cp/parser.c:8264 #9 0x000000000057a496 in cp_parser_statement (parser=0x2ac80b44d000, in_statement_expr=0x0, in_compound=1 '\001', if_p=0x0) at ../../combined/gcc/cp/parser.c:8129 #10 0x000000000057b4d6 in cp_parser_statement_seq_opt (parser=0x2ac80b44d000, in_statement_expr=0x0) at ../../combined/gcc/cp/parser.c:8378 #11 0x000000000057b614 in cp_parser_compound_statement (parser=0x2ac80b44d000, in_statement_expr=0x0, in_try=) at ../../combined/gcc/cp/parser.c:8332 #12 0x000000000057d8de in cp_parser_ctor_initializer_opt_and_function_body (parser=0x2ac80b44d000) at ../../combined/gcc/cp/parser.c:16319 #13 0x000000000057dc17 in cp_parser_function_definition_after_declarator (parser=0x2ac80b44d000, inline_p=0 '\0') at ../../combined/gcc/cp/parser.c:19747 #14 0x000000000057eb6c in cp_parser_init_declarator (parser=0x2ac80b44d000, decl_specifiers=0x7fff9f7fc170, checks=0x0, function_definition_allowed_p=1 '\001', member_p=0 '\0', declares_class_or_enum=, function_definition_p=0x7fff9f7fc1df "\001") at ../../combined/gcc/cp/parser.c:19677 #15 0x000000000057eebb in cp_parser_single_declaration (parser=0x2ac80b44d000, checks=0x0, member_p=0 '\0', explicit_specialization_p=0 '\0', friend_p=0x7fff9f7fc247 "") at ../../combined/gcc/cp/parser.c:20002 #16 0x000000000057f0cb in cp_parser_template_declaration_after_export (parser=0x2ac80b44d000, member_p=96 '`') at ../../combined/gcc/cp/parser.c:19852 #17 0x00000000005840e2 in cp_parser_declaration (parser=0x2ac80b44d000) at ../../combined/gcc/cp/parser.c:9415 #18 0x0000000000582405 in cp_parser_declaration_seq_opt (parser=0x2ac80b44d000) at ../../combined/gcc/cp/parser.c:9337 #19 0x000000000058271b in c_parse_file () at ../../combined/gcc/cp/parser.c:3454 #20 0x000000000065ceed in c_common_parse_file () at ../../combined/gcc/c-family/c-opts.c:1071 #21 0x0000000000940017 in toplev_main (argc=3, argv=0x7fff9f7fc4a8) at ../../combined/gcc/toplev.c:579 #22 0x000000350401d974 in __libc_start_main () from /lib64/libc.so.6 #23 0x000000000048a669 in _start ()