OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20040206-1.c] - Blame information for rev 645

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -W -Wall" } */
3
/*  PR c/13127
4
    On the tree-ssa this used to warn about an anonymous
5
    uninitialized variable.
6
 
7
    The warning about "no return statement in function
8
    returning non-void" is PR 13000. */
9
 
10
static int foo (int a __attribute__((unused)) ) { } /* { dg-warning "control reaches end of non-void" } */
11
int main (void) { return foo (0); }

powered by: WebSVN 2.1.0

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