aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2007-06-21 10:11:19 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2007-06-21 10:11:19 +0000
commita8257e58ac6213ce066a19950dcd4eda75f41e2a (patch)
tree338804bada0d3397da84771cae9decdb69c07771
parent5c7cafa8dc040ac9573f81ce9f9cdd6111ca83a4 (diff)
downloadgcc-a8257e58ac6213ce066a19950dcd4eda75f41e2a.zip
gcc-a8257e58ac6213ce066a19950dcd4eda75f41e2a.tar.gz
gcc-a8257e58ac6213ce066a19950dcd4eda75f41e2a.tar.bz2
re PR tree-optimization/25737 (ACATS c974001 c974013 hang with struct aliasing)
PR tree-optimization/25737 * misc.c (gnat_post_options): Do not force flag_tree_salias to 0. From-SVN: r125915
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/misc.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 8d8c3b7..ed23efe 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR tree-optimization/25737
+ * misc.c (gnat_post_options): Do not force flag_tree_salias to 0.
+
2007-06-15 Andrew Pinski <andrew_pinski@playstation.sony.com>
* trans.c (Attribute_to_gnu): When subtracting an
diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c
index ece8553..5abb398 100644
--- a/gcc/ada/misc.c
+++ b/gcc/ada/misc.c
@@ -376,11 +376,6 @@ gnat_post_options (const char **pfilename ATTRIBUTE_UNUSED)
else
flag_eliminate_unused_debug_types = 0;
- /* The structural alias analysis machinery essentially assumes that
- everything is addressable (modulo bit-fields) by disregarding
- the TYPE_NONALIASED_COMPONENT and DECL_NONADDRESSABLE_P macros. */
- flag_tree_salias = 0;
-
return false;
}