[Bug lto/45557] Segfault with -flto -O1 -finline-small-functions -fpartial-inlining

2010-09-06 Thread alexey at feldgendler dot ru
--- Comment #1 from alexey at feldgendler dot ru 2010-09-06 13:48 --- Created an attachment (id=21710) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21710action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45557

[Bug lto/45557] Segfault with -flto -O1 -finline-small-functions -fpartial-inlining

2010-09-06 Thread alexey at feldgendler dot ru
--- Comment #2 from alexey at feldgendler dot ru 2010-09-06 13:49 --- Created an attachment (id=21711) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21711action=view) Incomplete assembly file cc1plus manages to write before segfaulting --

[Bug lto/45557] Segfault with -flto -O1 -finline-small-functions -fpartial-inlining

2010-09-06 Thread alexey at feldgendler dot ru
--- Comment #3 from alexey at feldgendler dot ru 2010-09-06 13:51 --- $ gdb --args /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus -v -D_GNU_SOURCE TC.cpp -dumpbase TC.cpp -mtune=generic -march=x86-64 -auxbase TC -O1 -version -flto -finline-small-functions

[Bug lto/45557] Segfault with -flto -O1 -finline-small-functions -fpartial-inlining

2010-09-06 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-06 13:53 --- Seems to be fixed by 2010-09-02 Richard Guenther rguent...@suse.de PR tree-optimization/44937 PR tree-optimization/45412 * ipa-split.c (split_function): Properly remove PHI nodes. ***

[Bug lto/45557] Segfault with -flto -O1 -finline-small-functions -fpartial-inlining

2010-09-06 Thread alexey at feldgendler dot ru
--- Comment #5 from alexey at feldgendler dot ru 2010-09-06 14:03 --- Indeed, the patch fixes this bug for me. Thanks! -- alexey at feldgendler dot ru changed: What|Removed |Added