This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/47372] [x32] internal compiler error: in simplify_subreg, at simplify-rtx.c:5222


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-04 16:43:27 UTC ---
(In reply to comment #3)
> Created attachment 23544 [details]
> preprocessed source file
> 
> got the same ICE when building xulrunner on Fedora 15 on s390x with
> gcc version 4.6.0 20110212 (Red Hat 4.6.0-0.7)
> 
> ./vpx_scale/generic/yv12extend.c: In function 'vp8_yv12_extend_frame_borders':
> ./vpx_scale/generic/yv12extend.c:145:1: internal compiler error: in
> simplify_subreg, at simplify-rtx.c:5222
> 
> will try to build again with gcc-4.6.0-0.12.fc15

Please create new PR instead of hijacking an unrelated one unless you are sure
it is the same thing.  And it isn't in this case, your ICE which I've managed
to reproduce on the following reduced testcase is during var-tracking.

/* { dg-do compile } */
/* { dg-options "-g -Os" } */

typedef __SIZE_TYPE__ size_t;
extern inline __attribute__ ((__always_inline__))
void *
memset (void *x, int y, size_t z)
{
  return __builtin___memset_chk (x, y, z, __builtin_object_size (x, 0));
}

void
foo (unsigned char *x, unsigned char *y, unsigned char *z,
     unsigned char *w, unsigned int v, int u, int t)
{
  int i;
  for (i = 0; i < t; i++)
    {
      memset (z, x[0], v);
      memset (w, y[0], v);
      x += u;
    }
  __builtin_memcpy (z, x, u);
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]