URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// PR tree-opt/19768
|
// PR tree-opt/19768
|
// tree DSE was removing one store to LL.currentLevel
|
// tree DSE was removing one store to LL.currentLevel
|
// but forgot that since the vop was in an abnormal PHI
|
// but forgot that since the vop was in an abnormal PHI
|
// that we have to update the SSA_NAME which we propagate
|
// that we have to update the SSA_NAME which we propagate
|
// into the abnormal PHI
|
// into the abnormal PHI
|
|
|
// { dg-do compile }
|
// { dg-do compile }
|
// { dg-options "-O" }
|
// { dg-options "-O" }
|
|
|
struct LeveLogger
|
struct LeveLogger
|
{
|
{
|
int currentLevel;
|
int currentLevel;
|
};
|
};
|
extern LeveLogger LL;
|
extern LeveLogger LL;
|
struct gg
|
struct gg
|
{
|
{
|
~gg ( void )
|
~gg ( void )
|
{ LL.currentLevel = 1; }
|
{ LL.currentLevel = 1; }
|
};
|
};
|
void f(void);
|
void f(void);
|
void g ( void )
|
void g ( void )
|
{
|
{
|
gg sll;
|
gg sll;
|
{
|
{
|
gg sll;
|
gg sll;
|
f();
|
f();
|
}
|
}
|
f();
|
f();
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.