------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-02
20:13 -------
Here is the most reduced testcase that I could come up with:
struct LeveLogger
{
int currentLevel;
};
extern LeveLogger LL;
struct gg
{
~gg ( void )
{ LL.currentLevel = 1; }
};
void f(void);
void g ( void )
{
gg sll;
{
gg sll;
f();
}
f();
}It also occurs with 20050113 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19768
