[Bug c++/108008] New: Compiler mis-optimization with posix_memalign

2022-12-07 Thread hahnjo at hahnjo dot de via Gcc-bugs
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hahnjo at hahnjo dot de Target Milestone: --- Created attachment 54033 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54033&action=edit init.cpp Consider the attached example, reduced from some real code, a

[Bug c++/64236] [c++11] last alignas overrides stricter on a class definition

2020-12-05 Thread hahnjo at hahnjo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64236 Jonas Hahnfeld changed: What|Removed |Added CC||hahnjo at hahnjo dot de --- Comment #6

[Bug c++/91336] Missing -Wcast-qual?

2019-08-03 Thread hahnjo at hahnjo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91336 --- Comment #1 from Jonas Hahnfeld --- Created attachment 4 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=4&action=edit Small test case. I'm attaching another small test case that shows 3 casts, GCC only warns about the first one.

[Bug c++/91336] New: Missing -Wcast-qual?

2019-08-03 Thread hahnjo at hahnjo dot de
: unassigned at gcc dot gnu.org Reporter: hahnjo at hahnjo dot de Target Milestone: --- Created attachment 46665 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46665&action=edit Test case. If I compile the attached example with > $ g++ -c -Wall -Wextra -Wcast-qual cast-qual