public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/65008] New: [5 Regression] ICE: in estimate_edge_growth, at ipa-inline.h:298 with -O2
Date: Tue, 10 Feb 2015 21:34:00 -0000	[thread overview]
Message-ID: <bug-65008-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 65008
           Summary: [5 Regression] ICE: in estimate_edge_growth, at
                    ipa-inline.h:298 with -O2
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

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

Compiler output:
$ gcc -O2 testcase.C 
testcase.C: In constructor 'A::A()':
testcase.C:15:1: internal compiler error: in estimate_edge_growth, at
ipa-inline.h:298
 }
 ^
0xbfffe8 estimate_edge_growth
        /mnt/svn/gcc-trunk/gcc/ipa-inline.h:297
0xbfffe8 estimate_size_after_inlining(cgraph_node*, cgraph_edge*)
        /mnt/svn/gcc-trunk/gcc/ipa-inline-analysis.c:3892
0x1836925 caller_growth_limits
        /mnt/svn/gcc-trunk/gcc/ipa-inline.c:214
0x1836925 can_inline_edge_p
        /mnt/svn/gcc-trunk/gcc/ipa-inline.c:400
0x1837714 early_inline_small_functions
        /mnt/svn/gcc-trunk/gcc/ipa-inline.c:2465
0x1837714 early_inliner(function*)
        /mnt/svn/gcc-trunk/gcc/ipa-inline.c:2569
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.

Tested revisions:
r220566 - ICE
4_9 r219040 - OK


             reply	other threads:[~2015-02-10 21:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10 21:34 zsojka at seznam dot cz [this message]
2015-02-11  8:09 ` [Bug ipa/65008] " jakub at gcc dot gnu.org
2015-02-11  9:43 ` rguenth at gcc dot gnu.org
2015-02-18 18:51 ` mpolacek at gcc dot gnu.org
2015-02-18 20:34 ` mpolacek at gcc dot gnu.org
2015-02-26 20:04 ` mpolacek at gcc dot gnu.org
2015-02-26 20:22 ` mpolacek at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-65008-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).