diff options
author | Richard Guenther <rguenther@suse.de> | 2010-09-08 08:52:19 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-09-08 08:52:19 +0000 |
commit | 1814522d1e3576dc0b041cc80a1aba5fde88219b (patch) | |
tree | 29386eaeff62b182016944ee20109c143edf10b3 /gcc/c-typeck.c | |
parent | 526be3c0946784f43b7dc0697abca870ff09b5b7 (diff) | |
download | gcc-1814522d1e3576dc0b041cc80a1aba5fde88219b.tar.gz |
tree.h (TYPE_ORIG_SIZE_TYPE): Remove.
2010-09-08 Richard Guenther <rguenther@suse.de>
* tree.h (TYPE_ORIG_SIZE_TYPE): Remove.
* c-typeck.c (comptypes_internal): Remove TYPE_ORIG_SIZE_TYPE
checks.
From-SVN: r163994
Diffstat (limited to 'gcc/c-typeck.c')
-rw-r--r-- | gcc/c-typeck.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 08a3825a436..7ac866abfeb 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -1038,17 +1038,6 @@ comptypes_internal (const_tree type1, const_tree type2, bool *enum_and_int_p, || TREE_CODE (t1) == ERROR_MARK || TREE_CODE (t2) == ERROR_MARK) return 1; - /* If either type is the internal version of sizetype, return the - language version. */ - if (TREE_CODE (t1) == INTEGER_TYPE && TYPE_IS_SIZETYPE (t1) - && TYPE_ORIG_SIZE_TYPE (t1)) - t1 = TYPE_ORIG_SIZE_TYPE (t1); - - if (TREE_CODE (t2) == INTEGER_TYPE && TYPE_IS_SIZETYPE (t2) - && TYPE_ORIG_SIZE_TYPE (t2)) - t2 = TYPE_ORIG_SIZE_TYPE (t2); - - /* Enumerated types are compatible with integer types, but this is not transitive: two enumerated types in the same translation unit are compatible with each other only if they are the same type. */ |