forked from iains/gcc-14-branch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce vNULL to use as a nil initializer for vec<>.
This patch implements Jakub's idea of adding an empty struct with a typecast operator that returns nil vectors. This is useful to shorten all the initializers when declaring vec instances or passing nil vectors as function arguments. 2012-11-20 Diego Novillo <[email protected]> Jakub Jelinek <[email protected]> ChangeLog * vec.h (struct vnull): Declare. (vNULL): Declare. * vec.c (vNULL): Define. * bb-reorder.c: Replace all vec<T, A>() initializers with vNULL. * cfgexpand.c: Likewise. * cfgloop.c: Likewise. * cfgloopanal.c: Likewise. * cfgloopmanip.c: Likewise. * cgraph.c: Likewise. * config/c6x/c6x.c: Likewise. * config/i386/i386.c: Likewise. * df-core.c: Likewise. * dominance.c: Likewise. * dwarf2out.c: Likewise. * except.c: Likewise. * function.c: Likewise. * gcse.c: Likewise. * genautomata.c: Likewise. * graphds.c: Likewise. * graphite-scop-detection.c: Likewise. * graphite.c: Likewise. * haifa-sched.c: Likewise. * ifcvt.c: Likewise. * ipa-cp.c: Likewise. * ipa-inline-analysis.c: Likewise. * ipa-inline-transform.c: Likewise. * ipa-inline.c: Likewise. * ipa-prop.c: Likewise. * ipa-split.c: Likewise. * ipa-utils.c: Likewise. * ira-build.c: Likewise. * lto-cgraph.c: Likewise. * lto-streamer-in.c: Likewise. * lto-symtab.c: Likewise. * opts-global.c: Likewise. * passes.c: Likewise. * ree.c: Likewise. * sched-deps.c: Likewise. * sel-sched-ir.c: Likewise. * sel-sched-ir.h: Likewise. * sel-sched.c: Likewise. * stor-layout.c: Likewise. * trans-mem.c: Likewise. * tree-call-cdce.c: Likewise. * tree-cfg.c: Likewise. * tree-data-ref.c: Likewise. * tree-diagnostic.c: Likewise. * tree-eh.c: Likewise. * tree-loop-distribution.c: Likewise. * tree-predcom.c: Likewise. * tree-ssa-loop-im.c: Likewise. * tree-ssa-loop-ivcanon.c: Likewise. * tree-ssa-loop-manip.c: Likewise. * tree-ssa-loop-niter.c: Likewise. * tree-ssa-loop-prefetch.c: Likewise. * tree-ssa-math-opts.c: Likewise. * tree-ssa-phiopt.c: Likewise. * tree-ssa-pre.c: Likewise. * tree-ssa-propagate.c: Likewise. * tree-ssa-reassoc.c: Likewise. * tree-ssa-sccvn.c: Likewise. * tree-ssa-structalias.c: Likewise. * tree-ssa-threadedge.c: Likewise. * tree-ssa-uninit.c: Likewise. * tree-stdarg.c: Likewise. * tree-switch-conversion.c: Likewise. * tree-vect-data-refs.c: Likewise. * tree-vect-loop.c: Likewise. * tree-vect-slp.c: Likewise. * tree-vect-stmts.c: Likewise. * value-prof.c: Likewise. * varasm.c: Likewise. ada/ChangeLog * gcc-interface/decl.c: Replace all vec<T,A>() initializers with vNULL. cp/ChangeLog * name-lookup.c: Replace all vec<T, A>() initializers with vNULL. * semantics.c: Likewise. fortran/ChangeLog * trans-openmp.c: Replace all vec<T, A>() initializers with vNULL. lto/ChangeLog * lto.c: Replace all vec<T, A>() initializers with vNULL. objc/ChangeLog * objc-act.c: Replace all vec<T, A>() initializers with vNULL. Co-Authored-By: Jakub Jelinek <[email protected]> From-SVN: r193677
- Loading branch information
Showing
83 changed files
with
355 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,82 @@ | |
* config/rs6000/rs6000.md (largetoc_low): Revert. | ||
(largetoc_low_aix<mode>): New. | ||
|
||
2012-11-20 Diego Novillo <[email protected]> | ||
Jakub Jelinek <[email protected]> | ||
|
||
* vec.h (struct vnull): Declare. | ||
(vNULL): Declare. | ||
* vec.c (vNULL): Define. | ||
* bb-reorder.c: Replace all vec<T, A>() initializers with vNULL. | ||
* cfgexpand.c: Likewise. | ||
* cfgloop.c: Likewise. | ||
* cfgloopanal.c: Likewise. | ||
* cfgloopmanip.c: Likewise. | ||
* cgraph.c: Likewise. | ||
* config/c6x/c6x.c: Likewise. | ||
* config/i386/i386.c: Likewise. | ||
* df-core.c: Likewise. | ||
* dominance.c: Likewise. | ||
* dwarf2out.c: Likewise. | ||
* except.c: Likewise. | ||
* function.c: Likewise. | ||
* gcse.c: Likewise. | ||
* genautomata.c: Likewise. | ||
* graphds.c: Likewise. | ||
* graphite-scop-detection.c: Likewise. | ||
* graphite.c: Likewise. | ||
* haifa-sched.c: Likewise. | ||
* ifcvt.c: Likewise. | ||
* ipa-cp.c: Likewise. | ||
* ipa-inline-analysis.c: Likewise. | ||
* ipa-inline-transform.c: Likewise. | ||
* ipa-inline.c: Likewise. | ||
* ipa-prop.c: Likewise. | ||
* ipa-split.c: Likewise. | ||
* ipa-utils.c: Likewise. | ||
* ira-build.c: Likewise. | ||
* lto-cgraph.c: Likewise. | ||
* lto-streamer-in.c: Likewise. | ||
* lto-symtab.c: Likewise. | ||
* opts-global.c: Likewise. | ||
* passes.c: Likewise. | ||
* ree.c: Likewise. | ||
* sched-deps.c: Likewise. | ||
* sel-sched-ir.c: Likewise. | ||
* sel-sched-ir.h: Likewise. | ||
* sel-sched.c: Likewise. | ||
* stor-layout.c: Likewise. | ||
* trans-mem.c: Likewise. | ||
* tree-call-cdce.c: Likewise. | ||
* tree-cfg.c: Likewise. | ||
* tree-data-ref.c: Likewise. | ||
* tree-diagnostic.c: Likewise. | ||
* tree-eh.c: Likewise. | ||
* tree-loop-distribution.c: Likewise. | ||
* tree-predcom.c: Likewise. | ||
* tree-ssa-loop-im.c: Likewise. | ||
* tree-ssa-loop-ivcanon.c: Likewise. | ||
* tree-ssa-loop-manip.c: Likewise. | ||
* tree-ssa-loop-niter.c: Likewise. | ||
* tree-ssa-loop-prefetch.c: Likewise. | ||
* tree-ssa-math-opts.c: Likewise. | ||
* tree-ssa-phiopt.c: Likewise. | ||
* tree-ssa-pre.c: Likewise. | ||
* tree-ssa-propagate.c: Likewise. | ||
* tree-ssa-reassoc.c: Likewise. | ||
* tree-ssa-sccvn.c: Likewise. | ||
* tree-ssa-structalias.c: Likewise. | ||
* tree-ssa-threadedge.c: Likewise. | ||
* tree-ssa-uninit.c: Likewise. | ||
* tree-stdarg.c: Likewise. | ||
* tree-switch-conversion.c: Likewise. | ||
* tree-vect-data-refs.c: Likewise. | ||
* tree-vect-loop.c: Likewise. | ||
* tree-vect-slp.c: Likewise. | ||
* tree-vect-stmts.c: Likewise. | ||
* value-prof.c: Likewise. | ||
* varasm.c: Likewise. | ||
|
||
2012-11-20 Diego Novillo <[email protected]> | ||
|
||
* Makefile.in (tlink.o): Add dependency on VEC_H. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
2012-11-20 Diego Novillo <[email protected]> | ||
Jakub Jelinek <[email protected]> | ||
|
||
* gcc-interface/decl.c: Replace all vec<T,A>() | ||
initializers with vNULL. | ||
|
||
2012-11-18 Eric Botcazou <[email protected]> | ||
|
||
* gcc-interface/decl.c: Remove trailing spaces. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
2012-11-20 Diego Novillo <[email protected]> | ||
Jakub Jelinek <[email protected]> | ||
|
||
* name-lookup.c: Replace all vec<T, A>() initializers | ||
with vNULL. | ||
* semantics.c: Likewise. | ||
|
||
2012-11-19 Paolo Carlini <[email protected]> | ||
|
||
PR c++/55368 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
2012-11-20 Diego Novillo <[email protected]> | ||
Jakub Jelinek <[email protected]> | ||
|
||
* trans-openmp.c: Replace all vec<T, A>() initializers | ||
with vNULL. | ||
|
||
2012-11-17 Diego Novillo <[email protected]> | ||
|
||
Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.