Skip to content
Snippets Groups Projects
Commit adacecf1 authored by Zdenek Dvorak's avatar Zdenek Dvorak Committed by Zdenek Dvorak
Browse files

re PR middle-end/21985 (miscompiled or wrong code snippet?)

	PR middle-end/21985
	* fold-const.c (split_address_to_core_and_offset): Always return
	the address of the base object.

	* gcc.dg/tree-ssa/pr21985.c: New test.

From-SVN: r100877
parent 75d93ef7
No related branches found
No related tags found
Loading
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