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 target/13004] New: ICE during -O0 DI assignment.


void
bug(unsigned long long *x)
{
        *x = 60486;
}

compiled by:

hppa--netbsd-gcc -O0 -c pabug.c

will die with:

pabug.c: In function `bug':
pabug.c:5: error: unrecognizable insn:
(insn 11 10 12 0 0x0 (set (reg:DI 95)
        (plus:DI (reg:DI 96)
            (const_int -5050 [0xffffffffffffec46]))) -1 (nil)
    (expr_list:REG_DEAD (reg:DI 96)
        (expr_list:REG_EQUAL (const_int 60486 [0xec46])
            (nil))))
pabug.c:5: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.

Using -O2 does not produce any errors.

-- 
           Summary: ICE during -O0 DI assignment.
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: matt at 3am-software dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64--netbsd
  GCC host triplet: x86_64--netbsd
GCC target triplet: hppa--netbsd


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


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