diff options
author | Marek Polacek <polacek@redhat.com> | 2019-08-13 15:05:48 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-08-13 15:05:48 +0000 |
commit | cb0a83f3437be73075fba17db68abbf240d17a36 (patch) | |
tree | 0697b0b4e87b5dc7ddb5c05fad90bdad5eaeccad /gcc/fortran/trans-expr.c | |
parent | 82614ffbfdb57dcc490a752f0d398bbe2a774864 (diff) | |
download | gcc-cb0a83f3437be73075fba17db68abbf240d17a36.zip gcc-cb0a83f3437be73075fba17db68abbf240d17a36.tar.gz gcc-cb0a83f3437be73075fba17db68abbf240d17a36.tar.bz2 |
PR c++/90473 - wrong code with nullptr in default argument.
* call.c (null_ptr_cst_p): Update quote from the standard.
* decl.c (check_default_argument): Don't return nullptr when the arg
has side-effects.
* g++.dg/cpp0x/nullptr42.C: New test.
From-SVN: r274382
Diffstat (limited to 'gcc/fortran/trans-expr.c')
0 files changed, 0 insertions, 0 deletions