re PR middle-end/42025 (ICE verify_stmts failed (non-trivial conversion at assignment))
2009-11-21 Martin Jambor <mjambor@suse.cz> PR middle-end/42025 * tree-sra.c (access_precludes_ipa_sra_p): New function. (splice_param_accesses): Check all accesses by calling access_precludes_ipa_sra_p. (sra_ipa_modify_expr): Rename argument erite to dont_convert and do not convert types if it is true. (sra_ipa_modify_assign): Convert types in case of mismatch. * testsuite/gcc.c-torture/compile/pr42025-1.c: New test. * testsuite/gcc.c-torture/compile/pr42025-2.c: New test. From-SVN: r154413
Showing
Please
register
or
sign in
to comment