public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/18730] New: [3.3/3.4/4.0 Regression] cppexp.c:1076: error: unrecognizable insn
@ 2004-11-30  0:16 danglin at gcc dot gnu dot org
  2004-11-30  0:18 ` [Bug middle-end/18730] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-11-30  0:16 UTC (permalink / raw)
  To: gcc-bugs

stage1/xgcc -Bstage1/ -B/opt/gnu/gcc/gcc-3.4.4/hppa1.1-hp-hpux11.11/bin/ -c   -g
 -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototype
s -pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H    -I. -I.
 -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include  ../../gcc/gcc/cpp
exp.c -o cppexp.o
../../gcc/gcc/cppexp.c: In function `num_negate':
../../gcc/gcc/cppexp.c:1076: error: unrecognizable insn:
(insn 188 115 0 ../../gcc/gcc/cppexp.c:1073 (sequence [
            (jump_insn 165 115 82 (parallel [
                        (set (pc)
                            (label_ref 187))
                        (set (reg:QI 24 %r24 [116])
                            (const_int 1 [0x1]))
                    ]) 230 {*pa.md:8757} (nil)
                (expr_list:REG_BR_PRED (const_int 4 [0x4])
                    (nil)))
            (insn/s:TI 82 165 0 (set (mem/s:QI (plus:SI (reg/v/f:SI 3 %r3 [orig:
95 num ] [95])
                            (const_int 9 [0x9])) [22 num.overflow+0 S1 A8])
                    (reg:QI 24 %r24 [116])) 57 {*pa.md:3003} (nil)
                (nil))
        ]) -1 (nil)
    (nil))
../../gcc/gcc/cppexp.c:1076: internal compiler error: in insn_default_length, at
 insn-attrtab.c:825
Please submit a full bug report,
with preprocessed source if appropriate.

Bah, I know what's wrong.  The regression was caused by the following
fix:
2004-11-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

        PR rtl-optimization/14838
        * emit-rtl.c (get_first_nonnote_insn): Don't assume first insn is a
        note.
        (get_last_nonnote_insn): Don't assume last insn is a note.

The above fix doesn't handle the case when the first/last insn is a
sequence.

Patch in testing.

-- 
           Summary: [3.3/3.4/4.0 Regression] cppexp.c:1076: error:
                    unrecognizable insn
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: middle-end
        AssignedTo: danglin at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa1.1-hp-hpux*
  GCC host triplet: hppa1.1-hp-hpux*
GCC target triplet: hppa1.1-hp-hpux*


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-12-14  4:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-30  0:16 [Bug middle-end/18730] New: [3.3/3.4/4.0 Regression] cppexp.c:1076: error: unrecognizable insn danglin at gcc dot gnu dot org
2004-11-30  0:18 ` [Bug middle-end/18730] " pinskia at gcc dot gnu dot org
2004-11-30  0:19 ` pinskia at gcc dot gnu dot org
2004-12-05  2:48 ` pinskia at gcc dot gnu dot org
2004-12-05  4:06 ` cvs-commit at gcc dot gnu dot org
2004-12-14  3:12 ` [Bug middle-end/18730] [3.3/3.4 " cvs-commit at gcc dot gnu dot org
2004-12-14  4:06 ` cvs-commit at gcc dot gnu dot org
2004-12-14  4:08 ` danglin at gcc dot gnu dot org
2004-12-14  4:10 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).