http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59216
Bug ID: 59216 Summary: [ARM] negdi*extendsidi regression Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: christophe.lyon at st dot com Commit 197526 introduced a regression shown by the attached testcase. When working, it should print 80000000, while it prints ffffffff80000000. It works when compiling at -O0, and fails at -O2. Tested on Chromebook. The reduced testcase is derived from the GNU tar code & testsuite.