URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 338 |
// { dg-do compile }
|
// { dg-do compile }
|
// { dg-options "-fdump-tree-gimple" }
|
// { dg-options "-fdump-tree-gimple" }
|
|
|
struct s { int x, y; };
|
struct s { int x, y; };
|
short offsets[1] = {
|
short offsets[1] = {
|
((char*) &(((struct s*)16)->y) - (char *)16),
|
((char*) &(((struct s*)16)->y) - (char *)16),
|
};
|
};
|
|
|
// This ensures that we get a dump whether or not the bug is present.
|
// This ensures that we get a dump whether or not the bug is present.
|
void fn() { }
|
void fn() { }
|
|
|
// { dg-final { scan-tree-dump-not "initialization" "gimple" } }
|
// { dg-final { scan-tree-dump-not "initialization" "gimple" } }
|
// { dg-final { cleanup-tree-dump "gimple" } }
|
// { dg-final { cleanup-tree-dump "gimple" } }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.