http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46349
--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> 2010-11-15 16:32:23 UTC --- Author: jamborm Date: Mon Nov 15 16:32:18 2010 New Revision: 166759 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166759 Log: 2010-11-15 Martin Jambor <mjam...@suse.cz> PR tree-optimization/46349 * tree-sra.c (contains_bitfld_comp_ref_p): New function. (contains_vce_or_bfcref_p): Likewise. (sra_modify_assign): Use them. * testsuite/gnat.dg/opt9.adb: New file. * testsuite/gnat.dg/opt9_pkg.ads: Likewise Added: trunk/gcc/testsuite/gnat.dg/opt9.adb trunk/gcc/testsuite/gnat.dg/opt9_pkg.ads Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-sra.c