[Bug target/39212] ice for AVR target: unable to find a register to spill in class 'POINTER_REGS'

2011-07-11 Thread eric.weddington at atmel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39212

Eric Weddington eric.weddington at atmel dot com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME
   Target Milestone|--- |4.6.1

--- Comment #6 from Eric Weddington eric.weddington at atmel dot com 
2011-07-11 17:57:58 UTC ---
Since this works on 4.6.1, setting target milestone and closing.


[Bug target/39212] ice for AVR target: unable to find a register to spill in class 'POINTER_REGS'

2011-07-10 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39212

Georg-Johann Lay gjl at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
 CC||gjl at gcc dot gnu.org
  Known to work||4.5.2, 4.6.1
  Known to fail||

--- Comment #5 from Georg-Johann Lay gjl at gcc dot gnu.org 2011-07-10 
21:13:46 UTC ---
Eric, can I close this for 4.6.2?


[Bug target/39212] ice for AVR target: unable to find a register to spill in class 'POINTER_REGS'

2009-03-20 Thread LAL at pro dot onet dot pl


--- Comment #4 from LAL at pro dot onet dot pl  2009-03-20 19:29 ---
Created an attachment (id=17504)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17504action=view)
Test case for spotting similar error

The host is Fedora 8.

[ar...@gizmo AVR]$ avr-gcc -v -save-temps -std=gnu99 -pedantic -Wall
-Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Wshadow -Werror -g -Os
-mmcu=atmega8 -DF_CPU=400 -I../sst -I../examples -I. ../sst/sst_timer.c -c
-o sst_timer.o
Using built-in specs.
Target: avr
Configured with: ../gcc-4.3.3/configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --target=avr --enable-languages=c,c++ --disable-nls
--disable-libssp --with-system-zlib --enable-version-specific-runtime-libs
Thread model: single
gcc version 4.3.3 (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=gnu99' '-pedantic' '-Wall'
'-Wpointer-arith' '-Wstrict-prototypes' '-Winline' '-Wundef' '-Wshadow'
'-Werror' '-g' '-Os' '-mmcu=atmega8' '-DF_CPU=400' '-I../sst'
'-I../examples' '-I.' '-c' '-E'
 /usr/libexec/gcc/avr/4.3.3/cc1 -E -quiet -v -I../sst -I../examples -I.
-imultilib avr4 -DF_CPU=400 ../sst/sst_timer.c -mmcu=atmega8 -std=gnu99
-pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Wshadow
-Werror -fworking-directory -Os -fpch-preprocess
ignoring nonexistent directory
/usr/lib/gcc/avr/4.3.3/../../../../avr/sys-include
#include ... search starts here:
#include ... search starts here:
 ../sst
 ../examples
 .
 /usr/lib/gcc/avr/4.3.3/include
 /usr/lib/gcc/avr/4.3.3/include-fixed
 /usr/lib/gcc/avr/4.3.3/../../../../avr/include
End of search list.
COMPILER_PATH=/usr/libexec/gcc/avr/4.3.3/:/usr/libexec/gcc/avr/4.3.3/:/usr/libexec/gcc/avr/:/usr/lib/gcc/avr/4.3.3/:/usr/lib/gcc/avr/:/usr/lib/gcc/avr/4.3.3/../../../../avr/bin/
LIBRARY_PATH=/usr/lib/gcc/avr/4.3.3/avr4/:/usr/lib/gcc/avr/4.3.3/../../../../avr/lib/avr4/:/usr/lib/gcc/avr/4.3.3/:/usr/lib/gcc/avr/4.3.3/../../../../avr/lib/
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=gnu99' '-pedantic' '-Wall'
'-Wpointer-arith' '-Wstrict-prototypes' '-Winline' '-Wundef' '-Wshadow'
'-Werror' '-g' '-Os' '-mmcu=atmega8' '-DF_CPU=400' '-I../sst'
'-I../examples' '-I.' '-c' '-E'
Using built-in specs.
Target: avr
Configured with: ../gcc-4.3.3/configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --target=avr --enable-languages=c,c++ --disable-nls
--disable-libssp --with-system-zlib --enable-version-specific-runtime-libs
Thread model: single
gcc version 4.3.3 (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=gnu99' '-pedantic' '-Wall'
'-Wpointer-arith' '-Wstrict-prototypes' '-Winline' '-Wundef' '-Wshadow'
'-Werror' '-g' '-Os' '-mmcu=atmega8' '-DF_CPU=400' '-I../sst'
'-I../examples' '-I.' '-c' '-o'
'/home/artur/.ccache/tmp.hash.gizmo.my.net.7744.o'
 /usr/libexec/gcc/avr/4.3.3/cc1 -fpreprocessed
/home/artur/.ccache/sst_timer.tmp.gizmo.my.net.7744.i -quiet -dumpbase
sst_timer.tmp.gizmo.my.net.7744.i -mmcu=atmega8 -auxbase-strip
/home/artur/.ccache/tmp.hash.gizmo.my.net.7744.o -g -Os -pedantic -Wall
-Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Wshadow -Werror
-std=gnu99 -version -o sst_timer.tmp.gizmo.my.net.7744.s
GNU C (GCC) version 4.3.3 (avr)
compiled by GNU C version 4.1.2 20070925 (Red Hat 4.1.2-33), GMP
version 4.2.2, MPFR version 2.3.0-p2.
GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129486
Compiler executable checksum: 0f701a251c25f23220baf95564516c01
../sst/sst_timer.c: In function 'SST_TimerTick':
../sst/sst_timer.c:294: error: unable to find a register to spill in class
'BASE_POINTER_REGS'
../sst/sst_timer.c:294: error: this is the insn:
(insn 197 129 131 26 ../sst/sst_timer.c:288 (set (mem/c:QI (plus:HI (reg/f:HI
28 r28)
(const_int 1 [0x1])) [10 S1 A8])
(reg:QI 25 r25)) 4 {*movqi} (nil))
../sst/sst_timer.c:294: confused by earlier errors, bailing out


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39212



[Bug target/39212] ice for AVR target: unable to find a register to spill in class 'POINTER_REGS'

2009-02-16 Thread eric dot weddington at atmel dot com


--- Comment #2 from eric dot weddington at atmel dot com  2009-02-17 05:02 
---
Success on 4.3.2 with -O1 -finline-small-functions.
Fails on 4.3.2 with -O1 -fno-inline-small-functions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39212



[Bug target/39212] ice for AVR target: unable to find a register to spill in class 'POINTER_REGS'

2009-02-16 Thread eric dot weddington at atmel dot com


--- Comment #3 from eric dot weddington at atmel dot com  2009-02-17 05:09 
---
Fails on 4.3.2 with -O[123s] -fno-inline-small-functions.
Success on 4.3.2 with -O0 -fno-inline-small-functions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39212