[Bug rtl-optimization/14319] incorrect optimization of union of structs with common initial sequences

2018-04-18 Thread txr at alumni dot caltech.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14319 --- Comment #14 from Tim Rentsch --- (In reply to James Kuyper from comment #11) That last message was in reply to James Kuyper in #11. I was expecting a reference would be added automatically.

[Bug rtl-optimization/14319] incorrect optimization of union of structs with common initial sequences

2018-04-18 Thread txr at alumni dot caltech.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14319 Tim Rentsch changed: What|Removed |Added CC||txr at alumni dot caltech.edu --- Comment

[Bug c/83584] "ISO C forbids conversion of object pointer to function pointer type" -- no, not really

2017-12-28 Thread txr at alumni dot caltech.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83584 --- Comment #16 from Tim Rentsch --- (In reply to Andrew Pinski from comment #14) > -pedantic is not designed to reject all programs that are not strictly > conforming, but to enable emitting all _required_ diagnostics. I > don't think a convers

[Bug c/83584] "ISO C forbids conversion of object pointer to function pointer type" -- no, not really

2017-12-26 Thread txr at alumni dot caltech.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83584 Tim Rentsch changed: What|Removed |Added CC||txr at alumni dot caltech.edu --- Comment

[Bug c/65892] gcc fails to implement N685 aliasing of union members

2016-11-02 Thread txr at alumni dot caltech.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #22 from Tim Rentsch --- [responding to comments from rguent...@suse.de in Comment 20] > GCC already implements this if you specify -fno-strict-aliasing. The main point of my comments is that the ISO C standard requires the behavior

[Bug c/65892] gcc fails to implement N685 aliasing of union members

2016-11-02 Thread txr at alumni dot caltech.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #21 from Tim Rentsch --- [responding to comments from jos...@codesourcery.com in Comment 19] >> Five: The answer to the question is clearly No. The example code >> is very much on point to the "one special guarantee" clause, and >>

[Bug c/65892] gcc fails to implement N685 aliasing of union members

2016-11-01 Thread txr at alumni dot caltech.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 Tim Rentsch changed: What|Removed |Added CC||txr at alumni dot caltech.edu --- Comment

[Bug rtl-optimization/14319] incorrect optimization of union of structs with common initial sequences

2016-11-01 Thread txr at alumni dot caltech.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14319 --- Comment #10 from Tim Rentsch --- I would like to add a few comments to the discussion. One: C and C++ are different in how they treat unions. My comments here are about C. I believe they apply to C++ as well, but I am not as familiar with