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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [20040713-1.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-Os" } */
3
 
4
/* Extracted from PR 16443.  Contributed by Volker Reichelt.
5
   Scanning of __asm__ operands wasn't considering call-clobbered
6
   variables discovered before the aliasing pass.  This was causing a
7
   crash in verify_ssa() because 'p' was not being given an SSA_NAME.  */
8
 
9
void foo(char *p)
10
{
11
    __asm__ ("" ::: "memory");
12
}
13
 
14
void bar()
15
{
16
    static char *p;
17
    foo(p);
18
}

powered by: WebSVN 2.1.0

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