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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [20030728-1.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-rtl-expand-details" } */
3
 
4
 
5
union tree_node;
6
typedef union tree_node *tree;
7
 
8
enum tree_code
9
{
10
  ARRAY_TYPE,
11
  LAST_AND_UNUSED_TREE_CODE
12
};
13
 
14
struct tree_common
15
{
16
  enum tree_code code:8;
17
};
18
 
19
 
20
 
21
 
22
 
23
union tree_node
24
{
25
  struct tree_common common;
26
};
27
 
28
 
29
 
30
 
31
int
32
objects_must_conflict_p (t1, t2)
33
     tree t1, t2;
34
{
35
 
36
  if ((t1->common.code == ARRAY_TYPE) != (t2
37
                                          && t2->common.code == ARRAY_TYPE))
38
    return 11;
39
 
40
 
41
  return foo (t2 ? get_alias_set (t2) : 0);
42
}
43
 
44
/* There should be one assignment of variables to the value zero.  There
45
   used to be two assignments, but improvements in threading allowed the
46
   second to be propagated into all its uses and eliminated.   */
47
/* { dg-final { scan-rtl-dump-times "PART.. = 0" 1 "expand"} } */
48
 
49
/* { dg-final { cleanup-rtl-dump "expand" } } */

powered by: WebSVN 2.1.0

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