[Bug c++/92467] gcc miscompiles ternary expression with omitted first operand ?: involving C++ prvalues

2019-11-11 Thread st at quanttec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92467 --- Comment #3 from Stephan Tolksdorf --- Calling release on tmp should set the internal pointer member to null so that the destructor won't call the deleter on the (void*)1 ptr.

[Bug c++/92467] New: gcc miscompiles ternary expression with omitted first operand ?: involving C++ prvalues

2019-11-11 Thread st at quanttec dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: st at quanttec dot com Target Milestone: --- The current trunk version of GCC miscompiles the following code involving a ternary expression with omitted first

[Bug c++/89486] New: GCC fails to compile designated initializer use involving implicit conversion

2019-02-24 Thread st at quanttec dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: st at quanttec dot com Target Milestone: --- The following code fails to compile with the current trunk version of GCC. clang compiles the code fine. struct P { int a

[Bug c++/61838] ICE on Windows with ctors defined outside class definitions

2014-09-08 Thread st at quanttec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61838 Stephan Tolksdorf changed: What|Removed |Added CC||st at quanttec dot com --- Comment

[Bug c++/63207] New: ICE in expand_expr_real_l when instantiating a template with a lambda that captures a const variable with a dependent initializer

2014-09-08 Thread st at quanttec dot com
Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: st at quanttec dot com Compiling the following following code with the current trunk GCC results in an

[Bug c++/59879] New: arrays in return statements or default arguments decay too early

2014-01-19 Thread st at quanttec dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: st at quanttec dot com g++ seems to decay arrays in return statements or default arguments too early. The following sample fails to compile with 4.8.2 and the current GIT master version

[Bug c++/56859] alignas() fails in template

2013-12-11 Thread st at quanttec dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56859 Stephan Tolksdorf changed: What|Removed |Added CC||st at quanttec dot com --- Comment

[Bug c++/58856] New: [4.9 Regression] spurious 'wrong number of template arguments' error for template alias

2013-10-23 Thread st at quanttec dot com
NCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: st at quanttec dot com The current trunk version of GCC fails to compile the following valid sample template struct U1 {}; template using U2 = U1;

[Bug c++/58855] New: Attributes ignored on type alias in template

2013-10-23 Thread st at quanttec dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: st at quanttec dot com When compiling the following example the current trunk version of GCC accepts the attribute in the typedef but not the semantically equivalent type alias. template void test(T*) { using T0 = int

[Bug c++/51253] [C++11][DR 1030] Evaluation order (sequenced-before relation) among initializer-clauses in braced-init-list

2013-10-23 Thread st at quanttec dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51253 Stephan Tolksdorf changed: What|Removed |Added CC||st at quanttec dot com --- Comment

[Bug c++/57712] New: GCC fails to to match out-of-line template member function definition with declaration

2013-06-25 Thread st at quanttec dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: st at quanttec dot com g++ 4.8.1 fails to compile the following C++11 code: struct Test { int method(int value) { return value; } template auto test(T value

[Bug c++/56643] New: Failure to match noexcept specifier of friend template function in template class

2013-03-17 Thread st at quanttec dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56643 Bug #: 56643 Summary: Failure to match noexcept specifier of friend template function in template class Classification: Unclassified Product: gcc Version: 4.7.3 Stat

[Bug c++/56633] New: Overload selection error for non-static data member initialization with initializer list in template class

2013-03-16 Thread st at quanttec dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56633 Bug #: 56633 Summary: Overload selection error for non-static data member initialization with initializer list in template class Classification: Unclassified Product: gcc Versio

[Bug middle-end/56420] [4.8 Regression] Arithmetic error in computation with compile time unsigned __int128 constant

2013-02-21 Thread st at quanttec dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56420 --- Comment #5 from Stephan Tolksdorf 2013-02-21 21:38:27 UTC --- That was fast, thanks!

[Bug c++/56420] New: Arithmetic error in computation with compile time unsigned __int128 constant

2013-02-21 Thread st at quanttec dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56420 Bug #: 56420 Summary: Arithmetic error in computation with compile time unsigned __int128 constant Classification: Unclassified Product: gcc Version: unknown