RFR: Using XNEW.../XCNEW... allocations.
Marcin Dalecki
martin@dalecki.de
Tue Jan 31 12:32:00 GMT 2006
The attached patch is making a lot of places use the libiberty type-safe
memory allocation wrapper XNEW... macro family. This is making the
code a bit less terse
and more type safe. Everything inside this patch has been
automatically verifyed.
OK to apply to trunk?
2006-01-31 Marcin Dalecki <martin@dalecki.de>
* tree-vrp.c: use XNEW/XCNEW allocation wrappers.
* regrename.c: ditto.
* tree-ssa-loop-im.c: ditto.
* tree-dump.c: ditto.
* tree-complex.c: ditto.
* genrecog.c: ditto.
* tree-ssa-threadupdate.c: ditto.
* tracer.c: ditto.
* java/class.c: ditto.
* java/jcf-parse.c: ditto.
* java/resource.c: ditto.
* java/except.c: ditto.
* java/jvspec.c: ditto.
* java/jcf-write.c: ditto.
* java/jcf-path.c: ditto.
* java/gjavah.c: ditto.
* java/zextract.c: ditto.
* java/jcf-io.c: ditto.
* java/jcf.h: ditto.
* java/buffer.c: ditto.
* java/lang.c: ditto.
* java/parse-scan.y: ditto.
* java/lex.c: ditto.
* java/lex.h: ditto.
* cfgloopmanip.c: ditto.
* postreload-gcse.c: ditto.
* tree-ssa-loop-manip.c: ditto.
* postreload.c: ditto.
* tree-ssa-loop-ch.c: ditto.
* loop.c: ditto.
* ipa-cp.c: ditto.
* cppspec.c: ditto.
* diagnostic.c: ditto.
* final.c: ditto.
* genoutput.c: ditto.
* gcc.c: ditto.
* cfghooks.c: ditto.
* cfgloopanal.c: ditto.
* objc/objc-act.c: ditto.
* gcov.c: ditto.
* genextract.c: ditto.
* genautomata.c: ditto.
* pretty-print.c: ditto.
* genemit.c: ditto.
* cgraphunit.c: ditto.
* flow.c: ditto.
* df-scan.c: ditto.
* haifa-sched.c: ditto.
* dominance.c: ditto.
* dbxout.c: ditto.
* tree-ssa-loop-ivopts.c: ditto.
* df-core.c: ditto.
* mode-switching.c: ditto.
* modulo-sched.c: ditto.
* graph.c: ditto.
* ipa-pure-const.c: ditto.
* cse.c: ditto.
* fix-header.c: ditto.
* web.c: ditto.
* tree-stdarg.c: ditto.
* ipa-utils.c: ditto.
* loop-init.c: ditto.
* ipa-inline.c: ditto.
* cfganal.c: ditto.
* global.c: ditto.
* alloc-pool.c: ditto.
* dwarf2out.c: ditto.
* opts.c: ditto.
* genattrtab.c: ditto.
* tree-ssa-loop-ivcanon.c: ditto.
* predict.c: ditto.
* timevar.c: ditto.
* lcm.c: ditto.
* fortran/gfortranspec.c: ditto.
* regmove.c: ditto.
* local-alloc.c: ditto.
* langhooks.c: ditto.
* function.c: ditto.
* tree-vectorizer.c: ditto.
* gcse.c: ditto.
* ipa-type-escape.c: ditto.
* alias.c: ditto.
* tree-if-conv.c: ditto.
* profile.c: ditto.
* ipa.c: ditto.
* tree-data-ref.c: ditto.
* loop-unroll.c: ditto.
* treelang/treetree.c: ditto.
* calls.c: ditto.
* bt-load.c: ditto.
* ggc-common.c: ditto.
* except.c: ditto.
* coverage.c: ditto.
* cselib.c: ditto.
* tree-cfgcleanup.c: ditto.
* tree-ssa-pre.c: ditto.
* cfgcleanup.c: ditto.
* loop-invariant.c: ditto.
* loop-iv.c: ditto.
* ipa-prop.c: ditto.
* print-tree.c: ditto.
* conflict.c: ditto.
* ggc-page.c: ditto.
* sched-deps.c: ditto.
* regclass.c: ditto.
* tree-object-size.c: ditto.
* combine.c: ditto.
* bb-reorder.c: ditto.
* resource.c: ditto.
* var-tracking.c: ditto.
* cfgloop.c: ditto.
* df-problems.c: ditto.
* reg-stack.c: ditto.
* tlink.c: ditto.
* gccspec.c: ditto.
* sched-rgn.c: ditto.
* tree-ssa-structalias.c: ditto.
* tree-ssa-reassoc.c: ditto.
* config/darwin-c.c: ditto.
* config/darwin.c: ditto.
* config/arm/arm.c: ditto.
* cfgrtl.c: ditto.
* collect2.c: ditto.
* reload1.c: ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-xnew.patch
Type: application/octet-stream
Size: 152039 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060131/985df9c6/attachment.obj>
More information about the Gcc-patches
mailing list