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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tm/] [memset-2.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 "-fgnu-tm -fdump-tree-tmlower" } */
3
 
4
char array[4];
5
 
6
void *memset(void *s, int c, __SIZE_TYPE__);
7
 
8
int main()
9
{
10
  __transaction_atomic {
11
    memset(array, 'b', sizeof(4));
12
  }
13
  return 0;
14
}
15
 
16
/* { dg-final { scan-tree-dump-times "GTMA_HAVE_STORE" 1 "tmlower" } } */
17
/* { dg-final { cleanup-tree-dump "tmlower" } } */

powered by: WebSVN 2.1.0

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