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
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.
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
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.
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
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
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
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
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
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
10 matches
Mail list logo