[Bug c/85546] New: GCC assumes volatile asm block returns same value in loop

2018-04-26 Thread be11f157cd19c4a2ba1e9c70a38b1a74 at protonmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: be11f157cd19c4a2ba1e9c70a38b1a74 at protonmail dot com Target Milestone: --- Created attachment 44027 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44027&action=edit Code that trigg

[Bug inline-asm/85546] GCC assumes volatile asm block returns same value in loop

2018-04-26 Thread be11f157cd19c4a2ba1e9c70a38b1a74 at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85546 --- Comment #1 from be11f157cd19c4a2ba1e9c70a38b1a74 at protonmail dot com --- The code sample is compiled with gcc -ffreestanding -nostdlib -nostartfiles main.c