This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: I wonder how this happened?
- To: dave at hiauly1 dot hia dot nrc dot ca (John David Anglin)
- Subject: Re: I wonder how this happened?
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Wed, 4 Oct 2000 18:11:06 -0400 (EDT)
- Cc: gcc-bugs at gcc dot gnu dot org
> The problem is that the call to ungetc at line 1023 of rtl.c is partially gone.
It disappers in flow2. Here is the line in rtl.c.19.greg:
(note 585 1444 586 ("../../gcc/rtl.c") 1023 -1347440721)
(insn 586 585 587 (set (mem/f:SI (pre_dec:SI (reg:SI 14 sp)) 0)
(reg/v:SI 8 r8)) 16 {movsi} (nil)
(nil))
(insn 587 586 588 (set (mem/f:SI (pre_dec:SI (reg:SI 14 sp)) 0)
(reg/v:SI 6 r6)) 16 {movsi} (nil)
(nil))
(note 588 587 589 NOTE_INSN_DELETED 0)
(call_insn 589 588 590 (parallel[
(set (reg:SI 0 r0)
(call (mem:QI (symbol_ref:SI ("ungetc")) 0)
(const_int 8 [0x8])))
(set (reg:SI 14 sp)
(plus:SI (reg:SI 14 sp)
(const_int 8 [0x8])))
] ) 135 {call_value_pop} (nil)
(nil)
(nil))
(note 590 589 591 ("../../gcc/rtl.c") 1024 -1347440721)
Here is what is left after flow2:
(note 585 1444 586 ("../../gcc/rtl.c") 1023 -1347440721)
(insn 586 585 587 (set (mem/f:SI (pre_dec:SI (reg:SI 14 sp)) 0)
(reg/v:SI 8 r8)) 16 {movsi} (nil)
(nil))
(insn 587 586 588 (set (mem/f:SI (pre_dec:SI (reg:SI 14 sp)) 0)
(reg/v:SI 6 r6)) 16 {movsi} (nil)
(expr_list:REG_DEAD (reg/v:SI 6 r6)
(nil)))
(note 588 587 590 NOTE_INSN_DELETED 0)
(note 590 588 591 ("../../gcc/rtl.c") 1024 -1347440721)
Thoughts?
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)