Re: PATCH: PR target/53425: No warnings are given for -mno-sse

2012-05-21 Thread Uros Bizjak
On Sun, May 20, 2012 at 11:53 PM, H.J. Lu hjl.to...@gmail.com wrote: We should warn passing SSE vector argument without SSE enabled changes the ABI for 64-bit. Tested on Linux/x86-64.  OK to install? @@ -5828,7 +5833,22 @@ type_natural_mode (const_tree type, const CUMULATIVE_ARGS *cum)    

PATCH: PR target/53425: No warnings are given for -mno-sse

2012-05-20 Thread H.J. Lu
Hi, We should warn passing SSE vector argument without SSE enabled changes the ABI for 64-bit. Tested on Linux/x86-64. OK to install? Thanks. H.J. --- gcc/ 2012-05-20 H.J. Lu hongjiu...@intel.com PR target/53425 * config/i386/i386.c (type_natural_mode): Warn passing SSE

Re: PATCH: PR target/53425: No warnings are given for -mno-sse

2012-05-20 Thread Uros Bizjak
On Sun, May 20, 2012 at 4:15 PM, H.J. Lu hongjiu...@intel.com wrote: We should warn passing SSE vector argument without SSE enabled changes the ABI for 64-bit. Tested on Linux/x86-64.  OK to install? 2012-05-20  H.J. Lu  hongjiu...@intel.com        PR target/53425        *

Re: PATCH: PR target/53425: No warnings are given for -mno-sse

2012-05-20 Thread H.J. Lu
On Sun, May 20, 2012 at 11:57 AM, Uros Bizjak ubiz...@gmail.com wrote: On Sun, May 20, 2012 at 4:15 PM, H.J. Lu hongjiu...@intel.com wrote: We should warn passing SSE vector argument without SSE enabled changes the ABI for 64-bit. Tested on Linux/x86-64.  OK to install? 2012-05-20  H.J. Lu