-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: miguel.ojeda.sandonis at gmail dot com
Target Milestone: ---
For code such as:
void f(int);
void g(int v) {
switch (v) {
case 1: f(1);
case 2: f(2);
case 3: f(3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90525
--- Comment #2 from Miguel Ojeda ---
I see. About offset 1: even if it is not (formally) out of bounds, memset will
end up dereferencing it. In the end, what users care about is that b and c are
being overwritten (even users that know about the o
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: miguel.ojeda.sandonis at gmail dot com
Target Milestone: ---
When fixing an -Warray-bounds warning for the kernel I noticed that the offsets
were off-by-1 in at least one
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87603
Miguel Ojeda changed:
What|Removed |Added
Attachment #44832|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87603
--- Comment #1 from Miguel Ojeda ---
Created attachment 44832
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44832&action=edit
patch + test
ormal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: miguel.ojeda.sandonis at gmail dot com
Target Milestone: ---
CWG 1129 (which ended up in C++11) added a special case to noexcept for
constant expressions, so that:
cons
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67259
Miguel Ojeda changed:
What|Removed |Added
CC||miguel.ojeda.sandonis@gmail
++
Assignee: unassigned at gcc dot gnu.org
Reporter: miguel.ojeda.sandonis at gmail dot com
Target Milestone: ---
The following input causes an ICE starting with GCC 4.9 until trunk, on
-std=c++{14,17,2a}.
template
using V = void;
template
auto f1(F f, T v) -> decltype(