Processing commands for [EMAIL PROTECTED]:
> retitle 184108 [fixed in 3.3] ICE when warning about cleanup nastiness in
> switch statements
Bug#184108: ICE when warning about cleanup nastiness in switch statements
Changed Bug title.
> thanks
Stopping processing here.
Please contact
retitle 184108 [fixed in 3.3] ICE when warning about cleanup nastiness in
switch statements
thanks
Andrew Suffield writes:
> [EMAIL PROTECTED]:~$ g++ -ofoo foo.cpp
> foo.cpp: In function `int main()':
> foo.cpp:14: jump to case label
> foo.cpp:13: enters scope of non-POD `foo x'
>
> Internal c
Package: g++-3.2
Version: 1:3.2.3-0pre3
Severity: normal
==
[EMAIL PROTECTED]:~$ cat foo.cpp
#include
class foo
{
public: ~foo() { std::cout << "foo destroyed" << std::endl; }
};
int main(void)
{
switch (0)
{
case 0:
foo x;
case 1:
;
}
}
[EMAIL PROTECTED]:~$ g++ -o
3 matches
Mail list logo