From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Lipe To: egcs@cygnus.com Subject: bug in expr.c? Date: Mon, 09 Feb 1998 21:34:00 -0000 Message-id: <19980209233414.16572@dgii.com> X-SW-Source: 1998-02/msg00396.html I was cleaning up warnings expr.c and believe this to be a bug. Can anyone that actually understands this confirm or deny this? expand_assignment() if (TREE_CODE (to) == COMPONENT_REF && TREE_READONLY (TREE_OPERAND (to, 1))) { if (offset = 0) to_rtx = copy_rtx (to_rtx); RTX_UNCHANGING_P (to_rtx) = 1; } That copy_rtx will never ever be called, right? Is the "obvious" fix of "offset == 0" correct? Thanx, RJL