aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2006-02-23emit-rtl.c (immed_double_const): Cleanup.Zdenek Dvorak2-50/+18
* emit-rtl.c (immed_double_const): Cleanup. From-SVN: r111396
2006-02-23re PR tree-optimization/26376 (K+R style function compiled with -fipa-pta ICEs)Daniel Berlin2-6/+8
2006-02-23 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/26376 * tree-ssa-structalias.c (find_func_aliases): Use get_id_for_tree, remove assert. From-SVN: r111392
2006-02-23re PR middle-end/26412 (ICE with external arrays using OpenMP)Jakub Jelinek4-1/+30
PR middle-end/26412 * gimplify.c (omp_add_variable): Guard variable size decl test with DECL_SIZE (decl) check. * gcc.dg/gomp/pr26412.c: New test. From-SVN: r111391
2006-02-23re PR middle-end/26439 (missing VOPs for complex assignments)Richard Guenther2-5/+17
2006-02-23 Richard Guenther <rguenther@suse.de> PR middle-end/26439 * tree-ssa-structalias.c (find_func_aliases): Handle complex types like aggregate types. From-SVN: r111389
2006-02-23jcf-parse.c (parse_class_file): Set input_location from current_class.Andrew Haley2-1/+6
2006-02-20 Andrew Haley <aph@redhat.com> * jcf-parse.c (parse_class_file): Set input_location from current_class. From-SVN: r111383
2006-02-23[multiple changes]Jakub Jelinek10-1/+139
2006-02-23 Jakub Jelinek <jakub@redhat.com> * configure.ac: Add --with{,out}-long-double-128 configure option. (TARGET_DEFAULT_LONG_DOUBLE_128): New test. * configure: Rebuilt. * config.in: Rebuilt. * doc/install.texi (Options specification): Document --with-long-double-128. * config/rs6000/linux.h [TARGET_DEFAULT_LONG_DOUBLE_128] (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Define to 128. * config/rs6000/linux64.h [TARGET_DEFAULT_LONG_DOUBLE_128] (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Define to 128. 2006-02-23 Aldy Hernandez <aldyh@redhat.com> * config/s390/s390.c (override_options): Handle TARGET_DEFAULT_LONG_DOUBLE_128. * config/alpha/alpha.c (override_options): Handle TARGET_DEFAULT_LONG_DOUBLE_128. * config/sparc/sparc.c (sparc_override_options): Handle TARGET_DEFAULT_LONG_DOUBLE_128. From-SVN: r111381
2006-02-23Daily bump.GCC Administrator1-1/+1
From-SVN: r111378
2006-02-22Makefile.in (stmp-fixinc): Use real-$(INSTALL_HEADERS_DIR).Daniel Jacobowitz2-1/+19
* Makefile.in (stmp-fixinc): Use real-$(INSTALL_HEADERS_DIR). (real-install-headers-tar, real-install-headers-cpio) (real-install-headers-cp): New targets. From-SVN: r111372
2006-02-22tree.h (variable_section): Delete.Richard Sandiford3-14/+5
* tree.h (variable_section): Delete. * varasm.c (variable_section): Delete. From-SVN: r111369
2006-02-22re PR c++/26291 (Invalid ellipsis in operator not diagnosed)Volker Reichelt5-5/+35
PR c++/26291 * decl.c (grok_op_properties): Check for ellipsis in arguments of operators. * g++.dg/other/ellipsis1.C: New test. * g++.dg/parse/operator4.C: Adjust error marker. From-SVN: r111367
2006-02-22re PR target/25603 (Miscompiled FORTRAN program)H.J. Lu2-0/+65
2006-02-22 H.J. Lu <hongjiu.lu@intel.com> PR target/25603 * gfortran.dg/pr25603.f: New testcase. From-SVN: r111365
2006-02-22install.texi: Add notes on install.texi2html.Paolo Bonzini2-5/+15
2006-02-22 Paolo Bonzini <bonzini@gnu.org> * install.texi: Add notes on install.texi2html. (Building in parallel): Do not use footnotes. From-SVN: r111363
2006-02-22bf-spl1.c: Don't specify -m68000.Nathan Sidwell3-3/+7
* gcc.dg/bf-spl1.c: Don't specify -m68000. * g++.old-deja/g++.pt/static11.C: Xfail for m68k-elf From-SVN: r111360
2006-02-22Daily bump.GCC Administrator1-1/+1
From-SVN: r111353
2006-02-21re PR libgomp/26234 (--disable-libgomp is not documented)Aldy Hernandez2-0/+8
PR libgomp/26234 * doc/install.texi (Configuration): Document --disable-libgomp. From-SVN: r111345
2006-02-21* config/i386/darwin.h (DWARF2_FRAME_REG_OUT): New.Geoffrey Keating4-5/+47
From-SVN: r111344
2006-02-21sse.md (vec_extractv2df_1_sse): New.Alexandre Oliva2-0/+35
* config/i386/sse.md (vec_extractv2df_1_sse): New. (vec_extractv2df_0_sse): New. From-SVN: r111342
2006-02-21defaults.h (CFA_FRAME_BASE_OFFSET): Define.Alexandre Oliva5-32/+80
* defaults.h (CFA_FRAME_BASE_OFFSET): Define. * config/ia64/ia64.h (CFA_FRAME_BASE_OFFSET): Override. * doc/tm.texi (CFA_FRAME_BASE_OFFSET): Document. * dwarf2out.c (build_cfa_loc): New offset parameter. Add it to the result of the expression. (def_cfa_1): Adjust. (frame_pointer_cfa_offset): Rename to... (frame_pointer_fb_offset): ... this. Adjust all uses. (convert_cfa_to_loc_list): Rename to... (convert_cfa_to_fb_loc_list): ... this. New offset parameter. Pass it on to build_cfa_loc. (compute_frame_pointer_to_cfa_displacement): Rename to... (compute_frame_pointer_to_fb_displacement): ... this. New offset parameter. Use it in computation. (gen_subprogram_die): Compute cfa_fb_offset with the new macro, and use it to compute the fb loc list and the displacement. From-SVN: r111341
2006-02-21predicates.md (cc_operand): Delete predicate.Bernd Schmidt5-30/+43
* config/bfin/predicates.md (cc_operand): Delete predicate. All uses replaced with register_operand. * config/bfin/bfin.c (bfin_register_move_cost): Moving CC to any non-DREG is expensive. * config/bfin/bfin.h (FIXED_REGISTERS): CC isn't fixed. * config/bfin/bfin.md (movbi): Fix constraints and template for moves involving memory. From-SVN: r111336
2006-02-21* doc/install.texi2html: Use set -e.Joseph Myers2-1/+7
From-SVN: r111332
2006-02-21* doc/tm.texi (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS)Richard Sandiford7-64/+15
(ASM_OUTPUT_SHARED_LOCAL): Delete. * doc/invoke.texi (-fshared-data): Delete. * common.opt (fshared-data): Delete. * varasm.c (asm_emit_uninitialised): Remove flag_shared_data handling. (assemble_static_space): Remove #if 0 code. * system.h (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS) (ASM_OUTPUT_SHARED_LOCAL): Poison. * config/cris/cris.h: Remove FIXME. From-SVN: r111330
2006-02-21sourcebuild.texi (Front End Directory): No more double-colon hooks.Paolo Bonzini2-6/+7
2006-02-21 Paolo Bonzini <bonzini@gnu.org> * doc/sourcebuild.texi (Front End Directory): No more double-colon hooks. From-SVN: r111329
2006-02-21re PR middle-end/26379 (ICE on vector shift RTL simplification)Jakub Jelinek4-1/+31
PR middle-end/26379 * combine.c (simplify_shift_const_1): Disable nested shifts optimization for vector shifts. * gcc.target/i386/mmx-7.c: New test. From-SVN: r111328
2006-02-21re PR tree-optimization/26361 (bootstrap failure on Alpha: xgcc runs out of ↵Roger Sayle4-0/+62
memory compiling libiberty/md5.c) PR tree-optimization/26361 * tree-vrp.c (extract_range_from_unary_expr): Handle NEGATE_EXPR of unsigned integer types. * gcc.dg/tree-ssa/vrp27.c: New test case. From-SVN: r111327
2006-02-21Daily bump.GCC Administrator1-1/+1
From-SVN: r111323
2006-02-20tree-chrec.c (eq_evolutions_p): New.Sebastian Pop8-275/+702
* tree-chrec.c (eq_evolutions_p): New. * tree-chrec.h (eq_evolutions_p): Declared. * tree-data-ref.c: Fix formatting. (datadep_stats, dependence_stats): New. (gcd): Moved... (print_direction_vector): New. (dump_data_dependence_relation): Use print_direction_vector. (object_analysis, create_data_ref): Handle COMPONENT_REF. (compute_subscript_distance): Static. (initialize_data_dependence_relation): Static. Get the number of loops surrounding the references from the callers, and initialize DDR_SIZE_VECT to nb_loops. Use both base_addr_differ_p and base_object_differ_p analyzers. (analyze_ziv_subscript, analyze_siv_subscript_cst_affine, compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine): Count the classified dependences. Print a message when a test failed. (can_use_analyze_subscript_affine_affine): New. (analyze_siv_subscript): Compute the data dependences on symbolic scevs that verify can_use_analyze_subscript_affine_affine. (chrec_steps_divide_constant_p): Returns true, false, or unknown. (analyze_miv_subscript): Update use of chrec_steps_divide_constant_p. Handle symbolic scevs. (analyze_overlapping_iterations): Let symbolic affine scevs to be analyzed. (subscript_dependence_tester): Moved... (build_classic_dist_vector, build_classic_dir_vector): Don't use lambda_vector_clear on newly allocated vectors. Get nb_loops from DDR_SIZE_VECT instead of getting it in parameter. (subscript_dependence_tester): ... here. Take as a parameter loop_nest_depth. Call build_classic_dist_vector and build_classic_dir_vector. (compute_affine_dependence): Update subscript_dependence_tester parameters. Update datadep_stats counters. Call compute_subscript_distance. (compute_self_dependence): Save the dist and dir vectors. Call compute_subscript_distance. (ddr_p, DEF_VEC_P(ddr_p), DEF_VEC_ALLOC_P(ddr_p,heap)): Moved... (compute_all_dependences): Reorder parameters as they were before conversion to VEC. Pass nb_loops and loop_nest_depth. Don't call compute_subscript_distance. Update the use of compute_affine_dependence and initialize_data_dependence_relation. (find_data_references_in_loop): Handle COMPONENT_REF. (compute_data_dependences_for_loop): Initialize dependence_stats. Don't call build_classic_dist_vector and build_classic_dir_vector. Update the parameters of initialize_data_dependence_relation and compute_all_dependences. Print the statistics from datadep_stats. (analyze_all_data_dependences): Static. Not used until the pass for checking the data dependences is contributed. * tree-data-ref.h (ddr_p, DEF_VEC_P(ddr_p), DEF_VEC_ALLOC_P(ddr_p,heap)): ... here. (initialize_data_dependence_relation, compute_affine_dependence, analyze_all_data_dependences, compute_subscript_distance): Removed. (print_direction_vector): New. * lambda.h (gcd): ... here. (lambda_vector_gcd): Moved here from gcd_vector. * lambda-code.c (gcd, gcd_vector): Removed. (lambda_compute_target_space): Use lambda_vector_gcd. Fix formatting. * Makefile.in (tree-vect-patterns.o): Depends on TREE_DATA_REF_H. From-SVN: r111312
2006-02-20ipa-type-escape.c: Tidy some comments and white space.Diego Novillo3-70/+83
* ipa-type-escape.c: Tidy some comments and white space. * tree-ssa-operands.c: Likewise. From-SVN: r111310
2006-02-20complex-3.c: Split out first part into ...Andrew Pinski3-15/+19
2006-02-20 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/tree-ssa/complex-3.c: Split out first part into ... * gcc.dg/tree-ssa/complex-4.c: Here. From-SVN: r111309
2006-02-20re PR tree-optimization/25879 (TDF_CHAIN makes -fdump-tree-all-all useless)Andrew Pinski3-27/+26
2006-02-20 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/25879 * tree-pretty-print.c (debug_tree_chain): Walk the chains. (dump_decl_name): Do not walk the decl tree chains. * tree-pass.h (TDF_CHAIN): Remove. From-SVN: r111308
2006-02-20Make-lang.in (OBJC): RemoveRafael Espindola14-16/+45
* gcc/objc/Make-lang.in (OBJC): Remove (OBJECTIVE-C): Remove (objective-c): Remove (.PHONY): Remove objective-c and ObjC * gcc/objcp/Make-lang.in (OBJ-C++): Remove (.PHONY): Remove Obj-c++ and obj-C++. Add obj-c++ * gcc/cp/Make-lang.in (C++): Remove (.PHONY): Remove C++ * gcc/ada/Make-lang.in (Ada): Remove (.PHONY): Remove Ada * gcc/fortran/Make-lang.in (FORTRAN): Remove (.PHONY): Remove F95 and f95. Add fortran * gcc/treelang/Make-lang.in (.phony): Remove TREELANG (TREELANG): Remove * gcc/Makefile.in (C): Remove (PROTO): Remove (.PHONY): Remove C and PROTO From-SVN: r111307
2006-02-20class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here.Andrew Haley2-1/+9
2006-02-15 Andrew Haley <aph@redhat.com> * class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here. (make_class_data): pushdecl_top_level TYPE_OTABLE_SYMS_DECL, TYPE_ATABLE_SYMS_DECL, TYPE_ITABLE_SYMS_DECL here. From-SVN: r111306
2006-02-20re PR middle-end/26236 (CHAR_TYPE is still referenced in c-tree.texi)Roger Sayle2-3/+8
PR middle-end/26236 * doc/c-tree.texi (INTEGER_TYPE): Remove reference to the now deprecated CHAR_TYPE tree code. From-SVN: r111305
2006-02-20configure.ac (target_list): Add install-info, dvi, html.Paolo Bonzini10-20/+29
2006-02-20 Paolo Bonzini <bonzini@gnu.org> * configure.ac (target_list): Add install-info, dvi, html. * configure: Regenerate. * ada/Make-lang.in, cp/Make-lang.in, fortran/Make-lang.in, java/Make-lang.in, objc/Make-lang.in, objcp/Make-lang.in, treelang/Make-lang.in: Do not use double-colon rules. From-SVN: r111304
2006-02-20trans-stmt.c (gfc_trans_where_2): Avoid updating unused current execution ↵Roger Sayle2-12/+35
mask for empty WHERE/ELSEWHERE clauses. * trans-stmt.c (gfc_trans_where_2): Avoid updating unused current execution mask for empty WHERE/ELSEWHERE clauses. Don't allocate temporary mask arrays if they won't be used. From-SVN: r111303
2006-02-20trans-stmt.c (gfc_trans_where_assign): Remove code to handle traversing a ↵Roger Sayle2-27/+10
linked list of MASKs. * trans-stmt.c (gfc_trans_where_assign): Remove code to handle traversing a linked list of MASKs. The MASK is now always a single element requiring no ANDing during the assignment. From-SVN: r111301
2006-02-20tree.h (struct tree_memory_tag): Add is_used_alone member.Daniel Berlin9-10/+150
2006-02-20 Daniel Berlin <dberlin@dberlin.org> * tree.h (struct tree_memory_tag): Add is_used_alone member. (TMT_USED_ALONE): New macro. * tree-pass.h (PROP_tmt_usage): New property. (TODO_update_tmt_usage): New todo. * tree-ssa-alias.c (updating_used_alone): New variable. (recalculate_used_alone): New function. (compute_may_aliases): Set updating_used_alone, call recalculate_used_alone. * tree-sra.c (pass_sra): Note that this pass destroys PROP_tmt_usage, and add TODO_update_tmt_usage. * tree-ssa-forwprop.c (pass_forwprop): Ditto. * tree-flow.h (updating_used_alone): Prototype. (recalculate_used_alone): Ditto. * passes.c (execute_todo): Add code to set updating_used_alone, and call recalculate. * tree-ssa-operands.c (add_virtual_operand): Only append bare def for clobber if used alone, and add assert to verify used_alone status. From-SVN: r111300
2006-02-20s390.c (legitimize_pic_address): Assertions checking for non tls symbols added.Angel Nunez Mencias2-0/+19
2006-02-20 Angel Nunez Mencias <anunez@de.ibm.com> * config/s390/s390.c (legitimize_pic_address): Assertions checking for non tls symbols added. (legitimize_address): Do nothing for PLUS expressions if one of the addends is a tls symbol reference. From-SVN: r111296
2006-02-20re PR bootstrap/25670 (build fail with 'make all-gcc')Paolo Bonzini6-266/+414
2006-02-20 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/25670 * Makefile.tpl ([+compare-target+]): Print explanation messages. * Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass. * Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass. (EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES, BUILD_PREFIX, BUILD_PREFIX_1. * configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute. * Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too. * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too. * Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+], all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead of `cat stage_current`. Always provide the `r' and `s' variables. (clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into a single shell execution. (configure-[+prefix+][+module+], all-[+prefix+][+module+]): For bootstrapped modules, make the stage1 module if the build was not started yet, else build the current stage. (all-host, all-target): Omit bootstrapped modules (if bootstrapping). (all-build, all-host, all-target, [+make_target+]-host, [+make_target+]-target): Do not use \-continued lines. (target modules): Depend on stage_last, not all-gcc, if bootstrapping. (current_stage, restrap, stage_last): New. * Makefile.in: Regenerate. * configure: Regenerate. gcc: 2006-02-20 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/25476 * Makefile.in (LDFLAGS): Define from autoconf substitution. * Makefile.in (BOOTSTRAPPING): New. (quickstrap): New definition if BOOTSTRAPPING=yes. * Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages. * configure.ac: Substitute all_selected_languages with the languages that were configured. For all the other variables except lang_specs_files, include all the languages in the tree. * configure: Regenerate. * Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory, if there is one. Run the commands to run fixincludes in the same subshell. * doc/makefile.texi: Document new makefile targets from toplevel bootstrap. * doc/install.texi: Document exact conventions for searching target tools. Document --with-build-time-tools. Document toplevel bootstrap. Document something more about building an Ada cross-compiler. Don't list GNU Make requirements which affect all platforms. From-SVN: r111295
2006-02-20re PR middle-end/19543 ([4.1 only] fortran LOGICAL*8 not consistently ↵Roger Sayle4-0/+35
distinguished from 32 bit integers) PR middle-end/19543 * varasm.c (compare_constant) <INTEGER_CST>: Integer constants are only equivalent if the have both the same mode and precision. * gfortran.dg/logical_1.f90: New test case. From-SVN: r111294
2006-02-20Daily bump.GCC Administrator1-1/+1
From-SVN: r111292
2006-02-20* doc/tree-ssa.texi (Interfaces): Describe low vs. high GIMPLE.Ben Elliston2-0/+9
From-SVN: r111286
2006-02-19gcse.c (want_to_gcse_p): On STACK_REGS targets...Roger Sayle6-0/+71
* gcse.c (want_to_gcse_p): On STACK_REGS targets, look through constant pool references to identify stack mode constants. * rtlanal.c (constant_pool_constant_p): New predicate to check whether operand is a floating point constant in the pool. * rtl.h (constant_pool_constant_p): Prototype here. * loop.c (scan_loop): Avoid hoisting constants from the constant pool on STACK_REGS targets. (load_mems): Likewise. * loop-invariant.c (get_inv_cost): Make hoisting constant pool loads into x87 registers expensive in terms of register pressure. Co-Authored-By: Steven Bosscher <stevenb.gcc@gmail.com> From-SVN: r111283
2006-02-19gthr-posix.h: On Tru64...Roger Sayle2-8/+42
* gthr-posix.h: On Tru64, map __gthr_foo as a weak reference to __foo and not foo when _PTHREAD_USE_MANGLED_NAMES_ is defined. From-SVN: r111282
2006-02-19re PR libfortran/21303 (L edit descriptor without a width)François-Xavier Coudert4-4/+116
PR libfortran/21303 * gfortran.h (notification): New enumeration. (gfc_notification_std): Prototype for the new function. * error.c (gfc_notification_std): New function. * io.c (check_format): Handle the case of a L format descriptor without a width. * runtime/error.c (notification_std): New function. * libgfortran.h (notification): New enumeration. * io/io.h (notification_std): Prototype for the new function. * io/format.c (parse_format_list): Handle the case of a L format descriptor without a width. * gcc/testsuite/gfortran.dg/fmt_l.f90: New test. From-SVN: r111281
2006-02-19gfortran.texi: Document environment variables which influence runtime behavior.Thomas Koenig2-3/+105
2006-02-19 Thomas Koenig <Thomas.Koenig@online.de> * gfortran.texi: Document environment variables which influence runtime behavior. From-SVN: r111280
2006-02-19re PR middle-end/26334 (ICE in lhd_set_decl_assembler_name)Jakub Jelinek2-0/+6
PR middle-end/26334 * gcc.dg/20060218-1.c: Moved to... * gcc.target/i386/20060218-1.c: ... here. New test. From-SVN: r111279
2006-02-19xcoff.h (TARGET_ASM_OUTPUT_ANCHOR): Define.David Edelsohn3-2/+19
* config/rs6000/xcoff.h (TARGET_ASM_OUTPUT_ANCHOR): Define. * config/rs6000/rs6000.c (rs6000_xcoff_asm_output_anchor): Define. From-SVN: r111275
2006-02-19invoke.texi: Document -fipa-pta.Daniel Berlin5-20/+62
2006-02-19 Daniel Berlin <dberlin@dberlin.org> * doc/invoke.texi: Document -fipa-pta. * common.opt: Add ipa-pta option. * tree-ssa-structalias.c (DONT_PROPAGATE_WITH_ANYTHING): Removed. (do_sd_constraint): Enable DONT_PROPAGATE_WITH_ANYTHING code. (do_ds_constraint): Ditto. (get_constraint_for): Only add to referenced_vars if referenced_vars exists. (insert_into_field_list): Rewrite to do this unsorted. (insert_into_field_list_sorted): Rename old insert_into_field_list to this. (create_function_info_for): Use insert_into_field_list_sorted. (create_variable_info_for): Rewrite so it uses unsorted version, since the field list is sorted. (intra_create_variable_infos): Only add to referenced_vars if referenced_vars exists. (ipa_pta_execute): Init heapvars, and delete when done. * passes.c (init_optimization_passes): Add call to pass_ipa_pta. From-SVN: r111273
2006-02-19install.texi: Add missing `@samp'.John David Anglin2-1/+5
* doc/install.texi: Add missing `@samp'. From-SVN: r111272
2006-02-19resolve.c (resolve_contained_functions): Call resolve_entries first.H.J. Lu2-4/+11
2006-02-19 H.J. Lu <hongjiu.lu@intel.com> * resolve.c (resolve_contained_functions): Call resolve_entries first. (resolve_types): Remove calls to resolve_entries and resolve_contained_functions. (gfc_resolve): Call resolve_contained_functions. From-SVN: r111271