diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-17 10:29:07 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-17 10:29:07 +0000 |
commit | aecfc21dc36c6705efdfee01ab12edbe03f96ee2 (patch) | |
tree | 3a3aed520ce408a4c3f4b5f10dd39368a9b74f2d /libada | |
parent | 20400b0bad971a71eb465903de5fc7c7102bcefc (diff) | |
download | gcc-aecfc21dc36c6705efdfee01ab12edbe03f96ee2.tar.gz |
PR tree-optimization/29801
* tree-ssa-ccp.c (get_symbol_constant_value): New function.
(get_default_value): Use get_symbol_constant_value.
(set_lattice_value): ICE when the value of the constant is
changed.
(visit_assignment): Ignore VDEFs of read-only variables.
* gcc.dg/pr29801.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118926 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libada')
0 files changed, 0 insertions, 0 deletions