[Bug target/85961] scratch register rsi used after function call

2018-05-29 Thread bki at hacon dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85961 --- Comment #4 from bki at hacon dot de --- (In reply to Alexander Monakov from comment #3) > You'd need to disable IPA-RA after forcing -O2 with the pragma, i.e.: > > #pragma GCC optimize "O2" > #pragma GCC opt

[Bug target/85961] scratch register rsi used after function call

2018-05-29 Thread bki at hacon dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85961 --- Comment #2 from bki at hacon dot de --- (In reply to Richard Biener from comment #1) > To me it shoulds you are messing with the ABI behind GCCs back. True. I'd still argue that the SysV-ABI suggests that a caller would need to s

[Bug c++/85961] New: scratch register rsi used after function call

2018-05-28 Thread bki at hacon dot de
++ Assignee: unassigned at gcc dot gnu.org Reporter: bki at hacon dot de Target Milestone: --- Created attachment 44203 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44203=edit Minimal cpp-File producing the bug With g++ 7.0.0 and g++ 7.3.0 and compiling the attac