[Bug c++/35246] declaration of threadprivate variable considered first use
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-02-18 05:08 --- *** This bug has been marked as a duplicate of 27557 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --
[Bug c++/35246] declaration of threadprivate variable considered first use
--- Comment #1 from hailijuan at gmail dot com 2008-02-18 04:37 --- the error message was raised in finish_omp_threadprivate (cp/semantics.c). It was the field TREE_USED set to 1 that trigered the error. build_aggr_init set TREE_USED of variable a. the call frame looks like: =>[1] build