tree-ssa-structalias.c (get_constraint_for_component_ref): Do not punt for STRING_CST.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 15 Apr 2008 18:22:51 +0000 (18:22 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 15 Apr 2008 18:22:51 +0000 (18:22 +0000)
commitbd1f29d927823c063ef88658743c274034fa801a
tree49ecfa881aa4a0f0a8fb837b144c464b196367d0
parent3bb3bb2d6e6690c10b502ac21189ae739672d7c4
tree-ssa-structalias.c (get_constraint_for_component_ref): Do not punt for STRING_CST.

* tree-ssa-structalias.c (get_constraint_for_component_ref): Do not
punt for STRING_CST.
(get_constraint_for): Deal with STRING_CST here instead.

From-SVN: r134325
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/string_slice2.adb [new file with mode: 0644]
gcc/tree-ssa-structalias.c