2009-09-07 Martin Jambor <mjambor@suse.cz>
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Sep 2009 17:08:12 +0000 (17:08 +0000)
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Sep 2009 17:08:12 +0000 (17:08 +0000)
commitaebee83356504d59805dcc22fbde2ea9073eb87d
tree0fe789e9c973b1097403272d2569032c96f3d0e9
parent8690ec05595d8f549860163ecd6d27842bd99237
2009-09-07  Martin Jambor  <mjambor@suse.cz>

PR middle-end/41282
* tree-sra.c (create_artificial_child_access): Return NULL if
build_ref_for_offset fails.
(propagate_subacesses_accross_link): Allow build_ref_for_offset
and create_artificial_child_access to fail.

* testsuite/gcc.c-torture/compile/pr41282.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151484 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr41282.c [new file with mode: 0644]
gcc/tree-sra.c