* [Bug middle-end/21107] internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476
2005-04-19 14:36 [Bug c/21107] New: internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476 e9925248 at stud4 dot tuwien dot ac dot at
@ 2005-04-19 14:47 ` pinskia at gcc dot gnu dot org
2005-04-19 15:51 ` ericw at evcohs dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-19 14:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-19 14:47 -------
/* If this fails, we've overflowed the stack frame. Error nicely? */
gcc_assert (offset == trunc_int_for_mode (offset, Pmode));
Hmm, I wonder if this is a regression or not.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
Keywords| |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21107
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/21107] internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476
2005-04-19 14:36 [Bug c/21107] New: internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476 e9925248 at stud4 dot tuwien dot ac dot at
2005-04-19 14:47 ` [Bug middle-end/21107] " pinskia at gcc dot gnu dot org
@ 2005-04-19 15:51 ` ericw at evcohs dot com
2005-04-20 8:08 ` e9925248 at stud4 dot tuwien dot ac dot at
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ericw at evcohs dot com @ 2005-04-19 15:51 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ericw at evcohs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21107
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/21107] internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476
2005-04-19 14:36 [Bug c/21107] New: internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476 e9925248 at stud4 dot tuwien dot ac dot at
2005-04-19 14:47 ` [Bug middle-end/21107] " pinskia at gcc dot gnu dot org
2005-04-19 15:51 ` ericw at evcohs dot com
@ 2005-04-20 8:08 ` e9925248 at stud4 dot tuwien dot ac dot at
2005-04-29 12:39 ` [Bug middle-end/21107] [4.0/4.1 regression] " belyshev at depni dot sinp dot msu dot ru
2005-04-29 12:58 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: e9925248 at stud4 dot tuwien dot ac dot at @ 2005-04-20 8:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From e9925248 at stud4 dot tuwien dot ac dot at 2005-04-20 08:08 -------
It compiles on a older version (3.3.2):
$avr-gcc -S t.c
$cat t.s
.file "t.c"
.arch avr2
__SREG__ = 0x3f
__SP_H__ = 0x3e
__SP_L__ = 0x3d
__tmp_reg__ = 0
__zero_reg__ = 1
.global __do_copy_data
.global __do_clear_bss
.text
.global check1972
.type check1972, @function
check1972:
/* prologue: frame size=72000 */
push r28
push r29
in r28,__SP_L__
in r29,__SP_H__
subi r28,lo8(72000)
sbci r29,hi8(72000)
in __tmp_reg__,__SREG__
cli
out __SP_H__,r29
out __SREG__,__tmp_reg__
out __SP_L__,r28
/* prologue end (size=11) */
/* epilogue: frame size=72000 */
subi r28,lo8(-72000)
sbci r29,hi8(-72000)
in __tmp_reg__,__SREG__
cli
out __SP_H__,r29
out __SREG__,__tmp_reg__
out __SP_L__,r28
pop r29
pop r28
ret
/* epilogue end (size=10) */
/* function check1972 size 21 (0) */
.size check1972, .-check1972
/* File "t.c": code 21 = 0x0015 ( 0), prologues 11, epilogues 10 */
$avr-gcc -v
Reading specs from /usr/lib/gcc-lib/avr/3.3.2/specs
Configured with: ./configure --prefix=/usr --mandir=/usr/share/man --target=avr
--enable-languages=c
Thread model: single
gcc version 3.3.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21107
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/21107] [4.0/4.1 regression] internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476
2005-04-19 14:36 [Bug c/21107] New: internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476 e9925248 at stud4 dot tuwien dot ac dot at
` (2 preceding siblings ...)
2005-04-20 8:08 ` e9925248 at stud4 dot tuwien dot ac dot at
@ 2005-04-29 12:39 ` belyshev at depni dot sinp dot msu dot ru
2005-04-29 12:58 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-04-29 12:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-04-29 12:38 -------
Confirmed, note: the code is valid C.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
Keywords|ice-on-invalid-code |ice-on-valid-code
Known to fail| |4.0.0 4.0.1 4.1.0
Known to work| |3.4.4 3.3.2
Last reconfirmed|0000-00-00 00:00:00 |2005-04-29 12:38:31
date| |
Summary|internal compiler error: in |[4.0/4.1 regression]
|expand_one_stack_var_at, at |internal compiler error: in
|cfgexpand.c:476 |expand_one_stack_var_at, at
| |cfgexpand.c:476
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21107
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/21107] [4.0/4.1 regression] internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476
2005-04-19 14:36 [Bug c/21107] New: internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476 e9925248 at stud4 dot tuwien dot ac dot at
` (3 preceding siblings ...)
2005-04-29 12:39 ` [Bug middle-end/21107] [4.0/4.1 regression] " belyshev at depni dot sinp dot msu dot ru
@ 2005-04-29 12:58 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-29 12:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-29 12:58 -------
(In reply to comment #3)
> Confirmed, note: the code is valid C.
But we should be erroring out as the stack size is just too big for this target.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21107
^ permalink raw reply [flat|nested] 6+ messages in thread