http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54358
--- Comment #6 from Jakub Jelinek 2012-08-23
14:10:30 UTC ---
If inline-asm is not involved, sure. But inline asm is a low level interface,
where it is user responsibility to supply correct constraints, we have some
quick measures, like a segfau
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54358
--- Comment #5 from Alexander Adam 2012-08-23 13:49:19 UTC ---
(In reply to comment #4)
> Yes, definitely invalid. With PIC p is not correct constraint for any code
> label, address of a variable etc., all that requires adding some offset to the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54358
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54358
--- Comment #3 from Richard Guenther 2012-08-23
11:54:12 UTC ---
Btw, I think this is invalid asm:
int ICE_func ( void)
{
void *returnaddr = &&retaddr;/* need the label address, works with
* function address