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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [20031218-1.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Orgin: v.haisman@sh.cvut.cz
2
   Reduced by: Wolfgang Bangerth <bangerth@dealii.org>
3
   PR debug/12923  ICE in gen_subprogram_die with -O1 -g
4
   The problem was that this just to ICE with -O1  -g.  */
5
 
6
/* { dg-do compile } */
7
/* { dg-options "-O -g" } */
8
 
9
struct S {
10
  unsigned n;
11
};
12
 
13
inline void foo (struct S * mx) {
14
  mx->n = 1;
15
}
16
 
17
void bar () {
18
  foo (0);
19
}

powered by: WebSVN 2.1.0

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