aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-08-06re PR treelang/23072 (multiple runs of treelang testsuite does not work...)James A. Morrison8-311/+76
2005-08-06 James A. Morrison <phython@gcc.gnu.org> PR treelang/23072 * Make-lang.in: Remove old testing cruft. From-SVN: r102813
2005-08-06* io/unix.c: Add O_RDWR to open() call.Francois-Xavier Coudert2-1/+5
From-SVN: r102811
2005-08-06config/stormy16/stormy16.h (SYMBOL_FLAG_XSTORMY16_BELOW100): New define.Nick Clifton4-84/+56
(ASM_OUTPUT_LABELREF): Delete - it is no longer needed. config/stormy16/stormy16.c (xstormy16_below100_symbol): Check symbol flags instead of symbol name mangling. (xstormy16_asm_output_aligned_common): Likewise. Also simplify code since the bss100_section cass is the only case where the below100 code will be triggered. (xstormy16_encode_section_info): Encode below100 attribute using the SYMBOL_FLAG_XSTORMY16_BELOW100 instead of mangling the name. (xstormy16_strip_name_encoding): Delete - this function is no longer needed. (TARGET_STRIP_NAME_ENCODING): Undefine. config/stormy16/stormy16-protos.h: Delete prototype for xstormy16_strip_name_encoding. From-SVN: r102810
2005-08-06Makefile.in, [...]: Fix comment/doc typos.Kazu Hirata57-67/+91
* Makefile.in, cfgexpand.c, cfgloop.h, cfgloopmanip.c, config.gcc, ipa-cp.c, ipa-prop.c, ipa-prop.h, reg-stack.c, tree-ssa-structalias.c, tree-vrp.c, value-prof.c, vec.h, config/linux.h, config/alpha/alpha.h, config/alpha/linux.h, config/alpha/predicates.md, config/arc/arc.h, config/arm/arm.h, config/arm/ieee754-df.S, config/arm/ieee754-sf.S, config/bfin/bfin.c, config/bfin/bfin.h, config/c4x/c4x.h, config/crx/crx.c, config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h, config/i386/i386.h, config/ia64/ia64.c, config/ia64/ia64.h, config/m68hc11/m68hc11.h, config/mips/mips.c, config/mips/mips.h, config/mips/openbsd.h, config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.h, config/rs6000/linux-unwind.h, config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sparc/linux.h, config/sparc/linux64.h, config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h, doc/extend.texi, doc/gcov.texi, doc/install.texi, doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix comment/doc typos. Follow spelling conventions. From-SVN: r102809
2005-08-06decl.c, [...]: Fix comment/doc typos.Kazu Hirata13-15/+22
* decl.c, dump-parse-tree.c, gfortran.texi, intrinsic.texi, invoke.texi, resolve.c, trans-array.c, trans-array.h, trans-common.c, trans-expr.c, trans-io.c, trans.h: Fix comment/doc typos. Follow spelling conventions. From-SVN: r102806
2005-08-06re PR c/23113 (The -Wunused (value computed is not used) option missed an ↵Joseph Myers5-29/+59
important case) PR c/23113 * stmt.c (warn_if_unused_value): Check TREE_NO_WARNING at start. Don't handle NOP_EXPR, CONVERT_EXPR and NON_LVALUE_EXPR specially. Check for side effects only for COND_EXPR. * c-typeck.c (c_finish_stmt_expr): Mark statement expression return with TREE_NO_WARNING. testsuite: * gcc.dg/Wunused-value-1.c: New test. From-SVN: r102805
2005-08-06re PR rtl-optimization/23233 (Loop optimisation ICE for subreg addresses)Richard Sandiford4-30/+22
PR rtl-optimization/23233 * loop.c (combine_movables): Require the modes to be the same. (move_movables): Remove handling of cases where the replacement had a different mode to the original. From-SVN: r102804
2005-08-06re PR fortran/18833 (ICE 'missing spec' on integer/char equivalence)Jakub Jelinek9-19/+267
PR fortran/18833 PR fortran/20850 * primary.c (match_varspec): If equiv_flag, don't look at sym's attributes, call gfc_match_array_ref up to twice and don't do any substring or component processing. * resolve.c (resolve_equivalence): Transform REF_ARRAY into REF_SUBSTRING or nothing if needed. Check that substrings don't have zero length. * gfortran.dg/equiv_1.f90: New test. * gfortran.dg/equiv_2.f90: New test. * gfortran.fortran-torture/execute/equiv_2.f90: New test. * gfortran.fortran-torture/execute/equiv_3.f90: New test. * gfortran.fortran-torture/execute/equiv_4.f90: New test. From-SVN: r102801
2005-08-06re PR tree-optimization/23128 (VRP fails for unsigned values)James A. Morrison6-3/+109
2005-08-05 James A. Morrison <phython@gcc.gnu.org> PR tree-optimization/23128 * tree-vrp.c (vrp_int_const_binop): Check if unsigned addition or subtraction wrap, and set TREE_OVERFLOW if they do. From-SVN: r102800
2005-08-06re PR debug/22514 (ICE in force_decl_die with invalid code after error)James A. Morrison4-0/+27
2005-08-05 James A. Morrison <phython@gcc.gnu.org> PR c++/22514 * name-lookup.c (cp_emit_debug_info_for_using): Do nothing if sorrycount or errorcount are nonzero. From-SVN: r102799
2005-08-06Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r102792.2
2005-08-05re PR middle-end/21728 (Nonlocal goto from an unused nested function)Richard Henderson3-3/+31
PR 21728 * tree-cfg.c (remove_bb): Transmute DECL_NONLOCAL labels into FORCED_LABEL labels. From-SVN: r102786
2005-08-05Correct PR#Mark Mitchell1-1/+1
From-SVN: r102785
2005-08-05re PR c++/19063 (ICE on invalid template parameter)Mark Mitchell2-3/+10
* name-lookup.c (pushtag): Remove accidental commit from: 2004-12-21 Mark Mitchell <mark@codesourcery.com> PR c++/19063 * decl.c (grokdeclarator): Return error_mark_node, not void_type_node, to indicate errors. * parser.c (cp_parser_template_parameter_list): Robustify. (cp_parser_template_parameter): Likewise. From-SVN: r102784
2005-08-05trans-expr.c (gfc_build_builtin_function_decls): Mark stop_numeric and ↵Thomas Koenig2-0/+10
stop_string as non-returning. 2005-08-05 Thomas Koenig <Thomas.Koenig@online.de> * trans-expr.c (gfc_build_builtin_function_decls): Mark stop_numeric and stop_string as non-returning. From-SVN: r102782
2005-08-05re PR middle-end/23135 (find_reloads_toplev -> find_reloads_subreg_address ↵J"orn Rennecke2-2/+9
uses wrong reload type) PR middle-end/23135 * reload.c (find_reloads_subreg_address): Pass down TYPE unchanged. Change all callers except find_reloads_toplev. From-SVN: r102772
2005-08-05intmax_t-1.c: Extend dg-error to cover sh*-*-elf targets.Joern Rennecke1-0/+7
* gcc.dg/intmax_t-1.c: Extend dg-error to cover sh*-*-elf targets. * gcc.dg/tree-ssa/loop-1.c: For sh*-*-*, look for function calls instead of constant loads / pool entries. From-SVN: r102769
2005-08-05intmax_t-1.c: Extend dg-error to cover sh*-*-elf targets.Joern Rennecke1-1/+5
* gcc.dg/intmax_t-1.c: Extend dg-error to cover sh*-*-elf targets. * gcc.dg/tree-ssa/loop-1.c: FOr sh*-*-*, look for function calls instead of constant loads / pool entries. From-SVN: r102768
2005-08-05builtin-wctype-1.c: Use __WINT_TYPE__ for TEST_TO_WCTYPE.David Edelsohn2-1/+6
* gcc.dg/torture/builtin-wctype-1.c: Use __WINT_TYPE__ for TEST_TO_WCTYPE. From-SVN: r102767
2005-08-05* gcc.dg/intmax_t-1.c: Extend dg-error to cover sh*-*-elf targets.Joern Rennecke1-1/+1
From-SVN: r102766
2005-08-05genattrtab.c (current_alternative_string): Remove.Michael Matz2-48/+16
* genattrtab.c (current_alternative_string): Remove. (SIMPLIFY_ALTERNATIVE): Ditto. (attr_alt_bit_p): Ditto. (alternative_name): Make const char *. (evaluate_eq_attr): Remove use of above things. (simplify_test_exp): Ditto. (simplify_test_exp <EQ_ATTR>): Guard for insn_code < 0 . (simplify_test_exp <AND>): Correct typo (test 'right' not 'left'). From-SVN: r102765
2005-08-04Fix problem pointed out by Gunther Nikl on gcc list.James E Wilson13-13/+15
* config/ptx4.h, config/sol2.h, config/arm/freebsd.h, config/arm/linux-elf.h, config/frv/frv.h, config/i386/freebsd.h, config/i386/freebsd64.h, config/i386/netware.h, config/i386/sco5.h, config/ia64/freebsd.h, config/rs6000/sysv4.h, config/sparc/freebsd.h (LINK_SPEC): Delete useless %{Wl,*:%*} item. From-SVN: r102762
2005-08-04re PR middle-end/21529 (code size regression (+40%) with -Os from GCC-3.4.3 ↵Richard Henderson4-11/+34
to 4.1) PR 21529 * params.def (PARAM_SRA_MAX_STRUCTURE_COUNT): New. * params.h (SRA_MAX_STRUCTURE_COUNT): New. * tree-sra.c (decide_block_copy): Use it. Disable element copy if we'd have to instantiate too many members. From-SVN: r102761
2005-08-05Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r102753.2
2005-08-04re PR middle-end/21291 (can't find a register in class 'GENERAL_REGS' while ↵Richard Henderson3-41/+156
reloading 'asm') PR 21291 * tree-outof-ssa.c (coalesce_asm_operands): New. (coalesce_ssa_name): Use it. Split out ... (coalesce_phi_operands, coalesce_result_decls): ... these. From-SVN: r102751
2005-08-04read-rtl.c (read_quoted_string): Break if EOF.Paul Brook2-1/+5
2005-08-04 Paul Brook <paul@codesourcery.com> * read-rtl.c (read_quoted_string): Break if EOF. From-SVN: r102749
2005-08-04builtin-wctype-1.c: Use __WCHAR_TYPE__ and __WINT_TYPE__ in generated ↵Danny Smith2-17/+37
prototypes if possible. * gcc.dg/torture/builtin-wctype-1.c: Use __WCHAR_TYPE__ and __WINT_TYPE__ in generated prototypes if possible. From-SVN: r102747
2005-08-04transfer.c (data_transfer_init): Truncate file in sequential WRITE when ↵Paul Thomas2-1/+7
last_record == 0, rather than current_record. 2005-08-04 Paul Thomas <pault@gcc.gnu.org> * transfer.c (data_transfer_init): Truncate file in sequential WRITE when last_record == 0, rather than current_record. Cures problem on RH9. From-SVN: r102746
2005-08-04Add Ian to function.c ChangeLog entry.David Edelsohn1-0/+1
From-SVN: r102745
2005-08-04tree.h (fold_build1): Change to macro and call fold_build1_stat.Andrew Pinski3-10/+34
2005-08-04 Andrew Pinski <pinskia@physics.uc.edu> * tree.h (fold_build1): Change to macro and call fold_build1_stat. (fold_build2): Likewise. (fold_build3): Likewise. (fold_build1_stat): New function prototype. (fold_build2_stat): Likewise. (fold_build3_stat): Likewise. * fold-const.c (fold_build1): Rename to .. (fold_build1_stat): this. Add MEM_STAT_DECL. Pass the mem stats through to build1_stat. (fold_build2): Rename to .. (fold_build2_stat): this. Add MEM_STAT_DECL. Pass the mem stats through to build2_stat. (fold_build3): Rename to .. (fold_build3_stat): this. Add MEM_STAT_DECL. Pass the mem stats through to build3_stat. From-SVN: r102743
2005-08-04function.c (assign_stack_local_1): Do not correct stack slot address if ↵David Edelsohn2-1/+6
allocation size is smaller than mode size. * function.c (assign_stack_local_1): Do not correct stack slot address if allocation size is smaller than mode size. From-SVN: r102742
2005-08-04re PR tree-optimization/22037 (internal compiler error: verify_ssa failed)Diego Novillo5-7/+43
PR 22037 * tree-cfg.c (replace_uses_by): Call mark_new_vars_to_rename. (tree_merge_blocks): Propagate anything allowed by may_propagate_copy. Clarify documentation. * passes.c (execute_todo): If cleanup_tree_cfg invalidated the SSA form, schedule an update if necessary. testsuite/ChangeLog PR 22037 * g++.dg/tree-ssa/pr22037.C: From-SVN: r102740
2005-08-04update-cunroll.c: Fix mistakes in scan-tree-dump-times directive.Richard Henderson2-1/+6
* gcc.dg/tree-ssa/update-cunroll.c: Fix mistakes in scan-tree-dump-times directive. From-SVN: r102739
2005-08-04install.texi (Binaries): Remove broken link to Sinix/Reliant Unix binaries.Gerald Pfeifer2-4/+5
* doc/install.texi (Binaries): Remove broken link to Sinix/Reliant Unix binaries. From-SVN: r102734
2005-08-04* config/crx/crx.h: Inhibit -lm to be linked per default.Paul Woegerer1-0/+3
From-SVN: r102733
2005-08-03re PR middle-end/23221 (-fstack-protector does not protect tail call functions)Richard Henderson4-1/+12
PR 23221 * function.c (stack_protect_epilogue): Export. * tree.h (stack_protect_epilogue): Declare. * calls.c (expand_call): Call it. From-SVN: r102731
2005-08-04trans-expr.c (gfc_conv_expr, [...]): Update comments.Paul Brook3-11/+22
2005-08-04 Paul Brook <paul@codesourcery.com> * trans-expr.c (gfc_conv_expr, gfc_conv_expr_type): Update comments. (gfc_conv_expr_lhs): Fix assertion. (gfc_conv_expr_val): Merge post block. Set se.expr to new value. * trans.h: Move and update comments. From-SVN: r102729
2005-08-04Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r102722.2
2005-08-03gcc.c (LINK_SSP_SPEC): Add fstack-protector-all.Eric Christopher3-90/+96
2005-08-03 Eric Christopher <echristo@apple.com> * gcc.c (LINK_SSP_SPEC): Add fstack-protector-all. * config/darwin.h (LINK_COMMAND_SPEC): Add link_ssp spec. From-SVN: r102719
2005-08-03configure.ac: Don't use GCC_NO_EXECUTABLES or clear GLIBCXX_IS_NATIVE on ↵Geoffrey Keating4-27/+63
Darwin crosses. * configure.ac: Don't use GCC_NO_EXECUTABLES or clear GLIBCXX_IS_NATIVE on Darwin crosses. * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring the testsuite just because there's no symbol versioning. * configure: Regenerate. From-SVN: r102718
2005-08-03profile.c (branch_prob): Split edges with goto locus on them to get proper ↵Jan Hubicka6-4/+50
line counts. * profile.c (branch_prob): Split edges with goto locus on them to get proper line counts. * tree-cfg.c (make_cond_expr_edges): Record user goto locuses, if any. * gcov-1.C: Fix switch counts. * gcov-4b.c: Likewise. From-SVN: r102717
2005-08-03function.c (assign_parms): Round current_function_args_size to ↵Paul Brook2-3/+7
PARM_BOUNDARY, not STACK_BOUNDARY. 2005-08-03 Paul Brook <paul@codesourcery.com> * function.c (assign_parms): Round current_function_args_size to PARM_BOUNDARY, not STACK_BOUNDARY. From-SVN: r102713
2005-08-03* g++.dg/tree-ssa/pr14814.C: xfail test for &this count.Jeff Law2-3/+7
From-SVN: r102712
2005-08-03* config/i386/i386.c (x86_elf_aligned_common)Geoffrey Keating2-0/+7
(x86_output_aligned_bss): Don't try to use symbols that aren't defined. From-SVN: r102711
2005-08-03acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print status messages.Geoffrey Keating3-0/+127
* acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print status messages. (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise. (GLIBCXX_CHECK_POLL): Likewise. (GLIBCXX_CHECK_WRITEV): Likewise. (GLIBCXX_CHECK_INT64_T): Likewise. (GLIBCXX_CHECK_LFS): Likewise. * configure: Regenerate. From-SVN: r102710
2005-08-03libgfortran.h: When isfinite is not provided by the system...Francois-Xavier Coudert2-8/+8
* libgfortran.h: When isfinite is not provided by the system, define it as a macro, so that it can accept any floating point type. From-SVN: r102707
2005-08-03reload.c (find_reloads_subreg_address): Pass down TYPE unchanged.J"orn Rennecke2-0/+138
gcc: * reload.c (find_reloads_subreg_address): Pass down TYPE unchanged. Change all callers except find_reloads_toplev. gcc/testsuite: * gcc.c-torture/execute/pr23135.c: New test. From-SVN: r102706
2005-08-03re PR tree-optimization/23157 (incorrect sharing of tree nodes regression)Zdenek Dvorak2-0/+7
PR tree-optimization/23157 * tree-scalar-evolution.c (scev_const_prop): Unshare trees before emitting them. From-SVN: r102704
2005-08-03contrib.texi: Mention crx.Paul Woegerer5-1/+83
* doc/contrib.texi: Mention crx. * doc/extend.texi: Document crx extensions. * doc/install.texi: Document crx install. * doc/invoke.texi: Document crx options. * doc/md.texi: Document crx constraints. From-SVN: r102700
2005-08-03re PR tree-optimization/19899 (ICE: tree check: expected real_cst, have ↵Volker Reichelt6-3/+57
integer_cst in const_binop, at fold-const.c:1490 with -ftree-vectorize -msse2) PR tree-optimization/19899 * Makefile.in (tree-scalar-evolution.o): Add real.h. * tree-scalar-evolution.c: Include real.h. (add_to_evolution): Build constant -1 of correct type. * gcc.dg/tree-ssa/scev-1.c: New test. * gcc.dg/tree-ssa/scev-2.c: New test. From-SVN: r102695