Regression for gcc.dg/Wstrict-overflow-11.c between 124216:124219

Richard Guenther richard.guenther@gmail.com
Fri Apr 27 18:07:00 GMT 2007


On 4/27/07, Hans-Peter Nilsson <hans-peter.nilsson@axis.com> wrote:
> Something in your
> +       PR tree-optimization/30965
> +       PR tree-optimization/30978
>
> fix caused a regression for gcc.dg/Wstrict-overflow-11.c (for
> cris-elf, but that shouldn't matter):
>
> gcc.log with 124216:
> Executing on host: /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/xgcc -B/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/ /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/Wstrict-overflow-11.c   -fstrict-overflow -O2 -Wstrict-overflow=1 -fno-show-column -S   -isystem /tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/targ-include -isystem /tmp/hpautotest-gcc1/gcc/newlib/libc/include  -o Wstrict-overflow-11.s    (timeout = 300)
> PASS: gcc.dg/Wstrict-overflow-11.c (test for excess errors)
>
> gcc.log with 124219:
> /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/Wstrict-overflow-11.c: In function 'foo':
> /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/Wstrict-overflow-11.c:11: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true
> output is:
> /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/Wstrict-overflow-11.c: In function 'foo':
> /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/Wstrict-overflow-11.c:11: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true
>
> FAIL: gcc.dg/Wstrict-overflow-11.c (test for excess errors)
> Excess errors:
> /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/Wstrict-overflow-11.c:11: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true
>
> Maybe a simple adjustment is all that's needed, but it didn't
> seem like you just missed that file; the adjustment to
> strict-overflow-5.c doesn't seem to apply.

It had been down in the noise, so I missed it.  Maybe we can somehow
reduce the amount of "expected" failures...

FAIL: gcc.c-torture/execute/mayalias-2.c compilation,  -O3 -g  (internal compile
r error)
UNRESOLVED: gcc.c-torture/execute/mayalias-2.c execution,  -O3 -g
FAIL: gcc.c-torture/execute/mayalias-3.c compilation,  -O3 -g  (internal compile
r error)
UNRESOLVED: gcc.c-torture/execute/mayalias-3.c execution,  -O3 -g
FAIL: gcc.dg/dfp/convert-bfp-fold.c (test for excess errors)
WARNING: gcc.dg/dfp/convert-bfp-fold.c compilation failed to produce executable
FAIL: gcc.dg/Wstrict-overflow-11.c (test for excess errors)
FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c scan-tree-dump pow
FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c scan-tree-dump pow
FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c scan-tree-dump pow
FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c scan-tree-dump pow
FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c scan-tree-dump pow
FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c scan-tree-dump pow
WARNING: gcc.dg/torture/fp-int-convert-float128-timode.c compilation failed to p
roduce executable
WARNING: gcc.dg/torture/fp-int-convert-float128-timode.c compilation failed to p
roduce executable
WARNING: gcc.dg/torture/fp-int-convert-float128-timode.c compilation failed to p
roduce executable
WARNING: gcc.dg/torture/fp-int-convert-float128-timode.c compilation failed to p
roduce executable
WARNING: gcc.dg/torture/fp-int-convert-float128-timode.c compilation failed to p
roduce executable
WARNING: gcc.dg/torture/fp-int-convert-float128-timode.c compilation failed to p
roduce executable
WARNING: gcc.dg/torture/fp-int-convert-float128.c compilation failed to produce
executable
WARNING: gcc.dg/torture/fp-int-convert-float128.c compilation failed to produce
executable
WARNING: gcc.dg/torture/fp-int-convert-float128.c compilation failed to produce
executable
WARNING: gcc.dg/torture/fp-int-convert-float128.c compilation failed to produce
executable
WARNING: gcc.dg/torture/fp-int-convert-float128.c compilation failed to produce
executable
WARNING: gcc.dg/torture/fp-int-convert-float128.c compilation failed to produce
executable
XPASS: gcc.dg/tree-ssa/update-threading.c scan-tree-dump-times Invalid sum 0
FAIL: gcc.target/i386/sse-13.c (test for excess errors)
FAIL: gcc.target/i386/sse-14.c (test for excess errors)
FAIL: gcc.target/i386/sse-vect-types.c (test for excess errors)

bah.

I'll have a look.

Richard.



More information about the Gcc-patches mailing list