This is the mail archive of the 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]

Re: [PATCH] mips: Allow larger values for __aligned__

> Tested without regression on i686-pc-linux-gnu.

Am I the only one to see this?

-B/home/eric/install/gnat6/i586-suse-linux/bin/ -c   -O2 -g 
-fomit-frame-pointer -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros 
-Wno-overlength-strings-Wold-style-definition -Wmissing-format-attribute 
-Werror -fno-common   -DHAVE_CONFIG_H -I. -I. -I/home/eric/gnat/gnat6/src/gcc 
-I/home/eric/gnat/gnat6/src/gcc/. -I/home/eric/gnat/gnat6/src/gcc/../include 
-I../libdecnumber    /home/eric/gnat/gnat6/src/gcc/tree-vectorizer.c -o 
cc1: warnings being treated as errors
/home/eric/gnat/gnat6/src/gcc/tree-vectorizer.c: In function 
/home/eric/gnat/gnat6/src/gcc/tree-vectorizer.c:1532: warning: comparison is 
always true due to limited range of data type
make[3]: *** [tree-vectorizer.o] Error 1
make[3]: Leaving directory `/home/eric/gnat/gnat6/native32/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/eric/gnat/gnat6/native32'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/eric/gnat/gnat6/native32'
make: *** [all] Error 2

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_ASM_WRITTEN (decl))
    return false;

  if (TREE_STATIC (decl))
    return (alignment <= MAX_OFILE_ALIGNMENT);

Moreover, why did you remove the guard for the macro?

Eric Botcazou

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