aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/module.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-04-13 01:03:55 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-04-13 01:03:55 +0000
commitfdc59f56c1038ce194b72aebe29ac9cd4150205c (patch)
tree8a84c446c3b83550be24819a0adf3496f802642f /gcc/fortran/module.c
parentb15937488e5738ae2d4653dcc10acbd95eb649b5 (diff)
downloadgcc-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