[Bug c/63303] Pointer subtraction is broken when using -fsanitize=undefined

2015-11-22 Thread nszabolcs at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63303 Szabolcs Nagy changed: What|Removed |Added CC||nszabolcs at gmail dot com --- Comment

[Bug target/66136] AArch64 geniterators.sh relies on GNU sed syntax, causing build failure on FreeBSD and probably Mac

2015-06-10 Thread nszabolcs at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66136 --- Comment #12 from Szabolcs Nagy --- geniterators.sh was new in gcc-5 and the first version of the script already used \n in the sed replacement pattern (and other gnu extensions too). shall i backport the new script to the gcc-5 branch?

[Bug c/66322] Linus Torvalds: -Wswitch-bool produces dubious warnings, fails to notice really bad things

2015-05-28 Thread nszabolcs at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66322 Szabolcs Nagy changed: What|Removed |Added CC||nszabolcs at gmail dot com --- Comment

[Bug target/66136] AArch64 geniterators.sh relies on GNU sed syntax, causing build failure on FreeBSD and probably Mac

2015-05-19 Thread nszabolcs at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66136 --- Comment #8 from Szabolcs Nagy --- the new awk version is supposed to produce the exact same output as the old script with gnu sed. the pasted output fragment looks ok.

[Bug target/66136] AArch64 geniterators.sh relies on GNU sed syntax, causing build failure on FreeBSD and probably Mac

2015-05-18 Thread nszabolcs at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66136 --- Comment #5 from Szabolcs Nagy --- patch that uses awk: https://gcc.gnu.org/ml/gcc-patches/2015-05/msg01578.html

[Bug target/66136] AArch64 geniterators.sh relies on GNU sed syntax, causing build failure on FreeBSD and probably Mac

2015-05-15 Thread nszabolcs at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66136 --- Comment #2 from Szabolcs Nagy --- the posix standard does not seem to disallow \n in the replacement string so i think freebsd sed should be fixed (or report the bug to the austingroup). meanwhile i will prepare a fix for this in gcc.

[Bug c/64964] New: -D_FORTIFY_SOURCE=2 passes incorrect length to _chk functions in some cases

2015-02-06 Thread nszabolcs at gmail dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nszabolcs at gmail dot com in the following simple testcase the valid length of x.a+1 is 1, but 2 is passed to __strcpy_chk according to the asm (gcc-4.8 gets it right, glibc debug

[Bug target/52451] gcc w/i387 float generates fucom rather than fcom for floating point comparsons

2014-09-11 Thread nszabolcs at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52451 Szabolcs Nagy changed: What|Removed |Added CC||nszabolcs at gmail dot com --- Comment

[Bug c/57629] New: -Wmaybe-uninitialized does not catch some conditional initialization

2013-06-16 Thread nszabolcs at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nszabolcs at gmail dot com In the following example gcc should be able to prove that x may be uninitialized, but it does not warn. $ gcc-4.8 -c -O2 -Wmaybe-uninitialized example.c $ cat

[Bug c/57574] New: -std=c99 inline function incorrectly has external linkage with prior static declaration

2013-06-09 Thread nszabolcs at gmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nszabolcs at gmail dot com gcc emits incorrect warning for inline function with internal linkage: $ cat example.c static int n; static inline int f(void); inline int f

[Bug c/57259] New: extra load and store with -fexcess-precision=standard

2013-05-12 Thread nszabolcs at gmail dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nszabolcs at gmail dot com Target: i686-pc-linux-gnu with -fexcess-precision=standard extra load and store is generated on i386 linux even when it is not needed (the code is correct but does unnecessary work on

[Bug c/57258] New: unused variable warning is emitted for volatile variables

2013-05-12 Thread nszabolcs at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nszabolcs at gmail dot com unused variable warnings are incorrectly issued for volatile variables a volatile variable is only unused if it is not accessed, otherwise code will be generated for

[Bug rtl-optimization/323] optimized code gives strange floating point results

2009-07-22 Thread nszabolcs at gmail dot com
--- Comment #130 from nszabolcs at gmail dot com 2009-07-22 12:10 --- (In reply to comment #129) > I am a bit wondering if this bug is also for the case (a < b) && (b < a) == > true. Is it? i guess so, see: #include #include #define axiom_order(a,b) !(a &l