OpenCores
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/] [h8300-bss-align-1.c] - Blame information for rev 315

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

Line No. Rev Author Line
1 298 jeremybenn
/* Make sure that the H8 backend does align zero initialized variables. */
2
/* { dg-do compile { target h8300-*-* } } */
3
/* { dg-options "" } */
4
 
5
struct s {
6
  char a, b;
7
  long c;
8
};
9
 
10
struct s s = {0};
11
 
12
/* { dg-final { scan-assembler ".align" } } */

powered by: WebSVN 2.1.0

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