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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [inline16.C] - Blame information for rev 718

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/36959
2
// We shouldn't have to emit fromSlotB just because we need shuf_BZZZ.
3
// { dg-options -O }
4
// { dg-final { scan-assembler-not "_ZL9fromSlotBv" } }
5
 
6
static inline int *fromSlotB(void)
7
{
8
  static int shuf_BZZZ = 1;
9
  return &shuf_BZZZ;
10
}
11
 
12
int *p;
13
 
14
int main(void)
15
{
16
  p = fromSlotB();
17
  return (*p != 1);
18
}
19
 

powered by: WebSVN 2.1.0

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