URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [struct/] [wo_prof_escape_str_init.c] - Rev 319
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-do run } */ #include <stdlib.h> typedef struct { int a; int b; }str_t; #define N 2 str_t A[2] = {{1,1},{2,2}}; int main () { int i; for (i = 0; i < N; i++) A[i].b = A[i].a; for (i = 0; i < N; i++) if (A[i].b != A[i].a) abort (); return 0; } /*--------------------------------------------------------------------------*/ /* { dg-final { scan-ipa-dump "is initialized...Excluded" "ipa_struct_reorg" } } */ /* { dg-final { cleanup-ipa-dump "*" } } */
Go to most recent revision | Compare with Previous | Blame | View Log