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

Re: [PATCH] Fix *two* AVR backend bugs (PR19293 + PR19329)



On Jan 23, 2005, at 7:39 PM, Bernardo Innocenti wrote:


The shift by 0 slips through also in 3.4.2/3.4.3 as reported
in PR19329.  I never saw out of range shifts in 3.4, so this
may be a 4.0 regression.

Well if you have the following:


int f(int i)
{
  int j = -1;
  return i<<j;
}

You will get at expand time i<<-1 so have a regression since
it now ICEs but before it did not because we did not do
propagation at the tree level before but the bug was latent.

-- Pinski


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