This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
warning not issued
- To: egcs at cygnus dot com
- Subject: warning not issued
- From: Tudor Hulubei <tudor at cs dot unh dot edu>
- Date: Wed, 21 Oct 1998 16:22:58 -0400 (EDT)
- Organization: University of New Hampshire
- Reply-To: Tudor Hulubei <tudor at cs dot unh dot edu>
Hi,
The following code does not warn you that the initialization of `t' is
skipped. The result is a segfault when exiting main. I'm using
egcs-1.1b on RedHat 5.1.
#include <vector>
int
main(int argc)
{
goto done;
vector<int> t;
done:;
}
Regards,
Tudor