aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-10-08re PR tree-optimization/17902 (ICE from tree_verify_flow_info)Andrew Pinski2-3/+11
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/17902 * tree-ssa-phiopt.c (conditional_replacement): Use bsi_after_labels instead of bsi_start. (value_replacement): Likewise. (abs_replacement): Likewise From-SVN: r88801
2004-10-08cfgexpand.c (maybe_dump_rtl_for_tree_stmt): New function.Steven Bosscher4-29/+76
* cfgexpand.c (maybe_dump_rtl_for_tree_stmt): New function. (expand_gimple_cond_expr, expand_gimple_tailcall, expand_gimple_basic_block): Use it to dump RTL for each stmt. (tree_expand_cfg): Announce full RTL function dump. * tree-optimize.c (execute_one_pass): Use normal RTL printing, not the graph version. * tree-pretty-print.c (dump_generic_node): Allow empty statements in the arms of a COND_EXPR for lowered nodes. From-SVN: r88800
2004-10-09* gcc.dg/cpp/ident-1.c: Add dg-options "".Jakub Jelinek2-0/+5
From-SVN: r88799
2004-10-08spe.h (atosfix16, [...]): Declare.Joseph Myers2-0/+25
* config/rs6000/spe.h (atosfix16, atosfix32, atosfix64, atoufix16, atoufix32, atoufix64, strtosfix16, strtosfix32, strtosfix64, strtoufix16, strtoufix32, strtoufix64): Declare. From-SVN: r88798
2004-10-08re PR fortran/17901 (max-identifier-length problem with -J option)Andrew Pinski2-0/+7
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> PR fortran/17901 * options.c (gfc_handle_option): Add break after handing the J/M option. From-SVN: r88797
2004-10-08c-lex.c (interpret_float): Give a pedwarn rather than a warning for an ↵Joseph Myers6-7/+52
out-of-range floating point constant. * c-lex.c (interpret_float): Give a pedwarn rather than a warning for an out-of-range floating point constant. * builtins.c (fold_builtin_inf): Give a pedwarn rather than a warning if the target format does not support infinities. testsuite: * gcc.dg/float-range-1.c, gcc.dg/float-range-2.c: New tests. From-SVN: r88793
2004-10-08- Fix reference to PR (17285 -> 17835)Matthias Klose1-1/+1
From-SVN: r88790
2004-10-08emit-rtl.c (last_label_num, [...]): Remove.Kazu Hirata5-37/+11
* emit-rtl.c (last_label_num, base_label_num): Remove. (max_label_num): Always return label_num. (set_new_last_label_num, restore_emit_status): Remove. (init_emit): Don't initialize last_label_num. * function.c (pop_function_context_from): Don't call restore_emit_status. * function.h: Remove the prototype for restore_emit_status. * rtl.h: Remove the prototype for set_new_last_label_num. From-SVN: r88789
2004-10-08stmt.c (expand_decl_init): Remove.Kazu Hirata3-43/+5
* stmt.c (expand_decl_init): Remove. * tree.h: Remove the corresponding prototype. From-SVN: r88788
2004-10-08integrate.c (try_constants, [...]): Remove.Kazu Hirata3-441/+6
* integrate.c (try_constants, subst_constants, mark_stores): Remove. * integrate.h: Remove the prototype for try_constants. From-SVN: r88787
2004-10-08c-typeck.c (enum impl_conv): Add ic_argpass_nonproto.Joseph Myers4-3/+41
* c-typeck.c (enum impl_conv): Add ic_argpass_nonproto. (convert_for_assignment): Handle ic_argpass_nonproto. Add comments about its relevance to errors. (c_convert_parm_for_inlining): Use ic_argpass_nonproto. testsuite: * gcc.dg/assign-warn-3.c: New test. From-SVN: r88784
2004-10-08re PR c++/17868 (RDIV_EXPR not supported by dump_expr)Volker Reichelt2-0/+6
PR c++/17868 * error.c (dump_expr): Add missing case for RDIV_EXPR. From-SVN: r88781
2004-10-08* arith.c: Fix formatting issues.Tobias Schlüter2-9/+7
From-SVN: r88779
2004-10-08re PR c/16999 (#ident stopped working)Andrew Pinski4-1/+19
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> PR c/16999 * c-ppoutput.c (cb_ident): Don't quote string as it is already quoted. * gcc.dg/cpp/ident-1.c: New test. From-SVN: r88773
2004-10-08tree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate ↵Diego Novillo2-1/+6
reference_node_pool. * tree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate reference_node_pool. From-SVN: r88769
2004-10-08* tree-cfg.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r88767
2004-10-08s390.c (s390_register_info): Don't save fprs for -msoft-float.Andreas Krebbel2-2/+15
2004-10-08 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (s390_register_info): Don't save fprs for -msoft-float. (s390_conditional_register_usage): Make fprs 'fixed' for -msoft-float. From-SVN: r88764
2004-10-08s390.h (TARGET_DEFAULT_BACKCHAIN): New define.Ulrich Weigand4-7/+22
* config/s390/s390.h (TARGET_DEFAULT_BACKCHAIN): New define. (TARGET_DEFAULT): Use symbolic values. * config/s390/tpf.h (TARGET_DEFAULT_BACKCHAIN): Redefine. (TARGET_DEFAULT): Use symbolic values. * config/s390/s390.c (s390_backchain_string): Initialize to TARGET_DEFAULT_BACKCHAIN. From-SVN: r88763
2004-10-08builtins.c (expand_builtin_mempcpy): Move tree handling code to ↵Kaveh R. Ghazi2-66/+48
fold_builtin_mempcpy. * builtins.c (expand_builtin_mempcpy): Move tree handling code to fold_builtin_mempcpy. Accept a type parameter. Delete duplicate code. (expand_builtin_strcat): Accept a type parameter. (fold_builtin_mempcpy): Accept a type and endp parameter. From-SVN: r88762
2004-10-08builtins.c (expand_builtin_strncpy): Delete duplicate code.Kaveh R. Ghazi2-32/+17
* builtins.c (expand_builtin_strncpy): Delete duplicate code. Accept an `exp' instead of an `arglist'. From-SVN: r88761
2004-10-08tree-tailcall.c (tree_optimize_tail_calls_1): Use fold_convert, reverting my ↵Nathan Sidwell4-4/+42
2004-09-07 patch to use build_int_cst. .: * tree-tailcall.c (tree_optimize_tail_calls_1): Use fold_convert, reverting my 2004-09-07 patch to use build_int_cst. testsuite: * gcc.c-torture/compile/acc1.c: New. From-SVN: r88759
2004-10-08archive.c: Fix all the warnings about passing unsigned char* to char* and ↵Andrew Pinski2-51/+58
the other way too. 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> * archive.c: Fix all the warnings about passing unsigned char* to char* and the other way too. From-SVN: r88758
2004-10-08darwin-longdouble.c: Include stdlib.h and string.h.Andrew Pinski3-0/+8
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/darwin-longdouble.c: Include stdlib.h and string.h. * gcc.dg/darwin-abi-2.c: Include stdlib.h. From-SVN: r88757
2004-10-08re PR target/17245 (ICE compiling gsl-1.5 statistics/lag1.c)Eric Botcazou4-27/+63
PR target/17245 * config/sparc/sparc.c (input_operand): Remove redundant code for handling LO_SUM. (legitimate_address_p) <REG+REG>: Do not recheck TARGET_V9. <LO_SUM>: If LO_SUM is offsettable, accept it for TFmode on V9. Otherwise only accept it for TFmode if quad move insns are available. From-SVN: r88753
2004-10-08tree-cfg.c (tree_forwarder_block_p): Reorder checks so that common cases ↵Kazu Hirata2-14/+21
will be caught earlier than others. * tree-cfg.c (tree_forwarder_block_p): Reorder checks so that common cases will be caught earlier than others. From-SVN: r88752
2004-10-08* gcc.dg/doloop-2.c: New test.Michael Matz2-0/+23
From-SVN: r88751
2004-10-08* loop-doloop.c (doloop_optimize): Extend count.Michael Matz2-1/+5
From-SVN: r88750
2004-10-08* pt.c, search.c: Fix comment typos.Kazu Hirata3-4/+8
From-SVN: r88749
2004-10-08pch.c (cpp_write_pch_state): Remove variable z as it is not used.Andrew Pinski2-5/+7
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> * pch.c (cpp_write_pch_state): Remove variable z as it is not used. (cpp_read_state): Remove unused variables, m, d and mac_count. From-SVN: r88748
2004-10-08sh.md (tls_global_dynamic): Use MEM pattern for the first argument of CALL.Kaz Kojima2-8/+47
* config/sh/sh.md (tls_global_dynamic): Use MEM pattern for the first argument of CALL. (tls_local_dynamic): Likewise. * config/sh/sh.md (prefetch_media, prefetch_i4): New insns. (prefetch): Convert to expander. From-SVN: r88747
2004-10-08* gcc.pot: Regenerate.Joseph Myers2-1634/+1808
From-SVN: r88743
2004-10-08c-typeck.c (enum impl_conv): New.Joseph Myers8-112/+436
* c-typeck.c (enum impl_conv): New. (convert_for_assignment): Use it. Take tree for function called instead of its name. Handle ObjC selectors for diagnostics at start of function. Select diagnostic text within the function using full sentences for diagnsotics. Use %qE to name functions in diagnostics. (convert_arguments, build_modify_expr, c_convert_parm_for_inlining, digest_init, c_finish_return): Update callers to convert_for_assignment. (warn_for_assignment): Remove. testsuite: * gcc.dg/assign-warn-1.c, gcc.dg/assign-warn-2.c: New tests. * gcc.dg/warn-1.c, gcc.dg/noncompile/20020213-1.c, objc.dg/method-9.m: Update expected diagnostics. From-SVN: r88741
2004-10-08Remove the entry corresponding to a not yet committed patch:Sebastian Pop1-61/+0
2004-10-04 Sebastian Pop <pop@cri.ensmp.fr> From-SVN: r88740
2004-10-08(symbian_possibly_export_base_class): Replace use of deleted...Nick Clifton2-2/+7
(symbian_possibly_export_base_class): Replace use of deleted TYPE_USES_VIRTUAL_BASECLASSES macro with TYPE_CONTAINS_VPTR_P. From-SVN: r88739
2004-10-08cp-tree.h (dfs_walk, [...]): Remove.Nathan Sidwell5-269/+312
* cp-tree.h (dfs_walk, dfs_walk_real, dfs_unmark, markedp, unmarkedp): Remove. (dfs_skip_bases, dfs_walk_all, dfs_walk_once): New. * class.c (struct find_final_overrider_data): Remove most_derived, vpath_list and vpath fields. Add path field. (dfs_find_final_ocerrider_1): Add DEPTH parameter. Adjust. (dfs_find_final_overrider): Rename to ... (dfs_find_final_overrider_pre): ... here. Adjust. (dfs_find_final_overrider_post): Adjust. (dfs_find_final_overrider_q): Fold into dfs_find_final_overrider_pre. (find_final_overrider): Adjust dfs searching. (dfs_modify_vtables): Don't mark binfo here. (modify_all_vtables): Use dfs_walk_once. (build_vtt_inits): Likwise. Use dfs_walk_all. (dfs_build_secondary_vptr_vtt_inits): Don't mark binfo here. Return dfs_skip_bases as appropriate. (dfs_fixup_binfo_vtbls): Return dfs_skip_bases as appropriate. * init.c (dfs_initialized_vtbl_ptrs): Return dfs_skip_bases as appropriate. Don't mark binfo here. (initialize_vtbl_ptrs): Use dfs_walk_once. * search.c (struct vbase_info): Remove unused struct. (access_in_type): Use dfs_walk_once. (dfs_access_in_type): Don't mark binfo here. (dfs_accessible_queue_p, dfs_accessible_p) Remove. Fold into ... (accessible_r): ... here. New. Specialize dfs_walk_once. (accessible_p): Use accessible_r. (lookup_field_queue_p): Remove. Fold into ... (lookup_field_r): ... here. Adjust. (lookup_member): Use dfs_walk_all. (dfs_walk_real, dfs_walk): Replace with ... (dfs_walk_all, dfs_walk_once): ... these. (dfs_walk_once_r, dfs_unmark_r): Workers for dfs_walk_once. (dfs_unmark, unmarkedp, markedp): Remove. (dfs_get_pure_virtuals): Don't mark binfo here. (get_pure_virtuals): Use dfs_walk_once. (dfs_debug_unmarked_p): Remove. Fold into ... (dfs_debug_mark): ... here. (note_debug_info_needed): Use dfs_walk_all. From-SVN: r88738
2004-10-08m32r.h (CONDITIONAL_REGISTER_USAGE): Don't exclude fixed registers form ↵Kazuhiro Inaoka3-3/+16
all_used_regs. m32r.h (CONDITIONAL_REGISTER_USAGE): Don't exclude fixed registers form all_used_regs. Update call_really_used_regs. (CALL_REALLY_USED_REGISTERS): Define. m32r.c (MUST_SAVE_REGISTER): Replace call_used_regs with call_really_used_regs. From-SVN: r88737
2004-10-08sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o for -profile as well as -p ↵Alan Modra2-2/+7
and -pg. * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o for -profile as well as -p and -pg. From-SVN: r88736
2004-10-07libgcc2.c (__moddi3): Cast &w to UDWtype*.Andrew Pinski1-0/+4
2004-10-07 Andrew Pinski <pinskia@physics.uc.edu> * libgcc2.c (__moddi3): Cast &w to UDWtype*. From-SVN: r88735
2004-10-07libgcc2.c (__moddi3): Cast &w to UDWtype*.Andrew Pinski1-1/+1
2004-10-07 Andrew Pinski <pinskia@physics.uc.edu> * libgcc2.c (__moddi3): Cast &w to UDWtype*. From-SVN: r88734
2004-10-07pt.c (tsubst_expr): Look passed the CLEANUP_POINT_EXPR to get the asm ↵Andrew Pinski2-1/+11
expression. 2004-10-07 Andrew Pinski <pinskia@physics.uc.edu> * pt.c (tsubst_expr) <case ASM_EXPR>: Look passed the CLEANUP_POINT_EXPR to get the asm expression. From-SVN: r88733
2004-10-08xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS, [...]): New.Bob Wilson2-6/+15
2004-10-07 Bob Wilson <bob.wilson@acm.org> * xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS, XCHAL_HAVE_PREDICTED_BRANCHES, XCHAL_INST_FETCH_WIDTH): New. (XCHAL_EXTRA_SA_SIZE, XCHAL_EXTRA_SA_ALIGN): Delete. From-SVN: r88727
2004-10-08re PR fortran/17676 (Problem with user operator)Tobias Schlüter2-2/+7
PR fortran/17676 * resolve.c (resolve_operator): Use correct operator name in message. From-SVN: r88726
2004-10-08Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r88724.2
2004-10-08Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r88723.2
2004-10-08MAINTAINERS: Update my email address.J"orn Rennecke2-1/+5
2004-10-07 J"orn Rennecke <joern.rennecke@st.com> * MAINTAINERS: Update my email address. From-SVN: r88721
2004-10-07tree-cfg.c (tree_block_forwards_to): Remove.Kazu Hirata3-64/+5
* tree-cfg.c (tree_block_forwards_to): Remove. * tree-flow.h: Remove the corresponding prototype. From-SVN: r88719
2004-10-07libstdc++.exp: Update list of undefined functions.Phil Edwards2-1/+5
2004-10-07 Phil Edwards <phil@codesourcery.com> * testsuite/lib/libstdc++.exp: Update list of undefined functions. From-SVN: r88716
2004-10-07list.tcc (operator=): Avoid iterator postincrement.Paolo Carlini3-3/+10
2004-10-07 Paolo Carlini <pcarlini@suse.de> * include/bits/list.tcc (operator=): Avoid iterator postincrement. * include/bits/stl_tree.h (erase(iterator, iterator)): Likewise. From-SVN: r88715
2004-10-07tree-flow-inline.h (phi_nodes): Remove an unnecessary check for ↵Kazu Hirata2-2/+5
ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR. * tree-flow-inline.h (phi_nodes): Remove an unnecessary check for ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR. From-SVN: r88714
2004-10-07tr1: New.Benjamin Kosnik7-2/+532
2004-10-07 Benjamin Kosnik <bkoz@redhat.com> * include/tr1: New. * include/tr1/array: New. * include/Makefile.am (tr1_headers): New. (stamp-tr1): New. (install-headers): New. (allstamped): Add stamp-tr1. * include/ext/array_allocator.h: New. * include/Makefile.am: Add. * include/Makefile.in: Regenerate. * testsuite/ext/array_allocator/1.cc: New. * testsuite/ext/array_allocator/2.cc: New. From-SVN: r88711