This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix up Fortran line numbers (PR fortran/45186)
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Thu, 19 Aug 2010 11:21:20 -0700
- Subject: Re: [PATCH] Fix up Fortran line numbers (PR fortran/45186)
- References: <20100816204538.GB702@tyan-ft48-01.lab.bos.redhat.com>
On Mon, Aug 16, 2010 at 1:45 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> Hi!
>
> As discussed on IRC and in the PR, this patch fixes Fortran line info
> by basically going back to what GCC 4.4 did. ?The FE doesn't pass
> input_location to all the various build*/fold_build*/build*_v
> functions/macros when it creates the trees, there are more than 1000
> of such places.
>
> Ok for 4.5 (for which changing those 1000 places isn't really desirable)?
> What about 4.6?
>
> Bootstrapped/regtested on x86_64-linux and i686-linux.
>
> 2010-08-16 ?Jakub Jelinek ?<jakub@redhat.com>
>
> ? ? ? ?PR fortran/45186
> ? ? ? ?* trans.c (gfc_annotate_with_location): New function.
> ? ? ? ?(trans_code): Use it.
>
This patch caused:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45344
Do you need to update those Fortran testcases?
--
H.J.