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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [Wpointer-sign.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 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.