[Bug target/41055] libgcc functions and -mregparm don't work well together

2019-02-28 Thread hpa at zytor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41055 --- Comment #9 from H. Peter Anvin --- I can confirm this bug is still present as of gcc 8.2.1. I have attached a test case which clearly shows __udivdi3 called with the regparm convention, but libgcc definitely does not expect it: objdump -dr

[Bug target/41055] libgcc functions and -mregparm don't work well together

2019-02-28 Thread hpa at zytor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41055 --- Comment #8 from H. Peter Anvin --- Created attachment 45862 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45862&action=edit Test code (object output)

[Bug target/41055] libgcc functions and -mregparm don't work well together

2019-02-28 Thread hpa at zytor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41055 --- Comment #7 from H. Peter Anvin --- Created attachment 45861 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45861&action=edit Test case (assembly output)

[Bug target/41055] libgcc functions and -mregparm don't work well together

2019-02-28 Thread hpa at zytor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41055 --- Comment #6 from H. Peter Anvin --- Created attachment 45860 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45860&action=edit Test case (preprocessed)

[Bug target/41055] libgcc functions and -mregparm don't work well together

2019-02-28 Thread hpa at zytor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41055 H. Peter Anvin changed: What|Removed |Added CC||hpa at zytor dot com --- Comment #5 fro