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/] [g++.dg/] [eh/] [div.C] - Diff between revs 149 and 154

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

Rev 149 Rev 154
// { dg-do link }
// { dg-do link }
// { dg-options "-Os" }
// { dg-options "-Os" }
/* PR target/28014: main references unsigned divide, and the unwinder
/* PR target/28014: main references unsigned divide, and the unwinder
   references signed divide.
   references signed divide.
   If libgcc contains an object which defines both, and linking is done with
   If libgcc contains an object which defines both, and linking is done with
   a space-optimized library that defines these functions in separate objects,
   a space-optimized library that defines these functions in separate objects,
   you end up with the function for unsigned divide defined twice.  */
   you end up with the function for unsigned divide defined twice.  */
int
int
main (int c, char **argv)
main (int c, char **argv)
{
{
  return 0xffffU/c;
  return 0xffffU/c;
}
}
 
 

powered by: WebSVN 2.1.0

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