[Bug c++/55776] -Wshadow generates an incorrect warning with enum classes

2013-05-31 Thread s...@s-e-f-i.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55776 Philipp changed: What|Removed |Added CC||jason at redhat dot com --- Comment #1 from Phi

[Bug c++/53599] New: gcc-4.7.1_rc20120606 segfaults compiling boost.karma

2012-06-06 Thread s...@s-e-f-i.de
Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: s...@s-e-f-i.de The attached preprocessed source makes the first release candidate of gcc-4.7 segfault, gcc-4.7.0 was fine. No additional compilation options are required. I have just spotted

[Bug c++/53599] gcc-4.7.1_rc20120606 segfaults compiling boost.karma

2012-06-06 Thread s...@s-e-f-i.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53599 --- Comment #1 from Philipp 2012-06-06 21:45:30 UTC --- Created attachment 27574 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27574 Preprocessed source

[Bug c++/53599] [4.7/4.8 Regression] gcc-4.7.1_rc20120606 segfaults compiling boost.karma

2012-06-07 Thread s...@s-e-f-i.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53599 --- Comment #3 from Philipp 2012-06-07 09:14:56 UTC --- Created attachment 27575 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27575 Reduced testcase

[Bug c++/51930] [4.7 regression] Explicitly instantiated template gets hidden visibility

2012-02-15 Thread s...@s-e-f-i.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51930 --- Comment #7 from Philipp 2012-02-15 09:29:27 UTC --- The test struct might come from an external library I have no control of, which will make it difficult to change its visibility. Currently, I have quite some code that depends on the behaviou

[Bug c++/51930] [4.7 regression] Explicitly instantiated template gets hidden visibility

2012-02-15 Thread s...@s-e-f-i.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51930 --- Comment #10 from Philipp 2012-02-15 12:02:09 UTC --- But think about a header only library. My test case isn't that far fetched. A simple struct with no member functions (except for the implicitly generated ones) should need no visibility at a

[Bug c++/51930] [4.7 regression] Explicitly instantiated template gets hidden visibility

2012-02-27 Thread s...@s-e-f-i.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51930 --- Comment #14 from Philipp 2012-02-27 11:06:20 UTC --- The new behaviour makes it pretty much impossible for me to retain the visibility gcc has been giving me with the old behaviour. It is impossible to only give every type that is somehow inv

[Bug c++/51813] New: -fvisibility=hidden causes std::codecvt members to be undefined

2012-01-10 Thread s...@s-e-f-i.de
Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: s...@s-e-f-i.de The following program causes undefined symbols when -fvisibility=hidden is used: #include int main() { std::use_facet >(std::loc

[Bug c++/51930] New: Explicitly instantiated template gets hidden visibility

2012-01-21 Thread s...@s-e-f-i.de
Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: s...@s-e-f-i.de gcc-4.7 produces a symbol with hidden visibility for testfunc, while gcc-4.6 produces a symbol with default visibility. struct foo { }; template

[Bug c++/51930] [4.7 regression] Explicitly instantiated template gets hidden visibility

2012-01-29 Thread s...@s-e-f-i.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51930 Philipp changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug c++/55776] New: -Wshadow generates an incorrect warning with enum classes

2012-12-21 Thread s...@s-e-f-i.de
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: s...@s-e-f-i.de In C++11 mode, enum classes can generate incorrect -Wshadow warnings: g++ -Wshadow -std=c++11 test.cpp typedef int foo; enum

[Bug c++/55908] New: Problem binding a const member function to a const object

2013-01-08 Thread s...@s-e-f-i.de
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: s...@s-e-f-i.de The following code fails to compile: #include typedef std::functionfunc; struct foo { void f(int) const

[Bug c++/48003] Regression in Template Constants from 4.5.2

2011-03-06 Thread s...@s-e-f-i.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48003 Philipp changed: What|Removed |Added CC||s...@s-e-f-i.de --- Comment #1 from Philipp

[Bug c++/49507] New: ICE because of defaulted template destructor

2011-06-22 Thread s...@s-e-f-i.de
: unassig...@gcc.gnu.org ReportedBy: s...@s-e-f-i.de The following code makes rc1 of gcc-4.6.1 segfault: template struct ConcretePoolKey { virtual ~ConcretePoolKey(); }; template ConcretePoolKey::~ConcretePoolKey() = default; int main() { ConcretePoolKey foo; } /usr/bin/g

[Bug c++/49507] [4.6/4.7 Regression] ICE because of defaulted template destructor

2011-06-24 Thread s...@s-e-f-i.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49507 --- Comment #6 from Philipp 2011-06-24 10:26:06 UTC --- Applying the changes on top of gcc-4.6.1 rc1 fixes the problem for me. Thanks!