http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54831



H.J. Lu <hjl.tools at gmail dot com> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|hjl at gcc dot gnu.org      |aoliva at gcc dot gnu.org,

                   |                            |hjl.tools at gmail dot com

          Component|tree-optimization           |debug



--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-10-07 17:00:21 
UTC ---

vt_add_function_parameter fails to properly handle



(gdb) call debug_tree (parm)

 <parm_decl 0x7ffff1aee180 f

    type <record_type 0x7ffff1ae7930 mptr TI

        size <integer_cst 0x7ffff197ee40 constant 128>

        unit size <integer_cst 0x7ffff197ee60 constant 16>

        align 64 symtab -241540480 alias set -1 canonical type 0x7ffff1ae7888

        fields <field_decl 0x7ffff1ae5720 __pfn type <pointer_type

0x7ffff1ae77e0>

            unsigned DI file x.ii line 7 col 26

            size <integer_cst 0x7ffff197edc0 constant 64>

            unit size <integer_cst 0x7ffff197ede0 constant 8>

            align 64 offset_align 128

            offset <integer_cst 0x7ffff197ee00 constant 0>

            bit offset <integer_cst 0x7ffff197ee80 constant 0> context

<record_type 0x7ffff1ae7888> chain <field_decl 0x7ffff1ae57b8 __delta>>

        ptrmemfunc fn type <pointer_type 0x7ffff1ae77e0 type <method_type

0x7ffff1ae7738>

            asm_written unsigned DI size <integer_cst 0x7ffff197edc0 64> unit

size <integer_cst 0x7ffff197ede0 8>

            align 64 symtab -241540080 alias set -1 canonical type

0x7ffff1ae77e0>

        pointer_to_this <pointer_type 0x7ffff1af4150> chain <type_decl

0x7ffff1ae3a10 __ptrmemfunc_type>>

    used TI file x.ii line 12 col 16 size <integer_cst 0x7ffff197ee40 128> unit

size <integer_cst 0x7ffff197ee60 16>

    align 64 context <function_decl 0x7ffff1ae6c00 foo>



    (mem/c:TI (symbol_ref:DI ("gmp") [flags 0x2] <var_decl 0x7ffff1ae5850 gmp>)

[0 gmp+0 S16 A64]) arg-type <record_type 0x7ffff1ae7930 mptr>

    incoming-rtl (parallel:TI [

        (expr_list:REG_DEP_TRUE (reg:DI 5 di [ f ])

            (const_int 0 [0]))

        (expr_list:REG_DEP_TRUE (reg:DI 4 si [ f+8 ])

            (const_int 8 [0x8]))

    ])>

(gdb)

Reply via email to