8sa1-gcc/gcc
Diego Novillo 9771b26396 This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'.
This patch rewrites the old VEC macro-based interface into a new one
based on the template class 'vec'.  The user-visible changes are
described in http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec.

I have tested the patch pretty extensively:

- Regular bootstraps on x86_64, ppc, ia64, sparc and hppa.
- Bootstraps with --enable-checking=release
- Bootstraps with --enable-checking=gc,gcac
- Basic builds on all targets (using contrib/config-list.mk).

We no longer access the vectors via VEC_* macros.  The pattern is
"VEC_operation (T, A, V, args)" becomes "V.operation (args)".

The only thing I could not do is create proper ctors and dtors for the
vec class.  Since these vectors are stored in unions, we
have to keep them as PODs (C++03 does not allow non-PODs in unions).

This means that creation and destruction must be explicit.  There is a
new method vec<type, allocation, layout>::create() and another vec<type,
allocation, layout>::destroy() to allocate the internal vector.

For vectors that must be pointers, there is a family of free functions
that implement the operations that need to tolerate NULL vectors.
These functions all start with the prefix 'vec_safe_'.  See the wiki
page for details.

The gengtype change removes the special handling for VEC() that used
to exist in gengtype. Additionally, it allows gengtype to recognize
templates of more than one argument and introduces the concept of an
undefined type (useful for template arguments that may or may not be
types).

When a TYPE_UNDEFINED is reached, gengtype will ignore it if it
happens inside a type marked with GTY((user)).  Otherwise, it will
emit an error.

Finally, gengtype rejects root types marked GTY((user)) that are not
first class pointers.

2012-11-16  Diego Novillo  <dnovillo@google.com>

	VEC API overhaul (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)

	* vec.c (register_overhead): Convert it into
	member function of vec_prefix.
	(release_overhead): Likewise.
	(calculate_allocation): Likewise.
	(vec_heap_free): Remove.
	(vec_gc_o_reserve_1): Remove.
	(vec_heap_o_reserve_1): Remove.
	(vec_stack_o_reserve_1): Remove.
	(vec_stack_o_reserve_exact): Remove.
	(register_stack_vec): New.
	(stack_vec_register_index): New.
	(unregister_stack_vec): New.
	(vec_assert_fail): Remove.
	* vec.h: Conditionally include ggc.h.  Document conditional
	hackery.
	Update top-level documentation.
	(ALONE_VEC_CHECK_INFO): Remove.
	(VEC_CHECK_INFO): Remove.
	(ALONE_VEC_CHECK_DECL): Remove.
	(VEC_CHECK_DECL): Remove.
	(ALONE_VEC_CHECK_PASS): Remove.
	(VEC_CHECK_PASS): Remove.
	(VEC_ASSERT): Remove.
	(vec_prefix): Add friends va_gc, va_gc_atomic, va_heap and
	va_stack.
	Mark fields alloc_ and num_ as protected.
	(struct vec_t): Remove.  Remove all function members.
	(struct vl_embed): Declare.
	(struct vl_ptr): Declare.
	(free): Remove.
	(reserve_exact): Remove.
	(reserve): Remove.
	(safe_splice): Remove.
	(safe_push): Remove.
	(safe_grow): Remove.
	(safe_grow_cleared): Remove.
	(safe_insert): Remove.
	(DEF_VEC_I): Remove.
	(DEF_VEC_ALLOC_I): Remove.
	(DEF_VEC_P): Remove.
	(DEF_VEC_ALLOC_P): Remove.
	(DEF_VEC_O): Remove.
	(DEF_VEC_ALLOC_O): Remove.
	(DEF_VEC_ALLOC_P_STACK): Remove.
	(DEF_VEC_ALLOC_O_STACK): Remove.
	(DEF_VEC_ALLOC_I_STACK): Remove.
	(DEF_VEC_A): Remove.
	(DEF_VEC_ALLOC_A): Remove.
	(vec_stack_p_reserve_exact_1): Remove.
	(vec_stack_o_reserve): Remove.
	(vec_stack_o_reserve_exact): Remove.
	(VEC_length): Remove.
	(VEC_empty): Remove.
	(VEC_address): Remove.
	(vec_address): Remove.
	(VEC_last): Remove.
	(VEC_index): Remove.
	(VEC_iterate): Remove.
	(VEC_embedded_size): Remove.
	(VEC_embedded_init): Remove.
	(VEC_free): Remove.
	(VEC_copy): Remove.
	(VEC_space): Remove.
	(VEC_reserve): Remove.
	(VEC_reserve_exact): Remove.
	(VEC_splice): Remove.
	(VEC_safe_splice): Remove.
	(VEC_quick_push): Remove.
	(VEC_safe_push): Remove.
	(VEC_pop): Remove.
	(VEC_truncate): Remove.
	(VEC_safe_grow): Remove.
	(VEC_replace): Remove.
	(VEC_quick_insert): Remove.
	(VEC_safe_insert): Remove.
	(VEC_ordered_remove): Remove.
	(VEC_unordered_remove): Remove.
	(VEC_block_remove): Remove.
	(VEC_lower_bound): Remove.
	(VEC_alloc): Remove.
	(VEC_qsort): Remove.

	(va_heap): Declare.
	(va_heap::default_layout): New typedef to vl_ptr.
	(va_heap::reserve): New.
	(va_heap::release): New.
	(va_gc): Declare.
	(va_gc::default_layout): New typedef to vl_embed.
	(va_gc::reserve): New.
	(va_gc::release): New.
	(va_gc_atomic): Declare.  Inherit from va_gc.
	(va_stack): Declare.
	(va_stack::default_layout): New typedef to vl_ptr.
	(va_stack::alloc): New.
	(va_stack::reserve): New.
	(va_stack::release): New.
	(register_stack_vec): Declare.
	(stack_vec_register_index): Declare.
	(unregister_stack_vec): Declare.

	(vec<T, A = va_heap, L = typename A::default_layout>): Declare
	empty vec template.
	(vec<T, A, vl_embed>): Partial specialization for embedded
	layout.
	(vec<T, A, vl_embed>::allocated): New.
	(vec<T, A, vl_embed>::length): New.
	(vec<T, A, vl_embed>::is_empty): New.
	(vec<T, A, vl_embed>::address): New.
	(vec<T, A, vl_embed>::operator[]): New.
	(vec<T, A, vl_embed>::last New.
	(vec<T, A, vl_embed>::space): New.
	(vec<T, A, vl_embed>::iterate): New.
	(vec<T, A, vl_embed>::iterate): New.
	(vec<T, A, vl_embed>::copy): New.
	(vec<T, A, vl_embed>::splice): New.
	(vec<T, A, vl_embed>::quick_push New.
	(vec<T, A, vl_embed>::pop New.
	(vec<T, A, vl_embed>::truncate): New.
	(vec<T, A, vl_embed>::quick_insert): New.
	(vec<T, A, vl_embed>::ordered_remove): New.
	(vec<T, A, vl_embed>::unordered_remove): New.
	(vec<T, A, vl_embed>::block_remove): New.
	(vec<T, A, vl_embed>::qsort): New.
	(vec<T, A, vl_embed>::lower_bound): New.
	(vec<T, A, vl_embed>::embedded_size): New.
	(vec<T, A, vl_embed>::embedded_init): New.
	(vec<T, A, vl_embed>::quick_grow): New.
	(vec<T, A, vl_embed>::quick_grow_cleared): New.
	(vec_safe_space): New.
	(vec_safe_length): New.
	(vec_safe_address): New.
	(vec_safe_is_empty): New.
	(vec_safe_reserve): New.
	(vec_safe_reserve_exact): New.
	(vec_alloc): New.
	(vec_free): New.
	(vec_safe_grow): New.
	(vec_safe_grow_cleared): New.
	(vec_safe_iterate): New.
	(vec_safe_push): New.
	(vec_safe_insert): New.
	(vec_safe_truncate): New.
	(vec_safe_copy): New.
	(vec_safe_splice): New.

	(vec<T, A, vl_ptr>): New partial specialization for the space
	efficient layout.
	(vec<T, A, vl_ptr>::exists): New.
	(vec<T, A, vl_ptr>::is_empty): New.
	(vec<T, A, vl_ptr>::length): New.
	(vec<T, A, vl_ptr>::address): New.
	(vec<T, A, vl_ptr>::operator[]): New.
	(vec<T, A, vl_ptr>::operator!=): New.
	(vec<T, A, vl_ptr>::operator==): New.
	(vec<T, A, vl_ptr>::last): New.
	(vec<T, A, vl_ptr>::space): New.
	(vec<T, A, vl_ptr>::iterate): New.
	(vec<T, A, vl_ptr>::copy): New.
	(vec<T, A, vl_ptr>::reserve): New.
	(vec<T, A, vl_ptr>::reserve_exact): New.
	(vec<T, A, vl_ptr>::splice): New.
	(vec<T, A, vl_ptr>::safe_splice): New.
	(vec<T, A, vl_ptr>::quick_push): New.
	(vec<T, A, vl_ptr>::safe_push): New.
	(vec<T, A, vl_ptr>::pop): New.
	(vec<T, A, vl_ptr>::truncate): New.
	(vec<T, A, vl_ptr>::safe_grow): New.
	(vec<T, A, vl_ptr>::safe_grow_cleared): New.
	(vec<T, A, vl_ptr>::quick_grow): New.
	(vec<T, A, vl_ptr>::quick_grow_cleared): New.
	(vec<T, A, vl_ptr>::quick_insert): New.
	(vec<T, A, vl_ptr>::safe_insert): New.
	(vec<T, A, vl_ptr>::ordered_remove): New.
	(vec<T, A, vl_ptr>::unordered_remove): New.
	(vec<T, A, vl_ptr>::block_remove): New.
	(vec<T, A, vl_ptr>::qsort): New.
	(vec<T, A, vl_ptr>::lower_bound): New.
	(vec_stack_alloc): Define.
	(FOR_EACH_VEC_SAFE_ELT): Define.
	* vecir.h: Remove.  Update all users.
	* vecprim.h: Remove.  Update all users.
	Move uchar to coretypes.h.

	* Makefile.in (VEC_H): Add $(GGC_H).
	Remove vecir.h and vecprim.h dependencies everywhere.

2012-11-16  Diego Novillo  <dnovillo@google.com>

	* gengtype-lex.l (VEC): Remove.
	Add characters in the set [\!\>\.-].
	* gengtype-parse.c (token_names): Remove "VEC".
	(require_template_declaration): Remove handling of VEC_TOKEN.
	(type): Likewise.
	Call create_user_defined_type when parsing GTY((user)).
	* gengtype-state.c (type_lineloc): handle TYPE_UNDEFINED.
	(write_state_undefined_type): New.
	(write_state_type): Call write_state_undefined_type for
	TYPE_UNDEFINED.
	(read_state_type): Call read_state_undefined_type for
	TYPE_UNDEFINED.
	* gengtype.c (dbgprint_count_type_at): Handle TYPE_UNDEFINED.
	(create_user_defined_type): Make extern.
	(type_for_name): Factor out of resolve_typedef.
	(create_undefined_type): New
	(resolve_typedef): Call it when we cannot find a previous
	typedef and the type is not a template.
	(find_structure): Accept TYPE_UNDEFINED.
	(set_gc_used_type): Add argument ALLOWED_UNDEFINED_TYPES,
	default to false.
	Emit an error for TYPE_UNDEFINED unless LEVEL is GC_UNUSED or
	ALLOWED_UNDEFINED_TYPES is set.
	Set ALLOWED_UNDEFINED_TYPES to true for TYPE_USER_STRUCT.
	(filter_type_name): Accept templates with more than one
	argument.
	(output_mangled_typename): Handle TYPE_UNDEFINED
	(walk_type): Likewise.
	(write_types_process_field): Likewise.
	(write_func_for_structure): If CHAIN_NEXT is set, ORIG_S
	should not be a user-defined type.
	(write_types_local_user_process_field): Handle TYPE_ARRAY,
	TYPE_NONE and TYPE_UNDEFINED.
	(write_types_local_process_field): Likewise.
	(contains_scalar_p): Return 0 for TYPE_USER_STRUCT.
	(write_root): Reject user-defined types that are not pointers.
	Handle TYPE_NONE, TYPE_UNDEFINED, TYPE_UNION, TYPE_LANG_STRUCT
	and TYPE_PARAM_STRUCT.
	(output_typename): Handle TYPE_NONE, TYPE_UNDEFINED, and
	TYPE_ARRAY.
	(dump_typekind): Handle TYPE_UNDEFINED.
	* gengtype.h (enum typekind): Add TYPE_UNDEFINED.
	(create_user_defined_type): Declare.
	(enum gty_token): Remove VEC_TOKEN.

2012-11-16  Diego Novillo  <dnovillo@google.com>

	Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)

	* coretypes.h (uchar): Define.
	* alias.c: Use new vec API in vec.h.
	* asan.c: Likewise.
	* attribs.c: Likewise.
	* basic-block.h: Likewise.
	* bb-reorder.c: Likewise.
	* builtins.c: Likewise.
	* calls.c: Likewise.
	* cfg.c: Likewise.
	* cfganal.c: Likewise.
	* cfgcleanup.c: Likewise.
	* cfgexpand.c: Likewise.
	* cfghooks.c: Likewise.
	* cfghooks.h: Likewise.
	* cfgloop.c: Likewise.
	* cfgloop.h: Likewise.
	* cfgloopanal.c: Likewise.
	* cfgloopmanip.c: Likewise.
	* cfgrtl.c: Likewise.
	* cgraph.c: Likewise.
	* cgraph.h: Likewise.
	* cgraphclones.c: Likewise.
	* cgraphunit.c: Likewise.
	* combine.c: Likewise.
	* compare-elim.c: Likewise.
	* coverage.c: Likewise.
	* cprop.c: Likewise.
	* data-streamer.h: Likewise.
	* dbxout.c: Likewise.
	* dce.c: Likewise.
	* df-core.c: Likewise.
	* df-problems.c: Likewise.
	* df-scan.c: Likewise.
	* dominance.c: Likewise.
	* domwalk.c: Likewise.
	* domwalk.h: Likewise.
	* dse.c: Likewise.
	* dwarf2cfi.c: Likewise.
	* dwarf2out.c: Likewise.
	* dwarf2out.h: Likewise.
	* emit-rtl.c: Likewise.
	* except.c: Likewise.
	* except.h: Likewise.
	* expr.c: Likewise.
	* expr.h: Likewise.
	* final.c: Likewise.
	* fold-const.c: Likewise.
	* function.c: Likewise.
	* function.h: Likewise.
	* fwprop.c: Likewise.
	* gcc.c: Likewise.
	* gcse.c: Likewise.
	* genattr.c: Likewise.
	* genattrtab.c: Likewise.
	* genautomata.c: Likewise.
	* genextract.c: Likewise.
	* genopinit.c: Likewise
	* ggc-common.c: Likewise.
	* ggc.h: Likewise.
	* gimple-low.c: Likewise.
	* gimple-ssa-strength-reduction.c: Likewise.
	* gimple-streamer-in.c: Likewise.
	* gimple.c: Likewise.
	* gimple.h: Likewise.
	* gimplify.c: Likewise.
	* graph.c: Likewise.
	* graphds.c: Likewise.
	* graphds.h: Likewise.
	* graphite-blocking.c: Likewise.
	* graphite-clast-to-gimple.c: Likewise.
	* graphite-dependences.c: Likewise.
	* graphite-interchange.c: Likewise.
	* graphite-optimize-isl.c: Likewise.
	* graphite-poly.c: Likewise.
	* graphite-poly.h: Likewise.
	* graphite-scop-detection.c: Likewise.
	* graphite-scop-detection.h: Likewise.
	* graphite-sese-to-poly.c: Likewise.
	* graphite.c: Likewise.
	* godump.c: Likewise.
	* haifa-sched.c: Likewise.
	* hw-doloop.c: Likewise.
	* hw-doloop.h: Likewise.
	* ifcvt.c: Likewise.
	* insn-addr.h: Likewise.
	* ipa-cp.c: Likewise.
	* ipa-inline-analysis.c: Likewise.
	* ipa-inline-transform.c: Likewise.
	* ipa-inline.c: Likewise.
	* ipa-inline.h: Likewise.
	* ipa-prop.c: Likewise.
	* ipa-prop.h: Likewise.
	* ipa-pure-const.c: Likewise.
	* ipa-ref-inline.h: Likewise.
	* ipa-ref.c: Likewise.
	* ipa-ref.h: Likewise.
	* ipa-reference.c: Likewise.
	* ipa-split.c: Likewise.
	* ipa-utils.c: Likewise.
	* ipa-utils.h: Likewise.
	* ipa.c: Likewise.
	* ira-build.c: Likewise.
	* ira-color.c: Likewise.
	* ira-emit.c: Likewise.
	* ira-int.h: Likewise.
	* ira.c: Likewise.
	* loop-invariant.c: Likewise.
	* loop-unroll.c: Likewise.
	* lower-subreg.c: Likewise.
	* lra-lives.c: Likewise.
	* lra.c: Likewise.
	* lto-cgraph.c: Likewise.
	* lto-section-out.c: Likewise.
	* lto-streamer-in.c: Likewise.
	* lto-streamer-out.c: Likewise.
	* lto-streamer.h: Likewise.
	* lto-symtab.c: Likewise.
	* mcf.c: Likewise.
	* modulo-sched.c: Likewise.
	* omp-low.c: Likewise.
	* opts-common.c: Likewise.
	* opts-global.c: Likewise.
	* opts.c: Likewise.
	* opts.h: Likewise.
	* passes.c: Likewise.
	* predict.c: Likewise.
	* print-tree.c: Likewise.
	* profile.c: Likewise.
	* profile.h: Likewise.
	* read-rtl.c: Likewise.
	* ree.c: Likewise.
	* reg-stack.c: Likewise.
	* regrename.c: Likewise.
	* regrename.h: Likewise.
	* reload.c: Likewise.
	* reload.h: Likewise.
	* reload1.c: Likewise.
	* rtl.h: Likewise.
	* sched-deps.c: Likewise.
	* sched-int.h: Likewise.
	* sdbout.c: Likewise.
	* sel-sched-dump.c: Likewise.
	* sel-sched-ir.c: Likewise.
	* sel-sched-ir.h: Likewise.
	* sel-sched.c: Likewise.
	* sese.c: Likewise.
	* sese.h: Likewise.
	* statistics.h: Likewise.
	* stmt.c: Likewise.
	* stor-layout.c: Likewise.
	* store-motion.c: Likewise.
	* tlink.c: Likewise.
	* toplev.c: Likewise.
	* trans-mem.c: Likewise.
	* tree-browser.c: Likewise.
	* tree-call-cdce.c: Likewise.
	* tree-cfg.c: Likewise.
	* tree-cfgcleanup.c: Likewise.
	* tree-chrec.c: Likewise.
	* tree-chrec.h: Likewise.
	* tree-complex.c: Likewise.
	* tree-data-ref.c: Likewise.
	* tree-data-ref.h: Likewise.
	* tree-dfa.c: Likewise.
	* tree-diagnostic.c: Likewise.
	* tree-dump.c: Likewise.
	* tree-eh.c: Likewise.
	* tree-emutls.c: Likewise.
	* tree-flow.h: Likewise.
	* tree-if-conv.c: Likewise.
	* tree-inline.c: Likewise.
	* tree-inline.h: Likewise.
	* tree-into-ssa.c: Likewise.
	* tree-iterator.c: Likewise.
	* tree-loop-distribution.c: Likewise.
	* tree-mudflap.c: Likewise.
	* tree-optimize.c: Likewise.
	* tree-outof-ssa.c: Likewise.
	* tree-parloops.c: Likewise.
	* tree-phinodes.c: Likewise.
	* tree-predcom.c: Likewise.
	* tree-pretty-print.c: Likewise.
	* tree-scalar-evolution.c: Likewise.
	* tree-sra.c: Likewise.
	* tree-ssa-address.c: Likewise.
	* tree-ssa-alias.c: Likewise.
	* tree-ssa-ccp.c: Likewise.
	* tree-ssa-coalesce.c: Likewise.
	* tree-ssa-dce.c: Likewise.
	* tree-ssa-dom.c: Likewise.
	* tree-ssa-forwprop.c: Likewise.
	* tree-ssa-live.c: Likewise.
	* tree-ssa-live.h: Likewise.
	* tree-ssa-loop-im.c: Likewise.
	* tree-ssa-loop-ivcanon.c: Likewise.
	* tree-ssa-loop-ivopts.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-operands.c: Likewise.
	* tree-ssa-phiopt.c: Likewise.
	* tree-ssa-phiprop.c: Likewise.
	* tree-ssa-pre.c: Likewise.
	* tree-ssa-propagate.c: Likewise.
	* tree-ssa-reassoc.c: Likewise.
	* tree-ssa-sccvn.c: Likewise.
	* tree-ssa-sccvn.h: Likewise.
	* tree-ssa-strlen.c: Likewise.
	* tree-ssa-structalias.c: Likewise.
	* tree-ssa-tail-merge.c: Likewise.
	* tree-ssa-threadedge.c: Likewise.
	* tree-ssa-threadupdate.c: Likewise.
	* tree-ssa-uncprop.c: Likewise.
	* tree-ssa-uninit.c: Likewise.
	* tree-ssa.c: Likewise.
	* tree-ssanames.c: Likewise.
	* tree-stdarg.c: Likewise.
	* tree-streamer-in.c: Likewise.
	* tree-streamer-out.c: Likewise.
	* tree-streamer.c: Likewise.
	* tree-streamer.h: Likewise.
	* tree-switch-conversion.c: Likewise.
	* tree-vect-data-refs.c: Likewise.
	* tree-vect-generic.c: Likewise.
	* tree-vect-loop-manip.c: Likewise.
	* tree-vect-loop.c: Likewise.
	* tree-vect-patterns.c: Likewise.
	* tree-vect-slp.c: Likewise.
	* tree-vect-stmts.c: Likewise.
	* tree-vectorizer.c: Likewise.
	* tree-vectorizer.h: Likewise.
	* tree-vrp.c: Likewise.
	* tree.c: Likewise.
	* tree.h: Likewise.
	* value-prof.c: Likewise.
	* value-prof.h: Likewise.
	* var-tracking.c: Likewise.
	* varasm.c: Likewise.
	* varpool.c: Likewise.
	* vmsdbgout.c: Likewise.
	* config/bfin/bfin.c: Likewise.
	* config/c6x/c6x.c: Likewise.
	* config/darwin.c: Likewise.
	* config/i386/i386.c: Likewise.
	* config/ia64/ia64.c: Likewise.
	* config/mep/mep.c: Likewise.
	* config/mips/mips.c: Likewise.
	* config/pa/pa.c: Likewise.
	* config/rs6000/rs6000-c.c: Likewise.
	* config/rs6000/rs6000.c: Likewise.
	* config/rx/rx.c: Likewise.
	* config/spu/spu-c.c: Likewise.
	* config/vms/vms.c: Likewise.
	* config/vxworks.c: Likewise.
	* config/epiphany/resolve-sw-modes.c: Likewise.

From-SVN: r193595
2012-11-17 21:54:30 -05:00
..
ada This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
c-family This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
common Update copyright 2012-10-26 19:12:45 +00:00
config This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cp This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
doc Add -static-libasan option to the GCC driver 2012-11-17 12:31:06 -08:00
fortran This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ginclude re PR c++/52764 (Including <cstdint> after <stdint.h> fails to define limit macros) 2012-10-06 23:06:04 +00:00
go This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
java This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
lto This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
objc This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
objcp
po * es.po: Update. 2012-10-09 00:01:54 +01:00
testsuite re PR tree-optimization/55236 (gcc.c-torture/execute/pr22493-1.c FAILs with -fPIC) 2012-11-17 23:00:32 +01:00
ABOUT-GCC-NLS
acinclude.m4 acinclude.m4 (_gcc_COMPUTE_GAS_VERSION): Allow a single character to quote the VERSION= contents. 2012-10-11 00:52:26 +00:00
aclocal.m4
addresses.h
alias.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
alias.h alias.h: Do not include coretypes.h in header files. 2012-07-08 09:57:36 +00:00
alloc-pool.c Change hash_table to support a comparator type different from the value type stored in the hash table. 2012-10-25 21:45:28 +00:00
alloc-pool.h ggc.h (ggc_internal_alloc_stat, [...]): Add ATTRIBUTE_MALLOC. 2012-07-13 17:51:34 +00:00
asan.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
asan.h Implement protection of global variables 2012-11-12 16:52:42 +01:00
attribs.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
auto-inc-dec.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
BASE-VER
basic-block.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
bb-reorder.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
bb-reorder.h
bitmap.c bitmap.h (bitmap_and_into): Update prototype. 2012-10-08 15:33:58 +00:00
bitmap.h This patch renames sbitmap iterators to unify them with the bitmap iterators. 2012-11-01 21:02:15 +00:00
bt-load.c This patch renames sbitmap iterators to unify them with the bitmap iterators. 2012-11-01 21:02:15 +00:00
builtin-attrs.def builtins.def (BUILT_IN_UNREACHABLE): Make ATTR_CONST_NORETURN_NOTHROW_LEAF_LIST. 2012-10-20 10:12:36 +00:00
builtin-types.def builtin-types.def (BT_FN_CONST_STRING): Add. 2012-09-14 08:50:01 +00:00
builtins.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
builtins.def builtins.def (BUILT_IN_UNREACHABLE): Make ATTR_CONST_NORETURN_NOTHROW_LEAF_LIST. 2012-10-20 10:12:36 +00:00
builtins.h
caller-save.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
calls.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cfg-flags.def tm: Add uninstrumented code path 2012-11-06 15:55:39 -08:00
cfg.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cfganal.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cfgbuild.c This patch normalizes more bitmap function names. 2012-11-01 19:23:35 +00:00
cfgcleanup.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cfgexpand.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cfghooks.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cfghooks.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cfgloop.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cfgloop.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cfgloopanal.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cfgloopmanip.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cfgrtl.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cgraph.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cgraph.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cgraphbuild.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
cgraphclones.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cgraphunit.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ChangeLog This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog.dataflow
ChangeLog.graphite
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
cif-code.def
collect2-aix.c
collect2-aix.h
collect2.c
collect2.h
combine-stack-adj.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
combine.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
common.opt Add -static-libasan option to the GCC driver 2012-11-17 12:31:06 -08:00
compare-elim.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
conditions.h
config.build
config.gcc t-linux: New file; define MULTIARCH_DIRNAME. 2012-11-16 15:19:14 +00:00
config.host config.host (x86_64-*-openbsd*): New target. 2012-09-02 14:13:21 +00:00
config.in Add support for sparc fused compare-and-branch. 2012-11-15 13:24:22 -08:00
configure Add support for sparc fused compare-and-branch. 2012-11-15 13:24:22 -08:00
configure.ac Add support for sparc fused compare-and-branch. 2012-11-15 13:24:22 -08:00
convert.c
convert.h
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
coverage.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
coverage.h
cppbuiltin.c
cppbuiltin.h alias.h: Do not include coretypes.h in header files. 2012-07-08 09:57:36 +00:00
cppdefault.c invoke.texi: Document -print-multiarch. 2012-11-14 21:29:15 +00:00
cppdefault.h invoke.texi: Document -print-multiarch. 2012-11-14 21:29:15 +00:00
cprop.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
cse.c This patch normalizes more bitmap function names. 2012-11-01 19:23:35 +00:00
cselib.c rtl.h (CONST_SCALAR_INT_P): New macro. 2012-11-09 13:18:49 +00:00
cselib.h re PR debug/54796 (Non-addressable stack parameter debug quality regression) 2012-10-16 13:21:20 +02:00
cstamp-h.in
data-streamer-in.c data-streamer.h (bp_pack_string_with_length): New function. 2012-10-15 14:22:37 +00:00
data-streamer-out.c data-streamer.h (bp_pack_string_with_length): New function. 2012-10-15 14:22:37 +00:00
data-streamer.c
data-streamer.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
DATESTAMP Daily bump. 2012-11-18 00:18:41 +00:00
dbgcnt.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
dbgcnt.def dbgcnt.def (sched_breakdep): New counter. 2012-09-19 19:37:31 +00:00
dbgcnt.h
dbxout.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
dbxout.h
dce.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
dce.h
ddg.c This patch renames sbitmap iterators to unify them with the bitmap iterators. 2012-11-01 21:02:15 +00:00
ddg.h
debug.c
debug.h
defaults.h defaults.h (SLOW_UNALIGNED_ACCESS): Provide default definition. 2012-10-30 19:07:28 +00:00
DEV-PHASE
df-core.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
df-problems.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
df-scan.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
df.h re PR rtl-optimization/38711 (ira should not be using df-lr except at -O1.) 2012-10-14 19:30:59 +00:00
dfp.c
dfp.h
diagnostic-core.h
diagnostic.c diagnostic.c (diagnostic_append_note): Also call va_end when inhibit_notes_p is true. 2012-11-12 12:00:58 +01:00
diagnostic.def
diagnostic.h re PR c++/54928 (Infinite output with after ICE with macro) 2012-10-24 22:01:50 +00:00
dojump.c [multiple changes] 2012-10-16 05:28:08 +00:00
dominance.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
domwalk.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
domwalk.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
double-int.c Finish conversion of uses of double_int to the new API. 2012-09-24 18:22:31 +00:00
double-int.h Finish conversion of uses of double_int to the new API. 2012-09-24 18:22:31 +00:00
dse.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
dumpfile.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
dumpfile.h re PR other/55164 (-fdump-*-all not working) 2012-11-01 17:55:23 +00:00
dwarf2asm.c
dwarf2asm.h
dwarf2cfi.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
dwarf2out.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
dwarf2out.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
emit-rtl.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
emit-rtl.h emit-rtl.c (copy_delay_slot_insn): New function. 2012-10-20 12:37:27 +01:00
errors.c
errors.h
et-forest.c
et-forest.h
except.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
except.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
exec-tool.in
explow.c Finish conversion of uses of double_int to the new API. 2012-09-24 18:22:31 +00:00
expmed.c Fix gcc.c-torture/compile/pr53410-2.c on sparc. 2012-11-15 21:31:46 -08:00
expmed.h Allow MODE_PARTIAL_INT in expmed costs 2012-08-01 13:26:58 -07:00
expr.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
expr.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
final.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
fixed-value.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
fixed-value.h
flag-types.h invoke.texi: Add documentation for the new option. 2012-10-01 05:43:06 +00:00
flags.h re PR c/53063 (encode group options in the .opt files) 2012-10-16 15:31:46 +00:00
fold-const.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
fp-test.c
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
function.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
fwprop.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gcc-ar.c gcc-ar.c (main): Handle the returning of the sub-process error code correctly. 2012-09-27 16:05:38 +00:00
gcc-plugin.h
gcc.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gcc.h
gcov-dump.c Enhances the gcov program summary by adding a histogram of arc counter entries. 2012-09-04 21:16:18 +00:00
gcov-io.c re PR bootstrap/55051 (profiledbootstrap failed) 2012-11-15 01:07:01 +00:00
gcov-io.h Enhances the gcov program summary by adding a histogram of arc counter entries. 2012-09-04 21:16:18 +00:00
gcov-iov.c
gcov.c re PR gcov-profile/44728 (gcov chokes when "." is present in DIR argument to -o flag) 2012-10-13 18:41:08 +00:00
gcse.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gcse.h
gdbinit.in * gdbinit.in: Fix syntax of skip command. 2012-08-27 16:35:05 +00:00
genattr-common.c
genattr.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
genattrtab.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
genautomata.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gencheck.c
genchecksum.c
gencodes.c gensupport.c (init_rtx_reader_args_cb): Start counting code generating patterns from 1 to free up 0 for CODE_FOR_nothing. 2012-07-09 08:45:12 +00:00
genconditions.c
genconfig.c
genconstants.c
genemit.c
genenums.c
genextract.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
genflags.c
gengenrtl.c basic-block.h (struct edge_def): Use basic_block instead of basic_block_def *. 2012-07-11 08:46:17 +00:00
gengtype-lex.l This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gengtype-parse.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gengtype-state.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gengtype.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gengtype.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
genhooks.c
genmddeps.c
genmodes.c
genmultilib invoke.texi: Document -print-multiarch. 2012-11-14 21:29:15 +00:00
genopinit.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
genoutput.c genoutput.c (process_template): Process '*' in '@' alternatives. 2012-10-15 13:44:40 +01:00
genpeep.c gensupport.c (init_rtx_reader_args_cb): Start counting code generating patterns from 1 to free up 0 for CODE_FOR_nothing. 2012-07-09 08:45:12 +00:00
genpreds.c
genrecog.c
gensupport.c gensupport.c (init_rtx_reader_args_cb): Start counting code generating patterns from 1 to free up 0 for CODE_FOR_nothing. 2012-07-09 08:45:12 +00:00
gensupport.h
ggc-common.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ggc-internal.h sbitmap.h (SBITMAP_ELT_BITS): Use "1u" trick as for BITMAP_WORD_BITS. 2012-07-24 09:49:56 +00:00
ggc-none.c
ggc-page.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ggc-zone.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ggc.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gimple-fold.c re PR tree-optimization/54986 (segfault on constant initialized to object address at -O) 2012-11-05 21:39:02 +00:00
gimple-fold.h alias.h: Do not include coretypes.h in header files. 2012-07-08 09:57:36 +00:00
gimple-iterator.c predict.c (maybe_hot_frequency_p): New parameter fun. 2012-08-24 14:57:24 +02:00
gimple-low.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gimple-pretty-print.c Remove alloca from dump_gimple_bb_header 2012-10-30 01:38:11 -07:00
gimple-pretty-print.h dumpfile.c: New file with parts moved from tree-dump.c. 2012-10-01 06:10:29 +00:00
gimple-ssa-strength-reduction.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gimple-streamer-in.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gimple-streamer-out.c lto-streamer-in.c (lto_input_location_bitpack): Rename to ... 2012-10-10 14:27:59 +00:00
gimple-streamer.h
gimple.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gimple.def
gimple.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gimplify.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
glimits.h
godump.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
graph.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
graph.h
graphds.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
graphds.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
graphite-blocking.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
graphite-clast-to-gimple.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
graphite-clast-to-gimple.h
graphite-dependences.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
graphite-interchange.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
graphite-optimize-isl.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
graphite-poly.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
graphite-poly.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
graphite-scop-detection.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
graphite-scop-detection.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
graphite-sese-to-poly.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
graphite-sese-to-poly.h
graphite.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
gsstruct.def
gstab.h
gsyms.h
gsyslimits.h
gtm-builtins.def
haifa-sched.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
hard-reg-set.h
hash-table.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
hash-table.h Change hash_table to support a comparator type different from the value type stored in the hash table. 2012-10-25 21:45:28 +00:00
highlev-plugin-common.h
hooks.c md.texi (Defining Attributes): Document that we are defining HAVE_ATTR_name macors as 1 for defined attributes... 2012-11-05 15:18:10 +00:00
hooks.h md.texi (Defining Attributes): Document that we are defining HAVE_ATTR_name macors as 1 for defined attributes... 2012-11-05 15:18:10 +00:00
host-default.c
hosthooks-def.h
hosthooks.h
hw-doloop.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
hw-doloop.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
hwint.c hwint.c: Fix loop range. 2012-07-17 13:49:51 +00:00
hwint.h double-int.h (double_int_popcount): New inline function. 2012-07-17 12:48:36 +00:00
ifcvt.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
incpath.c invoke.texi: Document -print-multiarch. 2012-11-14 21:29:15 +00:00
incpath.h
init-regs.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
input.c Integrate lexical block into source_location. 2012-09-19 19:56:42 +00:00
input.h tree.h (tree_constructor): Remove IS_UNKNOWN_LOCATION. 2012-09-27 17:06:22 +00:00
insn-addr.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
insn-notes.def
internal-fn.c
internal-fn.def
internal-fn.h
intl.c
intl.h re PR bootstrap/54281 (Fails to bootstrap with --disable-nls) 2012-08-17 11:37:57 -04:00
ipa-cp.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa-inline-analysis.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa-inline-transform.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa-inline.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa-inline.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa-prop.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa-prop.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa-pure-const.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa-ref-inline.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa-ref.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa-ref.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa-reference.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa-reference.h
ipa-split.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa-utils.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa-utils.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ipa.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ira-build.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ira-color.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ira-conflicts.c ira-build.c (ira_loop_tree_body_rev_postorder): New function. 2012-10-11 18:54:47 +00:00
ira-costs.c rtl.h (CONST_SCALAR_INT_P): New macro. 2012-11-09 13:18:49 +00:00
ira-emit.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ira-int.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ira-lives.c rtl.h (CONST_SCALAR_INT_P): New macro. 2012-11-09 13:18:49 +00:00
ira.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ira.h dbxout.c (dbxout_symbol_location): Pass new argument to alter_subreg. 2012-10-23 15:51:41 +00:00
is-a.h This patch implements generic type query and conversion functions, 2012-10-31 23:15:10 +00:00
jump.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
langhooks-def.h
langhooks.c cfg.c (debug_bb): Do not set TDF_BLOCKS. 2012-08-07 22:14:29 +00:00
langhooks.h basic-block.h: Re-group most prototypes per file. 2012-07-08 10:06:14 +00:00
LANGUAGES
lcm.c This patch normalizes more bitmap function names. 2012-11-01 19:23:35 +00:00
libfuncs.h re PR bootstrap/54092 (Bootstrap fails while building Ada at stage 1) 2012-07-25 08:10:44 -07:00
limitx.h
limity.h
lists.c
loop-doloop.c Remove debug code accidentially checked in with last commit. 2012-10-17 00:38:24 +01:00
loop-init.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
loop-invariant.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
loop-iv.c loop-iv.c (iv_number_of_iterations): Record the upper bound only if there are no further conditions on it. 2012-10-20 14:19:12 +00:00
loop-unroll.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
loop-unswitch.c cfgloopmanip.c (copy_loop_info): New function. 2012-10-17 19:50:16 +00:00
lower-subreg.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
lower-subreg.h
lra-assigns.c re PR rtl-optimization/55342 ([LRA,x86] Non-optimal code for simple loop with LRA) 2012-11-17 17:59:35 +00:00
lra-coalesce.c Remove trailing white spaces 2012-10-29 14:56:35 -07:00
lra-constraints.c re PR rtl-optimization/55330 (ICE: Maximum number of LRA constraint passes is achieved (15) on gfortran.dg/actual_array_constructor_1.f90) 2012-11-16 16:32:02 +00:00
lra-eliminations.c lra-eliminations.c (lra_eliminate_regs_1): Use simplify_gen_subreg rather than gen_rtx_SUBREG. 2012-10-30 14:33:48 +00:00
lra-int.h re PR rtl-optimization/55154 (ICE: in curr_insn_transform, at lra-constraints.c:2702 with custom flags) 2012-11-09 15:33:19 +00:00
lra-lives.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
lra-spills.c Remove trailing white spaces 2012-10-29 14:56:35 -07:00
lra.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
lra.h dbxout.c (dbxout_symbol_location): Pass new argument to alter_subreg. 2012-10-23 15:51:41 +00:00
lto-cgraph.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
lto-compress.c
lto-compress.h
lto-opts.c lto-cgraph.c (input_node_opt_summary): Remove unused code. 2012-10-09 13:46:25 +02:00
lto-section-in.c re PR tree-optimization/53787 (Possible IPA-SRA / IPA-CP improvement) 2012-11-07 16:55:54 +01:00
lto-section-out.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
lto-streamer-in.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
lto-streamer-out.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
lto-streamer.c lto-streamer-in.c (lto_input_location_bitpack): Rename to ... 2012-10-10 14:27:59 +00:00
lto-streamer.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
lto-symtab.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
lto-wrapper.c
machmode.def
machmode.h machmode.h (GET_MODE_UNIT_PRECISION): New macro. 2012-10-07 19:17:37 +00:00
main.c
Makefile.in This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
mcf.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
mkconfig.sh
mode-classes.def
mode-switching.c mode-switching.c (create_pre_exit): Use NONDEBUG_INSN_P. 2012-11-13 18:22:04 +01:00
modulo-sched.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
omega.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
omega.h
omp-builtins.def
omp-low.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
ONEWS
opt-functions.awk optc-gen.awk: Factor code out to... 2012-11-07 18:11:01 +00:00
opt-gather.awk
opt-include.awk
opt-read.awk
optabs.c re PR target/54938 (sh libgcc_unpack_df.o fails to build: ../../../srcw/libgcc/fp-bit.h:221:19: internal compiler error: in emit_cmp_and_jump_insn_1, at optabs.c:4273) 2012-10-31 23:28:45 +00:00
optabs.def builtins.c (expand_builtin_thread_pointer): New. 2012-10-11 15:05:44 +00:00
optabs.h Reduce the size of optabs representation 2012-07-24 11:28:15 -07:00
optc-gen.awk optc-gen.awk: Factor code out to... 2012-11-07 18:11:01 +00:00
optc-save-gen.awk
opth-gen.awk opth-gen.awk (TARGET_* generation): Always generate TARGET_<xxx> for Mask options, whether they use Var(...) or not. 2012-10-17 16:49:26 +00:00
opts-common.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
opts-diagnostic.h
opts-global.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
opts.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
opts.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
output.h dbxout.c (dbxout_symbol_location): Pass new argument to alter_subreg. 2012-10-23 15:51:41 +00:00
params.c
params.def * params.def (max-peeled-insns, max-completely-peeled-insns): Reduce to 100. 2012-11-16 17:27:30 +00:00
params.h
passes.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
plugin.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
plugin.def
plugin.h PR c++/53528 C++11 attribute support 2012-10-08 11:29:05 +02:00
pointer-set.c
pointer-set.h
postreload-gcse.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
postreload.c re PR middle-end/55263 (ICE: pre_and_rev_post_order_compute, at cfganal.c:875 with -O -fgcse-after-reload -fnon-call-exceptions) 2012-11-11 20:29:11 +00:00
predict.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
predict.def Hot/cold attributes for labels. 2012-07-26 14:31:40 -07:00
predict.h
prefix.c
prefix.h
pretty-print.c cfg.c (debug_bb): Do not set TDF_BLOCKS. 2012-08-07 22:14:29 +00:00
pretty-print.h cfg.c (debug_bb): Do not set TDF_BLOCKS. 2012-08-07 22:14:29 +00:00
print-rtl.c Integrate lexical block into source_location. 2012-09-19 19:56:42 +00:00
print-tree.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
profile.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
profile.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
read-md.c
read-md.h
read-rtl.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
README.Portability
real.c
real.h
realmpfr.c
realmpfr.h revert: re PR bootstrap/54281 (Fails to bootstrap with --disable-nls) 2012-08-16 14:24:22 -04:00
recog.c re PR rtl-optimization/55247 (internal compiler error: Max. number of generated reload insns per insn is achieved (90)) 2012-11-11 21:52:49 +00:00
recog.h re PR middle-end/54635 (Add addr_space_t argument to TARGET_MODE_DEPENDENT_ADDRESS_P) 2012-09-26 13:46:29 +00:00
ree.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
reg-notes.def
reg-stack.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
regcprop.c This patch normalizes more bitmap function names. 2012-11-01 19:23:35 +00:00
reginfo.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
regmove.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
regrename.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
regrename.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
regs.h basic-block.h: Re-group most prototypes per file. 2012-07-08 10:06:14 +00:00
regset.h basic-block.h: Re-group most prototypes per file. 2012-07-08 10:06:14 +00:00
regstat.c basic-block.h: Re-group most prototypes per file. 2012-07-08 10:06:14 +00:00
reload1.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
reload.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
reload.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
reorg.c reorg.c (fill_simple_delay_slots): Avoid calling optimize_skip with a return instruction. 2012-11-05 17:16:33 +00:00
resource.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
resource.h
rtl-error.c
rtl-error.h
rtl.c Integrate lexical block into source_location. 2012-09-19 19:56:42 +00:00
rtl.def * rtl.def (ADDR_DIFF_VEC): Fix comment typo. 2012-10-21 15:15:29 +01:00
rtl.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
rtlanal.c Remove lra_in_progress check for ARG_POINTER_REGNUM 2012-10-30 15:56:52 -07:00
rtlhooks-def.h
rtlhooks.c
sbitmap.c This patch removes the unused ebitmap, and then removes some sbitmap functions only used by ebitmap. 2012-11-01 22:39:26 +00:00
sbitmap.h This patch removes the unused ebitmap, and then removes some sbitmap functions only used by ebitmap. 2012-11-01 22:39:26 +00:00
sched-deps.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
sched-ebb.c sched-int.h (schedule_block): Adjust declaration. 2012-10-08 11:26:16 +00:00
sched-int.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
sched-rgn.c This patch renames sbitmap iterators to unify them with the bitmap iterators. 2012-11-01 21:02:15 +00:00
sched-vis.c sched-vis.c (print_pattern): Handle NULL patterns. 2012-11-12 22:13:20 +00:00
sdbout.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
sdbout.h
sel-sched-dump.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
sel-sched-dump.h
sel-sched-ir.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
sel-sched-ir.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
sel-sched.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
sel-sched.h
sese.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
sese.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
simplify-rtx.c rtl.h (CONST_SCALAR_INT_P): New macro. 2012-11-09 13:18:49 +00:00
sparseset.c sparseset.c (sparseset_alloc): Use non-clearing allocation. 2012-08-18 13:44:00 +00:00
sparseset.h bitmap.h: Add explanation of sparse set as linked-list bitmap. 2012-07-26 12:02:54 +00:00
sreal.c
sreal.h
ssaexpand.h
stab.def
stack-ptr-mod.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
statistics.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
statistics.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
stmt.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
stor-layout.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
store-motion.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
streamer-hooks.c
streamer-hooks.h lto-streamer-in.c (lto_input_location_bitpack): Rename to ... 2012-10-10 14:27:59 +00:00
stringpool.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
symtab.c This patch implements generic type query and conversion functions, 2012-10-31 23:15:10 +00:00
sync-builtins.def
system.h * system.h (loc_t): Poison. 2012-11-04 19:20:21 -05:00
target-def.h
target-globals.c target-globals.c (save_target_globals): Save lra_int struct. 2012-11-01 23:11:50 +00:00
target-globals.h dbxout.c (dbxout_symbol_location): Pass new argument to alter_subreg. 2012-10-23 15:51:41 +00:00
target-hooks-macros.h
target.def Initial asan cleanups 2012-11-12 16:51:34 +01:00
target.h tm.texi: Regenerate. 2012-07-25 03:07:08 +00:00
targhooks.c dbxout.c (dbxout_symbol_location): Pass new argument to alter_subreg. 2012-10-23 15:51:41 +00:00
targhooks.h dbxout.c (dbxout_symbol_location): Pass new argument to alter_subreg. 2012-10-23 15:51:41 +00:00
timevar.c
timevar.def dbxout.c (dbxout_symbol_location): Pass new argument to alter_subreg. 2012-10-23 15:51:41 +00:00
timevar.h
tlink.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
toplev.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
toplev.h invoke.texi (-fprofile-report): Document. 2012-10-06 14:06:04 +00:00
tracer.c This patch normalizes more bitmap function names. 2012-11-01 19:23:35 +00:00
trans-mem.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
trans-mem.h tm: Add uninstrumented code path 2012-11-06 15:55:39 -08:00
tree-affine.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-affine.h
tree-browser.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-browser.def
tree-call-cdce.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-cfg.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-cfgcleanup.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-chrec.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-chrec.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-complex.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-data-ref.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-data-ref.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-dfa.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-diagnostic.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-diagnostic.h
tree-dump.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-dump.h invoke.texi: Add documentation for the new option. 2012-10-01 05:43:06 +00:00
tree-eh.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-emutls.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-flow-inline.h tree-ssa-operands.h (struct def_optype_d, [...]): Remove. 2012-10-23 16:29:03 +00:00
tree-flow.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-if-conv.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-inline.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-inline.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-into-ssa.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-iterator.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-iterator.h
tree-loop-distribution.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-mudflap.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-mudflap.h
tree-nested.c tree.h (DECL_NONLOCAL_FRAME): New macro. 2012-10-02 10:00:32 +00:00
tree-nomudflap.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
tree-nrv.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
tree-object-size.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
tree-optimize.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-outof-ssa.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-parloops.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-pass.h Allow asan at -O0 2012-11-12 16:52:09 +01:00
tree-phinodes.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-predcom.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-pretty-print.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-pretty-print.h
tree-profile.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
tree-scalar-evolution.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-scalar-evolution.h loop-unswitch.c (unswitch_single_loop): Use estimated_loop_iterations_int to prevent unswitching when... 2012-10-08 18:09:41 +00:00
tree-sra.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-address.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-alias.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-alias.h re PR tree-optimization/54498 (incorrect code generation from g++ -O) 2012-09-06 14:47:42 +00:00
tree-ssa-ccp.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-coalesce.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-copy.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
tree-ssa-copyrename.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
tree-ssa-dce.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-dom.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-dse.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
tree-ssa-forwprop.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-ifcombine.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
tree-ssa-live.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-live.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-loop-ch.c re PR debug/54693 (VTA guality issues with loops) 2012-11-07 08:50:01 +01:00
tree-ssa-loop-im.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-loop-ivcanon.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-loop-ivopts.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-loop-manip.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-loop-niter.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-loop-prefetch.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-loop-unswitch.c loop-unswitch.c (unswitch_single_loop): Use estimated_loop_iterations_int to prevent unswitching when... 2012-10-08 18:09:41 +00:00
tree-ssa-loop.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
tree-ssa-math-opts.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-operands.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-operands.h tree-ssa-operands.h (struct def_optype_d, [...]): Remove. 2012-10-23 16:29:03 +00:00
tree-ssa-phiopt.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-phiprop.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-pre.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-propagate.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-propagate.h
tree-ssa-reassoc.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-sccvn.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-sccvn.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-sink.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
tree-ssa-strlen.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-structalias.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-tail-merge.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-ter.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-17 09:42:06 +00:00
tree-ssa-threadedge.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-threadupdate.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-uncprop.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa-uninit.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssa.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-ssanames.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-stdarg.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-stdarg.h
tree-streamer-in.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-streamer-out.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-streamer.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-streamer.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-switch-conversion.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-tailcall.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
tree-vect-data-refs.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-vect-generic.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-vect-loop-manip.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-vect-loop.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-vect-patterns.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-vect-slp.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-vect-stmts.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-vectorizer.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-vectorizer.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree-vrp.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
tree.def * tree.def (REDUC_PLUS_EXPR): Fix up comment. 2012-10-11 20:40:06 +02:00
tree.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
treestruct.def
tsystem.h
typeclass.h
valtrack.c re PR debug/54551 (DF resets some DEBUG_INSNs unnecessarily) 2012-10-30 23:47:35 +00:00
valtrack.h re PR debug/54953 (New sra-1.c FAILs on powerpc) 2012-10-30 09:08:01 +01:00
value-prof.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
value-prof.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
var-tracking.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
varasm.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
varpool.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
vec.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
vec.h This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
version.c
version.h
vmsdbg.h
vmsdbgout.c This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'. 2012-11-17 21:54:30 -05:00
web.c invoke.texi: Update -fopt-info documentation. 2012-11-01 07:34:44 +00:00
xcoff.h
xcoffout.c
xcoffout.h

Copyright (C) 2000, 2003 Free Software Foundation, Inc.

This file is intended to contain a few notes about writing C code
within GCC so that it compiles without error on the full range of
compilers GCC needs to be able to compile on.

The problem is that many ISO-standard constructs are not accepted by
either old or buggy compilers, and we keep getting bitten by them.
This knowledge until know has been sparsely spread around, so I
thought I'd collect it in one useful place.  Please add and correct
any problems as you come across them.

I'm going to start from a base of the ISO C90 standard, since that is
probably what most people code to naturally.  Obviously using
constructs introduced after that is not a good idea.

For the complete coding style conventions used in GCC, please read
http://gcc.gnu.org/codingconventions.html


String literals
---------------

Irix6 "cc -n32" and OSF4 "cc" have problems with constant string
initializers with parens around it, e.g.

const char string[] = ("A string");

This is unfortunate since this is what the GNU gettext macro N_
produces.  You need to find a different way to code it.

Some compilers like MSVC++ have fairly low limits on the maximum
length of a string literal; 509 is the lowest we've come across.  You
may need to break up a long printf statement into many smaller ones.


Empty macro arguments
---------------------

ISO C (6.8.3 in the 1990 standard) specifies the following:

If (before argument substitution) any argument consists of no
preprocessing tokens, the behavior is undefined.

This was relaxed by ISO C99, but some older compilers emit an error,
so code like

#define foo(x, y) x y
foo (bar, )

needs to be coded in some other way.


Avoid unnecessary test before free
----------------------------------

Since SunOS 4 stopped being a reasonable portability target,
(which happened around 2007) there has been no need to guard
against "free (NULL)".  Thus, any guard like the following
constitutes a redundant test:

  if (P)
    free (P);

It is better to avoid the test.[*]
Instead, simply free P, regardless of whether it is NULL.

[*] However, if your profiling exposes a test like this in a
performance-critical loop, say where P is nearly always NULL, and
the cost of calling free on a NULL pointer would be prohibitively
high, consider using __builtin_expect, e.g., like this:

  if (__builtin_expect (ptr != NULL, 0))
    free (ptr);



Trigraphs
---------

You weren't going to use them anyway, but some otherwise ISO C
compliant compilers do not accept trigraphs.


Suffixes on Integer Constants
-----------------------------

You should never use a 'l' suffix on integer constants ('L' is fine),
since it can easily be confused with the number '1'.


			Common Coding Pitfalls
			======================

errno
-----

errno might be declared as a macro.


Implicit int
------------

In C, the 'int' keyword can often be omitted from type declarations.
For instance, you can write

  unsigned variable;

as shorthand for

  unsigned int variable;

There are several places where this can cause trouble.  First, suppose
'variable' is a long; then you might think

  (unsigned) variable

would convert it to unsigned long.  It does not.  It converts to
unsigned int.  This mostly causes problems on 64-bit platforms, where
long and int are not the same size.

Second, if you write a function definition with no return type at
all:

  operate (int a, int b)
  {
    ...
  }

that function is expected to return int, *not* void.  GCC will warn
about this.

Implicit function declarations always have return type int.  So if you
correct the above definition to

  void
  operate (int a, int b)
  ...

but operate() is called above its definition, you will get an error
about a "type mismatch with previous implicit declaration".  The cure
is to prototype all functions at the top of the file, or in an
appropriate header.

Char vs unsigned char vs int
----------------------------

In C, unqualified 'char' may be either signed or unsigned; it is the
implementation's choice.  When you are processing 7-bit ASCII, it does
not matter.  But when your program must handle arbitrary binary data,
or fully 8-bit character sets, you have a problem.  The most obvious
issue is if you have a look-up table indexed by characters.

For instance, the character '\341' in ISO Latin 1 is SMALL LETTER A
WITH ACUTE ACCENT.  In the proper locale, isalpha('\341') will be
true.  But if you read '\341' from a file and store it in a plain
char, isalpha(c) may look up character 225, or it may look up
character -31.  And the ctype table has no entry at offset -31, so
your program will crash.  (If you're lucky.)

It is wise to use unsigned char everywhere you possibly can.  This
avoids all these problems.  Unfortunately, the routines in <string.h>
take plain char arguments, so you have to remember to cast them back
and forth - or avoid the use of strxxx() functions, which is probably
a good idea anyway.

Another common mistake is to use either char or unsigned char to
receive the result of getc() or related stdio functions.  They may
return EOF, which is outside the range of values representable by
char.  If you use char, some legal character value may be confused
with EOF, such as '\377' (SMALL LETTER Y WITH UMLAUT, in Latin-1).
The correct choice is int.

A more subtle version of the same mistake might look like this:

  unsigned char pushback[NPUSHBACK];
  int pbidx;
  #define unget(c) (assert(pbidx < NPUSHBACK), pushback[pbidx++] = (c))
  #define get(c) (pbidx ? pushback[--pbidx] : getchar())
  ...
  unget(EOF);

which will mysteriously turn a pushed-back EOF into a SMALL LETTER Y
WITH UMLAUT.


Other common pitfalls
---------------------

o Expecting 'plain' char to be either sign or unsigned extending.

o Shifting an item by a negative amount or by greater than or equal to
  the number of bits in a type (expecting shifts by 32 to be sensible
  has caused quite a number of bugs at least in the early days).

o Expecting ints shifted right to be sign extended.

o Modifying the same value twice within one sequence point.

o Host vs. target floating point representation, including emitting NaNs
  and Infinities in a form that the assembler handles.

o qsort being an unstable sort function (unstable in the sense that
  multiple items that sort the same may be sorted in different orders
  by different qsort functions).

o Passing incorrect types to fprintf and friends.

o Adding a function declaration for a module declared in another file to
  a .c file instead of to a .h file.