This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15822] [3.5 Regression] Several alpha testsuite regressions: gcc.c-torture/execute/ieee/fp-cmp-[458].c
- From: "ro at techfak dot uni-bielefeld dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2004 17:24:12 -0000
- Subject: [Bug target/15822] [3.5 Regression] Several alpha testsuite regressions: gcc.c-torture/execute/ieee/fp-cmp-[458].c
- References: <20040604155944.15822.ro@techfak.uni-bielefeld.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2004-06-07 17:24 -------
Subject: Re: [3.5 Regression] Several alpha testsuite regressions: gcc.c-torture/execute/ieee/fp-cmp-[458].c
After moving the new tests to gcc.c-torture/execute/ieee, all but two
failures are gone on alpha-dec-osf{4.0f, 5.1b}:
FAIL: gcc.c-torture/execute/ieee/compare-fp-1.c compilation, -O3 -fomit-frame-pointer
UNRESOLVED: gcc.c-torture/execute/ieee/compare-fp-1.c execution, -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/execute/ieee/compare-fp-1.c compilation, -O3 -g
UNRESOLVED: gcc.c-torture/execute/ieee/compare-fp-1.c execution, -O3 -g
/vol/gnu/src/gcc/gcc-dist/gcc/testsuite/gcc.c-torture/execute/ieee/compare-fp-1.c: In function `main':
/vol/gnu/src/gcc/gcc-dist/gcc/testsuite/gcc.c-torture/execute/ieee/compare-fp-1.c:32: internal compiler error: Segmentation fault
It can be reproduced with
cc1 -O3 compare-fp-1.i
The stacktrace is as follows:
Program received signal SIGSEGV, Segmentation fault.
0x00000001202fb63c in register_operand (op=0x4282a0, mode=DImode) at /vol/gnu/src/gcc/gcc-dist/gcc/recog.c:1029
(gdb) where
#0 0x00000001202fb63c in register_operand (op=0x4282a0, mode=DImode) at /vol/gnu/src/gcc/gcc-dist/gcc/recog.c:1029
#1 0x00000001201c0410 in alpha_emit_setcc (code=UNORDERED) at /vol/gnu/src/gcc/gcc-dist/gcc/config/alpha/alpha.c:3312
#2 0x000000012031f80c in gen_sunordered (operand0=0x4282a0) at insn-emit.c:5216
#3 0x00000001202e49cc in emit_store_flag (target=0x402a60, code=CONST_DOUBLE, op0=0x4282a0, op1=0x1c090, mode=SFmode, unsignedp=0, normalizep=1) at /vol/gnu/src/gcc/gcc-dist/gcc/expmed.c:4569
#4 0x000000012020105c in do_store_flag (exp=0x4282a0, target=0x402a60, mode=DImode, only_cheap=0) at /vol/gnu/src/gcc/gcc-dist/gcc/expr.c:9891
#5 0x00000001201ee4b0 in expand_expr_real_1 (exp=0x427360, target=0x42, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at /vol/gnu/src/gcc/gcc-dist/gcc/expr.c:8309
#6 0x00000001201fd644 in expand_expr_real (exp=0x4282a0, target=0x1c090, tmode=4358816, modifier=66, alt_rtl=0x408d20) at /vol/gnu/src/gcc/gcc-dist/gcc/expr.c:6384
#7 0x00000001201ffdf0 in store_expr (exp=0x4282a0, target=0x1c090, want_value=9) at /vol/gnu/src/gcc/gcc-dist/gcc/expr.h:533
#8 0x0000000120201fc8 in expand_assignment (to=0x42, from=0x301540, want_value=114832) at /vol/gnu/src/gcc/gcc-dist/gcc/expr.c:3985
#9 0x00000001201eb1f0 in expand_expr_real_1 (exp=0x3014f0, target=0x42, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at /vol/gnu/src/gcc/gcc-dist/gcc/expr.c:8924
#10 0x00000001201fd7dc in expand_expr_real (exp=0x4282a0, target=0x1c090, tmode=4358816, modifier=66, alt_rtl=0x408d20) at /vol/gnu/src/gcc/gcc-dist/gcc/expr.c:6378
#11 0x00000001201ea2fc in expand_expr_real_1 (exp=0x36b230, target=0x42, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at /vol/gnu/src/gcc/gcc-dist/gcc/expr.h:533
#12 0x00000001201fd644 in expand_expr_real (exp=0x4282a0, target=0x1c090, tmode=4358816, modifier=66, alt_rtl=0x408d20) at /vol/gnu/src/gcc/gcc-dist/gcc/expr.c:6384
#13 0x00000001201f021c in expand_expr_real_1 (exp=0x421bd0, target=0x42, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x11fffbe20) at /vol/gnu/src/gcc/gcc-dist/gcc/expr.h:533
#14 0x00000001201fd644 in expand_expr_real (exp=0x4282a0, target=0x1c090, tmode=4358816, modifier=66, alt_rtl=0x408d20) at /vol/gnu/src/gcc/gcc-dist/gcc/expr.c:6384
#15 0x000000012011d370 in expand_expr_stmt_value (exp=0x4282a0, want_value=66, maybe_last=-1347440721) at /vol/gnu/src/gcc/gcc-dist/gcc/stmt.c:2128
#16 0x000000012029090c in tree_rest_of_compilation (fndecl=0x4282a0, nested_p=9) at /vol/gnu/src/gcc/gcc-dist/gcc/tree-optimize.c:561
#17 0x000000012007e368 in c_expand_body (fndecl=0x4282a0) at /vol/gnu/src/gcc/gcc-dist/gcc/c-decl.c:6374
#18 0x0000000120292a30 in cgraph_expand_function (node=0x4282a0) at /vol/gnu/src/gcc/gcc-dist/gcc/cgraphunit.c:794
#19 0x0000000120293c64 in cgraph_optimize () at /vol/gnu/src/gcc/gcc-dist/gcc/cgraphunit.c:1668
#20 0x00000001200c7388 in c_objc_common_finish_file () at /vol/gnu/src/gcc/gcc-dist/gcc/c-objc-common.c:240
#21 0x0000000120065c08 in finish_file () at /vol/gnu/src/gcc/gcc-dist/gcc/c-lang.c:213
#22 0x00000001200bcb24 in c_common_parse_file (set_yydebug=0) at /vol/gnu/src/gcc/gcc-dist/gcc/c-opts.c:1240
#23 0x00000001200e655c in toplev_main (argc=114832, argv=0x4282a0) at /vol/gnu/src/gcc/gcc-dist/gcc/toplev.c:1654
#24 0x00000001200da408 in main (argc=0, argv=0x7) at /vol/gnu/src/gcc/gcc-dist/gcc/main.c:35
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15822