public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60056] New: [C++11] ICE in var_defined_without_dynamic_init, at cp/decl2.c:2876 with TLS static
@ 2014-02-04 10:43 rguenth at gcc dot gnu.org
2015-01-16 17:35 ` [Bug c++/60056] " paolo.carlini at oracle dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-02-04 10:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60056
Bug ID: 60056
Summary: [C++11] ICE in var_defined_without_dynamic_init, at
cp/decl2.c:2876 with TLS static
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Blocks: 59994
template<typename T>
class Foo {
public:
Foo() {
++c;
}
private:
thread_local static int c;
};
template<typename T> thread_local int Foo<T>::c(0);
int main(){
Foo<int> o;
}
Maybe related to PR58671.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/60056] [C++11] ICE in var_defined_without_dynamic_init, at cp/decl2.c:2876 with TLS static
2014-02-04 10:43 [Bug c++/60056] New: [C++11] ICE in var_defined_without_dynamic_init, at cp/decl2.c:2876 with TLS static rguenth at gcc dot gnu.org
@ 2015-01-16 17:35 ` paolo.carlini at oracle dot com
2015-01-16 17:48 ` paolo at gcc dot gnu.org
2015-01-16 17:48 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-01-16 17:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60056
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Seems unrelated, because this was fixed for 4.9.2. I'm adding the testcase and
closing the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/60056] [C++11] ICE in var_defined_without_dynamic_init, at cp/decl2.c:2876 with TLS static
2014-02-04 10:43 [Bug c++/60056] New: [C++11] ICE in var_defined_without_dynamic_init, at cp/decl2.c:2876 with TLS static rguenth at gcc dot gnu.org
2015-01-16 17:35 ` [Bug c++/60056] " paolo.carlini at oracle dot com
@ 2015-01-16 17:48 ` paolo at gcc dot gnu.org
2015-01-16 17:48 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo at gcc dot gnu.org @ 2015-01-16 17:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60056
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Fri Jan 16 17:47:43 2015
New Revision: 219760
URL: https://gcc.gnu.org/viewcvs?rev=219760&root=gcc&view=rev
Log:
2015-01-16 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60056
* g++.dg/tls/thread_local-ice4.C: New.
Added:
trunk/gcc/testsuite/g++.dg/tls/thread_local-ice4.C
Modified:
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/60056] [C++11] ICE in var_defined_without_dynamic_init, at cp/decl2.c:2876 with TLS static
2014-02-04 10:43 [Bug c++/60056] New: [C++11] ICE in var_defined_without_dynamic_init, at cp/decl2.c:2876 with TLS static rguenth at gcc dot gnu.org
2015-01-16 17:35 ` [Bug c++/60056] " paolo.carlini at oracle dot com
2015-01-16 17:48 ` paolo at gcc dot gnu.org
@ 2015-01-16 17:48 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-01-16 17:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60056
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |4.9.2
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Done.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-16 17:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-04 10:43 [Bug c++/60056] New: [C++11] ICE in var_defined_without_dynamic_init, at cp/decl2.c:2876 with TLS static rguenth at gcc dot gnu.org
2015-01-16 17:35 ` [Bug c++/60056] " paolo.carlini at oracle dot com
2015-01-16 17:48 ` paolo at gcc dot gnu.org
2015-01-16 17:48 ` paolo.carlini at oracle dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).