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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pr42893.c] - Rev 689

Compare with Previous | Blame | View Log

/* { dg-do compile } */
/* { dg-options "-O3 -fdump-tree-optimized" } */
 
struct frame_info;
void tui_registers_changed_hook (void);
extern struct frame_info *deprecated_selected_frame;
int tui_refreshing_registers = 0;
void
tui_registers_changed_hook (void)
{
  struct frame_info *fi;
  fi = deprecated_selected_frame;
  if (fi)
 
    {
      if (tui_refreshing_registers == 0)
 
	{
	  tui_refreshing_registers = 1;
	  tui_refreshing_registers = 0;
	}
    }
  return;
}
 
/* No references to tui_refreshing_registers should remain.  */
/* { dg-final { scan-tree-dump-not "tui_refreshing_registers" "optimized"} } */
 
/* { dg-final { cleanup-tree-dump "optimized" } } */
 
 

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.