GCC hangs (never completes) with test case using -frtl-abstract-sequences. Command line: avr-gcc -mmcu=atmega169 -Os -frtl-abstract-sequences -c test.c -o test.o The test case fails with -O[23s], but is successful with -O[01].
Created attachment 15365 [details] C test case
Created attachment 15366 [details] Preprocessed test case
I've reduced the test case to the smallest that I could get to. Note that when the showtext() function call is replaced by its contents, the test case passed for -Os. Also, pgm_read_word() in the C test case is a macro (from the avr-libc library) that generates inline assembly.
This is most likely a dup of bug 33009.
The patch in bug #33009 does indeed fix the problem that I'm seeing. Closing bug as duplicate of #33009. *** This bug has been marked as a duplicate of 33009 ***