[Bug c++/90124] [9 Regression] Compilation of llvm PDBContext.cpp fails.
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 17 18:27:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90124
--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Apr 17 18:26:42 2019
New Revision: 270418
URL: https://gcc.gnu.org/viewcvs?rev=270418&root=gcc&view=rev
Log:
PR c++/90124 - bogus error with incomplete type in decltype.
* typeck.c (build_class_member_access_expr): Check
cp_unevaluated_operand.
* g++.dg/cpp0x/decltype70.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/decltype70.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list