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 rtl-optimization/55719] [4.8 Regression] ICE: Segmentation fault


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

Aldy Hernandez <aldyh at gcc dot gnu.org> changed:

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

--- Comment #4 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2013-01-09 17:48:10 UTC ---
My brain's too small for such a big testcase.  Further reduced testcase, and
reduced arguments.

// ./cc1 -quiet -O2 a.c  -march=z10   -fPIC -I /tmp
static int glob_a, glob_b;

int foobar()
{
  char buffer[100];

  glob_a = 0;
  glob_b = 0;

  bar (buffer);

  __builtin_memcpy(buffer, "abc", 3);

  buffer[7] = (char)(glob_a >> 8);
  buffer[11] = (char)glob_b;
  buffer[13] = (char)glob_a;
  buffer[17] = (char)(glob_a >> 8);

  return foo(0, 0, 0, 0);
}


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