[Bug target/36043] gcc reads 8 bytes for a struct of size 6 which leads to sigsegv

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Apr 25 15:18:00 GMT 2008



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-04-25 15:17 -------
Forget that.  load_register_parameters converts

(mem/s:BLK (reg/v/f:DI 58 [ c ]) [0 S6 A16])

to

(mem/s:BLK (reg/v/f:DI 58 [ c ]) [0 S6 A16])

here:

          else if (partial == 0 || args[i].pass_on_stack)
            {
              rtx mem = validize_mem (args[i].value);


-- 


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



More information about the Gcc-bugs mailing list