https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91918
--- Comment #4 from Maria Matejka ---
This bug applies also on v9.2.0.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91918
--- Comment #3 from Maria Matejka ---
Created attachment 46953
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46953&action=edit
Compiler output on gcc -v -save-temps
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91918
--- Comment #2 from Maria Matejka ---
Created attachment 46952
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46952&action=edit
generated assembler code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91918
--- Comment #1 from Maria Matejka ---
Created attachment 46951
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46951&action=edit
preprocessed source file
erity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: mq at ucw dot cz
Target Milestone: ---
Passing second argument (desired) to atomic_compare_exchange as const pointer
doesn'ลง cause an error and silently segfaults, as in