[Bug c++/72780] New: public `using` directive exposes protected base-class constructor

2016-08-02 Thread kyle.strand at beckman dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kyle.strand at beckman dot com Target Milestone: --- In the code below, the protected constructors of `Base` and `MyCrtp` should both be inaccessible and therefore trigger access errors

[Bug c++/55813] Poorly named/documented option Wctor-dtor-privacy

2016-06-09 Thread kyle.strand at beckman dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55813 --- Comment #6 from Kyle J Strand --- (In reply to Manuel López-Ibáñez from comment #5) > Please open a new PR and copy the testcase on it. Submitted as Bug 71484 .

[Bug c++/71484] Class with implicit public constructor triggers `-Wctor-dtor-privacy`

2016-06-09 Thread kyle.strand at beckman dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71484 Kyle J Strand changed: What|Removed |Added Severity|normal |minor

[Bug c++/71484] New: Class with implicit public constructor triggers `-Wctor-dtor-privacy`

2016-06-09 Thread kyle.strand at beckman dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kyle.strand at beckman dot com Target Milestone: --- A class whose only user-declared methods are `private`, but which *does* have an implicit public constructor, can trigger

[Bug c++/55813] Poorly named/documented option Wctor-dtor-privacy

2016-05-31 Thread kyle.strand at beckman dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55813 Kyle J Strand changed: What|Removed |Added CC||kyle.strand at beckman dot com

[Bug c++/69392] G++ can't capture 'this' pointer to templated type using init-capture

2016-01-22 Thread kyle.strand at beckman dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69392 --- Comment #2 from Kyle J Strand --- (In reply to Jason Merrill from comment #1) > Log: > PR c++/69392 > * lambda.c (lambda_capture_field_type): Handle 'this' specially > for init-capture, too. > What special handling is

[Bug c++/69390] dynamic_cast on rvalue fails

2016-01-20 Thread kyle.strand at beckman dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69390 Kyle J Strand changed: What|Removed |Added CC||kyle.strand at beckman dot com

[Bug c++/69392] New: G++ can't capture 'this' pointer to templated type using init-capture

2016-01-20 Thread kyle.strand at beckman dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kyle.strand at beckman dot com Target Milestone: --- Created attachment 37409 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37409=edit Tarball with source (with comme