public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/29637]  New: [4.0/4.1/4.2/4.3 Regression] Endless recursion in make_vector_type
@ 2006-10-29 20:46 jakub at gcc dot gnu dot org
  2006-10-29 20:47 ` [Bug tree-optimization/29637] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-10-29 20:46 UTC (permalink / raw)
  To: gcc-bugs

PR29092 fix causes a regression:
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-vectorize" } */

typedef struct __attribute__ ((aligned (8)))
{
    short a, b, c, d;
} A;

typedef struct
{
  A a[24];
} B;

static const A b = { 0, 0, 1, -1 };

void
foo (B *x)
{
  int i;
  for (i = 0; i <= 20; i += 4)
    x->a[i] = b;
}

results in endless recursion in make_vector_type.  The RECORD_TYPE type has
attributes, but as any record type TYPE_MAIN_VARIANT of it is itself.


-- 
           Summary: [4.0/4.1/4.2/4.3 Regression] Endless recursion in
                    make_vector_type
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
GCC target triplet: x86_64-linux


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


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

end of thread, other threads:[~2006-10-30  8:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-29 20:46 [Bug tree-optimization/29637] New: [4.0/4.1/4.2/4.3 Regression] Endless recursion in make_vector_type jakub at gcc dot gnu dot org
2006-10-29 20:47 ` [Bug tree-optimization/29637] " pinskia at gcc dot gnu dot org
2006-10-29 20:54 ` pinskia at gcc dot gnu dot org
2006-10-30  8:02 ` jakub at gcc dot gnu dot org
2006-10-30  8:04 ` jakub at gcc dot gnu dot org
2006-10-30  8:05 ` jakub at gcc dot gnu dot org
2006-10-30  8:09 ` jakub at gcc dot gnu dot org
2006-10-30  8:10 ` jakub at gcc dot gnu dot org
2006-10-30  8:11 ` jakub at gcc dot gnu dot org
2006-10-30  8:11 ` jakub 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).