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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [p6746.C] - Rev 699

Compare with Previous | Blame | View Log

// { dg-do assemble  }
// prms-id: 6746

class call_trace {
public:
  call_trace(const char* fcn_name);
  ~call_trace();
};

static char * last_tree;
extern "C" void prt();

char * smt_mark_stree() {
  const char* _my_name = "smt_mark_stree" ; 
  call_trace _t(_my_name);

  return last_tree = 0 ? (char*)0 : (prt(), (char*)0);
}

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.