This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/26945] New: [3.4/4.0/4.1 regression] Attempt to delete prologue/epilogue insn


Compile attached test case with optimization causes an ICE:

$ gcc -c -O1 bug.c
bug.c: In function 'parsearguments':
bug.c:46: error: Attempt to delete prologue/epilogue insn:
(insn/f 97 96 98 0 (set (mem:SI (plus:SI (reg/f:SI 30 %r30)
                (const_int -124 [0xffffff84])) [0 S4 A32])
        (reg:SI 4 %r4)) -1 (nil)
    (nil))
bug.c:46: internal compiler error: in propagate_one_insn, at flow.c:1690
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.

This may be related to PR12535 but the code that triggers the problem is
different.


-- 
           Summary: [3.4/4.0/4.1 regression] Attempt to delete
                    prologue/epilogue insn
           Product: gcc
           Version: 4.0.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tausq at debian dot org
 GCC build triplet: hppa-unknown-linux
  GCC host triplet: hppa-unknown-linux
GCC target triplet: hppa-unknown-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26945


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]