aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 43b2c13..1ff9292 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -4046,11 +4046,6 @@ c_apply_type_quals_to_decl (int type_quals, tree decl)
|| !POINTER_TYPE_P (type)
|| !C_TYPE_OBJECT_OR_INCOMPLETE_P (TREE_TYPE (type)))
error ("invalid use of %<restrict%>");
- else if (flag_strict_aliasing && type == TREE_TYPE (decl))
- /* Indicate we need to make a unique alias set for this pointer.
- We can't do it here because it might be pointing to an
- incomplete type. */
- DECL_POINTER_ALIAS_SET (decl) = -2;
}
}