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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [eh/] [div.C] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do link }
2
// { dg-options "-Os" }
3
/* PR target/28014: main references unsigned divide, and the unwinder
4
   references signed divide.
5
   If libgcc contains an object which defines both, and linking is done with
6
   a space-optimized library that defines these functions in separate objects,
7
   you end up with the function for unsigned divide defined twice.  */
8
int
9
main (int c, char **argv)
10
 
11
{
12
  return 0xffffU/c;
13
}

powered by: WebSVN 2.1.0

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