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 c/19012] New: ICE on testsuite/gcc.c-torture/execute/930208-1.c with -fpack-struct -Os


No failure was seen the last time i686-novell-netware tests were published
(August this year), so this looks like a regression.
As far as I can tell, insn-attrtab.c is generated incorrectly in that the
*addqi_1_slp case of get_attr_memory references a non-existing operands[2]. This
in turn seems to result from the

if_then_else (match_operand:QI 1 "incdec_operand" "")

which throughout the whole i386.md is the only case where this is being used on
operand 1; the define_attr "memory" depends on this only being used on operand 2.

An additional question here would also be why *addqi_1_slp and *subqi_1_slp are
not symmetric.

-- 
           Summary: ICE on testsuite/gcc.c-torture/execute/930208-1.c with -
                    fpack-struct -Os
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jbeulich at novell dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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