[Bug c++/80962] New: No more access violation control after certain declarations using concepts

2017-06-02 Thread okannen at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- Created attachment 41462 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41462=edit The buggy code as descri

[Bug c++/80962] No more access violation control after certain declarations using concepts

2017-06-02 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80962 --- Comment #1 from Olivier Kannengieser --- Inside the comment section BUGGY CODE, the second commented line should be uncommented to see that gcc does not complaning for private access violation. The attached file is the version which causes

[Bug c++/87066] New: new expression and potential destructor invokation

2018-08-22 Thread okannen at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- In the c++ standard [expr.new]: >> if the new-expression creates an array of objects of class type, the >> destructor is potentially invoked. And potenti

[Bug libstdc++/87278] GCC 8 fails to compile make_shared()

2018-09-11 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87278 Olivier Kannengieser changed: What|Removed |Added CC||okannen at gmail dot com

[Bug c++/84699] discarded value expression of volatile class type shall materialize a temporary

2018-03-07 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84699 --- Comment #1 from Olivier Kannengieser --- A link to an answer to a question on stack overflow that details what should happen: https://stackoverflow.com/a/29873914/5632316

[Bug c++/84699] New: discarded value expression of volatile class type shall materialize a temporary

2018-03-04 Thread okannen at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- *Description When a discarded value expression if of class type, a temporary shall be created by copy construction

[Bug c++/84686] New: Parenthesized discarded value expression are not evaluated with option -std=c++14

2018-03-03 Thread okannen at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- This bug appears first in version 4.9 and is still here in version 7.3 and above. Compilation option: -std=c++14

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

2018-06-21 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71484 Olivier Kannengieser changed: What|Removed |Added CC||okannen at gmail dot com

[Bug c++/87629] New: function template parameter deduction succeeds but parameter and deduced arg does not match.

2018-10-17 Thread okannen at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- This bug is present in all gcc versions. Consider the following code: template struct x{ x

[Bug c++/87629] function template parameter deduction succeeds but parameter and deduced arg does not match.

2018-10-18 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87629 --- Comment #1 from Olivier Kannengieser --- This is maybe not a compiler bug, to be confirmed/unconfirmed by an expert of the standard.

[Bug c++/87629] function template parameter deduction succeeds but parameter and deduced arg does not match.

2018-10-18 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87629 --- Comment #2 from Olivier Kannengieser --- This is not a bug, this bug report should be removed! The function call is undeduced context so the rule [temp.call.deduct]/4 is bypassed.

[Bug c++/87478] Hidden member function falsely takes part in qualified name lookup

2018-10-01 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87478 Olivier Kannengieser changed: What|Removed |Added CC||okannen at gmail dot com

[Bug c++/88164] New: Copy initialization of function argument not performed inside lambda when the argument is a constexpr block scope variable.

2018-11-23 Thread okannen at gmail dot com
Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- In the code bellow the copy constructor of "a&qu

[Bug c++/83342] extern marked variable template with later definition emits error

2018-11-28 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83342 Olivier Kannengieser changed: What|Removed |Added CC||okannen at gmail dot com

[Bug c++/88252] New: Deduction guide assume the constructor parameter is a forwarding reference if constructor defined outside class

2018-11-28 Thread okannen at gmail dot com
: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- Constructor parameter that have the forms of a forwarding reference (T

[Bug c++/88103] New: Wrong value category when conditional expression result is used as object expression

2018-11-19 Thread okannen at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- In the code below, if the conditional expression is an xvalue, and only when this xvalue is used as the object

[Bug c++/94061] New: defaulted member operator <=> defined as deleted if a base has protected member operator <=>

2020-03-05 Thread okannen at gmail dot com
UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- Version: GCC 10.0.1 20200229 When a base class declares the three way comparison member operator

[Bug c++/94058] New: defaulted three way comparison operator defined as deleted when a member is a small bitfield of long type.

2020-03-05 Thread okannen at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- Version: GCC 10.0.1 20200229 Exemple of code: #include struct A{ long

[Bug libstdc++/94679] New: link time error: undefined reference to std::projected<...>::operator *() const

2020-04-21 Thread okannen at gmail dot com
verity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64 Build: x86_64-pc-linux-gnu

[Bug gcov-profile/94636] New: gcov should and could output overall coverage. This is just a 2 code lines change.

2020-04-17 Thread okannen at gmail dot com
Keywords: easyhack Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 48301 --> ht

[Bug c++/95050] New: coroutine: no "mandatory copy elision" for prvalue await_resume expression.

2020-05-11 Thread okannen at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- Checked with gcc version 10.1.1 20200508 (GCC) (see bellow for the `gcc -v` output) The result of the await-resume

[Bug c++/95009] New: decltype of increment or decrement bitfield expressions are wrong and causes assembler errors.

2020-05-08 Thread okannen at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- This bug exists since gcc version 6 The code bellow should not compile: #include struct

[Bug c++/95020] New: requires expression always evaluates to true in the definition of template lambda defined within template function

2020-05-09 Thread okannen at gmail dot com
: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- gcc -v: COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/home/olivier/usr

[Bug c++/95417] New: Static storage duration objects that are constant initialized should be destroyed after the destruction of dynamically initialized object.

2020-05-29 Thread okannen at gmail dot com
: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- This is a bug that is here since at least

[Bug c++/95511] Class template argument deduction: guide generated from constructor preferred over deduction-guide.

2020-08-05 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95511 Olivier Kannengieser changed: What|Removed |Added Resolution|--- |FIXED

[Bug c++/77595] concepts: constrained member functions illegally instantiated during explicit class template instantiation

2020-07-01 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77595 --- Comment #4 from Olivier Kannengieser --- The bug is still there in GCC 10.1, and was the cause of a question of stackoverflow: https://stackoverflow.com/questions/62659801/constrained-member-functions-and-explicit-template-instantiation

[Bug c++/95860] New: Wrong "looser exception specification" when a class has 2 prospective destructors.

2020-06-24 Thread okannen at gmail dot com
NCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- Tested with gcc --version: gcc (GCC) 10.1.1 20200613 Copyright (C) 2020 Free Software Foundation, Inc. Th

[Bug c++/95511] New: Class template argument deduction: guide generated from constructor preferred over deduction-guide.

2020-06-03 Thread okannen at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- This bug exists since gcc 7 and all following version. It also exists on the current GCC-10 release

[Bug c++/95511] Class template argument deduction: guide generated from constructor preferred over deduction-guide.

2020-06-03 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95511 --- Comment #1 from Olivier Kannengieser --- Actualy it is a bug that happens during the selection of the best viable function: template void func (auto...); void func (auto...); void g(){ func (10); // this should not compile }

[Bug c++/95417] Static storage duration objects that are constant initialized should be destroyed after the destruction of dynamically initialized object.

2020-07-16 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95417 Olivier Kannengieser changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/95417] Static storage duration objects that are constant initialized should be destroyed after the destruction of dynamically initialized object.

2020-07-16 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95417 Olivier Kannengieser changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #4 from

[Bug c++/96361] New: return type not deduced for a function template specialization given as argument of a template function

2020-07-28 Thread okannen at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- This bug exist since GCC 6.1 and is still present in version GCC 10.2