aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/parse.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-12-18 13:40:46 +0100
committerRichard Biener <rguenther@suse.de>2023-12-18 15:25:50 +0100
commit88a398a487ee37f1fc7850740f2d94d895657646 (patch)
tree3e99e945931273744aa46bf53ac5a01ae4c02859 /gcc/go/gofrontend/parse.cc
parentac9c81dd76cfc34ed53402049021689a61c6d6e7 (diff)
downloadgcc-88a398a487ee37f1fc7850740f2d94d895657646.zip
gcc-88a398a487ee37f1fc7850740f2d94d895657646.tar.gz
gcc-88a398a487ee37f1fc7850740f2d94d895657646.tar.bz2
middle-end/111975 - dump -> GIMPLE FE roundtrip improvements
The following improves the manual work needed to make a -gimple dump valid input to the GIMPLE FE. First of all it recognizes the 'sizetype' tree and dumps it as __SIZETYPE__, then it changes dumping vector types without name from 'vector(n) T' to 'T [[gnu::vector_size(n')]]' which we can parse in most relevant contexts (and that's shorter than using __attribute__). Third it avoids a NULL_TREE TMR_STEP when it would be one, an optimization that's re-done when generating RTL. PR middle-end/111975 * tree-pretty-print.cc (dump_generic_node): Dump sizetype as __SIZETYPE__ with TDF_GIMPLE. Dump unnamed vector types as T [[gnu::vector_size(n)]] with TDF_GIMPLE. * tree-ssa-address.cc (create_mem_ref_raw): Never generate a NULL STEP when INDEX is specified.
Diffstat (limited to 'gcc/go/gofrontend/parse.cc')
0 files changed, 0 insertions, 0 deletions