OSDN Git Service

PR tree-optimization/53239
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 May 2012 13:33:27 +0000 (13:33 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 May 2012 13:33:27 +0000 (13:33 +0000)
commit1a96c96a90b1a4581bb04b9d6d6fb99e754c11bc
treed5f5fb4f39a5729eb75c893794fcb7c537d8fc33
parent1011516ddd4f4091efc1881eda095a323825aad5
PR tree-optimization/53239
* tree-vrp.c (get_value_range): Set VR of
SSA_NAME_IS_DEFAULT_DEF of DECL_BY_REFERENCE RESULT_DECL
to nonnull.

* g++.dg/opt/vrp3.C: New test.
* g++.dg/opt/vrp3-aux.cc: New file.
* g++.dg/opt/vrp3.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187241 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/vrp3-aux.cc [new file with mode: 0644]
gcc/testsuite/g++.dg/opt/vrp3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/opt/vrp3.h [new file with mode: 0644]
gcc/tree-vrp.c