[Bug c/59850] Support sparse-style pointer address spaces (type attributes)
tromey at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 1 05:26:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59850
Tom Tromey <tromey at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu.org
--- Comment #3 from Tom Tromey <tromey at gcc dot gnu.org> ---
I noticed this behavior and was wondering if it is intended:
bapiya. cat /tmp/q.c
__attribute__((force)) int *p;
int q = *p;
bapiya. sparse -Wno-decl /tmp/q.c
/tmp/q.c:2:10: warning: dereference of noderef expression
If so it would be good to know all the rules for "force" --
I stumbled across this by accident but then was wondering
if there are other rules I don't know of.
More information about the Gcc-bugs
mailing list