[Bug c++/86208] [6/7/8/9 Regression] improper handling of an extern declared inline function
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 16 07:46:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86208
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jul 16 07:43:43 2018
New Revision: 262678
URL: https://gcc.gnu.org/viewcvs?rev=262678&root=gcc&view=rev
Log:
PR c++/3698
PR c++/86208
* cp-gimplify.c (cp_genericize_r): When using extern_decl_map, or
in TREE_USED flag from stmt to h->to.
* g++.dg/opt/pr3698.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/opt/pr3698.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-gimplify.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list