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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [20040713-1.c] - Rev 826

Compare with Previous | Blame | View Log

/* { dg-do compile } */
/* { dg-options "-Os" } */
 
/* Extracted from PR 16443.  Contributed by Volker Reichelt.
   Scanning of __asm__ operands wasn't considering call-clobbered
   variables discovered before the aliasing pass.  This was causing a
   crash in verify_ssa() because 'p' was not being given an SSA_NAME.  */
 
void foo(char *p)
{
    __asm__ ("" ::: "memory");
}
 
void bar()
{
    static char *p;
    foo(p);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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