re PR c++/84661 (internal compiler error: Segmentation fault (strip_array_types()))
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 25 Mar 2019 20:43:36 +0000 (20:43 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 25 Mar 2019 20:43:36 +0000 (20:43 +0000)
commit0abbc99c023b99e9fad6308f9a0cdfc1599b5b31
tree13d977da98f04d907ddc64e1e4ef130468a172bc
parentb25e675d7de70c530a1ac50f726179c9fd54f161
re PR c++/84661 (internal compiler error: Segmentation fault (strip_array_types()))

/cp
2019-03-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84661
PR c++/85013
* parser.c (cp_parser_binary_expression): Don't call cp_fully_fold
to undo the disabling of warnings.

/testsuite
2019-03-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84661
PR c++/85013
* g++.dg/concepts/pr84661.C: New.
* g++.dg/torture/pr85013.C: Likewise.

From-SVN: r269923
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/concepts/pr84661.C [new file with mode: 0644]
gcc/testsuite/g++.dg/torture/pr85013.C [new file with mode: 0644]