strength-reduced iteration variable ends up off by 1 (original) (raw)

Bug 15927 - THUMB -O2: strength-reduced iteration variable ends up off by 1

Summary: THUMB -O2: strength-reduced iteration variable ends up off by 1

| Status: RESOLVED FIXED Alias: None Product: gcc Classification: Unclassified Component: target (show other bugs) Version: 3.4.0 Importance: P2 normal Target Milestone: 3.4.2 Assignee: Richard Earnshaw URL: Keywords: wrong-code Depends on: Blocks: | | Reported: 2004-06-11 00:34 UTC by Dan Bornstein Modified: 2004-10-30 21:09 UTC (History) CC List: 2 users (show) See Also: Host: Target: arm-unknown-elf Build: Known to work: 4.0.0 Known to fail: 3.4.0 Last reconfirmed: 2004-06-22 14:41:39 | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | | |

| Attachments C source that demonstrates the problem (1.34 KB, text/plain) 2004-06-11 00:41 UTC,Dan Bornstein Details Annotated assembly (1.15 KB, text/plain) 2004-06-11 00:41 UTC,Dan Bornstein Details Better C Source (945 bytes, text/plain) 2004-06-11 05:32 UTC,Dan Bornstein Details Another C File (m2.c) (414 bytes, text/plain) 2004-06-19 00:36 UTC,Dan Bornstein Details Annotated source for m2.c (811 bytes, text/plain) 2004-06-19 00:37 UTC,Dan Bornstein Details annotated RTL dumps for m2.c (1.20 KB, text/plain) 2004-06-21 18:07 UTC,Dan Bornstein Details View All Add an attachment (proposed patch, testcase, etc.) Note You need tolog in before you can comment on or make changes to this bug. | | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |