This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/42718] New: FAIL: gcc.c-torture/compile/pr42559.c at -O1 and above
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2010 21:44:54 -0000
- Subject: [Bug middle-end/42718] New: FAIL: gcc.c-torture/compile/pr42559.c at -O1 and above
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Executing on host: /mnt/gnu/gcc/objdir/gcc/xgcc -B/mnt/gnu/gcc/objdir/gcc/
-O1
-w -c -o pr42559.o
/mnt/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr425
59.c (timeout = 300)
/mnt/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr42559.c: In function
'jum
pfunc':
/mnt/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr42559.c:5: internal
compi
ler error: Arithmetic exception
Program received signal SIGFPE, Arithmetic exception.
0x00031080 in small_divisor ()
(gdb) bt
#0 0x00031080 in small_divisor ()
#1 0x00a3410c in gen_movmemsi (operand0=0x7afaee50, operand1=0x7afaee60,
operand2=0x7af33550, operand3=0x7af332b8)
at ../../gcc/gcc/config/pa/pa.md:3554
#2 0x0038bbcc in emit_block_move_via_movmem (x=0x7afaee50, y=0x7afaee60,
size=0x7af33550, align=1, expected_align=8, expected_size=-1)
at ../../gcc/gcc/expr.c:1360
#3 0x0038b768 in emit_block_move_hints (x=0x7afaee50, y=0x7afaee60,
size=0x7af33550, method=BLOCK_OP_NORMAL, expected_align=8,
expected_size=-1) at ../../gcc/gcc/expr.c:1233
...
Problem is alignment.
I believe that this was fixed on trunk by the following change:
2009-12-17 Richard Guenther <rguenther@suse.de>
PR middle-end/42397
* builtins.c (get_object_alignment): Properly deal with
a CONST_DECL base.
* expr.c (emit_block_move_hints): Assert the alignment makes sense.
--
Summary: FAIL: gcc.c-torture/compile/pr42559.c at -O1 and above
Product: gcc
Version: 4.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa2.0w-hp-hpux11.11
GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42718