Bug 25588 - arm-linux: crash in verify_wide_reg with -funroll-loops
Summary: arm-linux: crash in verify_wide_reg with -funroll-loops
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: rtl-optimization (show other bugs)
Version: 4.0.3
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-28 10:55 UTC by Philip Blundell
Modified: 2007-02-10 15:07 UTC (History)
2 users (show)

See Also:
Host:
Target: arm-linux
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
testcase (543 bytes, application/octet-stream)
2005-12-28 10:56 UTC, Philip Blundell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Blundell 2005-12-28 10:55:32 UTC
gcc-4.0 branch from 2005-12-28; arm-linux target

$ cc1 -O2 phaser.i -fomit-frame-pointer -ffast-math -g -O2 -Wall -falign-loops=4 -falign-jumps=4 -ffast-math -fomit-frame-pointer -finline-functions -funroll-loops

yields:

phaser.i: In function ‘phaser1set’:
phaser.i:61: fatal error: internal consistency failure
compilation terminated.

#0  0xb7ecc3b6 in exit () from /lib/tls/libc.so.6
#1  0x0812c988 in diagnostic_action_after_output (
    context=<value optimized out>, diagnostic=<value optimized out>)
    at ../../gcc-4_0-branch/gcc/diagnostic.c:252
#2  0x0812caaf in diagnostic_report_diagnostic (context=0x83b75a0,
    diagnostic=0xbffff5e8) at ../../gcc-4_0-branch/gcc/diagnostic.c:351
#3  0x0812ccfc in fatal_error (gmsgid=0x835df69 "internal consistency failure")
    at ../../gcc-4_0-branch/gcc/diagnostic.c:496
#4  0x08174995 in verify_local_live_at_start (new_live_at_start=0x842f720,
    bb=0xb7d13000) at ../../gcc-4_0-branch/gcc/flow.c:494
Comment 1 Philip Blundell 2005-12-28 10:56:06 UTC
Created attachment 10560 [details]
testcase
Comment 2 Debian GCC Maintainers 2007-02-10 13:21:36 UTC
the testcase is from the debian package csound, which builds fine with current 4.1.
Comment 3 Eric Botcazou 2007-02-10 15:07:32 UTC
> the testcase is from the debian package csound, which builds fine with current
> 4.1.

The 4.0 branch is now closed.  Reopen if you can reproduce with 4.x x>=1.