[PATCH] Fix problem in final.c
Eric Botcazou
ebotcazou@adacore.com
Wed Nov 9 17:12:00 GMT 2005
> It's a style issue, but I would prefer to see force_source_line moved
> up next to the definition of last_filename, instead of putting the
> static variable in a function. Then, as a secondary effect, you won't
> need to add a parameter to notice_source_line, you will just check the
> file-static variable there.
Here's what I've installed. Bootstrapped/regtested on x86_64-suse-linux.
Thanks for the review.
2005-11-09 Eric Botcazou <ebotcazou@adacore.com>
* final.c (force_source_line): New global variable.
(final_scan_insn): Set it to true instead of clearing last_filename.
(notice_source_line): Return true if force_source_line is true,
unless source info is absent.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e526-006_fsf-2.diff
Type: text/x-diff
Size: 2131 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20051109/50093e62/attachment.bin>
More information about the Gcc-patches
mailing list