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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [debug/] [pr36690-1.c] - Blame information for rev 701

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR debug/36690 */
2
/* Verify that break func is hit.
3
   This version of the test just checks that it can be compiled, linked
4
   and executed, further testing is done in corresponding gcc.dg/dwarf2/
5
   test and hopefully in gdb testsuite.  */
6
/* { dg-do run } */
7
/* { dg-options "-O0 -g -dA" } */
8
 
9
int i;
10
 
11
void
12
func (void)
13
{
14
  while (i == 1)
15
    i = 0;
16
}
17
 
18
int
19
main (void)
20
{
21
  func ();
22
  return 0;
23
}

powered by: WebSVN 2.1.0

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