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] Fix the one entry mem{{,p}cpy,move,set} optimization aliasing issues (PR middle-end/29272)


> No, they are ref-all before gimplification.

I meant that you're explicitly casting the addresses to ref-all types:

    arg 0 <nop_expr 0xf7db24a0
        type <pointer_type 0xf7daa930 type <pointer_type 0xf7daa4d0>
            static unsigned SI size <integer_cst 0xf7ce7880 32> unit size 
<integer_cst 0xf7ce7540 4>
            align 32 symtab 0 alias set -1>
        constant invariant
        arg 0 <addr_expr 0xf7db2480 type <pointer_type 0xf7daa850>
            constant invariant
            arg 0 <component_ref 0xf7dac1e0 type <pointer_type 0xf7daa4d0>
                arg 0 <var_decl 0xf7daa5b0 t> arg 1 <field_decl 0xf7daa540 
t>>>>>

so <pointer_type 0xf7daa850> is presumably not ref-all.

-- 
Eric Botcazou


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