This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: debug/5778: File for instruction incorrect when using #include


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]