This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR rtl-optimization/24257
- From: Rask Ingemann Lambertsen <rask at sygehus dot dk>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Steven Bosscher <steven dot bosscher at gmail dot com>
- Date: Wed, 13 Jun 2007 19:32:03 +0200
- Subject: Re: [PATCH] Fix PR rtl-optimization/24257
- References: <Pine.LNX.4.63.0601101331410.6210@t148.fhfr.qr>
On Tue, Jan 10, 2006 at 01:33:04PM +0100, Richard Guenther wrote:
> * gcc.dg/torture/pr24257.c: New testcase.
>
> /* { dg-do compile } */
> /* { dg-options "-O -fgcse -fgcse-sm" } */
That -O overrides the usual -O0, -O1, -O2 and so on. I see this in my
logs (never mind that the test fails, it's probably PR middle-end/32321):
Executing on host: /home/rask/cvsbuild/gcc/gcc/xgcc -B/home/rask/cvsbuild/gcc/gcc/ /home/rask/cvssrc/gcc/gcc/testsuite/gcc.dg/torture/pr24257.c -O0 -O -fgcse -fgcse-sm -fno-show-column -S -msim=linuxvm86 -DSTACK_SIZE=4096 -o pr24257.s (timeout = 300)
FAIL: gcc.dg/torture/pr24257.c -O0 (internal compiler error)
FAIL: gcc.dg/torture/pr24257.c -O0 (test for excess errors)
Executing on host: /home/rask/cvsbuild/gcc/gcc/xgcc -B/home/rask/cvsbuild/gcc/gcc/ /home/rask/cvssrc/gcc/gcc/testsuite/gcc.dg/torture/pr24257.c -O1 -O -fgcse -fgcse-sm -fno-show-column -S -msim=linuxvm86 -DSTACK_SIZE=4096 -o pr24257.s (timeout = 300)
FAIL: gcc.dg/torture/pr24257.c -O1 (internal compiler error)
FAIL: gcc.dg/torture/pr24257.c -O1 (test for excess errors)
Executing on host: /home/rask/cvsbuild/gcc/gcc/xgcc -B/home/rask/cvsbuild/gcc/gcc/ /home/rask/cvssrc/gcc/gcc/testsuite/gcc.dg/torture/pr24257.c -O2 -O -fgcse -fgcse-sm -fno-show-column -S -msim=linuxvm86 -DSTACK_SIZE=4096 -o pr24257.s (timeout = 300)
FAIL: gcc.dg/torture/pr24257.c -O2 (internal compiler error)
FAIL: gcc.dg/torture/pr24257.c -O2 (test for excess errors)
Executing on host: /home/rask/cvsbuild/gcc/gcc/xgcc -B/home/rask/cvsbuild/gcc/gcc/ /home/rask/cvssrc/gcc/gcc/testsuite/gcc.dg/torture/pr24257.c -O3 -fomit-frame-pointer -O -fgcse -fgcse-sm -fno-show-column -S -msim=linuxvm86 -DSTACK_SIZE=4096 -o pr24257.s (timeout = 300)
FAIL: gcc.dg/torture/pr24257.c -O3 -fomit-frame-pointer (internal compiler error)
FAIL: gcc.dg/torture/pr24257.c -O3 -fomit-frame-pointer (test for excess errors)
Executing on host: /home/rask/cvsbuild/gcc/gcc/xgcc -B/home/rask/cvsbuild/gcc/gcc/ /home/rask/cvssrc/gcc/gcc/testsuite/gcc.dg/torture/pr24257.c -O3 -fomit-frame-pointer -funroll-loops -O -fgcse -fgcse-sm -fno-show-column -S -msim=linuxvm86 -DSTACK_SIZE=4096 -o pr24257.s (timeout = 300)
FAIL: gcc.dg/torture/pr24257.c -O3 -fomit-frame-pointer -funroll-loops (internal compiler error)
FAIL: gcc.dg/torture/pr24257.c -O3 -fomit-frame-pointer -funroll-loops (test for excess errors)
Executing on host: /home/rask/cvsbuild/gcc/gcc/xgcc -B/home/rask/cvsbuild/gcc/gcc/ /home/rask/cvssrc/gcc/gcc/testsuite/gcc.dg/torture/pr24257.c -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions -O -fgcse -fgcse-sm -fno-show-column -S -msim=linuxvm86 -DSTACK_SIZE=4096 -o pr24257.s (timeout = 300)
FAIL: gcc.dg/torture/pr24257.c -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (internal compiler error)
FAIL: gcc.dg/torture/pr24257.c -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors)
Executing on host: /home/rask/cvsbuild/gcc/gcc/xgcc -B/home/rask/cvsbuild/gcc/gcc/ /home/rask/cvssrc/gcc/gcc/testsuite/gcc.dg/torture/pr24257.c -O3 -g -O -fgcse -fgcse-sm -fno-show-column -S -msim=linuxvm86 -DSTACK_SIZE=4096 -o pr24257.s (timeout = 300)
FAIL: gcc.dg/torture/pr24257.c -O3 -g (internal compiler error)
FAIL: gcc.dg/torture/pr24257.c -O3 -g (test for excess errors)
Executing on host: /home/rask/cvsbuild/gcc/gcc/xgcc -B/home/rask/cvsbuild/gcc/gcc/ /home/rask/cvssrc/gcc/gcc/testsuite/gcc.dg/torture/pr24257.c -Os -O -fgcse -fgcse-sm -fno-show-column -S -msim=linuxvm86 -DSTACK_SIZE=4096 -o pr24257.s (timeout = 300)
FAIL: gcc.dg/torture/pr24257.c -Os (internal compiler error)
FAIL: gcc.dg/torture/pr24257.c -Os (test for excess errors)
--
Rask Ingemann Lambertsen