https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67882
Martin Sebor changed:
What|Removed |Added
Status|SUSPENDED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67882
Martin Sebor changed:
What|Removed |Added
Status|REOPENED|SUSPENDED
--- Comment #9 from Martin Sebo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67882
--- Comment #8 from Martin Sebor ---
See the discussion of the __builtin_offsetof (FA5_7, a5_7 [5][0]) case below:
https://gcc.gnu.org/ml/gcc-patches/2015-10/msg01993.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67882
--- Comment #7 from Segher Boessenkool ---
Discussed, where? I didn't see it. Got a link?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67882
--- Comment #6 from Martin Sebor ---
We discussed this case and agreed it's invalid because it attempts to compute
the offset of an element of an array past the end. The equivalent but correct
expression is:
assert(offsetof(s, fpr[32]) == offse
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67882
Segher Boessenkool changed:
What|Removed |Added
Status|RESOLVED|REOPENED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67882
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67882
--- Comment #3 from Martin Sebor ---
Author: msebor
Date: Tue Nov 3 18:53:19 2015
New Revision: 229717
URL: https://gcc.gnu.org/viewcvs?rev=229717&root=gcc&view=rev
Log:
PR c++-common/67882
* c-family/c-common.h (fold_offsetof_1): Add
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67882
--- Comment #2 from Martin Sebor ---
Patch posted for review:
https://gcc.gnu.org/ml/gcc-patches/2015-10/msg00915.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67882
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67882
--- Comment #1 from Martin Sebor ---
Created attachment 36459
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36459&action=edit
/home/remote/msebor/patches/gcc-67882-surprising_offsetof_result.patch
Proposed patch.
11 matches
Mail list logo