public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/25203]  New: [4.0] enable checking failure in g++.dg/opt/mmx2.C
@ 2005-12-01 13:54 ghazi at gcc dot gnu dot org
  2005-12-01 13:57 ` [Bug c++/25203] " ghazi at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2005-12-01 13:54 UTC (permalink / raw)
  To: gcc-bugs

On i686-pc-linux-gnu with current gcc-4.0.x, I'm getting a failure in
g++.dg/opt/mmx2.C:
http://gcc.gnu.org/ml/gcc-testresults/2005-11/msg01435.html

I think it's triggered by turning on checking, because I don't see other people
getting the error.  I configured with: --enable-checking=yes,rtl

I get an ICE here:

Program received signal SIGSEGV, Segmentation fault.
memory_operand (op=0xabababab, mode=VOIDmode) at
../../egcc-4.0-SVN20051130/gcc/recog.c:1279
1279      if (GET_CODE (inner) == SUBREG)

Here the variable "inner" is set to op which is a parameter to the function
memory_operand().  And memory_operand() is passed operands[2] from
get_attr_memory().  The value is 0xabababab, i.e. uninitialized garbage.

In insn-extract.c, only if checking is enabled, the function insn_extract
memsets recog_data.operand ("operands" is a macro for this) to 0xab so that any
uninitialized areas get this value.

I don't see this failure with 4.1 or mainline.


-- 
           Summary: [4.0] enable checking failure in g++.dg/opt/mmx2.C
           Product: gcc
           Version: 4.0.3
            Status: UNCONFIRMED
          Keywords: ice-checking, ssemmx
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ghazi at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2007-02-03 16:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-01 13:54 [Bug c++/25203] New: [4.0] enable checking failure in g++.dg/opt/mmx2.C ghazi at gcc dot gnu dot org
2005-12-01 13:57 ` [Bug c++/25203] " ghazi at gcc dot gnu dot org
2005-12-03 20:06 ` [Bug target/25203] " ghazi at gcc dot gnu dot org
2006-01-15 22:51 ` mmitchel at gcc dot gnu dot org
2006-03-11  3:17 ` mmitchel at gcc dot gnu dot org
2006-04-07  5:30 ` roger at eyesopen dot com
2007-02-03 16:05 ` gdr 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).