aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-06-30re PR fortran/32472 (ICE in trans-const.c:106 for REPEAT initialization ↵Paul Thomas1-0/+6
expression of non-parameter) 2007-06-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/32472 * simplify.c (gfc_simplify_repeat): Add handling of character literal for first argument. 2007-06-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/30284 * gfortran.dg/repeat_f90: New test. From-SVN: r126148
2007-06-30re PR fortran/32472 (ICE in trans-const.c:106 for REPEAT initialization ↵Paul Thomas3-8/+43
expression of non-parameter) 2007-06-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/32472 * simplify.c (gfc_simplify_repeat): Add handling of character literal for first argument. 2007-06-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/30284 * gfortran.dg/repeat_f90: New test. From-SVN: r126147
2007-06-30re PR testsuite/25241 ([C++] DejaGNU does not distinguish between errors and ↵Manuel López-Ibáñez8-21/+37
warnings) 2007-06-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR testsuite/25241 testsuite/ * gcc.dg/cpp/20000625-1.c: Without dg-options the default is -pedantic-errors, so we should match errors. * gcc.dg/cpp/escape-1.c: Likewise. * gcc.dg/cpp/charconst.c: Empty character constants are errors. * gcc.dg/cpp/direct2.c: This is a mandatory error instead of a warning. * gcc.dg/cpp/endif-pedantic2.c: Use -pedantic-errors to obtain errors instead of warnings. * gcc.dg/cpp/extratokens.c: Use dg-warning instead of dg-error for a pedantic warning. * gcc.dg/cpp/arith-3.c: Likewise. From-SVN: r126146
2007-06-30re PR testsuite/25241 ([C++] DejaGNU does not distinguish between errors and ↵Manuel López-Ibáñez6-7/+23
warnings) 2007-06-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR testsuite/25241 testsuite/ * gcc.dg/pch/valid-1.c: Match each diagnostic with its own directive. * gcc.dg/pch/valid-2.c: Likewise. * gcc.dg/pch/valid-3.c: Likewise. * gcc.dg/pch/warn-1.c: Likewise. * gcc.dg/pch/valid-4.c: Match a warning instead of an error. From-SVN: r126145
2007-06-30re PR c/4076 (-Wunused doesn't warn about static function only called by ↵Manuel López-Ibáñez5-4/+26
itself.) 2007-06-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR c/4076 * c-typeck.c (build_external_ref): Don't mark as used if called from itself. * calls.c (rtx_for_function_call): Likewise. testsuite/ * gcc.dg/Wunused-function.c: New. From-SVN: r126144
2007-06-30revert: dce.c (deletable_insn_p_1): New function, split out from...Richard Sandiford2-40/+36
gcc/ Revert: 2007-06-27 Richard Sandiford <richard@codesourcery.com> * dce.c (deletable_insn_p_1): New function, split out from... (deletable_insn_p): ...here. Only treat bare USEs and CLOBBERs specially, not those inside PARALLELs. Remove BODY argument and adjust recursive call accordingly. (prescan_insns_for_dce): Update call to delete_insn_p. From-SVN: r126143
2007-06-30combine.c (combine_validate_cost): New parameter NEWOTHERPAT.Rask Ingemann Lambertsen2-29/+43
* combine.c (combine_validate_cost): New parameter NEWOTHERPAT. (try_combine): Move potential calls to undo_all() so they happen before we commit to using the combined insns. From-SVN: r126142
2007-06-30loop-unroll.c (unroll_loop_runtime_iterations): Unshare newly emit code.Jan Hubicka2-0/+6
* loop-unroll.c (unroll_loop_runtime_iterations): Unshare newly emit code. From-SVN: r126141
2007-06-30ipa.c (cgraph_postorder): Cast according to the coding conventions.Thomas Neumann9-46/+75
* ipa.c (cgraph_postorder): Cast according to the coding conventions. (cgraph_remove_unreachable_nodes): Likewise. * ipa-cp.c (ipcp_propagate_stage): Use BOTTOM instead of integer 0. * ipa-inline.c (update_caller_keys): Cast according to the coding conventions. (cgraph_decide_recursive_inlining): Likewise. (cgraph_decide_inlining_of_small_function): Likewise. (try_inline): Likewise. (cgraph_decide_inlining_incrementally): Likewise. * ipa-pure-const.c (get_function_state): Likewise. (scan_function): Likewise. (analyze_function): Likewise. (static_execute): Likewise. * gcc/ipa-reference.c (scan_for_static_refs): Likewise. (merge_callee_local_info): Likewise. (analyze_function): Use type safe memory macros. (static_execute): Likewise. Cast according to the coding conventions. * ipa-type-escape.c (scan_for_regs): Cast according to the coding conventions. * ipa-utils.c (searchc): Likewise. Avoid using C++ keywords as variable names. (ipa_utils_reduced_inorder): Likewise. Use type safe memory macros. * ipa-utils.h (struct ipa_dfa_info): Avoid using C++ keywords as variable names. From-SVN: r126140
2007-06-29Add forgotten PR number to the last changelog entry:Andrew Pinski1-0/+1
2007-06-29 Andrew Pinski <andrew_pinski@playstation.sony.com> PR middle-end/30024 * emit-rtl.c (init_emit_once): Intilize const_tiny_rtx[0] for complex modes (both int and real). From-SVN: r126137
2007-06-29emit-rtl.c (init_emit_once): Intilize const_tiny_rtx[0] for complex modes ↵Andrew Pinski2-3/+24
(both int and real). 2007-06-29 Andrew Pinski <andrew_pinski@playstation.sony.com> * emit-rtl.c (init_emit_once): Intilize const_tiny_rtx[0] for complex modes (both int and real). From-SVN: r126136
2007-06-30Daily bump.GCC Administrator1-1/+1
From-SVN: r126134
2007-06-29inline_1.f90: Fix test.Jerry DeLisle2-1/+5
2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org> * gfortran.fortran-torture/compile/inline_1.f90: Fix test. From-SVN: r126131
2007-06-29* cse.c: Rever accidentally comitted TODO_verify_rtl_sharing change.Jan Hubicka2-2/+6
From-SVN: r126130
2007-06-29re PR c++/31724 (More "same canonical type node" fun)Doug Gregor4-0/+20
2007-06-29 Douglas Gregor <doug.gregor@gmail.com> PR c++/31724 * init.c (build_new_1): Use structural equality on the copy of the array type. 2007-06-29 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/other/canon-31724.C: New. From-SVN: r126124
2007-06-29re PR rtl-optimization/32372 (ICE in df_refs_verify, at df-scan.c:4065)Jan Hubicka4-3/+35
PR middle-end/32372 * cse.c (cse_insn): Avoid invalid sharing in between register note and the insn pattern. From-SVN: r126122
2007-06-30re PR target/32335 (libgcc build failure, ICE in cselib_record_set, at ↵Anatoly Sokolov3-10/+19
cselib.c:1508) PR target/32335 * config/avr/avr.c: Include dataflow header file. (expand_prologue): Adjust for prologue insn change. * config/avr/avr.md (call_prologue_saves): Only modify REG_SP once inside a insn. From-SVN: r126121
2007-06-29std_c++0x_neg.cc: Force C++98 mode.Doug Gregor13-0/+13
2007-06-29 Douglas Gregor <doug.gregor@gmail.com> * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc: Force C++98 mode. * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Ditto. * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Ditto. * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Ditto. * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Ditto. From-SVN: r126120
2007-06-29re PR libfortran/32456 (IO error message should show Unit/Filename)Jerry DeLisle2-4/+26
2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/32456 * io/unit.c (filename_from_unit): Don't use find_unit, instead search for unit directly. From-SVN: r126119
2007-06-29re PR fortran/31580 (Better error message for not-found operator)Daniel Franke4-1/+21
gcc/fortran: 2007-06-29 Daniel Franke <franke.daniel@gmail.com> PR fortran/31580 * resolve.c (resolve_operator): Added check whether a user defined operator is available. gcc/testsuite: 2007-06-29 Daniel Franke <franke.daniel@gmail.com> PR fortran/31580 * gfortran.dg/operator_3.f90: New test. From-SVN: r126117
2007-06-29Missing ChangeLogs for revision 126115.Daniel Franke2-1/+11
From-SVN: r126116
2007-06-29openmp.c (resolve_omp_clauses): Adjust error message to better reflect the ↵Daniel Franke3-7/+7
actual requirement. gcc/fortran: 2007-06-29 Daniel Franke <franke.daniel@gmail.com> * openmp.c (resolve_omp_clauses): Adjust error message to better reflect the actual requirement. gcc/testsuite: 2007-06-29 Daniel Franke <franke.daniel@gmail.com> * gfortran.dg/gomp/reduction1.f90: Adjust error message. * gfortran.dg/gomp/allocatable_components_1.f90: Likewise. From-SVN: r126115
2007-06-29Correct date.Daniel Jacobowitz1-1/+1
From-SVN: r126114
2007-06-29re PR middle-end/32493 (Fails to inline varargs function with unused arguments)Richard Guenther4-7/+42
2006-06-29 Richard Guenther <rguenther@suse.de> PR middle-end/32493 * gimplify.c (gimplify_call_expr): Ignore variable argument parts during type verification. * gcc.dg/inline-23.c: New testcase. From-SVN: r126113
2007-06-29* recog.c (validate_change_rtx_1): Unshare TO argument.Jan Hubicka2-1/+5
From-SVN: r126112
2007-06-29re PR tree-optimization/24659 (Conversions are not vectorized)Uros Bizjak8-51/+307
PR tree-optimization/24659 * tree-vect-transform.c (vectorizable_call): Handle (nunits_in == nunits_out / 2) and (nunits_out == nunits_in / 2) cases. * config/i386/sse.md (vec_pack_sfix_v2df): New expander. * config/i386/i386.c (enum ix86_builtins) [IX86_BUILTIN_VEC_PACK_SFIX]: New constant. (struct bdesc_2arg) [__builtin_ia32_vec_pack_sfix]: New builtin description. (ix86_init_mmx_sse_builtins): Define all builtins with 2 arguments as const using def_builtin_const. (ix86_expand_binop_builtin): Remove bogus assert() that insn wants input operands in the same modes as the result. (ix86_builtin_vectorized_function): Handle BUILT_IN_LRINT. testsuite/ChangeLog: PR tree-optimization/24659 * gcc.target/i386/vectorize2.c: New test. * gcc.target/i386/sse2-lrint-vec.c: New runtime test. * gcc.target/i386/sse2-lrintf-vec.c: Ditto. From-SVN: r126111
2007-06-29(forgot svn add in the previous commit)Tobias Burnus1-0/+10
2007-06-29 Tobias Burnus <burnus@net-b.de> PR fortran/32483 * gfortran.dg/fmt_read_2.f90: New. From-SVN: r126110
2007-06-29df-problems.c (df_set_unused_notes_for_mw): Fix formatting.Richard Sandiford2-13/+15
gcc/ * df-problems.c (df_set_unused_notes_for_mw): Fix formatting. (df_set_dead_notes_for_mw): Likewise. From-SVN: r126109
2007-06-29c-common.c (pointer_int_sum): Do the negation in sizetype.Eric Botcazou4-11/+21
* c-common.c (pointer_int_sum): Do the negation in sizetype. From-SVN: r126108
2007-06-29re PR fortran/32483 (edit descriptor checking: Compile-time check for zero ↵Tobias Burnus3-9/+33
width for reading) 2007-06-29 Tobias Burnus <burnus@net-b.de> PR fortran/32483 * io.c (format_lex): Fix FMT_ZERO. (check_format,check_format_string,gfc_match_format, check_io_constraints) Additional checking for READ. 2007-06-29 Tobias Burnus <burnus@net-b.de> PR fortran/32483 * gfortran.dg/fmt_read_2.f90: New. From-SVN: r126107
2007-06-29open_errors.f90: Check for existance of temptestfile.Jerry DeLisle2-2/+11
2007-06-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> * gfortran.dg/open_errors.f90: Check for existance of temptestfile. If it exists, don't try to create it. From-SVN: r126105
2007-06-28jvmti-interp.exp (gij_jvmti_test_one): Fix a typo.H.J. Lu2-2/+6
2007-06-28 H.J. Lu <hongjiu.lu@intel.com> * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Fix a typo. From-SVN: r126104
2007-06-29Daily bump.GCC Administrator1-1/+1
From-SVN: r126101
2007-06-28re PR libstdc++/32509 (unable to explicitely configure with a given locale ↵Paolo Carlini4-37/+51
model) 2007-06-28 Paolo Carlini <pcarlini@suse.de> PR libstdc++/32509 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Carry out the checks involving the de_DE locale only if an auto locale config is used for a target suitable for the gnu locale model. * docs/html/install.html: Update. * configure: Regenerated. From-SVN: r126096
2007-06-28Fix typo.Geoffrey Keating1-1/+1
From-SVN: r126093
2007-06-28* config/m32c/m32c.h (OVERRIDE_OPTIONS): Omit unneeded semicolon.DJ Delorie2-1/+5
From-SVN: r126092
2007-06-28re PR libgcj/30999 (support for GCC4.0's fvisibility option in JNIEXPORT macro)Jan Nijtmans2-10/+20
2007-06-28 Jan Nijtmans <nijtmans@users.sourceforge.net> PR libgcj/30999: * jni_md.h: Add the possibility to compile jni code with. -fvisibility=hidden. This causes all symbols to be hidden except the JNI functions which need to be exported. From-SVN: r126090
2007-06-28configure.ac (arm*-*-linux-gnueabi): Don't build libgloss if we're not ↵DJ Delorie3-0/+12
building newlib. * configure.ac (arm*-*-linux-gnueabi): Don't build libgloss if we're not building newlib. * configure: Regenerated. From-SVN: r126089
2007-06-28Index: gcc/ChangeLogGeoffrey Keating8-0/+100
2007-06-21 Geoffrey Keating <geoffk@apple.com> * doc/invoke.texi (C++ Dialect Options): Document fvisibility-ms-compat. * c.opt (fvisibility-ms-compat): New. Index: gcc/cp/ChangeLog 2007-06-21 Geoffrey Keating <geoffk@apple.com> * decl2.c (determine_visibility): Implement flag_visibility_ms_compat effect on type info. * decl.c (cxx_init_decl_processing): Implement global effect of flag_visibility_ms_compat. Index: gcc/testsuite/ChangeLog 2007-06-26 Geoffrey Keating <geoffk@apple.com> * g++.dg/ext/visibility/ms-compat-1.C: New. From-SVN: r126088
2007-06-28* gcc_release: Update for Objective-C++.Mike Stump1-0/+4
From-SVN: r126087
2007-06-28* gcc_release: Update for Objective-C++.Mike Stump1-1/+1
From-SVN: r126084
2007-06-28jvmti-interp.exp (gij_jvmti_test_one): Pass the cxxldlibflags to exec_gij to ↵Andreas Tobler2-2/+8
have the right libstdc++ invoked. 2007-06-28 Andreas Tobler <a.tobler@schweiz.org> * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass the cxxldlibflags to exec_gij to have the right libstdc++ invoked. From-SVN: r126083
2007-06-28re PR middle-end/32417 (416.gamess ICEs (in aff_combination_add_elt, ↵Andrew Pinski4-5/+43
tree-affine.c)) 2007-06-28 Andrew Pinski <andrew_pinski@playstation.sony.com> PR tree-opt/32417 * tree-affine.c (aff_combination_add_elt): Handle pointer addition specially. 2007-06-28 Andrew Pinski <andrew_pinski@playstation.sony.com> PR tree-opt/32417 * gfortran.fortran-torture/compile/pr32417.f90: New test. From-SVN: r126082
2007-06-28MAINTAINERS (Write After Approval): Add myself.Jan Sjodin2-0/+5
2007-06-28 Jan Sjodin <jan.sjodin@amd.com> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r126081
2007-06-28decl2.c (start_objects): Mark constructor-runnning function as artificial.Geoffrey Keating2-0/+9
* decl2.c (start_objects): Mark constructor-runnning function as artificial. From-SVN: r126080
2007-06-28[multiple changes]Jakub Jelinek3-2/+15
2007-06-28 Jakub Jelinek <jakub@redhat.com> * config/rs6000/rs6000.c (rs6000_function_ok_for_sibcall): Ensure decl is non-external for AIX ABI. 2007-06-28 David Edelsohn <edelsohn@gnu.org> * config/rs6000/predicates.md (current_file_function_operand): Ensure the symbol is non-external for AIX ABI. From-SVN: r126076
2007-06-28* gcc.dg/vect/vect-iv-4.c: Test now passes on vect_pack_trunc targetsDorit Nuzman2-1/+6
From-SVN: r126075
2007-06-28common.opt (fipa-matrix-reorg): Add Optimization attribute.Nick Clifton2-4/+9
* common.opt (fipa-matrix-reorg): Add Optimization attribute. (fdce, fdse, fpredictive-commoning): Likewise. From-SVN: r126073
2007-06-28Daily bump.GCC Administrator1-1/+1
From-SVN: r126071
2007-06-27re PR other/31400 (enable static linking of support libraries through ↵Francois-Xavier Coudert6-5/+74
-static-libXY) PR other/31400 * gcc.c (process_command): Recognize the new -static-libgfortran option. * lang.opt (static-libgfortran): New option. * gfortranspec.c (ADD_ARG_LIBGFORTRAN): New macro. (Option): Add OPTION_static and OPTION_static_libgfortran. (lookup_option): Handle the new -static-libgfortran option. (lang_specific_driver): Check whether -static is passed. Handle the new -static-libgfortran option. * options.c (gfc_handle_option): If -static-libgfortran is passed and isn't supported on this configuration, error out. From-SVN: r126068