aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-10-09 12:52:17 -0700
committerIan Lance Taylor <iant@golang.org>2022-10-10 14:45:57 -0700
commit29b0fe393859729215b0db5d28f2faea30c6ec32 (patch)
tree8cc81ccaddcbfced1d66d5e886eef9c443a95c59 /gcc/tree-cfg.cc
parent0f6efd34c21ab6452aa846fd7e59acbccf15fbef (diff)
downloadgcc-29b0fe393859729215b0db5d28f2faea30c6ec32.zip
gcc-29b0fe393859729215b0db5d28f2faea30c6ec32.tar.gz
gcc-29b0fe393859729215b0db5d28f2faea30c6ec32.tar.bz2
compiler: treat S("") as a string constant
The compiler neglected to notice that a conversion from a string constant to a string type was a valid string constant. No test case because this only caused a compiler failure when compiling without optimization, which is not the normal case, and is not a case that we test. Fixes golang/go#56113 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/441555
Diffstat (limited to 'gcc/tree-cfg.cc')
0 files changed, 0 insertions, 0 deletions