------- Comment #2 from jakub at gcc dot gnu dot org 2010-09-08 12:05 ------- Created an attachment (id=21736) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21736&action=view) uu.f90
One testcase I've been playing with. The patch allows optimizing away temporaries on 3 of the 4 p? = a + ? assignments, only for p3 it assumes it might point to a (well, in this case a is never assigned to any pointer, but that is not tracked). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45596