* c-common.c (c_common_get_alias_set): Fix indentation.
From-SVN: r125321
This commit is contained in:
parent
9a46cc164c
commit
762f7d9d8a
2 changed files with 12 additions and 8 deletions
|
@ -1,3 +1,7 @@
|
|||
2007-06-04 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* c-common.c (c_common_get_alias_set): Fix indentation.
|
||||
|
||||
2007-06-04 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* tree-vrp.c (adjust_range_with_scev): When loop is not expected
|
||||
|
|
|
@ -3165,16 +3165,16 @@ c_common_get_alias_set (tree t)
|
|||
tree t2;
|
||||
/* Find bottom type under any nested POINTERs. */
|
||||
for (t2 = TREE_TYPE (t);
|
||||
TREE_CODE (t2) == POINTER_TYPE;
|
||||
t2 = TREE_TYPE (t2))
|
||||
;
|
||||
TREE_CODE (t2) == POINTER_TYPE;
|
||||
t2 = TREE_TYPE (t2))
|
||||
;
|
||||
if (TREE_CODE (t2) != RECORD_TYPE
|
||||
&& TREE_CODE (t2) != ENUMERAL_TYPE
|
||||
&& TREE_CODE (t2) != QUAL_UNION_TYPE
|
||||
&& TREE_CODE (t2) != UNION_TYPE)
|
||||
return -1;
|
||||
&& TREE_CODE (t2) != ENUMERAL_TYPE
|
||||
&& TREE_CODE (t2) != QUAL_UNION_TYPE
|
||||
&& TREE_CODE (t2) != UNION_TYPE)
|
||||
return -1;
|
||||
if (TYPE_SIZE (t2) == 0)
|
||||
return -1;
|
||||
return -1;
|
||||
}
|
||||
/* These are the only cases that need special handling. */
|
||||
if (TREE_CODE (t) != RECORD_TYPE
|
||||
|
|
Loading…
Add table
Reference in a new issue