summaryrefslogtreecommitdiffstats
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* 2010-10-11 Vincent Celier <celier@adacore.com>charlet2010-10-1110-6/+152
| | | | | | | | | | | | | | | | | | * Makefile.rtl: Add s-multip. * adaint.c: New function __gnat_number_of_cpus, implemented for Linux, defaulting to 1 for other platforms. * adaint.h: New function __gnat_number_of_cpus. * impunit.adb (Non_Imp_File_Names_12): New file list for Ada 2012, with a single component "s-multip". * impunit.ads (Kind_Of_Unit): New enumerated value Ada_12_Unit for Ada 2012. * rtsfind.ads (RTU_Id): New enumerated value System_Multiprocessors * s-multip.ads, s-multip.adb: New Ada 2012 package. * sem_ch10.adb (Analyze_With_Clause): Check also Ada 2012 units. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165274 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix header.charlet2010-10-111-12/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165273 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-11 Javier Miranda <miranda@adacore.com>charlet2010-10-114-196/+243
| | | | | | | | | | | | | * a-textio.adb: Move new implementation of Get_Line to a subunit. * a-tigeli.adb: New subunit containing the implementation of Get_Line. 2010-10-11 Ed Schonberg <schonberg@adacore.com> * sem_aux.adb: Code clean up. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165272 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-11 Robert Dewar <dewar@adacore.com>charlet2010-10-118-393/+517
| | | | | | | | | | | | | * sem_ch3.adb, sem_aux.adb, sem_ch6.adb: Minor reformatting 2010-10-11 Robert Dewar <dewar@adacore.com> * einfo.adb, atree.h, atree.ads, atree.adb: Define seven new flags Flag248-Flag254. Define new field Field29. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165271 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/45870jakub2010-10-114-3/+78
| | | | | | | | | | * config/i386/i386.c (ix86_delegitimize_tls_address): New function. (ix86_delegitimize_address): Use it. * gcc.dg/tls/pr45870.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165270 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2010-10-111-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165268 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-10 Janus Weil <janus@gcc.gnu.org>janus2010-10-104-2/+86
| | | | | | | | | | | | | | PR fortran/45961 * resolve.c (resolve_typebound_function): Bugfix for type-bound operators. 2010-10-10 Janus Weil <janus@gcc.gnu.org> PR fortran/45961 * gfortran.dg/typebound_operator_6.f03: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165263 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10.10 Kai Tietz <kai.tietz@onevision.com>ktietz2010-10-107-20/+30
| | | | | | | | | | | | | | * g++.dg/ext/dllexport-MI1.C: Enable for x86_64 mingw and adjust -export symbol scanning. * g++.dg/ext/dllexport1.C: Likewise. * g++.dg/ext/dllexport3.C: Likewise. * gcc.dg/dll-3.c: Likewise. * gcc.dg/dll-4.c: Likewise. * gcc.dg/dll-5.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165261 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/tree-prof/ic-misattribution-1a.c: Cleanup tree_profile_ipauros2010-10-104-15/+23
| | | | | | | | | | | instead of tree_profile dump file. * g++.dg/tree-prof/inline_mismatch_args.C: Cleanup einline dump file. * gfortran.dg/derived_array_intrinisics_1.f90: Cleanup original dump file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165259 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/lto/20101009-1_0.c (bar): Fix asm constraints.uros2010-10-102-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165257 138bc75d-0d04-0410-961f-82ee72b054a4
* * opt-functions.awk (opt_sanitized_name): Remove gdwarf+ handling.ebotcazou2010-10-102-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165255 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/lang.opt (gdwarf+): Remove.ebotcazou2010-10-106-46/+13
| | | | | | | | | | | | | * gcc-interface/gigi.h (get_parallel_type): Likewise * gcc-interface/misc.c (gnat_dwarf_extensions): Likewise. (gnat_handle_option): Remove OPT_gdwarfplus case. (gnat_post_options): Remove setting of use_gnu_debug_info_extensions from gnat_dwarf_extensions. * gcc-interface/trans.c (gigi): Remove -gdwarf+ initializations. * gcc-interface/utils.c (get_parallel_type): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165254 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/trans.c (gnat_to_gnu) <N_Not_In>: Useebotcazou2010-10-103-3/+11
| | | | | | | | | invert_truthvalue_loc instead of invert_truthvalue. * gcc-interface/utils2.c (build_binary_op) <NE_EXPR>: Likewise. (build_unary_op) <TRUTH_NOT_EXPR>: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165253 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-10 Uros Bizjak <ubizjak@gmail.com>uros2010-10-102-43/+36
| | | | | | | | | | * config/alpha/alpha.c (alpha_setup_incoming_varargs): Pass pointer to cum struct in the call to function_arg_advance. (alpha_function_arg_advance): Mark named as unused. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165252 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Subprogram_Type>: Addebotcazou2010-10-102-3/+13
| | | | | | | | assertion on the types of the parameters. Use KIND local variable. <E_Incomplete_Type>: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165251 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/ada-tree.h (DECL_BY_DOUBLE_REF_P): New macro.ebotcazou2010-10-107-32/+107
| | | | | | | | | | | | | | | | | | | * gcc-interface/gigi.h (annotate_object): Add BY_DOUBLE_REF parameter. * gcc-interface/decl.c (annotate_object): Likewise and handle it. (gnat_to_gnu_entity): Adjust calls to annotate_object. (gnat_to_gnu_param): If fat pointer types are passed by reference on the target, pass them by explicit reference. * gcc-interface/misc.c (default_pass_by_ref): Fix type of constant. * gcc-interface/trans.c (Identifier_to_gnu): Do DECL_BY_DOUBLE_REF_P. (Subprogram_Body_to_gnu): Adjust call to annotate_object. (call_to_gnu): Handle DECL_BY_DOUBLE_REF_P. * gcc-interface/utils.c (convert_vms_descriptor): Add BY_REF parameter and handle it. (build_function_stub): Iterate on the parameters of the subprogram in lieu of on the argument types. Adjust call to convert_vms_descriptor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165250 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-09 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2010-10-107-21/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | * frontend-passes.c: Include opts.h. (optimize_comparison): Renamed from optimize_equality. Change second argument to operation to be compared. Use flag_finite_math_only to avoid comparing REAL and COMPLEX only when NANs are honored. Simplify comparing of string concatenations where left or right operands are equal. Simplify all comparison operations, based on the result of gfc_dep_compare_expr. * dependency.c: Include arith.h. (gfc_are_identical_variables): Volatile variables should not compare equal to themselves. (gfc_dep_compare_expr): Handle string constants and string concatenations. 2010-10-09 Thomas Koenig <tkoenig@gcc.gnu.org> * gfortran.dg/character_comparison_4.f90: New test. * gfortran.dg/character_comparison_5.f90: New test. * gfortran.dg/character_comparison_6.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165248 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2010-10-102-1/+6
| | | | | | | | * config/mips/mips.c (mips_handle_option): Make "value" with ATTRIBUTE_UNUSED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165247 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2010-10-101-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165246 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-opt/33721rth2010-10-098-144/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * explow.c (allocate_dynamic_stack_space): Add REQUIRED_ALIGN parm, remove TARGET parm, convert KNOWN_ALIGN parm to SIZE_ALIGN. Honor required_align, tidy the code a bit. Emit split_stack code in the right place. Mark the return value with the alignment properly. * expr.h (allocate_dynamic_stack_space): Update decl. * builtins.c (expand_builtin_apply): Update call to allocate_dynamic_stack_space. (expand_builtin_alloca): Likewise. Remove TARGET parameter. * calls.c (initialize_argument_information): Update call to allocate_dynamic_stack_space. (expand_call): Likewise. * cfgexpand.c (get_decl_align_unit): Don't limit alignment. Don't update_stack_alignment here. (alloc_stack_frame_space): Make ALIGN unsigned. (stack_var_cmp): Sort by alignment too. (partition_stack_vars): Don't merge large and small alignment vars. (expand_one_stack_var_at): Add BASE and BASE_ALIGN parameters. Take care when BASE is not virtual_stack_vars_rtx. (expand_stack_vars): Allocate dynamic stack space for large alignment variables. (expand_one_stack_var): Update all to expand_one_stack_var_at. (defer_stack_allocation): True for large alignment vars. (update_stack_alignment): Merge into ... (expand_one_var): ... here. (gimple_expand_cfg): Place code from expand_stack_vars. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165240 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/pdp11/pdp11.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.froydnj2010-10-093-34/+55
| | | | | | | | | * config/pdp11/pdp11.c (pdp11_function_arg): New function. (pdp11_function_arg_advance): New function. (TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165239 138bc75d-0d04-0410-961f-82ee72b054a4
* * libgcc2.h: Use __SIZEOF_LONG_LONG__ instead of LONG_LONG_TYPE_SIZE.froydnj2010-10-093-3/+8
| | | | | | | * libgcc2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165238 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/misc.c: Delete prototypes.ebotcazou2010-10-092-102/+87
| | | | | | | | (gnat_init_options): Use local variable. (lang_hooks): Move to the end of the file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165237 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-09 Richard Guenther <rguenther@suse.de>rguenth2010-10-096-21/+46
| | | | | | | | | | | | | PR lto/45956 * lto-streamer-in.c (lto_register_var_decl_in_symtab): Properly check if a decl is an automatic var. * gcc.dg/lto/20101009-2_0.c: New testcase. * gcc.dg/lto/20101009-2_1.c: Likewise. * gcc.dg/lto/20101009-2_2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165235 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-09 Richard Guenther <rguenther@suse.de>rguenth2010-10-094-1/+25
| | | | | | | | | | PR lto/45947 * tree.c (free_lang_data_in_cgraph): Properly walk the varpool. * g++.dg/lto/20101009-1_0.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165234 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/mmix/mmix-protos.h (mmix_function_arg): Delete.froydnj2010-10-094-26/+72
| | | | | | | | | | | | | | | * config/mmix/mmix.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete. * config/mmix/mmix.c (mmix_function_arg): Rename to... (mmix_function_arg_1): ...this. Make static. Take a const_tree and bool arguments. (mmix_function_arg): New function. (mmix_function_incoming_arg): New function. (mmix_function_arg_advance): New function. (TARGET_FUNCTION_ARG, TARGET_FUNCTION_INCOMING_ARG): Define. (TARGET_FUNCTION_ARG_ADVANCE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165230 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/vax/vax.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.froydnj2010-10-093-26/+53
| | | | | | | | | * config/vax/vax.c (vax_function_arg): New function. (vax_function_arg_advance): New function. (TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165229 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/pa/pa-protos.h (function_arg): Delete.froydnj2010-10-094-24/+38
| | | | | | | | | | | | * config/pa/pa.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete. * config/pa/pa.c (function_arg): Rename to... (pa_function_arg): ...this. Make static. Take a const_tree and a bool. (pa_function_arg_advance): New function. (TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165228 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/m68k/m68k.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.froydnj2010-10-093-8/+37
| | | | | | | | | * config/m68k/m68k.c (m68k_function_arg): New function. (m68k_function_arg_advance): New function. (TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165227 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/avr/avr-protos.h (function_arg): Delete.froydnj2010-10-094-18/+27
| | | | | | | | | | | | | | | (function_arg_advance): Delete. * config/avr/avr.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete. * config/avr/avr.c (function_arg): Rename to... (avr_function_arg): ...this. Make static. Take a const_tree and a bool. (function_arg_advance): Rename to... (avr_function_arg_advance): ...this. Make static. Take a const_tree and a bool. (TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165226 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/alpha-protos.h (function_arg): Delete.froydnj2010-10-095-114/+43
| | | | | | | | | | | | | * config/alpha/alpha.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete. * config/alpha/vms.h (FUNCTION_ARG_ADVANCE): Delete. * config/alpha/alpha.c (function_arg): Rename to... (alpha_function_arg): ...this. Make static. Take a const_tree and a bool. Delete TARGET_ABI_UNICOSMK code. (alpha_function_arg_advance): New function. (TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165225 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/mep/mep-protos.h (mep_function_arg): Delete.froydnj2010-10-094-24/+36
| | | | | | | | | | | | (mep_function_arg_advance): Delete. * config/mep/mep.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete. * config/mep/mep.c (mep_function_arg): Make static. Take a const_tree and a bool. (mep_function_arg_advance): Likewise. (TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165224 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-09 Richard Guenther <rguenther@suse.de>rguenth2010-10-094-5/+55
| | | | | | | | | | | PR tree-optimization/45945 * tree-ssa.c (execute_update_addresses_taken): Fixup LHS scanning. * gcc.dg/lto/20101009-1_0.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165222 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/45612ebotcazou2010-10-092-35/+65
| | | | | | | | | | | | | * ipa-split.c (test_nonssa_use): Remove bogus ATTRIBUTE_UNUSED. Test LABEL_DECLs as well. Fix formatting issues. (verify_non_ssa_vars): Return false for a GIMPLE_LABEL statement whose label is present in NON_SSA_VARS. (mark_nonssa_use): Remove bogus ATTRIBUTE_UNUSED. Handle LABEL_DECLs as well. Fix formatting issues. (visit_bb): Fix typos and formatting issue. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165221 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/45950froydnj2010-10-092-4/+16
| | | | | | | | * tree-ssa-sccvn.c (init_vn_nary_op_from_pieces): Consult length before initializing vno->op. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165220 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix more long linesebotcazou2010-10-091-4/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165219 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix long linesebotcazou2010-10-091-56/+73
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165218 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-09 Ralf Corsépius <ralf.corsepius@rtems.org>corsepiu2010-10-092-2/+7
| | | | | | | | | * config.gcc (bfin*-rtems*): Add newlib-stdint.h. * config.gcc (lm32*-rtems*): Add newlib-stdint.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165216 138bc75d-0d04-0410-961f-82ee72b054a4
* Support "andhi/andsi/anddi" as a zero-extending move.hjl2010-10-094-1/+44
| | | | | | | | | | | | | | | | | | | | gcc/ 2010-10-08 H.J. Lu <hongjiu.lu@intel.com> PR target/45913 * config/i386/i386.c (ix86_binary_operator_ok): Support "andhi/andsi/anddi" as a zero-extending move. gcc/testsuite/ 2010-10-08 H.J. Lu <hongjiu.lu@intel.com> PR target/45913 * gcc.target/i386/pr45913.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165215 138bc75d-0d04-0410-961f-82ee72b054a4
* * builtins.c (fold_call_stmt): Don't copy gimple call argumentsfroydnj2010-10-092-11/+10
| | | | | | | into a temporary array. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165213 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2010-10-091-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165212 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2010-10-082-1/+6
| | | | | | | | PR fortran/45943 * gfortran.dg/streamio_16.f90: Update test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165208 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/45903jakub2010-10-081-0/+44
| | | | | | | | | | * simplify-rtx.c (simplify_subreg): Optimize lowpart SUBREG of *SHIFTRT of MEM. * gcc.target/i386/pr45903.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165202 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/45903jakub2010-10-083-0/+36
| | | | | | | | | | * simplify-rtx.c (simplify_subreg): Optimize lowpart SUBREG of *SHIFTRT of MEM. * gcc.target/i386/pr45903.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165200 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-08 Richard Guenther <rguenther@suse.de>rguenth2010-10-085-66/+28
| | | | | | | | | | | | | | * lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers): Re-construct BLOCK_VARS. (lto_input_ts_block_tree_pointers): Do not stream BLOCK_VARS. * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise. * tree.c (free_lang_data_in_block): Remove. (free_lang_data_in_decl): Do not touch DECL_CONTEXT of non-PARM_DECLs. Do not touch the BLOCK tree. * expr.c (expand_expr_real_1): Allow externals. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165191 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-08 Richard Guenther <rguenther@suse.de>rguenth2010-10-083-8/+35
| | | | | | | | | | | | | * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Do not output BLOCK_SUBBLOCKS. * lto-streamer-in.c (lto_input_ts_block_tree_pointers): Reserve exact space needed for BLOCK_NONLOCALIZED_VARS. Re-construct BLOCK_SUBBLOCKS of parent block. (lto_input_ts_binfo_tree_pointers): Reserve exact space needed for BINFO_BASE_ACCESSES. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165190 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (TM_H): Include $(FLAGS_H) instead of options.h.jsm282010-10-0834-164/+398
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (TREE_H): Include $(FLAGS_H) instead of options.h. (opts-common.o): Depend on $(FLAGS_H) instead of options.h. * c-objc-common.h (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define. * common.opt (flag_complex_method, flag_evaluation_order, flag_ira_algorithm, flag_ira_region, flag_warn_unused_result): New Variable declarations. * configure.ac (tm_include_list): Include flags.h instead of options.h. * configure: Regenerate. * flags.h: Condition out contents for target libraries. Include options.h at end of file. (flag_complex_method, flag_ira_algorithm, flag_ira_region, flag_evaluation_order, flag_warn_unused_result): Remove. * gcc.c (main): Intialize global_options with global_options_init. * langhooks-def.h (lhd_init_options_struct): Declare. (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define. (LANG_HOOKS_INITIALIZER): Include LANG_HOOKS_INIT_OPTIONS_STRUCT. * langhooks.c (lhd_init_options_struct): New. * langhooks.h (struct lang_hooks): Add init_options_struct. Update comment on init_options. * optc-gen.awk: Generate initializer for global_options_init, not global_options. * opth-gen.awk: Condition out structure declarations for target libraries. Declare global_options_init. * opts-common.c: Include flags.h instead of options.h. * opts.c (flag_warn_unused_result): Remove. (read_cmdline_options): Take gcc_options parameters. Pass them to read_cmdline_option. (initial_lang_mask, initial_min_crossjump_insns, initial_max_fields_for_field_sensitive, initial_loop_invariant_max_bbs_in_loop): Define at file scope. (init_options_once): New. Split out of decode_options. (init_options_struct): New. Split out of decode_options. (decode_cmdline_options_to_array_default_mask): New. (default_options_optimization): New. Split out of decode_options. (decode_options): Move most code to other functions. Update call to read_cmdline_options. (finish_options): New. Split out of decode_options. * opts.h (decode_options): Add gcc_options parameters. (init_options_once, init_options_struct, decode_cmdline_options_to_array_default_mask): New. * toplev.c (flag_complex_method, flag_ira_algorithm, flag_ira_region, flag_evaluation_order): Remove. (general_init): Use global_options_init for initial flag values for global_dc. (toplev_main): Call init_options_once, init_options_struct, lang_hooks.init_options_struct, decode_cmdline_options_to_array_default_mask and lang_hooks.init_option before decode_options. Update arguments to decode_options. * tree.h: Include flags.h instead of options.h. ada: * gcc-interface/misc.c (gnat_init_options_struct): New. Split out from gnat_init_options. (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define. c-family: * c-common.c (parse_optimize_options): Call decode_cmdline_options_to_array_default_mask before decode_options. Update arguments to decode_options. * c-common.h (c_common_init_options_struct): Declare. * c-opts.c (c_common_init_options_struct): New. Split out from c_common_init_options. cp: * cp-objcp-common.h (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define. fortran: * f95-lang.c (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define. * gfortran.h (gfc_init_options_struct): Declare. * options.c (gfc_init_options_struct): New. Split out from gfc_init_options. java: * lang.c (java_init_options_struct): New. Split out from java_init_options. (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define. lto: * lto-lang.c (lto_init_options): Change to lto_init_options_struct. Update parameters. (LANG_HOOKS_INIT_OPTIONS): Don't define. (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165189 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnat.dg/interface5.adb: Compile with warnings disabled.charlet2010-10-082-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165186 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rx/rx.c (TARGET_EXCEPT_UNWIND_INFO): Define.froydnj2010-10-082-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165184 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sparc/sparc-protos.h (function_arg_advance, function-arg):froydnj2010-10-084-52/+70
| | | | | | | | | | | | | | | | | | | Delete. * config/sparc/sparc.h (FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Delete. (FUNCTION_INCOMING_ARG): Delete. * config/sparc/sparc.c (scan_record_type): Const-ify tree argument. (function_arg_slotno): Likewise. Take bool arguments. (sparc_arg_partial_bytes): Update call to it. (function_arg): Rename to... (sparc_function_arg_1): ...this. Take bool arguments. (sparc_function_arg, sparc_function_incoming_arg): New functions. (function_arg_advance): Rename to... (sparc_function_arg_advance): ...this. Take bool argument. (TARGET_FUNCTION_ARG_ADVANCE, TARGET_FUNCTION_ARG): Define. (TARGET_FUNCTION_INCOMING_ARG): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165183 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud