re PR c++/71448 (pointer relational comparison fails inside constant expression)
PR c++/71448 * fold-const.c (fold_comparison): Handle CONSTANT_CLASS_P (base0) the same as DECL_P (base0) for indirect_base0. Use equality_code in one further place. * g++.dg/torture/pr71448.C: New test. Co-Authored-By: Richard Biener <rguenther@suse.de> From-SVN: r237212
Showing
gcc/testsuite/g++.dg/torture/pr71448.C
0 → 100644
Please
register
or
sign in
to comment