[Bug c/95189] New: memcmp being wrongly stripped (regression)

2020-05-18 Thread gcc at pkh dot me
Assignee: unassigned at gcc dot gnu.org Reporter: gcc at pkh dot me Target Milestone: --- Given the following C code: % cat a.c #include static const float z[1] = {0}; int f(float x) { return memcmp(&x, z, sizeof(x)); } GCC 10 generates this on x8

[Bug middle-end/95189] [10/11 Regression] memcmp being wrongly stripped like strcmp

2020-06-09 Thread gcc at pkh dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 --- Comment #5 from gcc at pkh dot me --- I'd like to point out that this regression impacts badly a production app. We're using this pattern to compare an input vector of floats to a vector of zeros, but the comparison always ret

[Bug regression/80208] New: DJGPP max object file alignment regression

2017-03-27 Thread gcc at pkh dot me
: regression Assignee: unassigned at gcc dot gnu.org Reporter: gcc at pkh dot me Target Milestone: --- Using DJGPP, requested alignment is not clamped anymore: [/tmp]☭ echo 'int __attribute__ ((aligned (16))) x;' > a.c && i686-pc-msdosdjgpp-cc -c

[Bug c/107890] New: UB on integer overflow impacts code flow

2022-11-27 Thread gcc at pkh dot me via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: gcc at pkh dot me Target Milestone: --- Following is a code that is sensible to a signed integer overflow. I was under the impression that this kind of undefined behavior essentially meant that the value of that integer could