public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/64545] New: failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693
@ 2015-01-08 22:06 mikulas at artax dot karlin.mff.cuni.cz
2015-01-09 1:58 ` [Bug middle-end/64545] " mikulas at artax dot karlin.mff.cuni.cz
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: mikulas at artax dot karlin.mff.cuni.cz @ 2015-01-08 22:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64545
Bug ID: 64545
Summary: failed gcc build: internal compiler error: in
inline_small_functions, at ipa-inline.c:1693
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: mikulas at artax dot karlin.mff.cuni.cz
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu
Created attachment 34408
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34408&action=edit
failed build log
ICE when building gcc revision r219330 on Debian Wheezy. Build script:
CFLAGS="-O2 -march=barcelona -fomit-frame-pointer"
export CFLAGS
CXXFLAGS="$CFLAGS"
export CXXFLAGS
MAKEFLAGS=-j12
export MAKEFLAGS
../gcc-svn/configure \
--prefix=/usr/local/gcc-svn/ \
--enable-lto \
--with-system-zlib \
--enable-languages=c \
--enable-multilib \
--with-multilib-list=m32,m64 \
--disable-werror \
--enable-checking=yes \
&&
nice -n 20 make BOOT_CFLAGS="$CFLAGS" profiledbootstrap
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/64545] failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693
2015-01-08 22:06 [Bug middle-end/64545] New: failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693 mikulas at artax dot karlin.mff.cuni.cz
@ 2015-01-09 1:58 ` mikulas at artax dot karlin.mff.cuni.cz
2015-01-09 2:26 ` hjl.tools at gmail dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mikulas at artax dot karlin.mff.cuni.cz @ 2015-01-09 1:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64545
--- Comment #1 from mikulas at artax dot karlin.mff.cuni.cz ---
It is caused by profiledbootstrap, when I change it to boostrap, the build
succeeds.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/64545] failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693
2015-01-08 22:06 [Bug middle-end/64545] New: failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693 mikulas at artax dot karlin.mff.cuni.cz
2015-01-09 1:58 ` [Bug middle-end/64545] " mikulas at artax dot karlin.mff.cuni.cz
@ 2015-01-09 2:26 ` hjl.tools at gmail dot com
2015-01-14 8:14 ` [Bug ipa/64545] " trippels at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2015-01-09 2:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64545
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Could be a dup of PR 63967.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ipa/64545] failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693
2015-01-08 22:06 [Bug middle-end/64545] New: failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693 mikulas at artax dot karlin.mff.cuni.cz
2015-01-09 1:58 ` [Bug middle-end/64545] " mikulas at artax dot karlin.mff.cuni.cz
2015-01-09 2:26 ` hjl.tools at gmail dot com
@ 2015-01-14 8:14 ` trippels at gcc dot gnu.org
2015-01-14 8:15 ` trippels at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-01-14 8:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64545
--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
1653 int old_hints_est = estimate_edge_hints (edge);
old_hints_est = 288
estimate_edge_hints (edge) = 32
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ipa/64545] failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693
2015-01-08 22:06 [Bug middle-end/64545] New: failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693 mikulas at artax dot karlin.mff.cuni.cz
` (2 preceding siblings ...)
2015-01-14 8:14 ` [Bug ipa/64545] " trippels at gcc dot gnu.org
@ 2015-01-14 8:15 ` trippels at gcc dot gnu.org
2015-01-14 8:20 ` hubicka at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-01-14 8:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64545
--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
1660 gcc_assert (old_hints_est == estimate_edge_hints (edge));
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ipa/64545] failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693
2015-01-08 22:06 [Bug middle-end/64545] New: failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693 mikulas at artax dot karlin.mff.cuni.cz
` (3 preceding siblings ...)
2015-01-14 8:15 ` trippels at gcc dot gnu.org
@ 2015-01-14 8:20 ` hubicka at gcc dot gnu.org
2015-01-14 9:32 ` ubizjak at gmail dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-01-14 8:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64545
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Hmm, that is same_scc hint. It would be great to have smaller testcase. I will
look into that tomorrow morning.
Honza
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ipa/64545] failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693
2015-01-08 22:06 [Bug middle-end/64545] New: failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693 mikulas at artax dot karlin.mff.cuni.cz
` (4 preceding siblings ...)
2015-01-14 8:20 ` hubicka at gcc dot gnu.org
@ 2015-01-14 9:32 ` ubizjak at gmail dot com
2015-01-14 17:04 ` hubicka at gcc dot gnu.org
2024-04-03 4:49 ` pinskia at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: ubizjak at gmail dot com @ 2015-01-14 9:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64545
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl.tools at gmail dot com
--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
Also breaks profiledbootstrap autotester [1].
[1] https://gcc.gnu.org/ml/gcc-regression/2015-01/msg00258.html
>From gcc-bugs-return-473156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 14 09:45:05 2015
Return-Path: <gcc-bugs-return-473156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15127 invoked by alias); 14 Jan 2015 09:45:04 -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 14941 invoked by uid 55); 14 Jan 2015 09:44:58 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/64511] [5 Regression] ICE at -O3 with -g enabled on x86_64-linux-gnu
Date: Wed, 14 Jan 2015 09:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: compile-time-hog, memory-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenther at suse dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64511-4-NsMvYup73e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64511-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/msg01150.txt.bz2
Content-length: 1503
https://gcc.gnu.org/bugzilla/show_bug.cgi?idd511
--- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 13 Jan 2015, jakub at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?idd511
>
> Jakub Jelinek <jakub at gcc dot gnu.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |jakub at gcc dot gnu.org
>
> --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> x % x for x == 0 is undefined behavior, so perhaps with the exception of
> sanitization we can just assume it is not 0 and thus fold x % x to 0.
> Or does e.g. Ada/Java require something different?
See the inconsistent handing of % vs. / in fold (we fold 0 % x to 0
but preserve literal 0 % 0 - we don't fold 0 / x to 0).
In my view we should just go ahead and fold, though with
-fnon-call-exceptions one may do
try {
x % x
abort ();
} catch (...) {
}
and throw from inside a trap handler. Which means that one can
catch undefined behavior. IMHO -fnon-call-exceptions and sub-flags
like -ftrapv tell GCC to treat the specific undefined behavior as
defined - namely trapping. We don't have a special flag for
divide-by-zero-traps though (it's not exactly "overflow").
So maybe with making the folding more consistent we should simply
add such flag, -fdivide-by-zero-traps which also makes modulo-by-zero
trap?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ipa/64545] failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693
2015-01-08 22:06 [Bug middle-end/64545] New: failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693 mikulas at artax dot karlin.mff.cuni.cz
` (5 preceding siblings ...)
2015-01-14 9:32 ` ubizjak at gmail dot com
@ 2015-01-14 17:04 ` hubicka at gcc dot gnu.org
2024-04-03 4:49 ` pinskia at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-01-14 17:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64545
--- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Curious it happens only with FDO... I am looking into that now.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ipa/64545] failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693
2015-01-08 22:06 [Bug middle-end/64545] New: failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693 mikulas at artax dot karlin.mff.cuni.cz
` (6 preceding siblings ...)
2015-01-14 17:04 ` hubicka at gcc dot gnu.org
@ 2024-04-03 4:49 ` pinskia at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-03 4:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64545
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup. been fixed a long time ago.
*** This bug has been marked as a duplicate of bug 64565 ***
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-04-03 4:49 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-08 22:06 [Bug middle-end/64545] New: failed gcc build: internal compiler error: in inline_small_functions, at ipa-inline.c:1693 mikulas at artax dot karlin.mff.cuni.cz
2015-01-09 1:58 ` [Bug middle-end/64545] " mikulas at artax dot karlin.mff.cuni.cz
2015-01-09 2:26 ` hjl.tools at gmail dot com
2015-01-14 8:14 ` [Bug ipa/64545] " trippels at gcc dot gnu.org
2015-01-14 8:15 ` trippels at gcc dot gnu.org
2015-01-14 8:20 ` hubicka at gcc dot gnu.org
2015-01-14 9:32 ` ubizjak at gmail dot com
2015-01-14 17:04 ` hubicka at gcc dot gnu.org
2024-04-03 4:49 ` pinskia 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).