[Bug other/54490] [4.7 Regression] ICE: Spill failure in newlib build

2014-06-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54490

Richard Biener  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|4.7.4   |4.8.0

--- Comment #7 from Richard Biener  ---
Well, I suppose 4.8.0 works.


[Bug other/54490] [4.7 Regression] ICE: Spill failure in newlib build

2013-04-11 Thread rguenth at gcc dot gnu.org


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



Richard Biener  changed:



   What|Removed |Added



   Target Milestone|4.7.3   |4.7.4



--- Comment #6 from Richard Biener  2013-04-11 
07:59:33 UTC ---

GCC 4.7.3 is being released, adjusting target milestone.


[Bug other/54490] [4.7 Regression] ICE: Spill failure in newlib build

2012-11-03 Thread joel at gcc dot gnu.org


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



--- Comment #5 from Joel Sherrill  2012-11-04 01:56:28 
UTC ---

Created attachment 28605

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28605

Preprocessed test case - from newlib


[Bug other/54490] [4.7 Regression] ICE: Spill failure in newlib build

2012-11-03 Thread joel at gcc dot gnu.org


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



Joel Sherrill  changed:



   What|Removed |Added



 CC||joel at gcc dot gnu.org



--- Comment #4 from Joel Sherrill  2012-11-04 01:55:21 
UTC ---

Still happening but on a different file. Preprocessed source attached.



xgcc (GCC) 4.8.0 20121103 (experimental) [trunk revision 193124]



Short command to go with preprocessed source:







/home/joel/v850/tools/b-gcc-svn-avr-rtems4.11/./gcc/xgcc

-B/home/joel/v850/tools/b-gcc-svn-avr-rtems4.11/./gcc/ -mmcu=avr25  -Os 

-mcall-prologues  -Wall -fno-builtin  -g -O2 -c t.c



Fails similarly at -O2 and -Os. Works at -O0.



Full command:



/home/joel/v850/tools/b-gcc-svn-avr-rtems4.11/./gcc/xgcc

-B/home/joel/v850/tools/b-gcc-svn-avr-rtems4.11/./gcc/ -nostdinc

-B/home/joel/v850/tools/b-gcc-svn-avr-rtems4.11/avr-rtems4.11/avr25/newlib/

-isystem

/home/joel/v850/tools/b-gcc-svn-avr-rtems4.11/avr-rtems4.11/avr25/newlib/targ-include

-isystem /home/joel/v850/tools/gcc-svn/newlib/libc/include

-B/home/joel/v850/install/avr-rtems4.11/bin/

-B/home/joel/v850/install/avr-rtems4.11/lib/ -isystem

/home/joel/v850/install/avr-rtems4.11/include -isystem

/home/joel/v850/install/avr-rtems4.11/sys-include  -mmcu=avr25

-DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"

-DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\"

-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I.

-I../../../../../../gcc-svn/newlib/libc/time -Os -DPREFER_SIZE_OVER_SPEED

-mcall-prologues -D_COMPILING_NEWLIB -DMALLOC_PROVIDED -DEXIT_PROVIDED

-DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE

-DHAVE_FCNTL -DHAVE_ASSERT_FUNC -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT

-D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN -Wall -fno-builtin  -g

-O2 -c -o lib_a-tzset_r.o `test -f 'tzset_r.c' || echo

'../../../../../../gcc-svn/newlib/libc/time/'`tzset_r.c

../../../../../../gcc-svn/newlib/libc/time/tzset_r.c: In function '_tzset_r':

../../../../../../gcc-svn/newlib/libc/time/tzset_r.c:203:1: error: unable to

find a register to spill in class 'R0_REG'

 }

 ^

../../../../../../gcc-svn/newlib/libc/time/tzset_r.c:203:1: error: this is the

insn:

(insn 474 471 477 34 (set (mem:QI (post_dec:HI (reg/f:HI 32 __SP_L__)) [0 S1

A8])

(subreg:QI (reg/f:HI 441) 1))

../../../../../../gcc-svn/newlib/libc/time/tzset_r.c:128 1 {pushqi1}

 (expr_list:REG_ARGS_SIZE (const_int 13 [0xd])

(nil)))

../../../../../../gcc-svn/newlib/libc/time/tzset_r.c:203:1: internal compiler

error: in spill_failure, at reload1.c:2124

0x84b8885 _fatal_insn(char const*, rtx_def const*, char const*, int, char

const*)

../../gcc-svn/gcc/rtl-error.c:110

0x84b84ff spill_failure

../../gcc-svn/gcc/reload1.c:2124

0x84b84ff find_reload_regs

../../gcc-svn/gcc/reload1.c:2050

0x84b84ff select_reload_regs

../../gcc-svn/gcc/reload1.c:2070

0x84b84ff reload(rtx_def*, int)

../../gcc-svn/gcc/reload1.c:991

0x83e31fd do_reload

../../gcc-svn/gcc/ira.c:4636

0x83e31fd rest_of_handle_reload

../../gcc-svn/gcc/ira.c:4737

Please submit a full bug report,

with preprocessed source if appropriate.

Please include the complete backtrace with any bug report.

See  for instructions.

make: *** [lib_a-tzset_r.o] Error 1


[Bug other/54490] [4.7 Regression] ICE: Spill failure in newlib build

2012-09-20 Thread jakub at gcc dot gnu.org


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



Richard Guenther  changed:



   What|Removed |Added



   Target Milestone|--- |4.7.2



Jakub Jelinek  changed:



   What|Removed |Added



   Target Milestone|4.7.2   |4.7.3



--- Comment #3 from Jakub Jelinek  2012-09-20 
10:20:44 UTC ---

GCC 4.7.2 has been released.


[Bug other/54490] [4.7 Regression] ICE: Spill failure in newlib build

2012-09-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54490

Richard Guenther  changed:

   What|Removed |Added

   Target Milestone|--- |4.7.2


[Bug other/54490] [4.7 Regression] ICE: Spill failure in newlib build

2012-09-05 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54490

--- Comment #2 from Georg-Johann Lay  2012-09-05 
21:24:40 UTC ---
I see hundreds of spill fails riunning the test suite -- with AVR-Libc.  Some
months ago, 2 or 3 pathological test cases failes with spill fails.  Now there
are hundreds of fails for simple test cases...


[Bug other/54490] [4.7 Regression] ICE: Spill failure in newlib build

2012-09-05 Thread eric.weddington at atmel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54490

Eric Weddington  changed:

   What|Removed |Added

   Priority|P3  |P4
   Severity|major   |normal

--- Comment #1 from Eric Weddington  
2012-09-05 20:39:08 UTC ---
Reducing importance. I don't know of anyone building toolchains with the avr
target and using newlib as the C library. The avr-rtems target should be tried,
though.


[Bug other/54490] [4.7 Regression] ICE: Spill failure in newlib build

2012-09-05 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54490

Georg-Johann Lay  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2012-09-05
 CC||eric.weddington at atmel
   ||dot com
 Ever Confirmed|0   |1