This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: debug/6195: N_SLINE stab not produced for simple declarations
- From: ljrittle at gcc dot gnu dot org
- To: aryeh at dreamzion dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, ljrittle at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 26 Mar 2003 07:14:16 -0000
- Subject: Re: debug/6195: N_SLINE stab not produced for simple declarations
- Reply-to: ljrittle at gcc dot gnu dot org, aryeh at dreamzion dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, ljrittle at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: N_SLINE stab not produced for simple declarations
Responsible-Changed-From-To: unassigned->ljrittle
Responsible-Changed-By: ljrittle
Responsible-Changed-When: Wed Mar 26 07:14:16 2003
Responsible-Changed-Why:
Mine.
State-Changed-From-To: feedback->closed
State-Changed-By: ljrittle
State-Changed-When: Wed Mar 26 07:14:16 2003
State-Changed-Why:
Make your test case more complex:
int foo(int);
main()
{
int i;
foo(i);
}
Compile, with a request for stabs:
/usr/local/beta-gcc/bin/g++ -gstabs -S t.C # 3.4
Looks OK to me. I also looked at your original case with
2.95.4 as installed as the FreeBSD 4 system compiler and 3.2.2
as installed from ports it also looked correct.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6195