This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Fix PR debug/20253
On Thu, 2005-03-03 at 17:07 -0800, Mark Mitchell wrote:
> Daniel Berlin wrote:
> > This fixes debug/20253, a 3.4/4.0/4.1 regression.
>
> > Okay for mainline/4.0/3.4?
>
> Yes.
>
I've tried to apply it to 3.4, but the c-opts.c loop it touches seems is
significantly different than the 4.0 one.
Because i don't really quite understand the 3.4 loop, and how it is
supposed to be functioning (for example, the 3.4 loop looks like it is
trying to loop over all input files, like the 4.0 one, but it only calls
finish_file once, not in the loop).
As such, i don't feel comfortable patching that portion in.
If someone familiar with this code could tell me where i should place
start_source_file and end_source_file calls for the main input files,
i'm happy to do it and do the testing.
Until then, i have only applied this patch to the two tested versions,
4.0 and 4.1.
--Dan