public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/16873] New: ICE on vector initialization
@ 2004-08-04 11:36 jbeulich at novell dot com
  0 siblings, 0 replies; only message in thread
From: jbeulich at novell dot com @ 2004-08-04 11:36 UTC (permalink / raw)
  To: gcc-bugs

Below code result in a Segmentation fault. It is my understanding that
initializing arrays and vectors should work identically.

typedef int scalar_t __attribute__((__mode__(__SI__)));
typedef scalar_t vector_t __attribute__((__vector_size__(8)));

const scalar_t a[sizeof(vector_t) / sizeof(scalar_t)] = {};
const vector_t v = {};

-- 
           Summary: ICE on vector initialization
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        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=16873


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-04 11:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-04 11:36 [Bug middle-end/16873] New: ICE on vector initialization jbeulich at novell dot com

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).