https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22448
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
--- Comment #4 from trick at icculus dot org 2009-02-11 13:38 ---
This also happens when dereferencing void pointers (this is invalid code
though, but I get the same error with the code in the first post):
void foo (void *p)
{
asm("" :: "g" (*p));
}
$ gcc -c foo.c
foo.c: In fun
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-28
16:38 ---
Turns out this is not really a regression. If you change g to r, it fails from
2.95.3 and up.
--
What|Removed |Added
---