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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [tree-ssa/] [ssa-cast-1.C] - Rev 149

Go to most recent revision | Compare with Previous | Blame | View Log

/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-optimized" } */

int &f(int *a)
{
  return *a;
}

/* There should be no cast as pointer and references are
   considered the same type. */
/* { dg-final { scan-tree-dump-times "\\(int &\\)" 0 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */

Go to most recent revision | 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.