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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tm/] [pr47520.c] - Rev 706

Go to most recent revision | Compare with Previous | Blame | View Log

/* { dg-do compile } */
/* { dg-options "-fgnu-tm -O" } */
 
struct ReadSeqVars
{
	int format;
	char *ss;
};
 
void rms_feof(struct ReadSeqVars *);
 
__attribute__((transaction_callable)) int ReadSeq(struct ReadSeqVars *V)
{
	if (V->format > 1)
	{
		if ((V->format != 2) && (V->ss != (void*)0) )
		{
			V->format = 3;
		}
	}
	else
	{
		int i = 0;
		for (i = 0; i < 1; i++)
		{
		}
		rms_feof(V);
	}
}
 

Go to most recent revision | 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.