[Bug c++/58993] incorrectly accept access of protected member method from derived class template

2013-11-05 Thread cvs at cs dot utoronto.ca
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58993 --- Comment #3 from Chris Studholme --- Ah, thanks for the info. I thought I tried '&bar::foo' and it didn't work without 'using base::foo'. I just tried it again and it does work (in both cases) without the using declaration so I must have made

[Bug c++/58993] New: failure to access pointer to protected member method in base from derived class specialization

2013-11-04 Thread cvs at cs dot utoronto.ca
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cvs at cs dot utoronto.ca Sample code: class base { protected: typedef void (base::*foo_type)() const; void foo() const {} }; template struct bar

[Bug libstdc++/58912] New: make_shared value initializes storage space even when not desired

2013-10-29 Thread cvs at cs dot utoronto.ca
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: cvs at cs dot utoronto.ca Simple example: struct foo { char buf[1024*1024*1024]; foo() {} }; auto p = std::make_shared(); I've traced the problem to shared_ptr_base.

[Bug c++/54532] [C++0x][constexpr] internal error when initializing static constexpr with pointer to non-static member variable

2012-09-08 Thread cvs at cs dot utoronto.ca
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54532 --- Comment #1 from Chris 2012-09-09 02:24:57 UTC --- Created attachment 28155 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28155 preprocessed source

[Bug c++/54532] New: [C++0x][constexpr] internal error when initializing static constexpr with pointer to non-static member variable

2012-09-08 Thread cvs at cs dot utoronto.ca
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54532 Bug #: 54532 Summary: [C++0x][constexpr] internal error when initializing static constexpr with pointer to non-static member variable Classification: Unclassified Produc