https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70399

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Mar 31 17:28:29 2016
New Revision: 234647

URL: https://gcc.gnu.org/viewcvs?rev=234647&root=gcc&view=rev
Log:
Fix PR hsa/70399

        PR hsa/70399
        * hsa-brig.c (hsa_op_immed::emit_to_buffer): Emit either
        a tree value or an immediate integer value to a buffer
        that is eventually copied to a BRIG section.
        (emit_immediate_operand): Call the function here.
        * hsa-dump.c (dump_hsa_immed): Remove checking assert.
        * hsa-gen.c (hsa_op_immed::hsa_op_immed): Remove initialization
        of class' fields that are removed.
        (hsa_op_immed::~hsa_op_immed): Remove deinitialization.
        * hsa.h (class hsa_op_immed): Remove m_brig_repr and
        m_brig_repr_size fields.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/hsa-brig.c
    trunk/gcc/hsa-dump.c
    trunk/gcc/hsa-gen.c
    trunk/gcc/hsa.h

Reply via email to