public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/23155] New: Gimplification failed for union cast
@ 2005-07-31  4:22 dje at gcc dot gnu dot org
  2005-07-31  4:22 ` [Bug middle-end/23155] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: dje at gcc dot gnu dot org @ 2005-07-31  4:22 UTC (permalink / raw)
  To: gcc-bugs

I am not sure that the example is valid GCC-extended C, but GCC definitely
should not ICE with "gimplification failed".  The example is:

typedef short __attribute__((vector_size (16))) v8hi;
union vx {short f[8]; v8hi v;};

extern void bar1(v8hi);

void
foo5 (v8hi vec, short n)
{
  ((union vx) vec).f[5] = n;
  bar1 (foo.v);
}

This is either ice-on-valid or ice-on-invalid, but something is broken.

-- 
           Summary: Gimplification failed for union cast
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dje at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: *-*-*
  GCC host triplet: *-*-*
GCC target triplet: *-*-*


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


^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <bug-23155-327@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2005-10-27 21:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-31  4:22 [Bug tree-optimization/23155] New: Gimplification failed for union cast dje at gcc dot gnu dot org
2005-07-31  4:22 ` [Bug middle-end/23155] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-07-31  4:23 ` [Bug tree-optimization/23155] " dje at gcc dot gnu dot org
2005-07-31  4:25 ` [Bug tree-optimization/23155] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-07-31  4:25 ` [Bug middle-end/23155] " pinskia at gcc dot gnu dot org
2005-08-04  9:20 ` [Bug c/23155] " rguenth at gcc dot gnu dot org
2005-08-08 18:26 ` pinskia at gcc dot gnu dot org
2005-09-16 20:22 ` janis at gcc dot gnu dot org
2005-09-27 16:00 ` mmitchel at gcc dot gnu dot org
     [not found] <bug-23155-327@http.gcc.gnu.org/bugzilla/>
2005-10-27 20:01 ` pinskia at gcc dot gnu dot org
2005-10-27 21:15 ` pinskia 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).