aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-04-08re PR rtl-optimization/20466 (Missed invalidation of known memory contents ↵Hans-Peter Nilsson2-0/+31
in flow2...) PR rtl-optimization/20466 * gcc.c-torture/execute/pr20466-1.c: New test. From-SVN: r97869
2005-04-08* config/darwin.c (indirect_data): Fix typo in strncmp logic.Mike Stump2-1/+5
From-SVN: r97866
2005-04-08Fix typo.Mike Stump1-2/+2
From-SVN: r97862
2005-04-08re PR c++/20905 (confuses unrelated type name with instance name)Mark Mitchell4-18/+78
PR c++/20905 * parser.c (cp_parser_type_specifier_seq): Add is_condition parameter. (cp_parser_new_type_id): Pass it. (cp_parser_condition): Likewise. (cp_parser_conversion_type_id): Likewise. (cp_parser_type_id): Likewise. (cp_parser_type_specifier_seq): In a condition, do not allow invalid type-specifier combinations. (cp_parser_exception_declaration): Adjust call to cp_parser_type_specifier_seq. PR c++/20905 * g++.dg/parse/cond2.C: New test. From-SVN: r97857
2005-04-08re PR c++/20145 (template "class has virtual functions ... " is not ↵Mark Mitchell7-15/+54
suppressed with -isystem) * cp-tree.def (TINST_LEVEL): Document TINST_IN_SYSTEM_HEADER_P. * cp-tree.h (struct tinst_level): Add in_system_header_p. (TINST_IN_SYSTEM_HEADER_P): New macro. (make_tinst_level): Remove. * pt.c (lookup_template_class): Preserve DECL_IN_SYSTEM_HEADER on the instantiated class. (push_tinst_level): Do not use make_tinst_level. Set TINST_IN_SYSTEM_HEADER_P. (pop_tinst_level): Likewise. (instantiate_class_template): Set in_system_header. (instantiate_pending_templates): Likewise. * tree.c (make_tinst_level): Remove. PR c++/20145 * g++.dg/warn/Wdtor1.C: New test. From-SVN: r97854
2005-04-08* c-common.h (C_ARTIFICIAL_STRING_P): Remove.Kazu Hirata2-4/+2
From-SVN: r97849
2005-04-08* match.c (gfc_match_arithmetic_if): Declare static.Diego Novillo2-1/+5
From-SVN: r97846
2005-04-08genattrtab.c (attr_desc): Remove negative_ok and unsigned_p.Kazu Hirata3-20/+13
* genattrtab.c (attr_desc): Remove negative_ok and unsigned_p. (check_attr_value, write_attr_get, write_expr_attr_cache, find_attr, make_internal_attr): Don't reference negative_ok or unsigned_p. * genattrtab.h (ATTR_NEGATIVE_OK, ATTR_UNSIGNED, ATTR_FUNC_UNITS, ATTR_BLOCKAGE): Remove. (ATTR_STATIC): Adjust the value. From-SVN: r97841
2005-04-08* tree.h (STRIP_MAIN_TYPE_NOPS): Remove.Kazu Hirata2-11/+2
From-SVN: r97840
2005-04-08* function.h (nonlocal_labels): Remove.Kazu Hirata2-1/+2
From-SVN: r97839
2005-04-08function.h (function): Remove instrument_entry_exit.Kazu Hirata2-5/+3
* function.h (function): Remove instrument_entry_exit. (current_function_instrument_entry_exit): Remove. From-SVN: r97838
2005-04-08function.c (push_function_context_to): Don't set contains_functions.Kazu Hirata3-16/+6
* function.c (push_function_context_to): Don't set contains_functions. * function.h (function): Remove contains_functions. (current_function_contains_functions): Remove. From-SVN: r97837
2005-04-08* c-tree.h (C_LANG_TREE_NODE_CHAIN_NEXT): Remove.Kazu Hirata2-7/+4
From-SVN: r97836
2005-04-08* config/s390/tpf.h (ASM_SPEC): Define.Ulrich Weigand2-0/+7
From-SVN: r97832
2005-04-08tree-flow.h: Remove the prototype for redirect_immediate_uses.Kazu Hirata2-5/+6
* tree-flow.h: Remove the prototype for redirect_immediate_uses. (TDFA_USE_OPS, TDFA_USE_VOPS): Remove. From-SVN: r97830
2005-04-08arm.c (arm_const_double_by_parts): New function.Richard Earnshaw4-0/+66
* arm.c (arm_const_double_by_parts): New function. * arm-protos.h (arm_const_double_by_parts): Add prototype. * arm.md (define_split for 64-bit constants): Add another one. From-SVN: r97828
2005-04-08tree-ssa-operands.c (correct_use_link): Remove linear scan.Andrew MacLeod2-5/+28
2005-04-08 Andrew MacLeod <amacleod@redhat.com> * tree-ssa-operands.c (correct_use_link): Remove linear scan. From-SVN: r97827
2005-04-08* system.h: Revert last change.Kaveh R. Ghazi2-3/+6
From-SVN: r97826
2005-04-08re PR fortran/17229 (parser confused by arithmetic if inside an if)Francois-Xavier Coudert4-0/+70
PR fortran/17229 * match.c (gfc_match_arithmetic_if): New function to match an arithmetic IF statement. (gfc_match_if): Use gfc_match_arithmetic_if to match an arithmetic IF statement embedded in a simple IF statement. * gfortran.dg/pr17229.f: New test. From-SVN: r97825
2005-04-08* config/xtensa/xtensa.h (target_flags, MASK_NO_FUSED_MADD)Richard Sandiford5-37/+55
(MASK_CONST16, TARGET_NO_FUSED_MADD, TARGET_CONST16) (TARGET_SWITCHES): Delete. * config/xtensa/xtensa.c (TARGET_DEFAULT_TARGET_FLAGS): Define. * config/xtensa/xtensa.md (muladdsf3, mulsubsf3): Check TARGET_FUSED_MADD instead of !TARGET_NO_FUSED_MADD. * config/xtensa/xtensa.opt: New file. From-SVN: r97822
2005-04-08fp-bit.c: Include L_mul_tf in #endif comment.Ben Elliston3-5/+9
* config/fp-bit.c: Include L_mul_tf in #endif comment. * config/fp-bit.h: Tidy comments. From-SVN: r97819
2005-04-08system.h: Poison PARAMS.Kaveh R. Ghazi4-7/+16
* system.h: Poison PARAMS. java: * java-tree.h: Don't use PARAMS(). From-SVN: r97816
2005-04-08Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r97813.2
2005-04-07* config/vax/vax.h (target_flags, MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)Richard Sandiford4-41/+59
(MASK_G_FLOAT, TARGET_UNIX_ASM, TARGET_VAXC_ALIGNMENT, TARGET_G_FLOAT) (TARGET_SWITCHES): Delete. * config/vax/vax.c (TARGET_DEFAULT_TARGET_FLAGS): Override default. * config/vax/vax.opt: New file. From-SVN: r97805
2005-04-07class.c (push_class): By default, suppress debug output.Per Bothner2-0/+7
* class.c (push_class): By default, suppress debug output. (finish_class): Enable debug output for classes we're emitting. From-SVN: r97797
2005-04-07Makefile.in: Add make ifeq define for hppa linux tasking support.Laurent GUERBY5-1/+717
* Makefile.in: Add make ifeq define for hppa linux tasking support. * system-hpux.ads: Define Signed_Zeros to be True. * system-linux-hppa.ads, s-osinte-linux-hppa.ads: New files. Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca> From-SVN: r97796
2005-04-07tiny_1.f90: New test.Steven G. Kargl3-0/+23
* gfortran.dg/tiny_1.f90: New test. * gfortran.dg/tiny_2.f90: New test. From-SVN: r97795
2005-04-07tree-ssa-dse.c (dse_optimize_stmt): Fix incorrect comment.Daniel Berlin2-1/+5
2005-04-07 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-dse.c (dse_optimize_stmt): Fix incorrect comment. From-SVN: r97793
2005-04-07simplify.c (gfc_simplify_exponent): Fix exponent(tiny(x))Steven G. Kargl2-0/+11
From-SVN: r97792
2005-04-07iq2000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Don't define.Ian Lance Taylor4-12/+8
* config/iq2000/iq2000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Don't define. * config/mips/mips.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise. * config/sparc/sparc.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise. From-SVN: r97790
2005-04-07tree-ssa-sink.c (nearest_common_dominator_of_uses): Consider all immediate ↵Kazu Hirata2-9/+12
uses in PHI nodes. * tree-ssa-sink.c (nearest_common_dominator_of_uses): Consider all immediate uses in PHI nodes. From-SVN: r97788
2005-04-07gcj.texi: Correct gcj-dbtool instructions.Andrew Haley2-2/+18
2005-04-07 Andrew Haley <aph@redhat.com> * gcj.texi: Correct gcj-dbtool instructions. From-SVN: r97787
2005-04-07eor_1.f90: Fix dg-do run lineThomas Koenig3-2/+7
2005-04-07 Thomas Koenig <Thomas.Koenig@online.de> * gfortran.dg/eor_1.f90: Fix dg-do run line * gfortran.dg/open_new.f90: Fix dg-do run line From-SVN: r97784
2005-04-07arm.c (arm_const_double_inline_cost): Handle any constant by using ↵Richard Earnshaw9-264/+152
gen_lowpart and gen_highpart_mode. * arm.c (arm_const_double_inline_cost): Handle any constant by using gen_lowpart and gen_highpart_mode. (note_invalid_constants): All constants in an RTX with a constraint that permits memory are now pushed to the constant pool. (output_move_double): Delete code to handle reg to reg and constant to reg moves. (const_double_needs_minipool, output_mov_immediate): Delete. * arm.h (EXTRA_CONSTRAINT_STR_ARM): All 'D' variants now handle CONST_INT and CONST_VECTOR. * arm.md (ANY64): New mode macro. (arm_movdi): Split reg-reg and const-reg moves. Simplify constraints. (movdf_soft_insn): Split reg-reg and const-reg moves. (split patterns for 64-bit constant and register moves): New. * cirrus.md (cirrus_arm_movdi): Split reg-reg and const-reg moves. (cirrus_movdf_hard_insn): Likewise. * fpa.md (movdf_fpa): Likewise. * iwmmxt.md (iwmmxt_arm_movdi): Likewise. (movv8qi_internal, movv4hi_internal, movv2si_internal): Fix constraints. (movv2si_internal_2): Likewise. * vfp.md (arm_movdi_vfp): Split reg-reg and const-reg moves. (movdf_vfp): Likewise. * arm-protos.h (output_mov_immediate): Delete prototype. From-SVN: r97778
2005-04-07re PR target/20093 (23_containers/deque/cons/2.cc execution test fails on ↵Joseph Myers2-1/+7
ia64-hpux, -milp32) PR target/20093 * simplify-rtx.c (simplify_unary_operation_1): Check SUBREG_PROMOTED_UNSIGNED_P (op) > 0 for zero-extension. From-SVN: r97775
2005-04-06Fix numerous IA-64 C++ failures, IA-64 bootstrap trouble.James E Wilson2-0/+7
PR target/20717 * cgraphunit.c (record_call_1, case FDESC_EXPR): Handle same as ADDR_EXPR. From-SVN: r97773
2005-04-07Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r97770.2
2005-04-06* gcc.dg/20050321-2.c: Restrict to target fpic.Hans-Peter Nilsson1-1/+1
From-SVN: r97765
2005-04-06target-supports.exp (get_compiler_messages): Support optional arguments, the ↵Hans-Peter Nilsson2-2/+66
fourth being compiler options. * lib/target-supports.exp (get_compiler_messages): Support optional arguments, the fourth being compiler options. (check_effective_target_fpic): New proc. * gcc.dg/20050321-2.c: Restrict to target fpic. From-SVN: r97763
2005-04-06coverage.h (GCOV_TYPE_NODE): Delete.Richard Sandiford5-74/+87
* coverage.h (GCOV_TYPE_NODE): Delete. * coverage.c (coverage_counter_alloc, tree_coverage_counter_ref) (build_ctr_info_type): Use get_gcov_type () instead of GCOV_TYPE_NODE. * tree-profile.c (tree_gen_edge_profiler, tree_gen_interval_profiler) (tree_gen_pow2_profiler, tree_gen_one_value_profiler): Likewise. * value-prof.c (tree_divmod_fixed_value_transform): Delete. From-SVN: r97760
2005-04-06re PR other/20792 (target.opt messages missing from gcc.pot)Richard Sandiford6-5743/+5781
gcc/ PR other/20792 * Makefile.in (gcc.pot): Remove options.c dependency. * optc-gen.awk: Don't quote help strings with N_(). gcc/po/ PR other/20792 * exgettext: Don't scan options.c. Scan .opt files for help strings. * gcc.pot: Regenerate. From-SVN: r97759
2005-04-06c-common.c (handle_malloc_atttribute): Only set DECL_IS_MALLOC if the ↵James A. Morrison5-2/+37
function returns a pointer type. 2005-04-06 James A. Morrison <phython@gcc.gnu.org> * c-common.c (handle_malloc_atttribute): Only set DECL_IS_MALLOC if the function returns a pointer type. From-SVN: r97751
2005-04-06Remove documentation of the nonexistent -std=f90 option.Steven G. Kargl2-1/+5
From-SVN: r97749
2005-04-06params.def (PARAM_SALIAS_MAX_IMPLICIT_FIELDS): NewDaniel Berlin5-10/+116
2005-04-06 Daniel Berlin <dberlin@dberlin.org> * params.def (PARAM_SALIAS_MAX_IMPLICIT_FIELDS): New * params.h (SALIAS_MAX_IMPLICIT_FIELDS): New * doc/invoke.texi: Documnet salias-max-implicit-fields. * tree-ssa-alias.c (struct used_part): Add implicit_uses and explicit_uses members. (get_or_create_used_part_for): Initialize new fields. (fieldoff_compare): New function. (create_overlap_variables_for): Count number of fields, use heuristic to determine whether to create subvars for vars with only implicit uses. Sort the field list by offset and avoid creating duplicate SFT's. From-SVN: r97746
2005-04-06c.opt (-F): Remove trailing whitespace from help string.Richard Sandiford3-5/+13
* c.opt (-F): Remove trailing whitespace from help string. (-finput-charset): Use a tab to separate the switch name and help string. * common.opt (-fsched-stalled-insns, -fsched-stalled-insns-dep) (-ftree-vectorizer-verbose): Likewise. From-SVN: r97742
2005-04-06expr.c (gfc_check_assign): Don't allow NULL as rhs in a non-pointer assignment.Tobias Schlüter4-7/+17
fortran/ * expr.c (gfc_check_assign): Don't allow NULL as rhs in a non-pointer assignment. testsuite/ * gfortran.dg/pr15754.f90: Change annotations to dg-error. From-SVN: r97740
2005-04-06tree-ssa-sink.c (nearest_common_dominator_of_uses): Look at a PHI argument ↵Kazu Hirata2-3/+8
where a use occurs instead of all PHI arguments. * tree-ssa-sink.c (nearest_common_dominator_of_uses): Look at a PHI argument where a use occurs instead of all PHI arguments. From-SVN: r97738
2005-04-06c-decl.c (finish_decl): Apply pending #pragma weak regardless of scope.Joseph Myers7-4/+50
* c-decl.c (finish_decl): Apply pending #pragma weak regardless of scope. cp: * decl.c (start_decl): Apply pending #pragma weak regardless of scope. testsuite: * gcc.dg/weak/weak-12.c, g++.dg/ext/weak2.C: New tests. From-SVN: r97733
2005-04-06i386-387-7.c, [...]: Skip x86 tests for -m64.Joseph Myers10-5/+18
* gcc.dg/i386-387-7.c, gcc.dg/i386-3dnowA-1.c, gcc.dg/i386-3dnowA-2.c, gcc.dg/pr12092-1.c: Skip x86 tests for -m64. * gcc.dg/loop-3.c, gcc.dg/short-compare-1.c, gcc.dg/short-compare-2.c, gcc.dg/smod-1.c, gcc.dg/torture/badshift.c: Don't give 32-bit options for x86 -m64. From-SVN: r97731
2005-04-06cse.c, [...]: Fix comment typos.Kazu Hirata9-17/+23
* cse.c, tree-flow-inline.h, tree-flow.h, tree-ssa-operands.c, tree-ssa-sink.c, tree.h, config/bfin/bfin.c, config/bfin/bfin.h: Fix comment typos. From-SVN: r97730