[Bug target/106068] Infinite loop generated with -mcpu=cortex-m7 and -O2

2022-06-23 Thread dflogeras2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106068 --- Comment #2 from Dave Flogeras --- (In reply to Andrew Pinski from comment #1) > You access an out of bounds for the array dhcp_rx_options_given in the while > statement: > > while((dhcp_rx_options_given[8 + n] != 0) && (n < 2)) { > > >

[Bug c/106068] New: Infinite loop generated with -mcpu=cortex-m7 and -O2

2022-06-23 Thread dflogeras2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106068 Bug ID: 106068 Summary: Infinite loop generated with -mcpu=cortex-m7 and -O2 Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp