This is the mail archive of the gcc-patches@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: [PATCH] Fix up Fortran line numbers (PR fortran/45186)


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.


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