[Bug middle-end/22448] ICE on dereferencing a label in an asm statement

2021-09-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22448 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug middle-end/22448] ICE on dereferencing a label in an asm statement

2009-02-11 Thread trick at icculus dot org
--- 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

[Bug middle-end/22448] ICE on dereferencing a label in an asm statement

2005-07-28 Thread pinskia at gcc dot gnu dot org
--- 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 ---