[Bug c/87683] Inline asm input/output operand does not prevent compiler optimization

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

[Bug c/87683] Inline asm input/output operand does not prevent compiler optimization

2018-10-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87683 Richard Biener changed: What|Removed |Added Keywords||accepts-invalid, |

[Bug c/87683] Inline asm input/output operand does not prevent compiler optimization

2018-10-22 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87683 --- Comment #1 from Sebastian Huber --- It seems it has nothing to do with the non-null attribute. This function void d(void) { int s; void *p; s = posix_memalign(&p, 16, 16); if (s != 22) { a();