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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [reginfo.c] - Diff between revs 280 and 378

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 280 Rev 378
Line 839... Line 839...
 
 
/* Mark register number I as global.  */
/* Mark register number I as global.  */
void
void
globalize_reg (int i)
globalize_reg (int i)
{
{
 
#ifdef STACK_REGS
 
  if (IN_RANGE (i, FIRST_STACK_REG, LAST_STACK_REG))
 
    {
 
      error ("stack register used for global register variable");
 
      return;
 
    }
 
#endif
 
 
  if (fixed_regs[i] == 0 && no_global_reg_vars)
  if (fixed_regs[i] == 0 && no_global_reg_vars)
    error ("global register variable follows a function definition");
    error ("global register variable follows a function definition");
 
 
  if (global_regs[i])
  if (global_regs[i])
    {
    {

powered by: WebSVN 2.1.0

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