OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [uninit-C.c] - Blame information for rev 455

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Spurious uninitialized variable warning, inspired by libgcc2.c.  */
2
/* { dg-do compile } */
3
/* { dg-options "-O -Wuninitialized" } */
4
 
5
/* Not all platforms support TImode integers.  */
6
#if defined(__LP64__) && !defined(__hppa__)
7
typedef int TItype __attribute__ ((mode (TI)));
8
#else
9
typedef long TItype;
10
#endif
11
 
12
 
13
TItype
14
__subvdi3 (TItype a, TItype b)
15
{
16
  TItype w;
17
 
18
  w = a - b;
19
 
20
  return w;
21
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.