[PATCH] Fix PR rtl-optimization/24257

Rask Ingemann Lambertsen rask@sygehus.dk
Wed Jun 13 18:02:00 GMT 2007


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



More information about the Gcc-patches mailing list