aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/ChangeLog
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2009-04-20 19:30:55 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2009-04-20 19:30:55 +0000
commitc2efda0dee082ae3f57bdb2c7b1ae2dbf07ddfcd (patch)
tree44ac2e6e61907d4bb321cf154de1771ed14678cf /gcc/ada/ChangeLog
parenta916d97fc0c647034e9330b00349ad8145bf3157 (diff)
downloadgcc-c2efda0dee082ae3f57bdb2c7b1ae2dbf07ddfcd.zip
gcc-c2efda0dee082ae3f57bdb2c7b1ae2dbf07ddfcd.tar.gz
gcc-c2efda0dee082ae3f57bdb2c7b1ae2dbf07ddfcd.tar.bz2
trans.c (unchecked_conversion_lhs_nop): New predicate.
* gcc-interface/trans.c (unchecked_conversion_lhs_nop): New predicate. (gnat_to_gnu) <N_Unchecked_Type_Conversion>: Return the expression if the conversion is on the LHS of an assignment and a no-op. <all> Do not convert the result to the result type if the Parent node is such a conversion. From-SVN: r146450
Diffstat (limited to 'gcc/ada/ChangeLog')
-rw-r--r--gcc/ada/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 0c0ed03..a03636a 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,5 +1,13 @@
2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
+ * gcc-interface/trans.c (unchecked_conversion_lhs_nop): New predicate.
+ (gnat_to_gnu) <N_Unchecked_Type_Conversion>: Return the expression
+ if the conversion is on the LHS of an assignment and a no-op.
+ <all> Do not convert the result to the result type if the Parent
+ node is such a conversion.
+
+2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
+
* gcc-interface/ada-tree.h (DECL_HAS_REP_P): Delete.
* gcc-interface/decl.c (gnat_to_gnu_entity): Add support for extension
of types with unknown discriminants.