public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64686] [5 Regression] ICE: in edge_badness, at ipa-inline.c:912 during Firefox LTO build with enabled checking
Date: Tue, 20 Jan 2015 10:17:00 -0000	[thread overview]
Message-ID: <bug-64686-4-66pKnLqB1n@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-64686-4@http.gcc.gnu.org/bugzilla/>

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
   Last reconfirmed|                            |2015-1-20
                 CC|                            |marxin at gcc dot gnu.org
>From gcc-bugs-return-474008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 20 10:17:04 2015
Return-Path: <gcc-bugs-return-474008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 978 invoked by alias); 20 Jan 2015 10:17:03 -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 923 invoked by uid 48); 20 Jan 2015 10:16:58 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64686] New: [5 Regression] ICE: in edge_badness, at ipa-inline.c:912 during Firefox LTO build with enabled checking
Date: Tue, 20 Jan 2015 10:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
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: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc
Message-ID: <bug-64686-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/msg02002.txt.bz2
Content-length: 4854

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

            Bug ID: 64686
           Summary: [5 Regression] ICE: in edge_badness, at
                    ipa-inline.c:912 during Firefox LTO build with enabled
                    checking
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: hubicka at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: markus at trippelsdorf dot net

gcc -v:
gcc version 5.0.0 20150120 (experimental) (GCC)

BT:
lto1: internal compiler error: in edge_badness, at ipa-inline.c:912
0xe48e21 edge_badness
    ../../gcc/ipa-inline.c:912
0xe4ce25 update_edge_key
    ../../gcc/ipa-inline.c:1038
0xe4ce25 inline_small_functions
    ../../gcc/ipa-inline.c:1608
0xe4ec95 ipa_inline
    ../../gcc/ipa-inline.c:2179
0xe4ec95 execute
    ../../gcc/ipa-inline.c:2551

GDB:
912        gcc_checking_assert (edge_time <= callee_info->time);
(gdb) p edge_time
$1 = 2068
(gdb) p callee_info->time
$2 = 2032
# It's a recursive function
(gdb) p edge->caller == edge->callee
$9 = true


(gdb) call callee->dump(stderr)
_ZN23nsScriptSecurityManager26AddSitesToFileURIWhitelistERK9nsCString/3808049
(AddSitesToFileURIWhitelist) @0x7fff97344498
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: _ZN12nsCharTraitsIcE12sEmptyBufferE/58819
(read)_ZN23nsScriptSecurityManager10sIOServiceE/3807900
(read)_ZN23nsScriptSecurityManager10sIOServiceE/3807900
(read)_ZN17nsIConsoleService11COMTypeInfoIS_vE4kIIDE/88287 (addr)
  Referring:
  Read from file:
/home/marxin/Programming/gecko-dev/obj-x86_64-unknown-linux-gnu/toolkit/library/../../caps/Unified_cpp_caps0.o
  Availability: local
  First run: 0
  Function flags: local
  Called by: _ZN23nsScriptSecurityManager25ScriptSecurityPrefChangedEv/3808048
(5.05 per call)
_ZN23nsScriptSecurityManager26AddSitesToFileURIWhitelistERK9nsCString/3808049
(1.01 per call)
_ZN23nsScriptSecurityManager26AddSitesToFileURIWhitelistERK9nsCString/3808049
(1.01 per call)
  Calls: _Z8SkipPastI12IsWhitespaceEjRK9nsCStringj/3809750 (10.11 per call)
_ZN19nsACString_internal8FinalizeEv/58925 (9.10 per call)
_ZN19nsACString_internal8FinalizeEv/58925 (9.10 per call)
_ZN18nsAString_internal8FinalizeEv/58869 (0.64 per call)
_ZN18nsAString_internal8FinalizeEv/58869 (0.64 per call)
_ZN18nsAString_internal8FinalizeEv/58869 (0.64 per call)
_ZN18nsAString_internal6AssignERK16nsSubstringTuple/58883 (0.64 per call)
_Z18AppendASCIItoUTF16RK19nsACString_internalR18nsAString_internal/58501 (0.64
per call)
_ZN13nsCOMPtr_base25assign_from_gs_contractidE24nsGetServiceByContractIDRK4nsID/295933
(0.91 per call)
_ZN13nsTArray_ImplI8nsCOMPtrI6nsIURIE27nsTArrayInfallibleAllocatorE13AppendElementIRS2_EEPS2_OT_/3809758
(8.19 per call) __builtin_expect/17283 (9.10 per call)
_Z9NS_NewURIPP6nsIURIRK19nsACString_internalPKcS0_P12nsIIOService/181475 (9.10
per call) _ZN13nsCOMPtr_base16begin_assignmentEv/295936 (9.10 per call)
_ZN19nsACString_internal8FinalizeEv/58925 (1.01 per call)
_ZN19nsACString_internal8FinalizeEv/58925 (1.01 per call)
_ZN19nsACString_internal8FinalizeEv/58925 (1.01 per call)
_ZN19nsACString_internal8FinalizeEv/58925 (1.01 per call)
_ZN23nsScriptSecurityManager26AddSitesToFileURIWhitelistERK9nsCString/3808049
(1.01 per call) _ZN19nsACString_internal6AssignERK17nsCSubstringTuple/58939
(1.01 per call) _ZN19nsACString_internal8FinalizeEv/58925 (1.01 per call)
_ZN19nsACString_internal8FinalizeEv/58925 (1.01 per call)
_ZN23nsScriptSecurityManager26AddSitesToFileURIWhitelistERK9nsCString/3808049
(1.01 per call) _ZN19nsACString_internal6AssignERK17nsCSubstringTuple/58939
(1.01 per call) __builtin_expect/17283 (10.11 per call)
_ZN19nsACString_internal8FinalizeEv/58925 (10.11 per call)
_ZN19nsACString_internal6AssignERKS_/58937 (10.11 per call)
_ZN21nsDependentCSubstring6RebindERK19nsACString_internaljj/58008 (10.11 per
call) _Z9SkipUntilI12IsWhitespaceEjRK9nsCStringj/3809751 (10.11 per call)
_Z8SkipPastI12IsWhitespaceEjRK9nsCStringj/3809750 (1.00 per call)
   Polymorphic indirect call of type struct nsISupports token:2(6.35 per call)
    Outer type (dynamic):struct nsISupports (or a derived type) (maybe in
construction) offset 0
   Polymorphic indirect call of type struct nsISupports token:2(0.64 per call)
    Outer type (dynamic):struct nsISupports (or a derived type) (maybe in
construction) offset 0
   Polymorphic indirect call of type struct nsIConsoleService token:4(0.64 per
call)
    Outer type (dynamic):struct nsIConsoleService (or a derived type) (maybe in
construction) offset 0
   Polymorphic indirect call of type struct nsIIOService token:18(10.11 per
call)
    Outer type (dynamic):struct nsIIOService (or a derived type) (maybe in
construction) offset 0

Thanks,
Martin


       reply	other threads:[~2015-01-20 10:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-64686-4@http.gcc.gnu.org/bugzilla/>
2015-01-20 10:17 ` marxin at gcc dot gnu.org [this message]
2015-01-20 19:23 ` hubicka at gcc dot gnu.org
2015-01-22  5:09 ` hubicka at gcc dot gnu.org
2015-01-28 12:44 ` dcb314 at hotmail dot com
2015-01-28 12:47 ` dcb314 at hotmail dot com
2015-01-28 12:51 ` trippels at gcc dot gnu.org
2015-01-29  7:42 ` hubicka at gcc dot gnu.org
2015-02-04 22:56 ` hubicka at gcc dot gnu.org
2015-02-05  0:16 ` hubicka at gcc dot gnu.org
2015-02-05  4:47 ` hubicka 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-64686-4-66pKnLqB1n@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).