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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [Wpointer-sign.c] - Diff between revs 816 and 826

Only display areas with differences | Details | Blame | View Log

Rev 816 Rev 826
/* This is from PR c/25892.  The SC promised RMS that -Wpointer-sign
/* This is from PR c/25892.  The SC promised RMS that -Wpointer-sign
   would be off by default in GCC 4.1 to avoid inconvenient warnings
   would be off by default in GCC 4.1 to avoid inconvenient warnings
   while compiling GNU Emacs.  It should be enabled with -Wall and/or
   while compiling GNU Emacs.  It should be enabled with -Wall and/or
   -pedantic, though.  Make sure it's off by default in this test (so
   -pedantic, though.  Make sure it's off by default in this test (so
   use dg-options "" to avoid passing -pedantic-errors).  */
   use dg-options "" to avoid passing -pedantic-errors).  */
 
 
/* { dg-options "" } */
/* { dg-options "" } */
 
 
void foo(unsigned long* ulp);
void foo(unsigned long* ulp);
 
 
void bar(long* lp) {
void bar(long* lp) {
  foo(lp);
  foo(lp);
}
}
 
 

powered by: WebSVN 2.1.0

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