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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [h8300-bss-align-1.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 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.