[Bug c++/3698] 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=3698
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jul 16 07:44:48 2018
New Revision: 262679
URL: https://gcc.gnu.org/viewcvs?rev=262679&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:
branches/gcc-8-branch/gcc/testsuite/g++.dg/opt/pr3698.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/cp-gimplify.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list