[Bug target/21389] optimized code seg faults due to double load on sparcV9

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 6 18:54:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-06 18:54 -------
I think you violating alignment rules in C:

	x = tptr[1].f3;
	p = (char *)tptr;
	p += 4;
	tptr = (test1 *)p;

-- 


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



More information about the Gcc-bugs mailing list