[Patch] Add option ftree-stdarg-opt

Tom de Vries Tom_deVries@mentor.com
Tue Feb 17 12:12:00 GMT 2015


Hi,

this patch adds option ftree-stdarg-opt, which switches pass_stdarg on or off.

Pass_stdarg does an optimization on cfun->va_list_gpr/fpr_size, and since it's 
an optimization, it's useful to be able to switch it off in case of a problem 
with the pass.

This is not a regression or documentation fix, so it doesn't classify as a stage 
4 patch. I could imagine it still being included in stage4 because it adds the 
possibility for a workaround in case of problems.

Bootstrapped and reg-tested on x86_64.

OK for stage1 (or even stage 4)?

Thanks,
- Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-ftree-stdarg-opt.patch
Type: text/x-patch
Size: 1350 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150217/9849fc72/attachment.bin>


More information about the Gcc-patches mailing list