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

[Bug target/36701] [4.4 Regression] unaligned access in gcc.c-torture/execute/complex-7.c



------- Comment #6 from hjl dot tools at gmail dot com  2008-07-07 22:25 -------
assign_parm_remove_parallels:

  if (GET_CODE (entry_parm) == PARALLEL && GET_MODE (entry_parm) != BLKmode)
    {
      rtx parmreg = gen_reg_rtx (GET_MODE (entry_parm));
      emit_group_store (parmreg, entry_parm, NULL_TREE,
                        GET_MODE_SIZE (GET_MODE (entry_parm)));
      entry_parm = parmreg;
    }      

is incorrect for ia64 HFA. You can't do

rtx parmreg = gen_reg_rtx (GET_MODE (entry_parm));

when entry_parm is HFA passed in GR:

(parallel:SC [
        (expr_list:REG_DEP_TRUE (reg:DI 117 in5 [ a5 ])
            (const_int 0 [0x0]))
    ])


-- 


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


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