This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/49603] [4.7 Regression] 177.mesa in SPEC CPU 2000 failed to build
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 1 Jul 2011 02:50:58 +0000
- Subject: [Bug middle-end/49603] [4.7 Regression] 177.mesa in SPEC CPU 2000 failed to build
- Auto-submitted: auto-generated
- References: <bug-49603-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49603
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-07-01 02:50:25 UTC ---
[hjl@gnu-34 delta]$ cat testcase.c
struct gl_visual {
float AlphaScale;
};
struct gl_context {
struct gl_visual *Visual;
};
void quickdraw_rgb( struct gl_context * ctx,
int width, int height)
{
int i, j;
unsigned char alpha[1600];
for (j=0; j<width; j++)
alpha[j] = (int) ctx->Visual->AlphaScale;
for (i=0; i<height; i++)
foo( alpha);
}
[hjl@gnu-34 delta]$ /export/regression/rrs/175704/usr/bin/gcc -O3 -S testcase.c
-S
testcase.c: In function \u2018quickdraw_rgb\u2019:
testcase.c:7:6: internal compiler error: in vectorizable_load, at
tree-vect-stmts.c:4589
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-34 delta]$