diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2008-10-06 07:09:41 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2008-10-06 07:09:41 +0000 |
commit | afcea85941826a0b9a7aa561bffffa563d3871c4 (patch) | |
tree | 4fd62f20d78cc99caedb6b31b232a5c7004f099f /gcc/ada/gcc-interface/decl.c | |
parent | de27a12c672ace89eec85d195fb9fb6e34488874 (diff) | |
download | gcc-afcea85941826a0b9a7aa561bffffa563d3871c4.zip gcc-afcea85941826a0b9a7aa561bffffa563d3871c4.tar.gz gcc-afcea85941826a0b9a7aa561bffffa563d3871c4.tar.bz2 |
utils.c (can_fold_for_view_convert_p): New predicate.
2008-10-06 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/utils.c (can_fold_for_view_convert_p): New predicate.
(unchecked_convert): Use it to disable problematic folding with
VIEW_CONVERT_EXPR in the general case. Always disable it for the
special VIEW_CONVERT_EXPR built for integral types and cope with
its addressability issues by preserving the first conversion.
From-SVN: r140902
Diffstat (limited to 'gcc/ada/gcc-interface/decl.c')
0 files changed, 0 insertions, 0 deletions