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 target/18631] [4.0 Regression] missing error messages passing vectors with -mno-altivec -mabi=altivec



------- Comment #6 from janis at gcc dot gnu dot org  2006-01-05 17:52 -------
My nightly build compilers don't show errors or warnings from anything later
than 3.4:

elm3b11% /opt/gcc-nightly/trunk/bin/gcc -c -mno-altivec -mabi=altivec 18631.c
elm3b11% /opt/gcc-nightly/4.1/bin/gcc -c -mno-altivec -mabi=altivec 18631.c
elm3b11% /opt/gcc-nightly/4.0/bin/gcc -c -mno-altivec -mabi=altivec 18631.c
elm3b11% /opt/gcc-nightly/3.4/bin/gcc -c -mno-altivec -mabi=altivec 18631.c
18631.c: In function `ret':
18631.c:3: error: Cannot return value in vector register because altivec
instructions are disabled, use -maltivec to enable them.
18631.c: In function `pass':
18631.c:4: error: Cannot pass argument in vector register because altivec
instructions are disabled, use -maltivec to enable them.

Results are the same with -Wall, and for trunk on 20051002 and 20051030. 
Andrew, what options did you use to get the warnings shown in comment #3, and
was that with powerpc*-*-linux*?


-- 


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



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