aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.def
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2008-10-22 17:40:29 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2008-10-22 17:40:29 +0000
commit51c869cac9a2b641ee21172ea193eadef9b1f476 (patch)
treea8b70739be04da68b2f0658cded9a97e965873d3 /gcc/tree.def
parenta7da8b427fa7de6a459a0a3b33eca9de953aea62 (diff)
downloadgcc-51c869cac9a2b641ee21172ea193eadef9b1f476.zip
gcc-51c869cac9a2b641ee21172ea193eadef9b1f476.tar.gz
gcc-51c869cac9a2b641ee21172ea193eadef9b1f476.tar.bz2
tree.def (COMPLEX_TYPE): Constrain element type.
2008-10-22 Richard Guenther <rguenther@suse.de> * tree.def (COMPLEX_TYPE): Constrain element type. * tree.c (build_complex_type): Assert that. * tree-ssa-structalias.c (could_have_pointers): Complex types cannot have pointers. From-SVN: r141299
Diffstat (limited to 'gcc/tree.def')
-rw-r--r--gcc/tree.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree.def b/gcc/tree.def
index bde59b7..3e077cc 100644
--- a/gcc/tree.def
+++ b/gcc/tree.def
@@ -186,7 +186,8 @@ DEFTREECODE (REFERENCE_TYPE, "reference_type", tcc_type, 0)
compiler. COMPLEX_TYPE, VECTOR_TYPE, ARRAY_TYPE. */
/* Complex number types. The TREE_TYPE field is the data type
- of the real and imaginary parts. */
+ of the real and imaginary parts. It must be of scalar
+ arithmetic type, not including pointer type. */
DEFTREECODE (COMPLEX_TYPE, "complex_type", tcc_type, 0)
/* Vector types. The TREE_TYPE field is the data type of the vector