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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [20040713-1.c] - Blame information for rev 298

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.