[Bug c++/98440] New: Accepts ill-formed reinterpret_cast(1)

2020-12-24 Thread aschepler at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: aschepler at gmail dot com Target Milestone: --- g++ does not give any error or warning for a reinterpret_cast when the target type is an rvalue reference type and the expression operand

[Bug c++/47346] access control for nested type is ignored in class template

2017-10-15 Thread aschepler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47346 Andrew Schepler changed: What|Removed |Added CC||aschepler at gmail dot com

[Bug gcov-profile/82457] libgcov fork and exec hooks not always used

2017-10-06 Thread aschepler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82457 Andrew Schepler changed: What|Removed |Added CC||aschepler at gmail dot com

[Bug gcov-profile/82457] New: libgcov fork and exec hooks not always used

2017-10-06 Thread aschepler at gmail dot com
-profile Assignee: unassigned at gcc dot gnu.org Reporter: aschepler at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- The gcc man page claims about the --coverage option that "'fork' calls are detected and correctly handled (double cou

[Bug preprocessor/82359] New: #line does not allow C++14 quotes in number

2017-09-29 Thread aschepler at gmail dot com
: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: aschepler at gmail dot com Target Milestone: --- In C++14 and later, any integer literal may contain single quote characters (aka apostrophe, ASCII 0x27). But the #line preprocessing directive does not allow

[Bug preprocessor/64965] __FILE__ doesn't work if the filename contains newline

2017-09-29 Thread aschepler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64965 Andrew Schepler changed: What|Removed |Added CC||aschepler at gmail dot com

[Bug c++/81998] [c++14] lambda: name from init-capture not visible in lambda-declarator

2017-08-28 Thread aschepler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81998 Andrew Schepler changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/81998] New: [c++14] lambda: name from init-capture not visible in lambda-declarator

2017-08-27 Thread aschepler at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: aschepler at gmail dot com Target Milestone: --- g++ 7.2.0 rejects this well-formed minimal code, whether using -std=c++14 or -std=c++1z: void f() { [x=2] (decltype(x

[Bug c++/80368] New: g++ thinks sizeof a non-type template parameter is dependent

2017-04-08 Thread aschepler at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: aschepler at gmail dot com Target Milestone: --- g++ rejects the following valid code: template struct A { static constexpr unsigned int value = N; }; template struct B : public

[Bug c++/53878] [C++11] Abstract class constructors

2015-09-04 Thread aschepler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53878 --- Comment #1 from Andrew Schepler --- Created attachment 36293 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36293=edit Abstract class constructors may skip virtual bases Attached is my attempt at a patch for this issue. In addition

[Bug c++/58184] New: Pointer to overloaded function is non-deduced context

2013-08-17 Thread aschepler at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: aschepler at gmail dot com Created attachment 30669 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30669action=edit Sample c++ code The attached program is ill-formed, but g++ 4.8.1 compiles it with no warnings. g

[Bug c++/51424] [C++11] G++ should diagnose self-delegating constructors

2013-04-09 Thread aschepler at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51424 --- Comment #1 from Andrew Schepler aschepler at gmail dot com 2013-04-09 19:38:15 UTC --- The diagnostic is easy in the direct case of delegating to the same constructor, but difficult in the indirect case of multiple delegating

[Bug c++/54319] New: Assignment to rvalue

2012-08-18 Thread aschepler at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 Bug #: 54319 Summary: Assignment to rvalue Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/53878] New: Abstract class constructors

2012-07-06 Thread aschepler at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53878 Bug #: 53878 Summary: Abstract class constructors Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/11750] class scope using-declaration lookup not implemented

2011-01-12 Thread aschepler at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11750 --- Comment #8 from Andrew Schepler aschepler at gmail dot com 2011-01-12 17:16:29 UTC --- (In reply to comment #6) struct A { virtual void f(); }; struct B : virtual A { virtual void f(); }; struct C : B , virtual