aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2006-08-09gcov.c (no_data_file): New flag.Nathan Sidwell2-3/+17
* gcov.c (no_data_file): New flag. (read_count_file): Set it if data file not present. Assume counts zero if not found. (output_lines): Don't name the data file, if there wasn't one. From-SVN: r116045
2006-08-09re PR c++/28637 (ICE on invalid template parameter)Lee Millward7-7/+83
2006-08-09 Lee Millward <lee.millward@codesourcery.com> PR c++/28637 * pt.c (coerce_template_parms): Copy across the invalid template arguments to the new template inner arguments. (retrieve_specialization): Robustify. * g++.dg/template/void3.C: New test. PR c++/28638 * pt.c (coerce_template_template_parms): Robustify. * g++.dg/template/void4.C: New test. PR c++/28639 * error.c (dump_template_parms): Robustify. PR c++/28640 * pt.c (redeclare_class_template): Robustify * g++.dg/template/void5.C: New test. PR c++/28641 * pt.c (type_unification_real): Robustify. From-SVN: r116043
2006-08-09rs6000.c (print_operand): Fix comment and adjust.Eric Botcazou3-8/+15
* config/rs6000/rs6000.c (print_operand) <D>: Fix comment and adjust. (rs6000_generate_compare): Tweak comments. * config/rs6000/rs6000.md (UNSPEC_MV_CR_GT): Fix comment. From-SVN: r116041
2006-08-09var-tracking.c (enum micro_operation_type): Add MO_COPY.Alexandre Oliva3-69/+295
* var-tracking.c (enum micro_operation_type): Add MO_COPY. (var_debug_decl): New function. (var_reg_set): Follow debug decl link. Add location even if reg is already known to hold some other variable. (var_mem_set): Follow debug decl link. (var_reg_delete_and_set, var_mem_delete_and_set): Follow debug decl link. Delete other known locations of the variable part if requested. (var_reg_delete, var_mem_delete): Delete other known locations of the variable part if requested. (same_variable_part_p): New function. (add_stores): Select MO_COPY when appropriate. (vt_initialize): Handle it. (compute_bb_dataflow, emit_notes_in_bb): Likewise. Delete known locations for MO_SET and MO_CLOBBER. (find_variable_location_part): New function. (set_variable_part, delete_variable_part): Use it. (clobber_variable_part): New function. * dwarf2out.c (dwarf2out_var_location): Do not follow debug decl link. From-SVN: r116031
2006-08-09Daily bump.GCC Administrator1-1/+1
From-SVN: r116027
2006-08-08Daily bump.GCC Administrator1-1/+1
From-SVN: r116010
2006-08-07class1.C (dg-require-visibility): Move after dg-do compile.Danny Smith2-1/+6
* g++.dg/ext/visibility/class1.C (dg-require-visibility): Move after dg-do compile. From-SVN: r116006
2006-08-07re PR tree-optimization/26969 (ICE with -O1 -funswitch-loops -ftree-vectorize)Victor Kaplansky5-3/+34
ChangeLog PR tree-optimization/26969 * tree-vect-analyze.c (vect_analyze_loop_form): Add check of latch witch an empty list of PHIs. testsuite/Changelog: PR tree-optimizations/26969 * gcc.dg/vect/vect.exp: Compile tests prefixed with "unswitch-loops" with -funswitch-loops. * gcc.dg/vect/unswitch-loops-pr26969.c: New test. From-SVN: r115995
2006-08-07dwarf-1.m: Skip on Solaris 2.5.1 and 2.6 too.Eric Botcazou4-3/+6
* objc.dg/dwarf-1.m: Skip on Solaris 2.5.1 and 2.6 too. * objc.dg/dwarf-2.m: Likewise. * obj-c++.dg/dwarf-2.mm: Likewise From-SVN: r115994
2006-08-07unused1.C: Skip on Solaris 2.5.1 and 2.6 too.Eric Botcazou2-2/+2
* g++.dg/other/unused1.C: Skip on Solaris 2.5.1 and 2.6 too. From-SVN: r115993
2006-08-07unused1.C: Also match "asci?z".Eric Botcazou2-2/+3
* g++.dg/other/unused1.C: Also match "asci?z". From-SVN: r115992
2006-08-07spbp.C: Skip on Solaris 2.5.1 and 2.6 too.Eric Botcazou2-1/+2
* g++.dg/eh/spbp.C: Skip on Solaris 2.5.1 and 2.6 too. From-SVN: r115991
2006-08-07sparc-getcontext-1.c: Fix typo.Eric Botcazou2-1/+5
* gcc.dg/sparc-getcontext-1.c: Fix typo. From-SVN: r115988
2006-08-07dwarf-1.m: Skip on 32-bit hppa hpux.John David Anglin4-2/+7
* objc.dg/dwarf-1.m: Skip on 32-bit hppa hpux. * objc.dg/dwarf-2.m: Likewise. * obj-c++.dg/dwarf-2.mm: Likewise. From-SVN: r115987
2006-08-07Daily bump.GCC Administrator1-1/+1
From-SVN: r115985
2006-08-07re PR libfortran/28603 (FAIL: gfortran.dg/direct_io_6.f90 -O0 execution test)John David Anglin2-0/+4
PR libfortran/28603 * gfortran.dg/direct_io_6.f90: Skip on hppa*-*-hpux*. From-SVN: r115980
2006-08-06re PR testsuite/27611 (FAIL: g++.dg/other/unused1.C scan-assembler ↵John David Anglin2-0/+4
string\t"class2" and string\t"printer") PR testsuite/27611 * g++.dg/other/unused1.C: Skip on hppa*-*-hpux* if not hppa*64*-*-*. From-SVN: r115979
2006-08-06re PR testsuite/27033 (g++.dg/eh/spbp.C (test for excess errors) fails)John David Anglin2-1/+6
PR testsuite/27033 * g++.dg/eh/spbp.C: Skip on hppa*-*-hpux* if not hppa*64*-*-*. From-SVN: r115978
2006-08-06sh-modes.def: comment pasto fix.Joern Rennecke1-1/+1
From-SVN: r115974
2006-08-06* config/m68k/m68k.md (truncxfsf2): Readd.Andreas Schwab2-0/+11
From-SVN: r115973
2006-08-06re PR debug/26827 ("GNAT BUG DETECTED" on compile GPS 1.3.1/gtkada)Paolo Bonzini4-0/+50
2006-08-06 Paolo Bonzini <bonzini@gnu.org> PR target/26827 * config/i386/i386.md: Add peephole2 to avoid "fld %st" instructions. 2006-08-06 Paolo Bonzini <bonzini@gnu.org> PR target/26827 * gcc.target/i386/pr27827.c: New testcase. From-SVN: r115969
2006-08-06m68k.c (m68k_output_function_epilogue): Fix format string.Andreas Schwab2-10/+15
* config/m68k/m68k.c (m68k_output_function_epilogue): Fix format string. Whitespace and comment fixup. From-SVN: r115968
2006-08-06re PR fortran/28590 (A SEQUENCEd defined type which refers to another ↵Paul Thomas5-15/+103
defined type generates a spurious complaint about the lack of SEQUENCE attribute in the latter) 2006-08-06 Paul Thomas <pault@gcc.gnu.org> PR fortran/28590 * parse.c (parse_derived): Remove the test for sequence type components of a sequence type. * resolve.c (resolve_fl_derived): Put the test here so that pointer components are tested. 2006-08-06 Paul Thomas <pault@gcc.gnu.org> PR fortran/28590 * gfortran.dg/sequence_types_1.f90: New test. From-SVN: r115966
2006-08-06re PR fortran/28548 ([4.1 only] Optional argument failed)Steven G. Kargl4-16/+35
2006-08-05 Steven G. Kargl <kargls@comcast.nt> PR fortran/28548 * gfortran.dg/elemental_optional_args_1.f90: dg-error becomes dg-warning. Add -pedantic option. * resolve.c(resolve_elemental_actual): Add flags.h to use -pedantic and exclude conversion functions in conditional. Change gfc_error to gfc_warning. (warn_unused_label) Rename to ... (warn_unused_fortran_label) avoid warn_unused_label in flags.h. From-SVN: r115963
2006-08-06Daily bump.GCC Administrator1-1/+1
From-SVN: r115961
2006-08-05re PR c/28502 (ICE with invalid declaration after definition)Volker Reichelt4-2/+20
PR c/28502 * c-decl.c (validate_proto_after_old_defn): Return false on invalid argument. * gcc.dg/proto-1.c: New test. From-SVN: r115957
2006-08-05re PR c/27721 (ICE using += with a function)Volker Reichelt4-3/+17
PR c/27721 * c-typeck.c (build_modify_expr): Test earlier for non-lvalues. * gcc.dg/lvalue-4.c: New test. From-SVN: r115955
2006-08-05re PR c/28136 (ICE with incomplete array type)Volker Reichelt4-7/+22
PR c/28136 * c-parser.c (c_parser_postfix_expression_after_paren_type): Robustify. * gcc.dg/init-bad-5.c: New test. From-SVN: r115952
2006-08-05Daily bump.GCC Administrator1-1/+1
From-SVN: r115938
2006-08-04re PR c++/28347 (ICE on typedef with initialization)Lee Millward4-4/+21
PR c++/28347 * decl.c (start_decl): Return error_mark_node if a diagnostic was issed for an invalid typedef initialization. * g++.dg/ext/typedef-init.C: Add new test for typedef initialization inside templates. Adjust existing error markers From-SVN: r115931
2006-08-04re PR rtl-optimization/26655 (ICE in ix86_secondary_memory_needed, at ↵Jan Hubicka2-1/+26
config/i386/i386.c:16446) PR target/26655 PR target/28270 * reload.c (push_reload): Patch out the mismathcing instruction; return early. (find_reload): Bail out if the instruction was patched out. From-SVN: r115928
2006-08-04re PR tree-optimization/24888 (duplication of local variables after ↵Jan Hubicka2-3/+13
versioning/inlining) PR tree-optimization/24888 * tree-inline.c (expand_call_inline): Do not re-record variables. (declare_inline_vars): Add variable to unexpanded_var_list. From-SVN: r115927
2006-08-04re PR rtl-optimization/26244 (FAIL: gcc.c-torture/execute/builtin-bitops-1.c ↵John David Anglin2-11/+51
execution, -O3 -fomit-frame-pointer -funroll-loops) PR rtl-optimization/26244 * cse.c (fold_rtx): Correctly associate shifts when const_arg1 and/or inner_const are negative or greater than or equal to the bitsize of MODE. If SHIFT_COUNT_TRUNCATED is false, the values aren't associated. Otherwise, the values are masked using GET_MODE_BITSIZE (mode) - 1. Simplify complicated if statement. For ASHIFT and LSHIFTRT, return CONST0_RTX (mode) when the new shift count is greater than or equal to to the bitsize of the object being shifted and XEXP (y, 0) has no side effects. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r115924
2006-08-04* tree-cfg.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r115921
2006-08-04re PR c++/28148 (ICE with pointer to member function initializer and cast to ↵Mark Mitchell4-0/+22
a different type) PR c++/28148 * varasm.c (output_constant): Give the front end another chance to expand constants, after stripping NOPs. PR c++/28148 * g++.dg/init/ptrmem3.C: New test. From-SVN: r115919
2006-08-04Daily bump.GCC Administrator1-1/+1
From-SVN: r115917
2006-08-03domwalk.c (walk_dominator_tree): Reorganize to non-recursive implementation.Jan Hubicka2-87/+116
* domwalk.c (walk_dominator_tree): Reorganize to non-recursive implementation. From-SVN: r115912
2006-08-03re PR middle-end/27770 (wrong code in spec tests for -ftree-vectorize -maltivec)Dorit Nuzman11-2/+263
PR tree-optimization/27770 * tree-vectorizer.h (get_vectype_for_scalar_type): Function declaration removed (moved to tree-flow.h). (vect_can_force_dr_alignment_p): Likewise. * tree-flow.h (get_vectype_for_scalar_type): New function declaration (moved from tree-vectorizer.h). (vect_can_force_dr_alignment_p): Likewise. * tree-vectorizer.c (vect_print_dump_info): Allow calling this function from outside the vectorizer - in particular from cgraph stage. * tree-vect-analyze.c (vect_compute_data_ref_alignment): Don't increase the alignment of global arrays when -fsection-anchors is enabled. * cgraphunit.c (cgraph_increase_alignment): New function. (cgraph_optimize): Call cgraph_increase_alignment. From-SVN: r115910
2006-08-0320060801-1.c: Add missing '}'.John David Anglin2-1/+5
* gcc.dg/20060801-1.c: Add missing '}'. From-SVN: r115903
2006-08-03re PR target/27566 (ICEs in final_scan_insn and reload_cse_simplify_operands ↵David Edelsohn2-0/+7
for vectors with SPE) PR target/27566 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do not reload a SPE symbol_ref into a lo_sum address. From-SVN: r115902
2006-08-03Typo.Andreas Schwab1-1/+1
From-SVN: r115899
2006-08-03re PR c++/27508 (ICE on invalid destructor name)Volker Reichelt6-3/+41
PR c++/27508 * parser.c (cp_parser_unqualified_id): Check for invalid scopes when parsing destructor names. * g++.dg/parse/dtor9.C: New test. * g++.dg/parse/dtor10.C: New test. * g++.dg/other/error7.C: Adjust error-marker. From-SVN: r115896
2006-08-03re PR c++/28274 (Redeclaration with extra default argument doesn't work)Volker Reichelt5-5/+66
PR c++/28274 * decl.c (duplicate_decls): Call check_default_args here. (start_preparsed_function): Do not call check_default_args. * name-lookup.c (pushdecl_maybe_friend): Only call check_default_args if duplicate_decls got bypassed. * g++.dg/other/default5.C: New test. From-SVN: r115893
2006-08-03Daily bump.GCC Administrator1-1/+1
From-SVN: r115891
2006-08-02re PR c++/28479 (cc1plus just sits there eating CPU and RAM for a simple ↵Richard Guenther4-3/+17
program) 2006-08-02 Richard Guenther <rguenther@suse.de> PR c++/28479 Revert 2006-07-05 Richard Guenther <rguenther@suse.de> Andrew Pinski <pinskia@gcc.gnu.org> PR c++/27084 * cp-objcp-common.c (cxx_types_compatible_p): Ignore top level qualifiers for pointer type comparisons. * g++.dg/tree-ssa/copyprop-1.C: XFAIL. From-SVN: r115887
2006-08-02re PR c++/28557 (Trouble with templated type conversion operator)Mark Mitchell4-0/+31
PR c++/28557 * pt.c (tsubst_baselink): Substitute into BASELINK_OPTYPE. PR c++/28557 * g++.dg/template/conv9.C: New test. From-SVN: r115886
2006-08-02re PR debug/28063 (Dwarf no longer uses merged strings for DW_AT_comp_dir)Daniel Jacobowitz5-9/+88
gcc/ PR debug/28063 * dwarf2out.c (prune_unused_types_prune): Move call to prune_unused_types_update_strings to cover the parent DIE also. gcc/testuite/ PR debug/28063 * gcc.dg/debug/dwarf2/dwarf-merge.c: New test. * lib/target-supports.exp (get_compiler_messages): Add WANT_OUTPUT. Optionally return assembly text. Update callers. (check_no_compiler_messages): Update verbose messages. (check_no_messages_and_pattern): New. (check_effective_target_string_merging): New. From-SVN: r115874
2006-08-02PR gcov/profile/28480Jan Hubicka2-2/+23
PR gcov/profile/28480 * tree-cfg.c (change_bb_for_stmt): New function. (tree_merge_blocks, tree_split_blocks): Use it. From-SVN: r115873
2006-08-02Daily bump.GCC Administrator1-1/+1
From-SVN: r115870
2006-08-01re PR c++/28250 (ICE with invalid catch)Volker Reichelt11-10/+87
PR c++/28250 PR c++/28257 PR c++/28259 PR c++/28267 * toplev.c (compile_file): Return early on errorcount or sorrycount. * cgraphunit.c (cgraph_finalize_compilation_unit): Likewise. (cgraph_optimize): Likewise. PR c++/28250 * g++.dg/eh/catch4.C: New test. PR c++/28257 * g++.dg/other/qual1.C: New test. PR c++/28259 * g++.dg/inherit/error2.C: New test. PR c++/28267 * g++.dg/other/new1.C: New test. * g++.dg/warn/pr23075.C: Remove obsolete test. * g++.old-deja/g++.brendan/crash52.C: Remove dg-warning marker. * g++.old-deja/g++.jason/report.C: Remove dg-warning marker. From-SVN: r115866