This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [vta] don't expand strings just because of debug info
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 03 Jan 2008 05:28:32 -0200
- Subject: Re: [vta] don't expand strings just because of debug info
- References: <ork5mrjrs9.fsf@oliva.athome.lsd.ic.unicamp.br>
On Jan 3, 2008, Alexandre Oliva <aoliva@redhat.com> wrote:
> for gcc/ChangeLog.vta
> from Alexandre Oliva <aoliva@redhat.com>
> * cfgexpand.c (adjust_debug_string_constant): New.
> (debug_string_constants_p): New.
> (adjust_debug_string_constants): New.
> (expand_debug_expr): Don't expand STRING_CSTs unless we know
> we're actually going to need them.
> (tree_expand_cfg): Replace placeholders with a final decision.
Note to self: save the final newly-composed ChangeLog entry patch
*before* posting it :-/ The posted patch missed this entry:
* print-rtl.c (print_rtx): Recognize debug string placeholders.
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}