[Bug target/29517] Exception handling not thread-safe on AIX5.x and HP-UX

2021-01-11 Thread tony.reix at atos dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29517 Tony Reix changed: What|Removed |Added CC||tony.reix at atos dot net --- Comment #12

[Bug c/94981] Wrong casts on Power machines dealing with fctiwuz instruction

2020-05-11 Thread tony.reix at atos dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94981 --- Comment #8 from Tony Reix --- On fedora31/x86_64, when compiling with -funsigned-char, some parts of Boost math do not compile. With some changes like: static_cast(-5) , it is easy to make these tests to work both with -fsigned-char or

[Bug c/94981] Wrong casts on Power machines dealing with fctiwuz instruction

2020-05-07 Thread tony.reix at atos dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94981 --- Comment #7 from Tony Reix --- (In reply to Andreas Schwab from comment #1) > Converting a negative float to an unsigned integer is undefined. http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf says (page 43): If the value of the

[Bug c/94981] Wrong casts on Power machines dealing with fctiwuz instruction

2020-05-07 Thread tony.reix at atos dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94981 --- Comment #5 from Tony Reix --- I'm not invoking myself directly this conversion. It is made by C++. The original issue appeared when running tests of Boost v1.73 math library, dealing with include code of C++ , line 324 of file:

[Bug c/94981] Wrong casts on Power machines dealing with fctiwuz instruction

2020-05-07 Thread tony.reix at atos dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94981 --- Comment #3 from Tony Reix --- (In reply to Andreas Schwab from comment #1) > Converting a negative float to an unsigned integer is undefined. Yes, I do see some comments about this in older GCC bugs. Like:

[Bug c/94981] Wrong casts on Power machines dealing with fctiwuz instruction

2020-05-07 Thread tony.reix at atos dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94981 --- Comment #2 from Tony Reix --- Big table was too large. Here is a shorter table. double -2 --> char float -2 --> char C | C++ --|---|---| | Default |

[Bug c/94981] New: Wrong casts on Power machines dealing with fctiwuz instruction

2020-05-07 Thread tony.reix at atos dot net
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: tony.reix at atos dot net Target Milestone: --- There are several issues dealing with GCC 8.30 and 9.3.0 (and also 10), for C and C++, on AIX and Fedora/PPC64LE . This appears when casting

[Bug other/80312] New: libatomic: add -fasynchronous-unwind-tables option for building

2017-04-04 Thread tony.reix at atos dot net
Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: tony.reix at atos dot net Target Milestone: --- Build libatomic with -fasynchronous-unwind-tables . It is required on AIX, at least, for Go. (suggestion in a discussion with Ian Lance

[Bug go/78172] gen-sysinfo.go vs AIX cred.h

2016-11-17 Thread tony.reix at atos dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78172 --- Comment #13 from Tony Reix --- We have experimented with 20161106 snapshot and the change does work fine. We have fixed our Proxy issue and we will work with GCC v7 trunk now. Now investigating other issues.

[Bug go/78172] gen-sysinfo.go vs AIX cred.h

2016-11-08 Thread tony.reix at atos dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78172 --- Comment #12 from Tony Reix --- Hi Ian We were working on official 6.2.0 version. We are now moving to trunk of version 7. Since we have a proxy issue with SVN for now due to security rules, we'll use the snapshots till the issue is

[Bug go/78172] gen-sysinfo.go vs AIX cred.h

2016-11-02 Thread tony.reix at atos dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78172 --- Comment #8 from Tony Reix --- Created attachment 39947 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39947=edit Patch for mksysinfo for ucred and in6_addr Here is the patch I talked about in the previous comment, now as a file. It is

[Bug go/78172] gen-sysinfo.go vs AIX cred.h

2016-11-02 Thread tony.reix at atos dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78172 --- Comment #6 from Tony Reix --- Created attachment 39946 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39946=edit Original sysinfo.go file Hi Ian Here is the sysinfo.go file that was generated at first. The previous sysinfo.go file