This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: debug/5778: File for instruction incorrect when using #include
- From: "Francisco Moraes" <fmoraes at nc dot rr dot com>
- 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>
- Date: Tue, 26 Feb 2002 20:48:50 -0500
- Subject: Re: debug/5778: File for instruction incorrect when using #include
- References: <20020227012800.5407.qmail@sources.redhat.com>
I attached the test case but it must have failed. In any case:
test.cpp:
void 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;
I understand version 2.96 is RedHat only but the problem seems to basic to
me at least.
Francisco
----- Original Message -----
From: <rodrigc@gcc.gnu.org>
To: <fmoraes@nc.rr.com>; <gcc-bugs@gcc.gnu.org>; <gcc-prs@gcc.gnu.org>;
<nobody@gcc.gnu.org>
Sent: Tuesday, February 26, 2002 8:28 PM
Subject: Re: debug/5778: File for instruction incorrect when using #include
> Synopsis: File for instruction incorrect when using #include
>
> State-Changed-From-To: open->feedback
> State-Changed-By: rodrigc
> State-Changed-When: Tue Feb 26 17:27:59 2002
> State-Changed-Why:
> You did not provide a testcase as mentioned in
> http://gcc.gnu.org/bugs.html
>
> Also, gcc 2.96 is not a version supported by the GCC project.
> You should report bugs about this version of gcc
> to Red Hat: http://bugzilla.redhat.com/bugzilla
>
> Do you have a reproduceable test case?
>
>
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
r=5778