public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/64597] New: ICE when optimizing with AutoFDO annotation
@ 2015-01-14 14:22 rearnsha at gcc dot gnu.org
  2015-02-10 14:10 ` [Bug tree-optimization/64597] " trippels at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2015-01-14 14:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64597
           Summary: ICE when optimizing with AutoFDO annotation
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rearnsha at gcc dot gnu.org
                CC: dehao at gcc dot gnu.org
            Target: x86_64-linux-gnu

Created attachment 34446
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34446&action=edit
testcase

Compiling the attached testcase with -g -fauto-profile=profile.gcov  -O2,
generates the following ICE.

Note that the testcase has been reduced from the original, but still exhibits
the same ICE.

try.cc: In member function ‘void regwayobj::makebound2(regboundart&,
regboundart&)’:
try.cc:167771832:1: internal compiler error: tree check: expected ssa_name,
have var_decl in walk_aliased_vdefs_1, at tree-ssa-alias.c:2745
0x128a0ba tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        /home/rearnsha/gnusrc/gcc/trunk/gcc/tree.c:9255
0x6df619 tree_check(tree_node*, char const*, int, char const*, tree_code)
        /home/rearnsha/gnusrc/gcc/trunk/gcc/tree.h:2770
0x10ba592 walk_aliased_vdefs_1
        /home/rearnsha/gnusrc/gcc/trunk/gcc/tree-ssa-alias.c:2745
0x10ba79d walk_aliased_vdefs(ao_ref*, tree_node*, bool (*)(ao_ref*, tree_node*,
void*), void*, bitmap_head**, bool*)
        /home/rearnsha/gnusrc/gcc/trunk/gcc/tree-ssa-alias.c:2797
0xd667a8 parm_ref_data_preserved_p
        /home/rearnsha/gnusrc/gcc/trunk/gcc/ipa-prop.c:992
0xd66c66 ipa_load_from_parm_agg_1
        /home/rearnsha/gnusrc/gcc/trunk/gcc/ipa-prop.c:1104
0xd66d02 ipa_load_from_parm_agg(ipa_node_params*, gimple_statement_base*,
tree_node*, int*, long*, bool*)
        /home/rearnsha/gnusrc/gcc/trunk/gcc/ipa-prop.c:1124
0xd5088a unmodified_parm_or_parm_agg_item
        /home/rearnsha/gnusrc/gcc/trunk/gcc/ipa-inline-analysis.c:1621
0xd522f2 will_be_nonconstant_predicate
        /home/rearnsha/gnusrc/gcc/trunk/gcc/ipa-inline-analysis.c:2082
0xd54519 estimate_function_body_sizes
        /home/rearnsha/gnusrc/gcc/trunk/gcc/ipa-inline-analysis.c:2701
0xd55746 compute_inline_parameters(cgraph_node*, bool)
        /home/rearnsha/gnusrc/gcc/trunk/gcc/ipa-inline-analysis.c:2954
0x1766e45 early_inline
        /home/rearnsha/gnusrc/gcc/trunk/gcc/auto-profile.c:1549
0x1766f90 auto_profile
        /home/rearnsha/gnusrc/gcc/trunk/gcc/auto-profile.c:1613
0x17671ce execute
        /home/rearnsha/gnusrc/gcc/trunk/gcc/auto-profile.c:1716
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.
>From gcc-bugs-return-473205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 14 14:51:41 2015
Return-Path: <gcc-bugs-return-473205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29652 invoked by alias); 14 Jan 2015 14:51:40 -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 29620 invoked by uid 48); 14 Jan 2015 14:51:34 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/64515] Segmentation fault during linker operation in gcc for arm-none-eabi
Date: Wed, 14 Jan 2015 14:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 4.8.4
X-Bugzilla-Keywords: link-failure
X-Bugzilla-Severity: major
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
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: bug_status resolution
Message-ID: <bug-64515-4-EzP02eQXZk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64515-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64515-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: 2015-01/txt/msg01199.txt.bz2
Content-length: 441

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Let's close this.


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

* [Bug tree-optimization/64597] ICE when optimizing with AutoFDO annotation
  2015-01-14 14:22 [Bug tree-optimization/64597] New: ICE when optimizing with AutoFDO annotation rearnsha at gcc dot gnu.org
@ 2015-02-10 14:10 ` trippels at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-02-10 14:10 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |trippels at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Dup of 65002. Closing this one, because the other PR has a 
simple testcase, that needs no profile information.

*** This bug has been marked as a duplicate of bug 65002 ***


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

end of thread, other threads:[~2015-02-10 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-14 14:22 [Bug tree-optimization/64597] New: ICE when optimizing with AutoFDO annotation rearnsha at gcc dot gnu.org
2015-02-10 14:10 ` [Bug tree-optimization/64597] " trippels 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).