This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/30394] New: FAIL: gcc.c-torture/execute/pr15262-1.c execution at -O2, -O3 and -Os
- 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: 6 Jan 2007 19:41:51 -0000
- Subject: [Bug tree-optimization/30394] New: FAIL: gcc.c-torture/execute/pr15262-1.c execution at -O2, -O3 and -Os
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The generated code just calls malloc and then abort:
(gdb) disass main
Dump of assembler code for function main:
0x00002b98 <main+0>: stw rp,-14(sp)
0x00002b9c <main+4>: ldi 8,r26
0x00002ba0 <main+8>: b,l 0x2b68 <malloc>,rp
0x00002ba4 <main+12>: ldo 40(sp),sp
0x00002ba8 <main+16>: ldi 1,r19
0x00002bac <main+20>: b,l 0x2b80 <abort>,rp
0x00002bb0 <main+24>: stw r19,4(ret0)
0x00002bb4 <main+28>: nop
The RTL is wrong in .expand.
First seen in 120133. Last build without this fail was 120074.
--
Summary: FAIL: gcc.c-torture/execute/pr15262-1.c execution at -
O2, -O3 and -Os
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa*-*-*
GCC host triplet: hppa*-*-*
GCC target triplet: hppa*-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30394