public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/40150] New: internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:188
@ 2009-05-14 17:59 josh at freedesktop dot org
2009-05-14 18:01 ` [Bug c/40150] " josh at freedesktop dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: josh at freedesktop dot org @ 2009-05-14 17:59 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2025 bytes --]
$ cc -std=gnu99 -O3 -fwhole-program -combine lv2log.i sim-common.i
flight-computer.i physics.i pressure_sensor.i sensors.i resample-optimal.i
coord.i mat.i vec.i isaac.i random.i normal.i normal_tab.i polynomial.i
polynomial_tab.i -lm -o lv2log
ziggurat/polynomial_tab.c: In function main_chute:
ziggurat/polynomial_tab.c:776: internal compiler error: in
cgraph_estimate_size_after_inlining, at ipa-inline.c:188
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
$ cc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.3-8'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--enable-multiarch --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.3.3 (Debian 4.3.3-8)
Tarball of preprocessed source attached. (Since the bug involves
--combine -fwhole-program, it requires multiple source files, but I used
-save-temps to turn them all into corresponding .i files.)
- Josh Triplett
--
Summary: internal compiler error: in
cgraph_estimate_size_after_inlining, at ipa-inline.c:188
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: josh at freedesktop dot org
GCC build triplet: x86_64-linux-gnu
GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40150
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/40150] internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:188
2009-05-14 17:59 [Bug c/40150] New: internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:188 josh at freedesktop dot org
@ 2009-05-14 18:01 ` josh at freedesktop dot org
2009-05-15 11:03 ` [Bug c/40150] ICE in cgraph_estimate_size_after_inlining, at ipa-inline.c:188 with -combine rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: josh at freedesktop dot org @ 2009-05-14 18:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from josh at freedesktop dot org 2009-05-14 18:00 -------
Created an attachment (id=17868)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17868&action=view)
Tarball of preprocessed source files to reproduce ICE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40150
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/40150] ICE in cgraph_estimate_size_after_inlining, at ipa-inline.c:188 with -combine
2009-05-14 17:59 [Bug c/40150] New: internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:188 josh at freedesktop dot org
2009-05-14 18:01 ` [Bug c/40150] " josh at freedesktop dot org
@ 2009-05-15 11:03 ` rguenth at gcc dot gnu dot org
2010-09-12 12:51 ` [Bug tree-optimization/40150] " kamaraju at gmail dot com
2010-09-17 9:09 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-05-15 11:03 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1423 bytes --]
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-05-15 11:03 -------
Confirmed with
gcc -c -std=gnu99 -O -combine lv2log.i sim-common.i
sim-common.c: In function main_chute:
sim-common.c:88: internal compiler error: in
cgraph_estimate_size_after_inlining, at ipa-inline.c:188
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
;; Function main_chute (main_chute)
Considering inline candidate trace_printf.
void trace_printf(const char *fmt, ...) __attribute__((format(printf,1,2)));
void trace_printf(const char *fmt, ...)
{
# 41 "sim-common.c"
}
---
void trace_printf(const char *fmt, ...) __attribute__((format(printf,1,2)));
void main_chute(_Bool go)
{
if(go)
trace_printf("FC deployed main chute\n");
else
trace_printf("FC stopped deploying main chute\n");
}
but this small example does not reproduce it.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|internal compiler error: in |ICE in
|cgraph_estimate_size_after_i|cgraph_estimate_size_after_i
|nlining, at ipa-inline.c:188|nlining, at ipa-inline.c:188
| |with -combine
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40150
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/40150] ICE in cgraph_estimate_size_after_inlining, at ipa-inline.c:188 with -combine
2009-05-14 17:59 [Bug c/40150] New: internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:188 josh at freedesktop dot org
2009-05-14 18:01 ` [Bug c/40150] " josh at freedesktop dot org
2009-05-15 11:03 ` [Bug c/40150] ICE in cgraph_estimate_size_after_inlining, at ipa-inline.c:188 with -combine rguenth at gcc dot gnu dot org
@ 2010-09-12 12:51 ` kamaraju at gmail dot com
2010-09-17 9:09 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: kamaraju at gmail dot com @ 2010-09-12 12:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from kamaraju at gmail dot com 2010-09-12 12:51 -------
When I tried with 4.6.0 20100828, I get the ICE at a different place.
/usr/lib/gcc-snapshot/bin/gcc -std=gnu99 -O3 -fwhole-program -combine lv2log.i
sim-common.i flight-computer.i physics.i pressure_sensor.i sensors.i
resample-optimal.i coord.i mat.i vec.i isaac.i random.i normal.i normal_tab.i
polynomial.i polynomial_tab.i -lm -o lv2log
physics.c: In function 'gravity_force':
physics.c:23:6: error: invalid conversion in return statement
union vec3
union vec3
return <retval>;
physics.c:23:6: internal compiler error: verify_gimple failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.
/usr/lib/gcc-snapshot/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/lib/gcc-snapshot/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc-snapshot/libexec/gcc/i486-linux-gnu/4.6.0/lto-wrapper
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 20100828-1'
--with-bugurl=file:///usr/share/doc/gcc-snapshot/README.Bugs
--enable-languages=c,ada,c++,fortran,objc,obj-c++
--prefix=/usr/lib/gcc-snapshot --enable-shared --enable-multiarch
--enable-linker-build-id --with-system-zlib --disable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin
--enable-gold --with-plugin-ld=ld.gold --enable-objc-gc --enable-targets=all
--with-arch-32=i586 --with-tune=generic --disable-werror --enable-checking=yes
--build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.6.0 20100828 (experimental) [trunk revision 163616] (Debian
20100828-1)
However, the reduced test case by Richard Guenther in comment #2
/usr/lib/gcc-snapshot/bin/gcc -c -std=gnu99 -O -combine lv2log.i sim-common.i
compiles with no errors.
--
kamaraju at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kamaraju at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40150
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/40150] ICE in cgraph_estimate_size_after_inlining, at ipa-inline.c:188 with -combine
2009-05-14 17:59 [Bug c/40150] New: internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:188 josh at freedesktop dot org
` (2 preceding siblings ...)
2010-09-12 12:51 ` [Bug tree-optimization/40150] " kamaraju at gmail dot com
@ 2010-09-17 9:09 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-17 9:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 -------
-combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40150
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-09-17 9:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-14 17:59 [Bug c/40150] New: internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:188 josh at freedesktop dot org
2009-05-14 18:01 ` [Bug c/40150] " josh at freedesktop dot org
2009-05-15 11:03 ` [Bug c/40150] ICE in cgraph_estimate_size_after_inlining, at ipa-inline.c:188 with -combine rguenth at gcc dot gnu dot org
2010-09-12 12:51 ` [Bug tree-optimization/40150] " kamaraju at gmail dot com
2010-09-17 9:09 ` rguenth at gcc dot gnu dot 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).