[PATCH,testsuite]Adjust test where sizeof int is not sizeof float

Andy H hutchinsonandy@aim.com
Sun Jun 15 03:59:00 GMT 2008


This patch adjust test for case where sizof(float) != sizeof(int), as 
tests assumes this in union.

Tested with avr target and i686 target.

Ok for 4.4 mainline?


2008-06-14  Andy Hutchinson   <hutchinsonandy@aim.com>

   * gcc.dg/tree-ssa/forwprop-6.c:  Use long if size matches float but 
int does not.
    * gcc.dg/tree-ssa/ssa-fre-7.c: Ditto.
    * gcc.dg/tree-ssa/ssa-fre-8.c: Ditto.




-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unions.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080615/1b7b845a/attachment.ksh>


More information about the Gcc-patches mailing list