https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886
--- Comment #11 from Georg-Johann Lay ---
Created attachment 55132
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55132&action=edit
C++ test case for v5.4 -Os
I can confirm this with avr-g++-5.4.0 and the attached test case:
> avr-gcc-5.4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886
--- Comment #10 from Joe ---
probably noticed but code is always "i <" not "i =" as I stated in the previous
comments.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886
--- Comment #9 from Joe ---
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886
Joe changed:
What|Removed |Added
Version|7.3.0 |7.4.0
--- Comment #8 from Joe ---
Here is assembl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886
Jonathan Wakely changed:
What|Removed |Added
Status|WAITING |NEW
--- Comment #7 from Jonathan Wakel
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886
--- Comment #6 from Joe ---
Hmmm... Maybe 7.3.0 isn't supported either.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886
Joe changed:
What|Removed |Added
Version|5.4.0 |7.3.0
--- Comment #5 from Joe ---
Tested with 7.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886
--- Comment #4 from Jonathan Wakely ---
GCC 5.4 is no longer maintained or supported by the GCC project.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886
--- Comment #3 from Joe ---
Changing i to 127 produces following assembly...
volatile unsigned char x;
int main() {
while (1) {
for (unsigned char i = 0 ; i < 127 ; i++) {
x = i;
}
}
}
0090 :
90: 80 e0 ldi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886
--- Comment #2 from Joe ---
Using built-in specs.
Reading specs from /usr/lib/gcc/avr/5.4.0/device-specs/specs-avr2
COLLECT_GCC=avr-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/avr/5.4.0/lto-wrapper
Target: avr
Configured with: ../gcc/configure -v --enab
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886
Jonathan Wakely changed:
What|Removed |Added
Target||avr-*-*
Status|UNCONFIRMED
11 matches
Mail list logo