- 06 Aug, 2004 17 commits
-
-
* config/arm/symbian.h (CC1_SPEC): Avoid passing duplicate options to the compiler. Use -fshort-wchar by default. * gcc.dg/symbian4.c: Expect a 2-byte wchar_t, not a 4-byte wchar_t. * gcc.dg/symbian5.c: Test -fno-short-wchar. From-SVN: r85648
Mark Mitchell committed -
2004-08-06 Pat Haugen <pthaugen@us.ibm.com> * params.def (PARAM_MIN_CROSSJUMP_INSNS): New. * cfgcleanup.c (try_crossjump_to_edge): Add minimum insn match threshhold. * doc/invoke.texi (param): Document min-crossjump-insns. From-SVN: r85646
Pat Haugen committed -
* trans-array.c (gfc_trans_allocate_array_storage, gfc_trans_allocate_temp_array, gfc_add_loop_ss_code, gfc_conv_loop_setup): For functions, if the shape of the result is not known in compile-time, generate an empty array descriptor for the result and let the callee to allocate the memory. (gfc_trans_dummy_array_bias): Do nothing for pointers. (gfc_conv_expr_descriptor): Use function return values directly. * trans-expr.c (gfc_conv_function_call): Always add byref call insn to pre chain. (gfc_trans_pointer_assignment): Add comments. (gfc_trans_arrayfunc_assign): Don't chain on expression. testsuite/ * gfortran.dg/ret_array_1.f90: New test. * gfortran.dg/ret_pointer_1.f90: New test. From-SVN: r85642
Paul Brook committed -
* utils.c (gnat_define_builtin): Remove second parameter of make_decl_rtl. (begin_subprog_body): Likewise. From-SVN: r85640
Andreas Schwab committed -
PR c/13282 * c.opt (Wmissing-field-initializers): New option. * c-opts.c (c_common_post_options): Make -Wextra turn it on by default. * c-typeck.c (pop_init_level): Guard the missing field warning with warn_missing_field_initializers rather than extra_warnings. * doc/invoke.texi (-Wmissing-field-initializers): Document, moving some of the explanation from... (-Wextra): ...here. Say that the missing field warning can be seperately controlled by -Wmissing-field-initializers. cp/ * typeck2.c (process_init_constructor): Guard the missing field warning with warn_missing_field_initializers rather than extra_warnings. testsuite/ * gcc.dg/missing-field-init-[12].c: New tests. * g++.dg/warn/missing-field-init-[12].C: New tests. From-SVN: r85638
Richard Sandiford committed -
2004-08-06 Kelley Cook <kcook@gcc.gnu.org> * gcc_release (snapshot_print): Accept arguments. Don't use echo -e. (announce_snapshot): Update for above. Don't use echo -e. From-SVN: r85637
Kelley Cook committed -
2004-08-06 Paolo Bonzini <bonzini@gnu.org> * expr.c (expand_expr_real_1) <ENTRY_VALUE_EXPR>: Remove. * tree-inline.c (estimate_num_insns_1) <ENTRY_VALUE_EXPR>: Remove. * tree-pretty-print.c (dump_generic_node) <ENTRY_VALUE_EXPR>: Remove. * tree.def (ENTRY_VALUE_EXPR): Remove. cp: 2004-08-06 Paolo Bonzini <bonzini@gnu.org> * class.c (instantiate_type) <ENTRY_VALUE_EXPR>: Do not handle. From-SVN: r85636
Paolo Bonzini committed -
* config/i386/i386.c (ix86_expand_clrmem): Move gen_cld down to the places where it is actually needed. Don't use repz; stosb for -Os with sufficiently small constant sizes. For sufficiently small repz; stos{l,q} repeat counts use a sequence of stos{l,q} instructions instead. From-SVN: r85635
Jakub Jelinek committed -
PR tree-optimization/16807 * loop-iv.c (dump_iv_info): Dump invariants correctly. (iv_subreg, iv_extend): Express value of invariant purely in base field. From-SVN: r85634
Zdenek Dvorak committed -
* config/arm/symbian.h (CC1_SPEC): Add -fno-short-enums. (CC1PLUS_SPEC): Define it to be the same as CC1_SPEC. * gcc.dg/enum2.c: New test. * gcc.dg/symbian3.c: Likewise. * gcc.dg/symbian4.c: Likewise. * gcc.dg/wchar_t-2.c: Likewise. From-SVN: r85632
Mark Mitchell committed -
* config/m68k/m68k.c (post_inc_operand,pre_dec_operand): New. * config/m68k/m68k.h (PREDICATE_CODES): add post_inc_operand, pre_dec_operand. * config/m68k/m68k.md (zero_extend*2): delay the splitting of the pattern until reload is finished to allow better code generation and split them completely into separate instrunctions. (*andsi3_split): New pattern. From-SVN: r85631
Roman Zippel committed -
2004-08-06 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (bfd, opcodes, gcc, zlib): Mark as bootstrap module. (bison, byacc, flex, texinfo): Do not mark as bootstrap module. (Dependencies): New section. * Makefile.tpl (Dependencies): Generate from Makefile.def. (configure-target-[+module+]): Depend on maybe-all-gcc (all-prebootstrap): New name of all-bootstrap. Changed throughout. (toplevel profiledbootstrap): Fix dependencies. * Makefile.in: Regenerate. From-SVN: r85629
Paolo Bonzini committed -
* g++.dg/ext/visibility/visibility-8.C: Add constructor and destructor tests. From-SVN: r85623
Mark Mitchell committed -
2004-08-06 Kelley Cook <kcook@gcc.gnu.org> * lang.c (flag_emit_class_files, flag_filelist_file, flag_redundant, flag_use_divide_subroutine, flag_use_boehm_gc, flag_store_check, flag_hash_synchronization, flag_assert, flag_jni, flag_newer, flag_check_references, flag_extraneous_semicolon, flag_deprecated, flag_force_classes_archive_check, flag_optimize_sci, flag_indirect_dispatch): Remove explicit declarations. * lang.opt: Add implicit declare/define/assign. Remove obsolete final comment. From-SVN: r85622
Kelley Cook committed -
* tree.c (handle_dll_attribute): Move here from i383/winnt.c. Replace use of DECL_INLINE with DECL_DECLARED_INLINE_P. Set DECL_VISIBLITY. Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if. * tree.h (handle_dll_attribute): Declare. Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if. * c-common.h (c_determine_visibility): Declare. * c-common.c (c_determine_visibility): New function. * c-decl.c (finish_decl): Use it. (finish_function): Likewise. * defaults.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define it to zero, by default. Use #if, not #ifdef, to test it. * config/arm/arm.c (arm_attribute_table): Use handle_dll_attribute. Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if. * config/arm/pe.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define to 1. * config/i386/cygming.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define to 1. * config/i386/i386-protos.h (ix86_handle_dll_attribute): Remove. * config/i386/i386.c (ix86_attribute_table): Use handle_dll_attribute for dllimport/dllexport. Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if. * config/i386/winnt.c (ix86_handle_dll_attribute): Remove. * config/mcore/mcore.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define it to 1. * config/mcore/mcore.c (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Test it with #if. * config/sh/symbian-pre.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define it to 1. * doc/extend.texi (dllexport): Clarify and correct documentation. (dllimport): Likewise. * doc/tm.texi (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Mention handle_dll_attribute. * decl.c (start_preparsed_function): Move determine_visibility call. * decl2.c (determine_visibility): Incorporate dllexport testing. * g++.dg/ext/visibility/assign1.C: Use scan-hidden and dg-require-visiblity. * g++.dg/ext/visibility/fvisibility-inlines-hidden.C: Likewise. * g++.dg/ext/visibility/fvisibility.C: Likewise. * g++.dg/ext/visibility/memfuncts.C: Likewise. * g++.dg/ext/visibility/new1.C: Likewise. * g++.dg/ext/visibility/pragma.C: Likewise. * g++.dg/ext/visibility/staticmemfuncts.C: Likewise. * g++.dg/ext/visibility/virtual.C: Likewise. * g++/dg/ext/visibility/visibility-1.C: Likewise. * g++/dg/ext/visibility/visibility-2.C: Likewise. * g++/dg/ext/visibility/visibility-3.C: Likewise. * g++/dg/ext/visibility/visibility-4.C: Likewise. * g++/dg/ext/visibility/visibility-5.C: Likewise. * g++/dg/ext/visibility/visibility-6.C: Likewise. * g++/dg/ext/visibility/visibility-7.C: Likewise. * g++/dg/ext/visibility/visibility-8.C: New test. * gcc.c-torture/compile/dll.x: Remove. * gcc.dg/dll-2.c: Use dg-require-dll * gcc.dg/visibility-10.c: New test. * lib/gcc-dg.exp (dg-require-dll): Add Symbian to list of targets supporting DLLs. * testsuite/lib/scanasm.exp (scan_hidden): New function. (scan_not_hidden): Likewise. From-SVN: r85621
Mark Mitchell committed -
* g++spec.c (lang_specific_driver): An -Xlinker or -Wl, option means that libstdc++ is needed. From-SVN: r85620
Geoffrey Keating committed -
From-SVN: r85618
GCC Administrator committed
-
- 05 Aug, 2004 19 commits
-
-
* tree-ssa-loop-manip.c: New file. * Makefile.in (tree-ssa-loop-manip.o): Add. * tree-flow.h (rewrite_into_loop_closed_ssa, verify_loop_closed_ssa): Declare. * tree-ssa-loop.c (tree_loop_optimizer_init): Create loop closed ssa form. (tree_ssa_loop_done): Verify loop closed ssa form. * tree-ssa-loop-im.c (move_computations): Update loop closed ssa form. From-SVN: r85613
Zdenek Dvorak committed -
2004-08-05 Andreas Tobler <a.tobler@schweiz.ch> * Makefile.am: Fix missing rename from x_nat_headers to xlib_nat_headers. * Makefile.in: Regenerated. From-SVN: r85612
Andreas Tobler committed -
* pa.c (pa_asm_output_aligned_bss, pa_asm_output_aligned_common, pa_asm_output_aligned_local): New functions. * pa-protos.h: Add prototypes for pa_asm_output_aligned_bss, pa_asm_output_aligned_common and pa_asm_output_aligned_local. * pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common. (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. * pa.h (ASM_OUTPUT_ALIGNED_BSS): New macro. (ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common. (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. * pa64-hpux.h (MAX_OFILE_ALIGNMENT): New macro. (ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common. (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. * som.h (MAX_OFILE_ALIGNMENT): Provide maximum alignment of global common data. From-SVN: r85611
John David Anglin committed -
2004-08-05 Michael Chastain <mec.gnu@mindspring.com> PR bootstrap/14893 * Make-lang.in (java.install-man): Install from either build tree or source tree, whichever has the file first. (See the PR for more information and the approval from Alexandre Oliva. This fix has been in gcc-3_4-branch for about four months). From-SVN: r85610
Michael Chastain committed -
2004-08-05 Andrew Pinski <apinski@apple.com> * objc/objc-act.c (build_objc_string_object): Mark the address expression as constant. From-SVN: r85609
Andrew Pinski committed -
2004-08-04 Andrew Haley <aph@redhat.com> * java/security/BasicPermission.java: Don't check wildcards. From-SVN: r85608
Andrew Haley committed -
From-SVN: r85605
David Edelsohn committed -
* config/rs6000/rs6000.c (rs6000_rtx_costs): Fix mask_operand and mask64_operand thinkos. Handle ZERO_EXTRACT. Handle SIGN_EXTEND / ZERO_EXTEND of MEM. Handle rlwinm patterns. From-SVN: r85604
David Edelsohn committed -
* config/linux.h, config/i386/linux.h, config/sparc/linux.h: Remove definitions conditioned on USE_GNULIBC_1 or conditioned out, and associated obsolete comments. From-SVN: r85600
Joseph Myers committed -
* tree.h (force_fit_type): Return a tree, take three flags. * fold-const.c (force_fit_type): Set TREE_OVERFLOW and TREE_CONSTANT_OVERFLOW here. (int_const_binop, const_binop): Adjust. (size_int_type): Do sign extension here. (fold_convert_const, optimize_bit_field_compare, decode_field_reference, all_ones_mask_p, fold_div_compare, fold, fold_negate_const, fold_abs_const, fold_not_const): Adjust. * tree.c (size_in_bytes, int_fits_type_p): Adjust. * cp/cvt.c (cp_convert_to_pointer): Adjust force_fit_type call. * java/jcf-parse.c (get_constant): Adjust force_fit_type call. * java/lex.h (SET_LVAL_NODE_TYPE): Remove. * java/lex.c (java_perform_atof): Use SET_LVAL_NODE directly. (do_java_lex): Likewise. Adjust force_fit_type call. From-SVN: r85599
Nathan Sidwell committed -
PR tree-optimization/16864 * tree-tailcall.c (eliminate_tail_call): Do not create phi nodes for ssa names without default_def. From-SVN: r85597
Zdenek Dvorak committed -
PR libgfortran/16704 * io/read.c (read_radix): Understand letters f and F as hex digits. From-SVN: r85596
Victor Leikehman committed -
i386.c (ix86_expand_prologue): If the function uses a frame pointer, restore eax with an ebp-relative address. * config/i386/i386.c (ix86_expand_prologue): If the function uses a frame pointer, restore eax with an ebp-relative address. From-SVN: r85595
Richard Sandiford committed -
2004-08-04 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/20020118-1.c: Declare abort. * gcc.dg/altivec_check.h: Likewise. * gcc.dg/iftrap-2.c: Likewise. * gcc.dg/pragma-darwin.c: Likewise. * gcc.dg/rs6000-ldouble-1.c: Declare abort and exit. From-SVN: r85594
Andrew Pinski committed -
2004-08-04 Geoffrey Keating <geoffk@apple.com> PR 14516 * c-common.c (c_expand_decl): Don't special-case static VAR_DECLs. * c-common.h (make_rtl_for_local_static): Delete. * c-decl.c (shadow_tag_warned): Clean up comment. (finish_decl): Clean up spacing. Use set_user_assembler_name when appropriate. Don't pass asmspec to rest_of_decl_compilation. * c-semantics.c (make_rtl_for_local_static): Delete. * expr.c (init_block_move_fn): Use set_user_assembler_name. (init_block_clear_fn): Likewise. * passes.c (rest_of_decl_compilation): Remove asmspec parameter, expect it to be in DECL_ASSEMBLER_NAME. Update callers in many files. * toplev.h (rest_of_decl_compilation): Remove asmspec parameter. * tree.h (make_decl_rtl): Remove second parameter. (set_user_assembler_name): New. * varasm.c (set_user_assembler_name): New. (make_decl_rtl): Remove second parameter. Update callers in many files. Index: cp/ChangeLog 2004-08-04 Geoffrey Keating <geoffk@apple.com> * decl.c (make_rtl_for_nonlocal_decl): Set DECL_ASSEMBLER_NAME rather than passing it as a parameter to rest_of_decl_compilation. * decl2.c (grokfield): Use set_user_assembler_name. From-SVN: r85593
Geoffrey Keating committed -
From-SVN: r85592
Geoffrey Keating committed -
* config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0. (case rs6000-*-lynxos*): Rename it to powerpc-*-lynxos*. Update to LynxOS 4.0. * gthr-lynx.h: New file. * config/lynx-ng.h: Remove file. * config/lynx.h: Update to LynxOS 4.0. * config/t-lynx: New file. * config/i386/lynx-ng.h: Remove file. * config/i386/lynx.h: Update to LynxOS 4.0. * config/rs6000/lynxbase.h: Remove file. * config/rs6000/lynx.h: Update to LynxOS 4.0. * config/rs6000/t-lynx: New file. * doc/install.texi (Options specification): Remove reference to LynxOS from systems where --with-gnu-as makes a difference. From-SVN: r85591
Adam Nemet committed -
* c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and __UINTMAX_TYPE__. * c-cppbuiltin.c (builtin_define_stdint_macros): New. Define __INTMAX_MAX__. (c_cpp_builtins): Call it. * doc/cpp.texi: Update. testsuite: * gcc.c-torture/execute/builtins/abs-2.c, gcc.c-torture/execute/builtins/abs-3.c, gcc.c-torture/execute/builtins/lib/abs.c, gcc.dg/format/format.h, gcc.dg/torture/builtin-attr-1.c: Use predefined macros for intmax_t, uintmax_t and their limits. * gcc.dg/intmax_t-1.c: New test. From-SVN: r85588
Joseph Myers committed -
From-SVN: r85585
GCC Administrator committed
-
- 04 Aug, 2004 4 commits
-
-
* config/rs6000/rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero cost. From-SVN: r85582
David Edelsohn committed -
From-SVN: r85581
Giovanni Bajo committed -
* basic-block.h (profile_staus): New global variable. * cfg.c (profile_status): Declare. (check_bb_profile): Break out from ....; use profile_status (dump_flow_info): ... here. * cfgbuild.c (find_basic_blocks): Set profile_status. * cfgexpand.c (tree_expand_cfg): Likewise. * predict.c (estimate_probability): Likewise. * profile.c (branch_prob): Likewise. * tree-cfg.c (build_tree_cfg): Likewise. (dump_function_to_file): Use check_bb_profile. * tree-pretty-print (dump_bb_header): Likewise. * tree-profile.c (do_tree_profiling): Cleanup. From-SVN: r85579
Jan Hubicka committed -
From-SVN: r85575
Jason Merrill committed
-