aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-08-30re PR target/23630 (built-ins MMX regression)Richard Henderson2-10/+21
PR target/23630 * expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Use gen_lowpart whenever the mode sizes match. From-SVN: r103660
2005-08-30re PR objc/23381 (Next runtime objc exceptions are broken)Andrew Pinski2-0/+7
2005-08-31 Andrew Pinski <pinskia@physics.uc.edu> PR objc/23381 * objc-act.c (next_sjlj_build_try_catch_finally): Set TREE_SIDE_EFFECTS on catch_seq after building it. From-SVN: r103658
2005-08-31calls.c (load_register_parameters): Fix comment typo.Alan Modra3-2/+7
* calls.c (load_register_parameters): Fix comment typo. * expr.c (emit_push_insn): Comment formatting. From-SVN: r103656
2005-08-31Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r103651.2
2005-08-30x-cygwin (host-cygwin): Change dependency from hosthooks-def.h to ↵Ian Lance Taylor2-1/+6
$(HOSTHOOKS_DEF_H). * config/i386/x-cygwin (host-cygwin): Change dependency from hosthooks-def.h to $(HOSTHOOKS_DEF_H). From-SVN: r103648
2005-08-30re PR testsuite/23609 (all obj-c++ execute tests fails with the GNU runtime)Andrew Pinski2-34/+26
2005-08-30 Andrew Pinski <pinskia@physics.uc.edu> PR testsuite/23609 * lib/obj-c++.exp: Include target-libpath.exp. (obj-c++_link_flags): Look for the GNU libobjc library and set the library path to include it. Don't manually set LD_LIBRARY_PATH (etc.) but call set_ld_library_path_env_vars instead. (obj-c++_target_compile): Don't set library path or linker flags because they are already set correctly in obj-c++_link_flags. From-SVN: r103646
2005-08-30re PR c++/23586 (Bad diagnostic for invalid namespace-name)Volker Reichelt3-23/+20
PR c++/23586 * parser.c (cp_parser_namespace_name): Move diagnostic for invalid namespace-name to here from ... * name-lookup.c (do_namespace_alias): ... here and ... (do_using_directive): ... here. Remove dead code. From-SVN: r103643
2005-08-30builtin-stringop-chk-1.c: Add -mstructure-size-boundary=8 to command-line ↵Josh Conner2-0/+6
options for arm-*-* targets. * gcc.dg/builtin-stringop-chk-1.c: Add -mstructure-size-boundary=8 to command-line options for arm-*-* targets. From-SVN: r103640
2005-08-30[multiple changes]Geoffrey Keating4-2/+31
2005-08-29 Geoffrey Keating <geoffk@apple.com> * config/i386/i386.c (ix86_expand_vector_init_one_var): Don't modify parts of 'vals'. Index: testsuite/ChangeLog 2005-08-30 Geoffrey Keating <geoffk@apple.com> * g++.dg/other/i386-1.C: New. From-SVN: r103632
2005-08-30re PR preprocessor/20348 (File not included when file with same name is ↵Jakub Jelinek9-0/+74
included before) PR preprocessor/20348 PR preprocessor/20356 * files.c (_cpp_find_file, search_cache): Revert 2004-06-26 and 2004-06-05 changes. * gcc.dg/cpp/pr20348.c: New test. * gcc.dg/cpp/pr20348.h: New file. * gcc.dg/cpp/inc/pr20348.h: New file. * gcc.dg/cpp/inc/pr20348-aux.h: New file. * gcc.dg/cpp/pr20356.c: New test. * gcc.dg/cpp/pr20356.h: New file. * gcc.dg/cpp/inc/pr20356.h: New file. * gcc.dg/cpp/inc/pr20356-aux.h: New file. From-SVN: r103629
2005-08-30intrinsic_count.f90: Fix array dimension to avoid correct end-of-file error.Jerry DeLisle2-2/+7
2005-08-29 Jerry DeLisle <jvdelisle@verizon.net> * gfortran.fortran-torture/execute/intrinsic_count.f90: Fix array dimension to avoid correct end-of-file error. From-SVN: r103626
2005-08-30Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r103619.2
2005-08-29[multiple changes]Thomas Koenig2-0/+19
2005-08-29 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/23598 * io/lock.c(library_start): If ioparm.iostat is present, clear it unconditionally. 2005-02-29 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/23598 * gfortran.dg/iostat_1.f90: New test. From-SVN: r103613
2005-08-29[multiple changes]Andrew Pinski4-1/+15
2005-08-18 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/23408 * ipa-inline.c (cgraph_decide_inlining_incrementally): Remove the call to ggc_collect. 2005-08-28 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/23408 * gcc.dg/pr23408.c: New test. From-SVN: r103612
2005-08-29resyncArnaud Charlet1-0/+47
From-SVN: r103608
2005-08-29trans.c: Protect < in error msg with quote Replace GCC_ZCX by ↵Arnaud Charlet1-11/+15
Back_End_Exceptions. 2005-08-29 Arnaud Charlet <charlet@adacore.com> Eric Botcazou <ebotcazou@adacore.com> * trans.c: Protect < in error msg with quote Replace GCC_ZCX by Back_End_Exceptions. (addressable_p) <COMPONENT_REF>: Also return 1 if the field has been sufficiently aligned in the record. From-SVN: r103607
2005-08-29re PR ada/21053 (Warnings from init.c)Arnaud Charlet4-94/+72
2005-08-29 Arnaud Charlet <charlet@adacore.com> Doug Rupp <rupp@adacore.com> * s-stalib.adb: Add missing pragma Warnings (On) to reenable Warnings when needed. (Inside_Elab_Final_Code): Moved to init.c to avoid having to keep this code in the GNAT run-time. * decl.c, fe.h: Replace GCC_ZCX by Back_End_Exceptions. PR ada/21053 * init.c (__gnat_error_handler [many]): Mark "msg" as const (__gnat_error_handler [HPUX]): Mark siginfo parameter as unused (__gnat_inside_elab_final_code): Moved here from Standard_Library and only defined for the compiler. __gnat_error_handler [VMS]: Adjust sigargs to account for PC & PSL. (__gnat_inum_to_ivec): Do not define this function on VxWorks when using RTPs because directly vectored Interrupt routines are not supported on this configuration. (getpid): Do not redefine this function on VxWorks when using RTPs because this primitive is well supported by the RTP libraries. (copy_msg): Correct the code that checks for buffer overflow. Discovered during code reading. From-SVN: r103606
2005-08-29re PR c++/23099 (ICE in build_simple_base_path, at cp/class.c:460)Mark Mitchell10-42/+134
PR c++/23099 * cp-tree.h (saved_scope): Add skip_evaluation. * decl.c (start_decl): Use DECL_INITIALIZED_IN_CLASS_P, not DECL_INITIAL, to determine whether or not a static data member was initialized in the class-specifier. (cp_finish_decl): Add comment. * init.c (integral_constant_value): Subtitute into the initializers for static data members in templates. * name-lookup.c (push_to_top_level): Save skip_evaluation. (pop_from_top_level): Restore it. * pt.c (instantiate_class_template): Do not substitute into the intializers of static data members when instantiating a class. (regenerate_decl_from_template): Simplify. (instantiate_decl): Tidy. Substitute into the initializer for a static data member even when the definition of the data member is not available. PR c++/23099 * g++.dg/init/member1.C: Make sure erroneous static data member definitions are required. * g++.dg/template/static13.C: New test. * g++.dg/template/static14.C: Likewise. From-SVN: r103604
2005-08-29re PR bootstrap/21268 (Bootstrap, configuration problem and insn-conditions.c)Paolo Bonzini2-28/+36
2005-08-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/21268 * Makefile.in (ALL_CPPFLAGS): Include $(INCLUDES) at the beginning. Remove $(INCLUDES) from all the rules, if following $(ALL_CPPFLAGS) or $(BUILD_CPPFLAGS). From-SVN: r103601
2005-08-29re PR ada/23187 (MAXPATHLEN usage in gcc/ada/*.c)Arnaud Charlet1-0/+4
PR ada/23187 (GNAT_MAXPATH_LEN): Use default value if MAXPATHLEN is undefined. From-SVN: r103600
2005-08-29pr23575.c: Use -msse2 instead of -march=pentium4, remove ilp32 requirement.Jakub Jelinek2-2/+4
* gcc.target/i386/pr23575.c: Use -msse2 instead of -march=pentium4, remove ilp32 requirement. From-SVN: r103597
2005-08-29re PR middle-end/23484 (__builtin___memcpy_chk miscompilation)Jakub Jelinek5-9/+89
PR middle-end/23484 * builtins.c (fold_builtin_memory_chk, fold_builtin_stxcpy_chk, fold_builtin_strncpy_chk, fold_builtin_snprintf_chk): If len is not constant, but maxlen is, don't set len to maxlen, rather set maxlen to len if len is a constant. * gcc.c-torture/execute/builtins/pr23484-chk.c: New test. * gcc.c-torture/execute/builtins/pr23484-chk-lib.c: New file. From-SVN: r103594
2005-08-29re PR tree-optimization/23475 (Frequences are not updated for empty loop ↵Zdenek Dvorak2-1/+42
removal) PR tree-optimization/23475 * tree-ssa-loop-ivcanon.c (remove_empty_loop): Update frequencies and counts. From-SVN: r103593
2005-08-29Add marker for PR testsuite/23607.Andreas Jaeger1-21/+22
From-SVN: r103592
2005-08-29* gcc.target/i386/pr23575.c: Run only on 32-bit x86.Andreas Jaeger2-0/+5
From-SVN: r103591
2005-08-29Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r103588.2
2005-08-29re PR middle-end/22455 (ICE tree check: expected function_decl, have ↵Daniel Berlin2-7/+19
type_decl in fold_checksum_tree, at fold-const.c:10282) 2005-08-28 Daniel Berlin <dberlin@dberlin.org> Fix PR middle-end/22455 * fold-const.c (fold_checksum_tree): Adjust for now-largest tree size. Checksum only the parts of the tree that exist for the tree code. From-SVN: r103586
2005-08-28i386.c (nocona_cost): Increase MOVE_RATIO.Dale Johannesen2-1/+5
2005-08-28 Dale Johannesen <dalej@apple.com> * config/i386/i386.c (nocona_cost): Increase MOVE_RATIO. From-SVN: r103585
2005-08-28tree-vrp.c: Remove obsolete comment in front of vrp_initialize.Andrew Pinski2-3/+5
2005-08-28 Andrew Pinski <pinskia@physics.uc.edu> * tree-vrp.c: Remove obsolete comment in front of vrp_initialize. From-SVN: r103584
2005-08-28stor-layout.c (finalize_type_size): Revert workaround from 08-26.Richard Henderson3-12/+18
* stor-layout.c (finalize_type_size): Revert workaround from 08-26. * tree.c (make_node_stat): Use BITS_PER_UNIT instead of alignment of char_type_node. From-SVN: r103583
2005-08-28re PR ada/23593 (5 ACATS compiler SEGV c371002 c371003 c52008b cc51004 cc51b03)Jakub Jelinek2-7/+6
PR ada/23593 * builtins.c (get_memory_rtx): Don't strip nops in between COMPONENT_REFs. From-SVN: r103578
2005-08-2820050316-2.c: New test.Jakub Jelinek4-0/+179
* gcc.c-torture/execute/20050316-2.c: New test. * gcc.c-torture/execute/20050316-3.c: New test. * gcc.dg/torture/pr16104-1.c: New test. From-SVN: r103577
2005-08-28Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r103573.2
2005-08-27re PR middle-end/23463 (va-arg-22.c execution fails)Andrew Pinski4-6/+48
2005-08-27 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/23463 * gimplify.c (gimplify_modify_expr_rhs): Remove check for zero sized types. (gimplify_modify_expr): Check for zero sized types and gimplify the rhs and lhs as statements. 2005-08-27 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/23463 * gcc.c-torture/execute/zero-struct-1.c: New test. From-SVN: r103571
2005-08-27re PR target/23508 (FAIL: PR218)John David Anglin2-3/+9
PR libgcj/23508 * pa/linux-unwind.h (pa32_fallback_frame_state): Use r0 slot in frame state for return address column of signal frames. From-SVN: r103568
2005-08-27re PR target/23539 (C & C++ compiler generating misaligned references ↵David Edelsohn2-2/+9
regardless of compiler flags) PR target/23539 * config/rs6000/rs6000.c (expand_block_clear): Use HImode when bytes >= 2 not bytes == 2. (expand_block_move): Same. From-SVN: r103564
2005-08-27re PR target/23575 (ICE: output_operand: unterminated assembly dialect ↵Richard Guenther4-2/+33
alternative) 2005-08-27 Richard Guenther <rguenther@gcc.gnu.org> PR target/23575 * config/i386/sse.md (sse2_movsd): Add missing closing braces. * gcc.target/i386/pr23575.c: New testcase. From-SVN: r103559
2005-08-27[multiple changes]Tobias Schlüter3-3/+12
2005-08-27 Erik Edelmann <erik.edelmann@iki.fi> * trans-array.c (gfc_trans_deferred_array): Fix comments. 2005-08-27 Erik Schnetter <schnetter@aei.mpg.de> * primary.c (match_charkind_name): Fix typo in comment leading to function. From-SVN: r103558
2005-08-27genrecog.c (enum decision_type): Add DT_num_insns.Paul Brook4-27/+66
2005-08-27 Paul Brook <paul@codesourcery.com> * genrecog.c (enum decision_type): Add DT_num_insns. (struct decision_test): Add u.num_insns. (add_to_sequence): Add DT_num_insns test. (maybe_both_true_2, nodes_identical_1): Handle DT_num_insns. (write_cond, debug_decision_2): Ditto. (change_state): Assume peep2_next_insn never fails. Remove "afterward" argument. (write afterward, write_tree): Update to match. * recog.c (peep2_current_count): New variable. (peep2_next_insn): Check it. (peephole2_optimize): Set peep2_current_count. * recog.h (peep2_current_count): Declare. From-SVN: r103553
2005-08-27Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r103550.2
2005-08-26re PR tree-optimization/23584 (ipa-pure-const pass ignores dereferencing a ↵Josh Conner2-6/+13
volatile pointer type) PR middle-end/23584 * ipa-pure-const.c (check_tree): Check for volatile-ness when considering a dereference. From-SVN: r103546
2005-08-27* rtl.h (MEM_IN_STRUCT_P): Fix comment typo.Jakub Jelinek2-1/+5
From-SVN: r103542
2005-08-27re PR rtl-optimization/23561 (nonoverlapping_memrefs_p returns true even for ↵Jakub Jelinek4-18/+158
overlapping memory references) PR rtl-optimization/23561 * builtins.c (get_memory_rtx): Add LEN argument. If MEM_EXPR is a COMPONENT_REF, remove all COMPONENT_REF from MEM_EXPR unless at most LEN bytes long memory fits into the field. (expand_builtin_memcpy, expand_builtin_mempcpy, expand_movstr, expand_builtin_strncpy, expand_builtin_memset, expand_builtin_memcmp, expand_builtin_strcmp, expand_builtin_strncmp): Adjust callers. * gcc.c-torture/execute/20050826-1.c: New test. From-SVN: r103541
2005-08-26re PR rtl-optimization/23560 (Strength-reduction breaking unsigned COMPARE)Jakub Jelinek2-0/+67
PR rtl-opt/23560 * gcc.c-torture/execute/20050826-2.c: New test. From-SVN: r103540
2005-08-26re PR rtl-optimization/23560 (Strength-reduction breaking unsigned COMPARE)Richard Henderson2-182/+107
PR rtl-opt/23560 * loop.c (biased_biv_may_wrap_p): New. (maybe_eliminate_biv_1): Use it to suppress non-equality comparison transformations. Delete disabled code. From-SVN: r103539
2005-08-2620030711-1.c: Modify to work on Darwin.Dale Johannesen3-1/+53
2005-08-26 Dale Johannesen <dalej@apple.com> * gcc.dg/20030711-1.c: Modify to work on Darwin. * gcc.dg/20050826-1.c: New. From-SVN: r103538
2005-08-26combine.c (make_extraction): Avoid reference outside object.Ian Lance Taylor2-3/+9
2005-08-26 Ian Lance Taylor <ian@airs.com> * combine.c (make_extraction): Avoid reference outside object. From-SVN: r103537
2005-08-26re PR c++/19004 (ICE in uses_template_parms at cp/pt.c:4860)Mark Mitchell4-6/+40
PR c++/19004 * pt.c (uses_template_parms): Handle IDENTIFIER_NODE. (type_dependent_expression_p): Allow BASELINKs whose associated functions are simply a FUNCTION_DECL. PR c++/19004 * g++.dg/template/nontype13.C: New test. From-SVN: r103531
2005-08-26re PR c++/23491 (new declarator with constant expression gives "error: ↵Mark Mitchell9-38/+104
invalid use of array with unspecified bounds") PR c++/23491 * cp-tree.h (build_vec_init): Adjust prototype. * init.c (perform_member_init): Adjust call to build_vec_init. (build_aggr_init): Likewise. (build_new_1): Do not call build_default_init for array types. (build_vec_init): Add explicit_default_init_p parameter. Perform default initialization of vector elements when set. * typeck.c (build_modify_expr): Adjust call to build_vec_init. PR c++/23491 * g++.dg/init/new14.C: New test. * g++.dg/expr/anew1.C: Do not XFAIL. * g++.dg/expr/anew2.C: Likewise. * g++.dg/expr/anew3.C: Likewise. From-SVN: r103530
2005-08-26stor-layout.c (finalize_type_size): Restore behaviour for non-aggregate ↵J"orn Rennecke2-11/+17
types to the status quo ante of the patch... * stor-layout.c (finalize_type_size): Restore behaviour for non-aggregate types to the status quo ante of the patch for pr 23467. Document why it matters. From-SVN: r103527