Skip to content
Snippets Groups Projects
Commit 3ec1a737 authored by Jakub Jelinek's avatar Jakub Jelinek Committed by Jakub Jelinek
Browse files

re PR c++/34459 (incorrect code when compiled with optimization (-O1))

	PR c++/34459
	* tree-ssa-dse.c (dse_optimize_stmt): Don't eliminate store if
	USE_STMT not only stores into the same object as STMT, but might
	read it too.

	* gcc.c-torture/execute/20071219-1.c: New test.

From-SVN: r131101
parent 667e2045
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment