[tree-ssa] Patch: add -fuse-global-var

Dale Johannesen dalej@apple.com
Mon Jan 19 22:14:00 GMT 2004


This adds a new flag, -fuse-global-var, to control whether the 
.GLOBAL_VAR mechanism
is used or not.  The default is unchanged.  Two reasons:
- enable best code gen when the user is willing to accept slow 
compilation (e.g. benchmarking)
- permit construction of small testcases for bugs dependent on 
.GLOBAL_VAR being used
Bootstrapped and tested on Darwin.
-------------- next part --------------


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040119/cf14fa76/attachment.txt>
-------------- next part --------------


2004-01-19  Dale Johannesen  <dalej@apple.com>

         * common.opt:  Add -fuse-global-var (flag_use_global_var).
         opts.c:  Ditto.
         toplev.c:  Ditto.
         toplev.h:  Ditto.
         tree-dfa.c:  Use it.
         doc/invoke.texi:  Document it.


More information about the Gcc-patches mailing list