diff options
| author | Matt Austern <austern@apple.com> | 2002-09-13 18:08:16 +0000 |
|---|---|---|
| committer | Matt Austern <austern@gcc.gnu.org> | 2002-09-13 18:08:16 +0000 |
| commit | 6c6e776d78091abbf41d27cf42cdac5cd5693fff (patch) | |
| tree | 03daa98a70f555ccc4b8fb9394928702aa0dc368 /libjava/java/text/AttributedString.java | |
| parent | d5909a796384bd39e8b9ed6c883f78e47438ef5b (diff) | |
| download | gcc-6c6e776d78091abbf41d27cf42cdac5cd5693fff.zip gcc-6c6e776d78091abbf41d27cf42cdac5cd5693fff.tar.gz gcc-6c6e776d78091abbf41d27cf42cdac5cd5693fff.tar.bz2 | |
cp-tree.h, tree.c: New function non_cast_lvalue_p.
2002-09-13 Matt Austern <austern@apple.com>
* cp/cp-tree.h, cp/tree.c: New function non_cast_lvalue_p.
* cp/call.c: Change call-by-const-reference mechanism to use
non_cast_lvalue_p when deciding whether the create a temporary.
We need a temporary when passing, e.g. (long) x by const ref.
* testsuite/g++.dg/other/constref[12].C: New, regression tests for
passing a cast expression to a function by const reference.
From-SVN: r57115
Diffstat (limited to 'libjava/java/text/AttributedString.java')
0 files changed, 0 insertions, 0 deletions
