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/] [ssa-fre-4.c] - Diff between revs 298 and 338

Only display areas with differences | Details | Blame | View Log

Rev 298 Rev 338
/* If the target returns false for TARGET_PROMOTE_PROTOTYPES, then there
/* If the target returns false for TARGET_PROMOTE_PROTOTYPES, then there
   will be no casts for FRE to eliminate and the test will fail.  */
   will be no casts for FRE to eliminate and the test will fail.  */
/* { dg-do compile { target i?86-*-* x86_64-*-* hppa*-*-* mips*-*-* m68k*-*-* } } */
/* { dg-do compile { target i?86-*-* x86_64-*-* hppa*-*-* mips*-*-* m68k*-*-* } } */
/* { dg-options "-O -fdump-tree-fre-details" } */
/* { dg-options "-O -fdump-tree-fre-details" } */
 
 
/* From PR21608.  */
/* From PR21608.  */
 
 
static inline char wrap(char f) { return f; }
static inline char wrap(char f) { return f; }
char bar(char f)
char bar(char f)
{
{
        return wrap(f);
        return wrap(f);
}
}
 
 
/* { dg-final { scan-tree-dump "Replaced \\\(char\\\) .*with " "fre" } } */
/* { dg-final { scan-tree-dump "Replaced \\\(char\\\) .*with " "fre" } } */
/* { dg-final { cleanup-tree-dump "fre" } } */
/* { dg-final { cleanup-tree-dump "fre" } } */
 
 

powered by: WebSVN 2.1.0

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