https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
--- Comment #9 from Jakub Jelinek ---
Author: jakub
Date: Tue Jan 12 08:21:53 2016
New Revision: 232259
URL: https://gcc.gnu.org/viewcvs?rev=232259&root=gcc&view=rev
Log:
PR c++/66808
PR c++/69000
* pt.c (tsubst_decl): If
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
--- Comment #8 from Roger Orr ---
Thank you.
I've tested the fix and it successfully compiles works both the sample program
uploaded to my duplicate pr69000 and also my original presenting case.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
--- Comment #7 from Jakub Jelinek ---
Created attachment 37095
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37095&action=edit
gcc6-pr66808.patch
Untested fix. My understanding is that the tsubst_decl code just in some cases
does not exp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
Markus Trippelsdorf changed:
What|Removed |Added
CC||rogero at howzatt dot
demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
--- Comment #4 from David Binderman ---
(In reply to David Binderman from comment #0)
> Created attachment 35932 [details]
> gzipped C++ source code
>
> gcc trunk dated 20150707 does this
>
> $ ../results/bin/gcc -c -O2 bug216.cc
> /home/dcb/rp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
--- Comment #3 from Markus Trippelsdorf ---
template class A {
int *destroyThreadState_threadStatus = getThreadStatus();
int *getThreadStatus() {
static __thread int a;
return &a;
}
};
A b;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
Markus Trippelsdorf changed:
What|Removed |Added
CC||trippels at gcc dot gnu.org
--- Co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
10 matches
Mail list logo