diff options
author | Marek Polacek <polacek@redhat.com> | 2018-03-23 13:45:49 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2018-03-23 13:45:49 +0000 |
commit | 889a3a30d0aea481e3452b0f2e25d0c4657b2f21 (patch) | |
tree | fc1c62177a423979c20c5e60bee08115590ffda3 /gcc/rtl-tests.c | |
parent | 50531a2a1d82e41a39d0c85421b4e99802d6e349 (diff) | |
download | gcc-889a3a30d0aea481e3452b0f2e25d0c4657b2f21.zip gcc-889a3a30d0aea481e3452b0f2e25d0c4657b2f21.tar.gz gcc-889a3a30d0aea481e3452b0f2e25d0c4657b2f21.tar.bz2 |
re PR c++/85045 (ICE+SIGILL on valid C++ code: cxx_pretty_printer::postfix_expression(tree_node*) (), at cp/cxx-pretty-print.c:482)
PR c++/85045
* c-pretty-print.c (c_pretty_printer::multiplicative_expression)
<case RDIV_EXPR>: Tweak condition.
* cxx-pretty-print.c (cxx_pretty_printer::multiplicative_expression):
Handle EXACT_DIV_EXPR and RDIV_EXPR. Tweak condition.
(cxx_pretty_printer::expression): Handle EXACT_DIV_EXPR and RDIV_EXPR.
* g++.dg/cpp0x/Wnarrowing5.C: New test.
* gcc.dg/pr85045.c: New test.
From-SVN: r258804
Diffstat (limited to 'gcc/rtl-tests.c')
0 files changed, 0 insertions, 0 deletions