[Bug middle-end/97656] Specify that there is no address arithmetic on a pointer
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 2 07:43:54 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97656
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
It's of course not that simple since the GIMPLE IL can require pointer
arithmetic as implementation detail. I guess we could try modeling this as 'fn
spec'
by making 'direct' even stricter meaning 'direct w/o additional offset' so
we can build an exact ao_ref here. Maybe use
". WT"
for this? And the discussed 'a'...'z' for the "upper case" '1'...'9', both
to denote the range is exact? Note we discussed that we can this way
specify a must-def but here it's a may-def but with known offset. Guess
must vs. may would rather be another first letter like 'D'? (and only 'direct'
supported there obviously) And the upper case size specification means
at zero offset?
More information about the Gcc-bugs
mailing list