public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39212] ice for AVR target: unable to find a register to spill in class 'POINTER_REGS'
       [not found] <bug-39212-4@http.gcc.gnu.org/bugzilla/>
@ 2011-07-10 21:15 ` gjl at gcc dot gnu.org
  2011-07-11 17:58 ` eric.weddington at atmel dot com
  1 sibling, 0 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-07-10 21:15 UTC (permalink / raw)
  To: gcc-bugs

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?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/39212] ice for AVR target: unable to find a register to spill in class 'POINTER_REGS'
       [not found] <bug-39212-4@http.gcc.gnu.org/bugzilla/>
  2011-07-10 21:15 ` [Bug target/39212] ice for AVR target: unable to find a register to spill in class 'POINTER_REGS' gjl at gcc dot gnu.org
@ 2011-07-11 17:58 ` eric.weddington at atmel dot com
  1 sibling, 0 replies; 5+ messages in thread
From: eric.weddington at atmel dot com @ 2011-07-11 17:58 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/39212] ice for AVR target: unable to find a register to spill in class 'POINTER_REGS'
  2009-02-17  3:44 [Bug c/39212] New: " regehr at cs dot utah dot edu
  2009-02-17  5:02 ` [Bug target/39212] " eric dot weddington at atmel dot com
  2009-02-17  5:09 ` eric dot weddington at atmel dot com
@ 2009-03-20 19:30 ` LAL at pro dot onet dot pl
  2 siblings, 0 replies; 5+ messages in thread
From: LAL at pro dot onet dot pl @ 2009-03-20 19:30 UTC (permalink / raw)
  To: gcc-bugs



------- 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=17504&action=view)
Test case for spotting similar error

The host is Fedora 8.

[artur@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=4000000 -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=4000000' '-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=4000000 ../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=4000000' '-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=4000000' '-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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/39212] ice for AVR target: unable to find a register to spill in class 'POINTER_REGS'
  2009-02-17  3:44 [Bug c/39212] New: " regehr at cs dot utah dot edu
  2009-02-17  5:02 ` [Bug target/39212] " eric dot weddington at atmel dot com
@ 2009-02-17  5:09 ` eric dot weddington at atmel dot com
  2009-03-20 19:30 ` LAL at pro dot onet dot pl
  2 siblings, 0 replies; 5+ messages in thread
From: eric dot weddington at atmel dot com @ 2009-02-17  5:09 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/39212] ice for AVR target: unable to find a register to spill in class 'POINTER_REGS'
  2009-02-17  3:44 [Bug c/39212] New: " regehr at cs dot utah dot edu
@ 2009-02-17  5:02 ` eric dot weddington at atmel dot com
  2009-02-17  5:09 ` eric dot weddington at atmel dot com
  2009-03-20 19:30 ` LAL at pro dot onet dot pl
  2 siblings, 0 replies; 5+ messages in thread
From: eric dot weddington at atmel dot com @ 2009-02-17  5:02 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-11 17:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-39212-4@http.gcc.gnu.org/bugzilla/>
2011-07-10 21:15 ` [Bug target/39212] ice for AVR target: unable to find a register to spill in class 'POINTER_REGS' gjl at gcc dot gnu.org
2011-07-11 17:58 ` eric.weddington at atmel dot com
2009-02-17  3:44 [Bug c/39212] New: " regehr at cs dot utah dot edu
2009-02-17  5:02 ` [Bug target/39212] " eric dot weddington at atmel dot com
2009-02-17  5:09 ` eric dot weddington at atmel dot com
2009-03-20 19:30 ` LAL at pro dot onet dot pl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).