diff options
author | Marek Polacek <polacek@redhat.com> | 2018-01-31 15:37:18 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2018-01-31 15:37:18 +0000 |
commit | 4ecd9c156cb6a4d67d59563b73cccfd0d5045a50 (patch) | |
tree | c85e6710189647911c02e68ca5c60fe4855be851 /gcc/varasm.c | |
parent | bcec133fa9b1f65adcb68dbf7c9794019ddb66f3 (diff) | |
download | gcc-4ecd9c156cb6a4d67d59563b73cccfd0d5045a50.zip gcc-4ecd9c156cb6a4d67d59563b73cccfd0d5045a50.tar.gz gcc-4ecd9c156cb6a4d67d59563b73cccfd0d5045a50.tar.bz2 |
re PR c++/84138 (ICE folding broken constant)
PR c++/84138
* cp-gimplify.c (cp_fold): Check if X is an error node before
calling useless_type_conversion_p.
* g++.dg/diagnostic/pr84138.C: New test.
From-SVN: r257240
Diffstat (limited to 'gcc/varasm.c')
0 files changed, 0 insertions, 0 deletions