[Bug target/38052] [4.4 Regression] genautomata segfaults when -O2 is enabled

2008-11-16 Thread rsandifo at gcc dot gnu dot org
--- Comment #10 from rsandifo at gcc dot gnu dot org 2008-11-16 21:08 --- Fixed on mainline. -- rsandifo at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/38052] [4.4 Regression] genautomata segfaults when -O2 is enabled

2008-11-16 Thread rsandifo at gcc dot gnu dot org
--- Comment #9 from rsandifo at gcc dot gnu dot org 2008-11-16 20:32 --- Subject: Bug 38052 Author: rsandifo Date: Sun Nov 16 20:31:13 2008 New Revision: 141926 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141926 Log: gcc/ PR target/38052 * config/mips/mips.c

[Bug target/38052] [4.4 Regression] genautomata segfaults when -O2 is enabled

2008-11-16 Thread rsandifo at gcc dot gnu dot org
--- Comment #8 from rsandifo at gcc dot gnu dot org 2008-11-16 20:27 --- Subject: Bug 38052 Author: rsandifo Date: Sun Nov 16 20:25:40 2008 New Revision: 141925 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141925 Log: gcc/ PR target/38052 * config/mips/mips.c

[Bug target/38052] [4.4 Regression] genautomata segfaults when -O2 is enabled

2008-11-15 Thread rsandifo at gcc dot gnu dot org
--- Comment #7 from rsandifo at gcc dot gnu dot org 2008-11-15 20:42 --- I'll try to look at this tomorrow. The code in comment #1 is certainly wrong: the store at is supposed come after the GP addiu at . With that fixed, the function should work as expected. I'm guessing this is a

[Bug target/38052] [4.4 Regression] genautomata segfaults when -O2 is enabled

2008-11-13 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2008-11-13 17:34 --- > Then I used these flags with -O0 and -foptimize-sibling-calls together, but > this didn't trigger the bug. > > Is there anything I have overlooked here? Yes, not all optimizations are controlled by a specific

[Bug target/38052] [4.4 Regression] genautomata segfaults when -O2 is enabled

2008-11-13 Thread r0bertz at gentoo dot org
--- Comment #5 from r0bertz at gentoo dot org 2008-11-13 17:27 --- I am trying to find which specific flag or flags when used together with -foptimize-sibling-calls could trigger this problem. As the first step I tried to find a set of flags used together with -O0 and -foptimize-sibling-

[Bug target/38052] [4.4 Regression] genautomata segfaults when -O2 is enabled

2008-11-13 Thread r0bertz at gentoo dot org
--- Comment #4 from r0bertz at gentoo dot org 2008-11-13 11:36 --- and sed-4.1.5, too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38052

[Bug target/38052] [4.4 Regression] genautomata segfaults when -O2 is enabled

2008-11-13 Thread r0bertz at gentoo dot org
--- Comment #3 from r0bertz at gentoo dot org 2008-11-13 09:53 --- liblbxutil-1.0.1 package could be used to reproduce this bug. I will investigate this later when i have time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38052

[Bug target/38052] [4.4 Regression] genautomata segfaults when -O2 is enabled

2008-11-11 Thread kumba at gentoo dot org
--- Comment #2 from kumba at gentoo dot org 2008-11-12 01:01 --- I ran into this too. The problem flag is -foptimize-sibling-calls. You can pass that with -O1 to trigger the bug, but not with -O0. Some other optimization in -O1 seems to be mixing with this one and causing the flaw. R

[Bug target/38052] [4.4 Regression] genautomata segfaults when -O2 is enabled

2008-11-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Component|c |target Keywords||build, wrong-c