re PR middle-end/7227 (bogus code generation with attribute mode TI)
PR middle-end/7227 * gcc.dg/uninit-C.c: New test. From-SVN: r61941
This commit is contained in:
parent
820e01bece
commit
2956f353ba
|
@ -1,3 +1,8 @@
|
|||
2003-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
PR middle-end/7227
|
||||
* gcc.dg/uninit-C.c: New test.
|
||||
|
||||
2003-01-27 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* g++.dg/abi/covariant1.C: New test.
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
/* 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;
|
||||
}
|
Loading…
Reference in New Issue