This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[lno] bootstrap broken
- From: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc at gcc dot gnu dot org
- Cc: DORIT at il dot ibm dot com
- Date: Tue, 24 Aug 2004 12:27:50 +0200 (CEST)
- Subject: [lno] bootstrap broken
Hi,
Dorit's port of the tree-vectorizer patch to the lno-branch
http://gcc.gnu.org/ml/gcc-cvs/2004-08/msg01190.html
breaks bootstrap of the lno-branch on i686-pc-linux-gnu. I get
stage1/xgcc -Bstage1/ -B/home/reichelt/GCC/FARM/gcc-lno-20040824/i686-pc-linux-gnu/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libbanshee/libcompat -I../../gcc/gcc/../libbanshee -I../../gcc/gcc/../libbanshee/points-to ../../gcc/gcc/tree-vectorizer.c -o tree-vectorizer.o
../../gcc/gcc/tree-vectorizer.c: In function `vect_can_force_dr_alignment_p':
../../gcc/gcc/tree-vectorizer.c:1443: warning: comparison between signed and unsigned
make[2]: *** [tree-vectorizer.o] Error 1
The code in question is:
static bool
vect_can_force_dr_alignment_p (tree decl, unsigned int alignment)
{
if (TREE_CODE (decl) != VAR_DECL)
return false;
if (DECL_EXTERNAL (decl))
return false;
if (TREE_STATIC (decl))
return (alignment <= MAX_OFILE_ALIGNMENT);
else
/* This is not 100% correct. The absolute correct stack alignment
is STACK_BOUNDARY. We're supposed to hope, but not assume, that
PREFERRED_STACK_BOUNDARY is honored by all translation units.
However, until someone implements forced stack alignment, SSE
isn't really usable without this. */
return (alignment <= PREFERRED_STACK_BOUNDARY); /* <--- line 1443 */
}
It's wierd that my mainline bootstrap isn't affected.
Any ideas?
Thanks,
Volker