[Bug c/90535] New: Wrong branch selected if (--(s.ptr))

2019-05-19 Thread vbraun.name at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: vbraun.name at gmail dot com Target Milestone: --- Decrementing a struct member pointer is not seen in a subsequent if() branch, so tests like if (--(s.ptr)) jump to the wrong branch. This is with gcc 9.1.1 and -O1 or higher

[Bug target/63661] [4.9/5 Regression] -O2 miscompiles with -mtune=nehalem or corei7

2014-11-28 Thread vbraun.name at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63661 --- Comment #26 from Volker Braun --- I can confirm that r217783 fixes the original issue on in the GSL testsuite on OSX Yosemite, too.

[Bug target/63661] [4.9/5 Regression] -O2 miscompiles on OSX 10.10 Yosemite

2014-10-30 Thread vbraun.name at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63661 Volker Braun changed: What|Removed |Added Known to fail||4.9.2 --- Comment #17 from Volker Braun

[Bug target/63661] -O2 miscompiles on OSX 10.10 Yosemite

2014-10-28 Thread vbraun.name at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63661 --- Comment #4 from Volker Braun --- Good point, -lm is not necessary. It was necessary in the original GSL testsuite case, but I removed that part.

[Bug target/63661] -O2 miscompiles on OSX 10.10 Yosemite

2014-10-27 Thread vbraun.name at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63661 --- Comment #2 from Volker Braun --- Created attachment 33823 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33823&action=edit Preprocessed source

[Bug target/63661] -O2 miscompiles on OSX 10.10 Yosemite

2014-10-27 Thread vbraun.name at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63661 --- Comment #1 from Volker Braun --- Created attachment 33822 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33822&action=edit Output of gcc -v

[Bug target/63661] New: -O2 miscompiles on OSX 10.10 Yosemite

2014-10-27 Thread vbraun.name at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: vbraun.name at gmail dot com Created attachment 33821 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33821&action=edit Testcase that yields wrong answer when compiled with -O2 The attached selfcontained test_mathi

[Bug target/63610] OSX 10.10 (Yosemite) segfault in MPIR testsuite with -O0 or -O1

2014-10-27 Thread vbraun.name at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63610 --- Comment #8 from Volker Braun --- Another workaround is to set MACOSX_DEPLOYMENT_TARGET=10.9 Libtool-2.4.3 will have the fix, gcc (and everybody else) should just reconfigure when its out. http://lists.gnu.org/archive/html/libtool/2014-10/ms

[Bug target/63610] OSX 10.10 (Yosemite) segfault in MPIR testsuite with -O0 or -O1

2014-10-23 Thread vbraun.name at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63610 --- Comment #5 from Volker Braun --- Libtool upstream patch: ​http://lists.gnu.org/archive/html/libtool-patches/2014-09/msg2.html

[Bug target/63610] OSX 10.10 (Yosemite) segfault in MPIR testsuite with -O0 or -O1

2014-10-23 Thread vbraun.name at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63610 --- Comment #4 from Volker Braun --- I got my hands on a gcc 4.9.1 binary build made on OSX 10.9 and this one works. Diffing the log shows that this is due to different linker flags, my binary build calls libtool: link: gcc -std=gnu99 -dynamicl