This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/21107] internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]