This is the mail archive of the gcc-patches@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]

Re: PATCH: Check all insns in fallthru to see if label is mentioned


>     > FAIL: gcc.c-torture/execute/strct-pack-1.c execution,  -O2
>     > FAIL: gcc.c-torture/execute/strct-pack-1.c execution,  -Os
> 
>     It is my guess that these failures are due to the "enhanced structure
>     offset tracking" patch.
> 
> Reworking that code is pretty high on my list, so I'll take responsibility
> for this one.  I hope to get to it by Tuesday.

In looking at the rtl, I also noticed virtual-stack-vars are being referenced
before they are initialized.  For example, I see the following rtl in main:

(insn 20 18 21 (set (reg:SI 98)
        (mem/s:SI (plus:SI (reg/f:SI 90 virtual-stack-vars)
	        (const_int 8 [0x8])) [5 trial.d+6 S4 A64])) -1 (nil)
    (nil))

(insn 21 20 23 (set (reg:SI 99)
        (and:SI (reg:SI 98)
	    (const_int 65535 [0xffff]))) -1 (nil)
    (nil))

(insn 23 21 25 (set (mem/s:SI (plus:SI (reg/f:SI 90 virtual-stack-vars)
		(const_int 8 [0x8])) [5 trial.d+6 S4 A64])
	(reg:SI 99)) -1 (nil)
    (nil))

What's the point of this?

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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