https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69460
strntydog at gmail dot com changed:
What|Removed |Added
Version|5.2.0 |6.3.1
--- Comment #4 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69460
--- Comment #5 from strntydog at gmail dot com ---
I also just calculated the number of cycles each function takes:
Test 1 - 50% More CPU Cycles
Test 2 - 25% More CPU Cycles
Test 3 - 5% More CPU Cycles
Test 4 - 39% More CPU Cycles
Test 5 - 6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69460
--- Comment #6 from strntydog at gmail dot com ---
I have built GCC 7.1.0 and have tested this optimization bug against that. It
persists. Further, the new target cortx-m23 is affected by the bug, exactly
the same as Cortex M0/M0+ and M1
The
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: strntydog at gmail dot com
Target Milestone: ---
Created attachment 37451
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37451&action=edit
Test Source
Tested on GCC 4.9 and 5.2, under Linux
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69460
--- Comment #1 from strntydog at gmail dot com ---
Created attachment 37452
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37452&action=edit
Script to build the test and generate output files
This script builds the test.c file f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69460
--- Comment #2 from strntydog at gmail dot com ---
This code generation problem was also reported at:
https://bugs.launchpad.net/gcc-arm-embedded/+bug/1502611