This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: debug/5778: File for instruction incorrect when using #include
- From: rodrigc at gcc dot gnu dot org
- To: fmoraes at nc dot rr dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 27 Feb 2002 02:07:14 -0000
- Subject: Re: debug/5778: File for instruction incorrect when using #include
- Reply-to: rodrigc at gcc dot gnu dot org, fmoraes at nc dot rr dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: File for instruction incorrect when using #include
State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Tue Feb 26 18:07:13 2002
State-Changed-Why:
id main(int argc, char **argv)
{
int a=0;
int b=3;
#include "demo.cpp"
}
demo.cpp:
/*
Useless comments to eat lines
*/
// dummy instructions just to show problem
if(b > a)
b++;
if(b > 5)
a=3;
Cannot reproduce problem with above testcase using
gcc 3.0.4. Consult Red Hat for further issues regarding
gcc 2.96.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5778