summaryrefslogtreecommitdiff
path: root/gcc/cp/decl2.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-20 19:30:55 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-20 19:30:55 +0000
commitca4d41c4e30758a7b130cfb5c382d6831f1dddf1 (patch)
tree44ac2e6e61907d4bb321cf154de1771ed14678cf /gcc/cp/decl2.c
parenta52f99a9b77a1e50d46bb726b369c56a32fe1410 (diff)
downloadgcc-ca4d41c4e30758a7b130cfb5c382d6831f1dddf1.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146450 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/decl2.c')
0 files changed, 0 insertions, 0 deletions