diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-04-13 01:03:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-04-13 01:03:55 +0000 |
commit | fdc59f56c1038ce194b72aebe29ac9cd4150205c (patch) | |
tree | 8a84c446c3b83550be24819a0adf3496f802642f /gcc/fortran/module.c | |
parent | b15937488e5738ae2d4653dcc10acbd95eb649b5 (diff) | |
download | gcc-fdc59f56c1038ce194b72aebe29ac9cd4150205c.zip gcc-fdc59f56c1038ce194b72aebe29ac9cd4150205c.tar.gz gcc-fdc59f56c1038ce194b72aebe29ac9cd4150205c.tar.bz2 |
compiler: improve type handling for string concat ops on constants
Resolve a small problem with concatenation of string constants: in a
string concat X + Y where X has named type and Y has abstract string
type, insure that the result has X's type, and disable folding if the
both sides have a concrete type that does not match.
Fixes golang/go#31412.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/171797
From-SVN: r270336
Diffstat (limited to 'gcc/fortran/module.c')
0 files changed, 0 insertions, 0 deletions