public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/63587] New: [5 Regression] ICE : tree check: expected var_decl, have result_decl in add_local_variables, at tree-inline.c:4112
@ 2014-10-18 11:44 trippels at gcc dot gnu.org
  2014-10-19 21:31 ` [Bug ipa/63587] " mliska at suse dot cz
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-10-18 11:44 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 4694 bytes --]

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63587

            Bug ID: 63587
           Summary: [5 Regression] ICE : tree check: expected var_decl,
                    have result_decl in add_local_variables, at
                    tree-inline.c:4112
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org

trippels@gcc1-power7 status % g++ -c -w -std=c++11 -O2 form_attr.ii
form_attr.ii: In static member function ‘static int
boost::function_obj_invoker0<FunctionObj>::invoke(boost::function_buffer&)
[with FunctionObj =
boost::test_case_template_invoker<default_formatting_invoker>]’:
form_attr.ii:216:66: internal compiler error: tree check: expected var_decl,
have result_decl in add_local_variables, at tree-inline.c:4112
   make_output_actor<actor<LeftExprT>, attribute_actor<T> >::make (left,
right);
                                                                  ^
0x10c686af tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        ../../gcc/gcc/tree.c:9185
0x10a1161f tree_check
        ../../gcc/gcc/tree.h:2733
0x10a1161f add_local_variables
        ../../gcc/gcc/tree-inline.c:4112
0x10a1c39f expand_call_inline
        ../../gcc/gcc/tree-inline.c:4389
0x10a1c39f gimple_expand_calls_inline
        ../../gcc/gcc/tree-inline.c:4518
0x10a1c39f optimize_inline_calls(tree_node*)
        ../../gcc/gcc/tree-inline.c:4659
0x10fc7acf inline_transform(cgraph_node*)
        ../../gcc/gcc/ipa-inline-transform.c:460
0x1089755f execute_one_ipa_transform_pass
        ../../gcc/gcc/passes.c:1990
0x1089755f execute_all_ipa_transforms()
        ../../gcc/gcc/passes.c:2031
0x1052cc67 cgraph_node::expand()
        ../../gcc/gcc/cgraphunit.c:1735
0x1052e957 expand_all_functions
        ../../gcc/gcc/cgraphunit.c:1878
0x1052e957 symbol_table::compile()
        ../../gcc/gcc/cgraphunit.c:2213
0x105309d3 symbol_table::finalize_compilation_unit()
        ../../gcc/gcc/cgraphunit.c:2290
0x10260d33 cp_write_global_declarations()
        ../../gcc/gcc/cp/decl2.c:4666
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
trippels@gcc1-power7 status % g++ -fno-ipa-icf -c -w -std=c++11 -O2
form_attr.ii
trippels@gcc1-power7 status %
>From gcc-bugs-return-464418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 18 11:46:02 2014
Return-Path: <gcc-bugs-return-464418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18290 invoked by alias); 18 Oct 2014 11:46:02 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 18261 invoked by uid 48); 18 Oct 2014 11:45:59 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/63587] [5 Regression] ICE : tree check: expected var_decl, have result_decl in add_local_variables, at tree-inline.c:4112
Date: Sat, 18 Oct 2014 11:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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: attachments.created
Message-ID: <bug-63587-4-FFM7j4Aqqq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63587-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63587-4@http.gcc.gnu.org/bugzilla/>
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: 2014-10/txt/msg01439.txt.bz2
Content-length: 240

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc587

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Created attachment 33754
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id3754&actioníit
reduced testcase


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-03-23  9:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-18 11:44 [Bug ipa/63587] New: [5 Regression] ICE : tree check: expected var_decl, have result_decl in add_local_variables, at tree-inline.c:4112 trippels at gcc dot gnu.org
2014-10-19 21:31 ` [Bug ipa/63587] " mliska at suse dot cz
2014-10-20  6:49 ` trippels at gcc dot gnu.org
2014-10-20  7:54 ` rguenther at suse dot de
2014-10-20 12:53 ` rguenth at gcc dot gnu.org
2014-10-23 13:14 ` marxin at gcc dot gnu.org
2014-10-23 13:22 ` rguenther at suse dot de
2014-10-23 17:17 ` marxin at gcc dot gnu.org
2014-10-23 21:09 ` mliska at suse dot cz
2014-10-24  8:50 ` rguenther at suse dot de
2014-10-24 10:38 ` mliska at suse dot cz
2015-03-23 10:05 ` yroux at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).