diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-04-16 23:05:40 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-04-16 23:05:40 +0000 |
commit | 2dfc736cc774d78991712e80940446fc448d03ac (patch) | |
tree | 2e167b8be082bf80ff042e1cedcf1a1f32f13286 /gcc/ipa-inline-transform.c | |
parent | 4a1016814c2121920459d13ccb4c841b3a537951 (diff) | |
download | gcc-2dfc736cc774d78991712e80940446fc448d03ac.zip gcc-2dfc736cc774d78991712e80940446fc448d03ac.tar.gz gcc-2dfc736cc774d78991712e80940446fc448d03ac.tar.bz2 |
compiler: fix infinite recursion in string constant evaluation.
Fixes compilation of incorrect code:
const f, g = g, f
func S() []byte { return []byte(f) }
The problem was already handled for numerical constants.
Part of issue 3186 (go).
From-SVN: r186511
Diffstat (limited to 'gcc/ipa-inline-transform.c')
0 files changed, 0 insertions, 0 deletions