--- Additional Comments From amodra at bigpond dot net dot au 2005-08-26
07:55 ---
Unfortunately the patch causes gcc.c-torture/compile/920928-5.c to fail on
powerpc-linux. Infinite recursion in gimplify_expr.
--
What|Removed |Added
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26
02:25 ---
Here is a full testcase:
struct g{};
char y[3];
char *f = &y[0];
char *ff = &y[0];
void h(void)
{
struct g t;
*((struct g*)(f++)) = *((struct g*)(ff++));
*((struct g*)(f++)) = (struct g){};
t = *((st
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26
01:42 ---
Mine since I caused it.
--
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26
01:40 ---
Here is a testcase which fails on all targets which shows a testcase where both
sides have side effects:
struct g{};
char y[3];
char *f = &y[0];
char *ff = &y[0];
void h(void)
{
*((struct g*)(f++)) = *((s
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-25
22:59 ---
CCing alan since he supplied the info.
--
What|Removed |Added
CC|
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-25
22:58 ---
This was caused by my patch:
> * gimplify.c (zero_sized_type): New function.
> (gimplify_modify_expr_rhs): If we have a zero sized type,
> replace the statement with an empty statement.
I
--- Additional Comments From phython at gcc dot gnu dot org 2005-08-24
05:46 ---
This looks to be a problem on sparc too:
http://gcc.gnu.org/ml/gcc-testresults/2005-08/msg01257.html
--
What|Removed |Added
-
--- Additional Comments From phython at gcc dot gnu dot org 2005-08-24
04:27 ---
I got this failure on ppc-linux as well.
--
What|Removed |Added
Status|UNCONFIRM
--
What|Removed |Added
CC||danglin at gcc dot gnu dot
||org
http://gcc.gnu.org/bugzilla/sh
--
What|Removed |Added
Keywords||wrong-code
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=
10 matches
Mail list logo