This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/37038] Bogus warning from GCC
- From: "sam at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Aug 2008 20:30:47 -0000
- Subject: [Bug ada/37038] Bogus warning from GCC
- References: <bug-37038-15321@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from sam at gcc dot gnu dot org 2008-08-10 20:30 -------
Subject: Re: Bogus warning from GCC
>> The warning is likely to come from tree-vrp.c.
> The only place which emits this warning is from c-common.c so I
> think someone needs to debug this a little bit. Place a breakpoint
> on warning and then look at the backtrace to figure out where the
> warning is coming from. If it is truly coming from c-common.c, then
> the Ada front-end is wrong to include that source at all.
As I wrote, it must be coming from tree-vrp.c: the warning message is
split on two lines there, which is why I didn't catch it either the
first time I looked for it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37038