Patch installed for PR7227 gcc.dg/uninit-C.c

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Tue Jan 28 06:39:00 GMT 2003


I'm entirely not sure why, but PR7227 seems to have been fixed on or
about 1/26/03.  I closed it and installed the testcase for the PR on
the trunk and 3.3 as gcc.dg/uninit-C.c.

		--Kaveh


/* Spurious uninitialized variable warning, inspired by libgcc2.c.  */
/* { dg-do compile } */
/* { dg-options "-O -Wuninitialized" } */

typedef int TItype __attribute__ ((mode (TI)));

TItype
__subvdi3 (TItype a, TItype b)
{
  TItype w;
  
  w = a - b;
  
  return w;
}

--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu



More information about the Gcc-patches mailing list