diff options
author | Jason Merrill <jason@redhat.com> | 2019-08-15 17:55:19 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-08-15 17:55:19 -0400 |
commit | 7148dede8a84e17cc0b00190d76fabbc1a717654 (patch) | |
tree | f160ffecb6dcfc5746b9c4a402681d65b1e664fd /gcc/fortran/resolve.c | |
parent | d321551cea11f27a9afd67ece9bbda095a579950 (diff) | |
download | gcc-7148dede8a84e17cc0b00190d76fabbc1a717654.zip gcc-7148dede8a84e17cc0b00190d76fabbc1a717654.tar.gz gcc-7148dede8a84e17cc0b00190d76fabbc1a717654.tar.bz2 |
PR c++/90393 - ICE with thow in ?:
My previous patch for 64372 was incomplete: it only stopped making the
non-throw argument into an rvalue, lvalue_kind still considered the ?:
expression to be an rvalue, leaving us worse than before.
PR c++/64372, DR 1560 - Gratuitous lvalue-to-rvalue conversion in ?:
* tree.c (lvalue_kind): Handle throw in one arm.
* typeck.c (rationalize_conditional_expr): Likewise.
(cp_build_modify_expr): Likewise.
From-SVN: r274550
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions