aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-01-17verify-impl.c (get_short): Sign extend.Tom Tromey2-3/+11
* verify-impl.c (get_short): Sign extend. (get_int): Likewise. From-SVN: r93772
2005-01-17re PR c/5675 (const variables wrongly considered part of constant ↵Ian Lance Taylor3-9/+15
expressions (gcc.dg/c9[09]-const-expr-3.c)) PR c/5675 * gcc.dg/c90-const-expr-3.c: Remove xfails on tests which now pass--those that refer just to the variable, possibly with a cast. * gcc.dg/c99-const-expr-3.c: Likewise. From-SVN: r93770
2005-01-17re PR c/5675 (const variables wrongly considered part of constant ↵Ian Lance Taylor2-3/+6
expressions (gcc.dg/c9[09]-const-expr-3.c)) PR c/5675 * c-typeck.c (build_c_cast): Revert patch of 2003-02-16: don't fold constant variables into initial values. From-SVN: r93769
2005-01-17tree-cfg.c (tree_forwarder_block_p): Speed up by walking through the ↵Kazu Hirata2-3/+6
statements backward. * tree-cfg.c (tree_forwarder_block_p): Speed up by walking through the statements backward. From-SVN: r93768
2005-01-17* tree-cfg.c (tree_can_merge_blocks_p): Reorder two checks.Kazu Hirata2-3/+7
From-SVN: r93767
2005-01-17re PR middle-end/13127 (Inlining causes spurious "might be used ↵Ian Lance Taylor2-1/+7
uninitialized" warnings) PR middle-end/13127 * gcc.dg/20040206-1.c: Remove xfail on bogus warning which is no longer emitted. From-SVN: r93766
2005-01-17re PR middle-end/13127 (Inlining causes spurious "might be used ↵Ian Lance Taylor2-1/+18
uninitialized" warnings) PR middle-end/13127: * tree-inline.c (expand_call_inline): Set TREE_NO_WARNING on a variable set to the return value of the inlined function. From-SVN: r93765
2005-01-17rtlanal.c (rtx_cost): Assign cost of 0 to a SUBREG when modes are tieable.Mark Dettinger2-0/+6
2005-01-17 Mark Dettinger <dettinge@de.ibm.com> * rtlanal.c (rtx_cost): Assign cost of 0 to a SUBREG when modes are tieable. From-SVN: r93763
2005-01-17gthr-posix.h (__gthread_active_p): Use pthread_cancel instead of ↵Ranjit Mathew3-4/+12
pthread_create to find out if threads are enabled. * gthr-posix.h (__gthread_active_p): Use pthread_cancel instead of pthread_create to find out if threads are enabled. * gthr-posix95.h (__gthread_active_p): Likewise. From-SVN: r93762
2005-01-17f95-lang.c (gfc_init_builtin_functions): Call targetm.init_builtins.Ira Rosen2-0/+7
2005-01-17 Ira Rosen <irar@il.ibm.com> * fortran/f95-lang.c (gfc_init_builtin_functions): Call targetm.init_builtins. From-SVN: r93760
2005-01-17common.opt (-fnew-ra): Remove.Paolo Bonzini12-10636/+23
2005-01-17 Paolo Bonzini <bonzini@gnu.org> * common.opt (-fnew-ra): Remove. * ra*.*: Remove. * toplev.h (flag_new_regalloc): Remove. * Makefile.in (ra*.*): Don't mention. * passes.c (rest_of_handle_new_regalloc): Remove. (rest_of_handle_combine, rest_of_compilation): Always consider flag_new_regalloc as false. * doc/invoke.texi: Don't document -fnew-ra. From-SVN: r93759
2005-01-17bb-reorder.c (fix_edges_for_rarely_executed_code): Remove last parameter to ↵Paolo Bonzini6-21/+33
reg_scan. 2005-01-15 Paolo Bonzini <bonzini@gnu.org> * bb-reorder.c (fix_edges_for_rarely_executed_code): Remove last parameter to reg_scan. * loop.c (loop_optimize): Likewise. * passes.c (rest_of_handle_tracer, rest_of_handle_if_conversion, rest_of_handle_web, rest_of_handle_cfg, rest_of_handle_jump_bypass, rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2, rest_of_handle_gcse, rest_of_handle_loop_optimize, rest_of_handle_loop2, rest_of_handle_jump2): Likewise. * regclass.c (reg_scan): Likewise, for the declaration. * rtl.h (reg_scan): Likewise, for the prototype. From-SVN: r93758
2005-01-17tree.c (hash_chainon): Remove.Kazu Hirata3-16/+3
* tree.c (hash_chainon): Remove. * cp-tree.h: Remove the corresponding prototypes. From-SVN: r93757
2005-01-17pt.c (tinst_for_decl): Remove.Kazu Hirata3-15/+3
* pt.c (tinst_for_decl): Remove. * cp-tree.h: Remove the corresponding prototypes. From-SVN: r93756
2005-01-17cvt.c (convert_lvalue): Remove.Kazu Hirata3-14/+3
* cvt.c (convert_lvalue): Remove. * cp-tree.h: Remove the corresponding prototype. From-SVN: r93755
2005-01-17class.c (get_enclosing_class): Remove.Kazu Hirata3-30/+5
* class.c (get_enclosing_class): Remove. * cp-tree.h: Remove the corresponding prototypes. From-SVN: r93754
2005-01-17tree-ssa-dom.c (tree_ssa_dominator_optimize): Don't call mark_dfs_back_edges.Kazu Hirata2-5/+5
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Don't call mark_dfs_back_edges. From-SVN: r93753
2005-01-17tree-ssa-pre.c (add_to_sets): s1 may be NULL.Daniel Berlin4-4/+23
2005-01-16 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-pre.c (add_to_sets): s1 may be NULL. (compute_avail): Uses don't go in tmp_gen. From-SVN: r93749
2005-01-17Daily bump.GCC Administrator1-1/+1
From-SVN: r93747
2005-01-16ggc-page.c (ggc_alloc_stat): Use __builtin_ctzl instead of a loop to look ↵Steven Bosscher2-0/+11
for a free slot in a page entry. * ggc-page.c (ggc_alloc_stat): Use __builtin_ctzl instead of a loop to look for a free slot in a page entry. From-SVN: r93738
2005-01-16re PR libfortran/18778 (ENDFILE is not functionnal)Bud Davis2-0/+17
2005-01-16 Bud Davis <bdavis9659@comcast.net> PR fortran/18778 * gfortran.dg/endfile_2.f90: New test. * io/transfer.c (us_read): no bytes available is not a runtime error. From-SVN: r93737
2005-01-16Update copyright dates.Paul Brook3-3/+3
From-SVN: r93735
2005-01-16re PR fortran/19182 (Error messages seem to be printed slower)Tobias Schlüter2-1/+19
2005-01-16 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> PR fortran/19182 * error.c (error_char): Line-buffer errors / warnings. From-SVN: r93734
2005-01-16* trans-intrinsic.c, trans-types.c: Update copyright years.Tobias Schlüter3-2/+4
From-SVN: r93732
2005-01-16trans-intrinsic.c (gfc_conv_intrinsic_index, [...]): Remove 'gfc'-prefix ↵Tobias Schlüter2-13/+18
from local variable... * trans-intrinsic.c (gfc_conv_intrinsic_index, gfc_conv_intrinsic_scan, gfc_conv_intrinsic_verify): Remove 'gfc'-prefix from local variable, remove dead code, use correct type when inserting argument. From-SVN: r93731
2005-01-16trans-intrinsic.c (build_fixbound_expr, [...]): Use 'build_int_cst' instead ↵Tobias Schlüter2-19/+29
of converting 'integer_zero_node' or... * trans-intrinsic.c (build_fixbound_expr, gfc_conv_intrinsic_bound, gfc_conv_intrinsic_anyall, gfc_conv_intrinsic_count, gfc_conv_intrinsic_btest, gfc_conv_intrinsic_singlebitop): Use 'build_int_cst' instead of converting 'integer_zero_node' or 'integer_one_node' respectively. (gfc_conv_intrinsic_ishftc): Same, but store in local variable to evade re-building. (gfc_conv_intrinsic_strcmp, gfc_conv_intrinsic_rrspacing, gfc_conv_intrinsic_trim, gfc_conv_intrinsic_iargc): Use 'build_int_cst' instead of converting 'integer_zero_node' or 'integer_one_node' respectively. From-SVN: r93730
2005-01-16trans-types.c (gfc_get_character_type_len): : Use gfc_charlen_type_node as ↵Tobias Schlüter2-1/+4
basic type for the range field. * trans-types.c (gfc_get_character_type_len): : Use gfc_charlen_type_node as basic type for the range field. From-SVN: r93729
2005-01-16trans-intrinsic.c (gfc_conv_intrinsic_ishft): Fix signed / unsigned issue.Tobias Schlüter2-14/+17
* trans-intrinsic.c (gfc_conv_intrinsic_ishft): Fix signed / unsigned issue. Use build_int_cst instead of converting integer_zero_node. Remove unnecessary conversion. From-SVN: r93727
2005-01-16re PR target/16304 (bootstrap failure on AIX 4.3.3: cannot build strstream ↵John David Anglin8-9/+108
in libstdc++) PR target/16304 * defaults.h (TARGET_DEFERRED_OUTPUT_DEFS): Provide default. * toplev.c (compile_file): Call process_pending_assemble_output_defs just before targetm.asm_out.file_end. * tree.h (process_pending_assemble_output_defs): Declare. * varasm.c (assemble_output_def, process_pending_assemble_output_defs): New functions. (assemble_alias): Defer generation of assembly code for defines when TARGET_DEFERRED_OUTPUT_DEFS is true. * config/rs6000/aix41.h (TARGET_DEFERRED_OUTPUT_DEFS): Define. * config/rs6000/aix43.h (TARGET_DEFERRED_OUTPUT_DEFS): Define. * doc/tm.texi (TARGET_DEFERRED_OUTPUT_DEFS): document. From-SVN: r93726
2005-01-16re PR fortran/19168 (Mismatched KINDs in SELECT CASE constucts is not ↵Steven G. Kargl4-11/+80
handled correctly) 2005-01-16 Steven G. Kargl <kargls@comcast.net> PR 19168 * resolve.c (check_case_overlap): Typo in comment. (validate_case_label_expr): Fix up kinds of case values (resolve_select): Properly handle kind mismatches. testsuite/ * gfortran.dg/select_5.f90: New test. From-SVN: r93725
2005-01-16re PR fortran/17675 ([Regression w.r.t. g77] Alignment constraints not ↵Paul Brook4-7/+36
honored in EQUIVALENCE) 2004-01-16 Paul Brook <paul@codesourcery.com> PR fortran/17675 * trans-common.c (translate_common): Remove duplicate function call. (finish_equivalences): Preserve alignment when biasing offsets. testsuite/ * gfortran.dg/common_4.f90: New test. From-SVN: r93724
2005-01-16objc-act.c (objc_push_parm): Call c_type_promotes_to() via a lang-hook.Ziemowit Laski2-1/+7
[gcc/objc/ChangeLog] 2005-01-16 Ziemowit Laski <zlaski@apple.com> * objc-act.c (objc_push_parm): Call c_type_promotes_to() via a lang-hook. From-SVN: r93722
2005-01-16Daily bump.GCC Administrator1-1/+1
From-SVN: r93719
2005-01-15Update copyrights to 2005.John David Anglin6-6/+9
From-SVN: r93714
2005-01-15primary.c (check_digit): Call 'ISXDIGIT' instead of assuming ASCII-like ↵Tobias Schlüter2-2/+8
character encoding. * primary.c (check_digit): Call 'ISXDIGIT' instead of assuming ASCII-like character encoding. From-SVN: r93713
2005-01-15re PR rtl-optimization/19462 (generating return insns while ↵Hans-Peter Nilsson2-0/+61
current_function_epilogue_delay_list nonempty) PR rtl-optimization/19462 * gcc.dg/torture/pr19462-1.c: New test. From-SVN: r93709
2005-01-15re PR objc/19321 (objc ignores volatile in argument types for messages)Ziemowit Laski5-12/+97
[gcc/objc/ChangeLog] 2005-01-15 Ziemowit Laski <zlaski@apple.com> PR objc/19321 * objc-act.c (get_arg_type_list): Decay function arguments into pointers. (objc_push_parm): Likewise; bring PARM_DECL construction closer in line with what the C front-end does. (objc_get_parm_info): Call pushdecl() and finish_decl() on each PARM_DECL, like the C front-end does. (start_method_def): Remove redundant ARRAY_TYPE decay. (objc_start_function): Bring closer in line with what the C front-end does for functions. [gcc/testsuite/ChangeLog] 2005-01-15 Ziemowit Laski <zlaski@apple.com> PR objc/19321 * objc.dg/func-ptr-2.m: New. * objc.dg/volatile-1.m: New. From-SVN: r93706
2005-01-15* gcc.dg/20040813-1.c: Add hppa*64*-*-* to no stabs list.John David Anglin2-1/+5
From-SVN: r93704
2005-01-15re PR target/19336 (HPPA64 does not support TImode)John David Anglin3-0/+62
PR target/19336 * pa.c (pa_scalar_mode_supported_p): New function. (TARGET_SCALAR_MODE_SUPPORTED_P): Define. * pa.h (MIN_UNITS_PER_WORD): Add comment. From-SVN: r93703
2005-01-15pa-protos.h (prefetch_operand): Delete.John David Anglin5-111/+125
* pa-protos.h (prefetch_operand): Delete. (prefetch_cc_operand, prefetch_nocc_operand): New declations. * pa.c (prefetch_operand): Delete. (prefetch_cc_operand, prefetch_nocc_operand): New functions. * pa.h (EXTRA_CONSTRAINT): Add `W' constraint. (PREDICATE_CODES): Delete prefetch_operand. Add prefetch_cc_operand and prefetch_nocc_operand. * pa.md (prefetch): Rework to avoid reload problems handling short displacements when a cache control completer needs to be provided. (prefetch_32, prefetch_64): Delete. (prefetch_cc, prefetch_nocc): New patterns. From-SVN: r93702
2005-01-15* config/rs6000/aix52.h (CPLUSPLUS_CPP_SPEC): Revert previous change.David Edelsohn2-2/+6
From-SVN: r93700
2005-01-15re PR target/19388 (MAX_OFILE_ALIGNMENT on PA HP-UX)John David Anglin4-9/+25
PR ada/19388 * pa.c (pa_asm_output_aligned_common): Warn if specified alignment exceeds maximum alignment for global common data. * pa64-hpux.h (MAX_OFILE_ALIGNMENT): Define to 32768. * som.h (MAX_OFILE_ALIGNMENT): Likewise. From-SVN: r93698
2005-01-15* tree-ssa-dom.c (extract_range_from_cond): Correct condition.Roger Sayle2-1/+5
From-SVN: r93697
2005-01-15harg-reg-set.h (reg_class_names): Prototype global array.Roger Sayle9-20/+31
* harg-reg-set.h (reg_class_names): Prototype global array. * regclass.c (reg_class_names): Declare here and initialize to REG_CLASS_NAMES. (dump_regclass): Remove local declaration of reg_class_names. (regclass): Likewise. * cfg.c (dump_flow_info): Likewise. * ra-debug.c (reg_class_names): Likewise. * regrename.c (reg_class_names): Likewise. * reload.c (reg_class_names): Likewise. * reload1.c (spill_failure): Likewise. * config/m68hc11/m68hc11.c (reg_class_names): Likewise. From-SVN: r93696
2005-01-15s390.md ("reload_outti"): Remove predicate for output operand.Ulrich Weigand2-4/+13
* config/s390/s390.md ("reload_outti"): Remove predicate for output operand. Abort if operand is not a MEM. ("reload_outdi", "reload_outdf"): Likewise. From-SVN: r93695
2005-01-15config.gcc (*-*-openbsd*): Set HAS_LIBC_R for OpenBSD <= 3.2.Marc Espie4-12/+196
2005-01-11 Marc Espie <espie@openbsd.org> * config.gcc (*-*-openbsd*): Set HAS_LIBC_R for OpenBSD <= 3.2. (i[34567]86-*-openbsd*): Switch to ELF for OpenBSD >= 3.4. * config/openbsd.h: Fix C++ includes for native configurations. Add proper OS_CPP_BUILTINS. Fix libspec for recent OpenBSD. Add trampoline support. * config/i386/openbsdelf.h: New. okay Richard Earnshaw, Zack Weinberg, further changes in a separate patch. From-SVN: r93694
2005-01-15collect2.c (main): Explicitly parse -dynamic-linker option.Marc Espie2-0/+9
2005-01-15 Marc Espie <espie@openbsd.org> * collect2.c (main): Explicitly parse -dynamic-linker option. okay Mark Mitchell From-SVN: r93693
2005-01-15re PR tree-optimization/19060 (Miscompiling of if and "long long")Jakub Jelinek5-27/+109
PR tree-optimization/19060 * tree-ssa-dom.c (extract_range_from_cond) <case LT_EXPR, GT_EXPR>: Return 0 if op1 <= TYPE_MIN_VALUE () resp. op1 >= TYPE_MAX_VALUE (). (simplify_cond_and_lookup_avail_expr): Add assert for dummy == 0 and handle extract_range_from_cond returning false. * fold-const.c (fold): Optimize comparisons with min/max even for width > HOST_BITS_PER_WIDE_INT. * gcc.c-torture/execute/20050104-1.c: New test. From-SVN: r93692
2005-01-15rtems.h (MIPS_DEFAULT_GVALUE): Set to 0.Ralf Corsepius3-3/+17
2005-01-15 Ralf Corsepius <ralf.corsepius@rtems.org> * config/mips/rtems.h (MIPS_DEFAULT_GVALUE): Set to 0. * config/mips/t-rtems (MULTILIBS_DIRNAMES,MULTILIB_OPTIONS): Remove little endian multilib variants. Add mips32 multilib variant. From-SVN: r93690
2005-01-15re PR libfortran/18983 (can't open /dev/null as an output file)Bud Davis2-0/+14
2005-01-15 Bud Davis <bdavis9659@comcast.net> PR fortran/18983 * io/transfer.c (st_write_done): only truncate when it is required. 2005-01-15 Bud Davis <bdavis9659@comcast.net> PR fortran/18983 * gfortran.dg/write_to_null.f90: New test. From-SVN: r93689