public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/57198] New: ICE in warn_logical_operator for vectors
@ 2013-05-07 21:45 glisse at gcc dot gnu.org
  2014-10-03 19:57 ` [Bug c++/57198] " glisse at gcc dot gnu.org
  2014-10-03 20:05 ` glisse at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: glisse at gcc dot gnu.org @ 2013-05-07 21:45 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 57198
           Summary: ICE in warn_logical_operator for vectors
    Classification: Unclassified
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: glisse@gcc.gnu.org


g++ crashes on the following program:

typedef int vec __attribute__((vector_size(4*sizeof(int))));
void f(vec* a, vec* b, vec* c){
  *c = (*a < *b) && (*b < *a);
}

http://gcc.gnu.org/ml/gcc-patches/2013-04/msg00783.html
includes a fix, but it is probably not the right place for that check if we
keep this code invalid.


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

end of thread, other threads:[~2014-10-03 20:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-07 21:45 [Bug c++/57198] New: ICE in warn_logical_operator for vectors glisse at gcc dot gnu.org
2014-10-03 19:57 ` [Bug c++/57198] " glisse at gcc dot gnu.org
2014-10-03 20:05 ` glisse at gcc dot gnu.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).