This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Disable tree-stdarg on a per-target basis
- From: "Giovanni Bajo" <rasky at develer dot com>
- To: "Eric Botcazou" <ebotcazou at libertysurf dot fr>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 26 May 2005 18:25:08 +0200
- Subject: Re: [PATCH] Disable tree-stdarg on a per-target basis
- References: <200505261203.49485.ebotcazou@libertysurf.fr>
Eric Botcazou <ebotcazou@libertysurf.fr> wrote:
> This patch adds a new target flag, TARGET_STDARG_OPTIMIZE_DISABLE, to make
it
> possible to disable the tree-level stdarg optimization pass, and defines
it to
> true on SPARC (I think the RTL CSE + DCE passes already eliminate as much
> stdarg overhead as tree-stdarg would there).
Do we want to keep on relying on the RTL optimizers for this? Moving this
optimization up to the tree level is on par with the current trend, even if
there is no immediate benefit in code generation.
--
Giovanni Bajo