This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/55719] [4.8 Regression] ICE: Segmentation fault
- From: "aldyh at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 Jan 2013 17:48:10 +0000
- Subject: [Bug rtl-optimization/55719] [4.8 Regression] ICE: Segmentation fault
- Auto-submitted: auto-generated
- References: <bug-55719-4@http.gcc.gnu.org/bugzilla/>
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);
}