[Bug c++/98429] New: Some FMA expressions are evaluated less efficiently when -ffast-math is active

2020-12-23 Thread chtz at informatik dot uni-bremen.de via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chtz at informatik dot uni-bremen.de Target Milestone: --- If you compile an expression like x - x*y using fast-math optimizations it appears to get re-arranged to

[Bug c++/89325] [7/8/9/10 Regression] False warnings about "optimization attribute" on operators when -fno-ipa-cp-clone

2019-06-14 Thread chtz at informatik dot uni-bremen.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89325 Christoph Hertzberg changed: What|Removed |Added CC||chtz at informatik dot uni-bremen.

[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2019-02-07 Thread chtz at informatik dot uni-bremen.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 --- Comment #9 from Christoph Hertzberg --- Independent of this issue, the forward declaration in boost/serialization/shared_ptr_helper.hpp does not make sense. I created a PR to fix that: https://github.com/boostorg/serialization/pull/144

[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2019-02-06 Thread chtz at informatik dot uni-bremen.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 Christoph Hertzberg changed: What|Removed |Added CC||chtz at informatik dot uni-bremen.

[Bug c++/87613] New: Non-reachable default required in switch statement to get optimal code

2018-10-15 Thread chtz at informatik dot uni-bremen.de
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chtz at informatik dot uni-bremen.de Target Milestone: --- Created attachment 44841 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44841&action=edit Sample code w

[Bug c++/87503] New: Spurious -Wunused-but-set-variable warning in template function

2018-10-03 Thread chtz at informatik dot uni-bremen.de
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chtz at informatik dot uni-bremen.de Target Milestone: --- Using g++ 8.1.0 and compiling the following minimal example with -Wall template Index bar(Index rows, Index cols

[Bug libstdc++/81599] New: Error in documentation of std::stack

2017-07-28 Thread chtz at informatik dot uni-bremen.de
++ Assignee: unassigned at gcc dot gnu.org Reporter: chtz at informatik dot uni-bremen.de Target Milestone: --- I just noticed an error in the documentation of std::stack. It is claimed here: https://gcc.gnu.org/onlinedocs/gcc-7.1.0/libstdc++/api/a01646_source.html#l00087 that

[Bug c++/66472] -Wshadow gets confused by using statements in template classes

2015-06-09 Thread chtz at informatik dot uni-bremen.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66472 --- Comment #6 from Christoph Hertzberg --- Ok, good point on shadowing free functions. Next pathological example: If you have a template specialization of your Base with a static member variable called `size`, wouldn't the warning make sense?

[Bug c++/66472] -Wshadow gets confused by using statements in template classes

2015-06-09 Thread chtz at informatik dot uni-bremen.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66472 Christoph Hertzberg changed: What|Removed |Added CC||chtz at informatik dot uni-bremen.

[Bug c++/53900] [regression] Too optimistic on a alignment assert

2013-01-07 Thread chtz at informatik dot uni-bremen.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900 --- Comment #7 from Christoph Hertzberg 2013-01-07 10:19:13 UTC --- (In reply to comment #6) > > __attribute__((aligned(16))) float array[4]; > > Explicitly says the array is aligned to 16 bytes which means it is undefined > by > the

[Bug c++/46872] 'using' in templated inheritance makes protected member public

2010-12-09 Thread chtz at informatik dot uni-bremen.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46872 Christoph Hertzberg changed: What|Removed |Added Resolution|WORKSFORME |FIXED --- Comment #3 from Christoph

[Bug c++/46872] 'using' in templated inheritance makes protected member public

2010-12-09 Thread chtz at informatik dot uni-bremen.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46872 --- Comment #1 from Christoph Hertzberg 2010-12-09 17:21:37 UTC --- Created attachment 22694 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22694 code that should fail to compile

[Bug c++/46872] New: 'using' in templated inheritance makes protected member public

2010-12-09 Thread chtz at informatik dot uni-bremen.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46872 Summary: 'using' in templated inheritance makes protected member public Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Comp