public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/36891]  New: ICE with vector division and -ffast-math and LIM
@ 2008-07-21 18:58 pinskia at gcc dot gnu dot org
  2008-07-21 18:59 ` [Bug tree-optimization/36891] " pinskia at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-07-21 18:58 UTC (permalink / raw)
  To: gcc-bugs

I don't know if this is a regression or not but I think it is. Anyways testcase
compile with -O2 -msse -ffast-math:
#define __vector __attribute__((vector_size(16) ))
__vector float f(void);
void g(__vector float);
void RRB( __vector float vdist, __vector float vx)
{
  for(unsigned detail = 0; detail < 5;++detail)
  {
   __vector float frand = f();
   __vector float pullperc =  frand/ vdist;
   __vector float pullx =  vx * pullperc;
   g(pullx);
  }
}
--- CUT ---
The ICE:
t.cc: In function 'void RRB(float __vector__, float __vector__)':
t.cc:4: error: invalid operand to binary operator
reciptmp.22_1

t.cc:4: note: in statement
# VUSE <reciptmp.22_1> { reciptmp.22 }
pullperc_6 = reciptmp.22_1 * frand_3;

t.cc:4: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE with vector division and -ffast-math and LIM
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
GCC target triplet: i?86-*-* x86_64-*-*


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


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

end of thread, other threads:[~2009-06-25  9:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-21 18:58 [Bug tree-optimization/36891] New: ICE with vector division and -ffast-math and LIM pinskia at gcc dot gnu dot org
2008-07-21 18:59 ` [Bug tree-optimization/36891] " pinskia at gcc dot gnu dot org
2008-07-23  3:04 ` pinskia at gcc dot gnu dot org
2008-08-11  0:27 ` [Bug tree-optimization/36891] [4.2/4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
2008-08-22 14:51 ` rguenth at gcc dot gnu dot org
2008-09-28 21:59 ` pinskia at gcc dot gnu dot org
2008-09-28 22:51 ` pinskia at gcc dot gnu dot org
2008-09-28 22:53 ` [Bug tree-optimization/36891] [4.2/4.3 " pinskia at gcc dot gnu dot org
2008-09-30  9:29 ` bonzini at gcc dot gnu dot org
2009-03-31 20:54 ` [Bug tree-optimization/36891] [4.3 " jsm28 at gcc dot gnu dot org
2009-04-16 15:45 ` pinskia at gcc dot gnu dot org
2009-06-19 17:18 ` rguenth at gcc dot gnu dot org
2009-06-25  9:44 ` rguenth at gcc dot gnu dot org
2009-06-25  9:45 ` rguenth 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).