This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: program runs until end of subroutine!
- From: Andrew Haley <aph at redhat dot com>
- To: "fatemeh.mirjani" <f_mirjani at ph dot iut dot ac dot ir>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Sun, 22 Jun 2008 10:32:41 +0100
- Subject: Re: program runs until end of subroutine!
- References: <18206708.88251214119948970.JavaMail.root@mta.iut.ac.ir>
fatemeh.mirjani wrote:
> Dear all;
>
> I have envisaged a problem in my program and many a time I worked on
> it but I couldn't find the mistake. When I call the subroutine, the
> program runs until end of subroutine, but it cannot comes out of the
> subroutine. (the next command after calling the subroutine in the main
> program doesn't run.) you can see the error of run at below.
> Have you ever seen this error?
Yes. Go to http://valgrind.org/
Andrew.