OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [ssa-fre-3.c] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* This test requires:
2
 
3
      TRULY_NOOP_TRUNCATION (sizeof (int) * CHAR_BIT,
4
                             sizeof (long long) * CHAR_BIT)
5
 
6
   When the condition is true, we distribute "(int) (a + b)" as
7
   "(int) a + (int) b", otherwise we keep the original.  */
8
/* { dg-do compile { target { { ! mips64 } && { ! spu-*-* } } } } */
9
/* { dg-options "-O -fwrapv -fdump-tree-fre-details" } */
10
 
11
/* From PR14844.  */
12
 
13
int
14
foo (int a, int b)
15
{
16
  long long aa = a;
17
  long long bb = b;
18
  return aa + bb;
19
}
20
 
21
/* { dg-final { scan-tree-dump "Replaced \\\(int\\\) aa_.*with a_" "fre" } } */
22
/* { 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.