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.5.1/] [gcc/] [testsuite/] [gcc.dg/] [Wpointer-sign.c] - Blame information for rev 404

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

Line No. Rev Author Line
1 298 jeremybenn
/* This is from PR c/25892.  The SC promised RMS that -Wpointer-sign
2
   would be off by default in GCC 4.1 to avoid inconvenient warnings
3
   while compiling GNU Emacs.  It should be enabled with -Wall and/or
4
   -pedantic, though.  Make sure it's off by default in this test (so
5
   use dg-options "" to avoid passing -pedantic-errors).  */
6
 
7
/* { dg-options "" } */
8
 
9
void foo(unsigned long* ulp);
10
 
11
void bar(long* lp) {
12
  foo(lp);
13
}

powered by: WebSVN 2.1.0

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