[Bug target/93622] bool register arguments are underspecified on x86_64

2020-02-07 Thread maxim.yegorushkin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93622 --- Comment #4 from Maxim Egorushkin --- I guess you are right, since clang compiles bool f(int a, int b) { return a == b; } into f(int, int): cmp edi, esi seteal ret Where sete does't change the 7

[Bug target/93622] bool register arguments are underspecified on x86_64

2020-02-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93622 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/93622] bool register arguments are underspecified on x86_64

2020-02-07 Thread maxim.yegorushkin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93622 --- Comment #2 from Maxim Egorushkin --- (In reply to Jakub Jelinek from comment #1) > clang doesn't follow the psABI. How can it possibly do so while staying binary compatible?

[Bug target/93622] bool register arguments are underspecified on x86_64

2020-02-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93622 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1