1. 23 Oct, 2001 17 commits
    • alias.c (can_address_p): Compnonents are not addressable if the containing type has alias set 0. · 8ac61af7
      	* alias.c (can_address_p): Compnonents are not addressable if
      	the containing type has alias set 0.
      	(get_alias_set): Rework to use STRIP_NOPS.
      	Only call front-end routine on object, type, or object with
      	NOPs stripped, not inner values.
      	Use language hook to call front-end routine.
      	* builtins.c (get_memory_rtx): Always call set_mem_attributes.
      	(expand_builtin_apply): Call set_mem_align on MEMs we make.
      	Don't pass alignment to emit_block_move.
      	(expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
      	(expand_builtin_memset): Likewise, but for clear_storage.
      	* c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
      	and remove C++ specific parts.
      	* c-common.h (c_common_get_alias_set): Add declaration.
      	* c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
      	* calls.c (emit_call_1): Fix typo in sibcall_pop case.
      	(save_fixed_argument_area): Call set_mem_align.
      	Remove alignment in call to emit_block_move.
      	(emit_library_call_value_1, store_one_arg): Likewise.
      	(target_for_arg): Remove; disabled long ago.
      	* emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
      	once and similar cleanups.
      	(offset_address): Use proper introductory comment.
      	* expr.c (emit_block_move): Use alignment from that of MEM args, not
      	from explicit operand; all callers changed.
      	(clear_storage): Likewise.
      	(expand_assignment): Don't call set_mem_alias_set on to_rtx.
      	(store_field): Remove kludge on alias set used for to_rtx.
      	(highest_pow2_factor, case *_DIV_EXPR): Never return 0.
      	(expand_expr_unaligned): Call set_mem_attributes instead of
      	set_mem_alias_set.
      	* expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
      	* function.c (assign_stack_temp_for_type): Set MEM alignment.
      	(expand_function_end): Track MEM attributes of trampolines.
      	* ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
      	* integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
      	attributes from original.
      	* langhooks.c (lang_hook_default_get_alias_set): New function.
      	(hook_get_alias_set_0): New function.
      	* langhooks.h (hook_get_alias_set_0): New declaration.
      	(lang_hook_default_get_alias_set): Likewise.
      	(LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
      	* reload1.c (alter_reg): Use adjust_address_nv.
      	* rtl.c (get_mode_alignment): Moved to here.
      	* rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
      	change default if unknown from 1 to BITS_PER_UNIT.
      	* stor-layout.c (get_mode_alignment): Remove from here.
      	* toplev.h (struct lang_hoks): Add get_alias_set field.
      	* tree.h (lang_get_alias_set): Delete declaration.
      	* config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
      	* config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
      	(ix86_va_arg): Likewise.
      	* config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
      	* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
      	* config/sparc/sparc.c (sparc_va_arg): Likewise.
      	* config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
      	(expand_block_move_mem): Remove dead code.
      	* cp/cp-lang.c (cxx_get_alias_set): New function.
      	Point LANG_HOOKS_GET_ALIAS_SET to it.
      	* f/com.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
      	(lang_get_alias_set): Delete.
      	* java/lang.c (lang_get_alias_set): Deleted.
      
      From-SVN: r46440
      Richard Kenner committed
    • c-common.c (warn_div_by_zero): New. · 6c36d76b
      	* c-common.c (warn_div_by_zero): New.
      	* c-common.h (warn_div_by_zero): New.
      	* c-decl.c (c_decode_option): Take it on the command line.
       	* c-typeck.c (build_binary_op): Warn about division by zero.
      	* doc/invoke.texi: Document the new command line option, fix
      	documentation of -Wmultichar.
       	* testsuite/gcc.dg/divbyzero.c: New tests.
       	* testsuite/gcc.dg/noncompile/20010524-1.c: Update.
      
      From-SVN: r46439
      Neil Booth committed
    • i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op. · 635559ab
      	* i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
      
      	* toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
      	to avoid update_life_info call.
      	* basic-block.h (CLEANUP_UPATE_LIFE): Define.
      	* cfgcleanup.c (bb_flags): New enum.
      	(BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
      	(notice_new_block, update_forwarder_flag): New functions.
      	(try_simplify_condjump): Use FORWARDER_BLOCK_P.
      	(try_forward_edges): Likewise; update flags.
      	(merge_blocks): Likewise.
      	(outgoing_edges_match): Likewise.
      	(try_crossjump_to_edge): Likewise.
      	(try_optimize_cfg): Likewise; initialize and clear the flags;
      	recompute life info if needed.
      	(cleanup_cfg): No need to clear aux pointers.
      
      From-SVN: r46434
      Jan Hubicka committed
    • i386.c (override_options): Default to minimum stack alignment when optimizing for code size. · fbb83b43
      * config/i386/i386.c (override_options): Default to minimum
      stack alignment when optimizing for code size.
      * doc/invoke.texi (-mpreferred-stack-boundary): Document the
      change.
      
      From-SVN: r46433
      Alexandre Oliva committed
    • i386.c (override_options): Set upper limit of -mpreferred-stack-boundary to 12. · c6257c5d
      * config/i386/i386.c (override_options): Set upper limit of
      -mpreferred-stack-boundary to 12.
      
      From-SVN: r46432
      Alexandre Oliva committed
    • Fix date in ChangeLog · f1e09fa2
      From-SVN: r46431
      Kriang Lerdsuwanakij committed
    • cp-tree.def (UNBOUND_CLASS_TEMPLATE): New tree node. · b8c6534b
      	* cp-tree.def (UNBOUND_CLASS_TEMPLATE): New tree node.
      	* cp-tree.h (make_unbound_class_template): Prototype new function.
      	* decl.c (make_unbound_class_template): New function.
      	* decl2.c (arg_assoc_template_arg): Handle UNBOUND_CLASS_TEMPLATE.
      	* error.c (dump_type): Likewise.
      	* mangle.c (write_type): Likewise.
      	* parse.y (template_parm): Likewise.
      	(template_argument): Use make_unbound_class_template.
      	* pt.c (convert_template_argument): Handle UNBOUND_CLASS_TEMPLATE.
      	(tsubst): Likewise.
      	(tsubst_copy): Likewise.
      	(unify): Likewise.
      	* tree.c (walk_tree): Likewise.
      	* typeck.c (comptypes): Likewise.
      
      From-SVN: r46430
      Kriang Lerdsuwanakij committed
    • Daily bump. · 69f75f9d
      From-SVN: r46428
      GCC Administrator committed
    • BufferedWriter (write (String, int, int)): Remove redundant bounds checks. · e042de67
      	* java/io/BufferedWriter (write (String, int, int)): Remove
      	redundant bounds checks.
      	(write (char[], int, int)): Likewise.
      
      From-SVN: r46426
      Bryce McKinlay committed
    • Fix typos. · d9d6919e
      From-SVN: r46425
      Bryce McKinlay committed
    • prims.cc (_Jv_Abort): Always print error message using fprintf, don't try to allocate. · afb2dec5
              * prims.cc (_Jv_Abort): Always print error message using fprintf,
              don't try to allocate.
              (_Jv_CreateJavaVM): Set gcj::runTimeInitialized.
              * include/jvm.h (gcj::runTimeInitialized): New variable declaration.
              * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault): Handle
              duplicate class registration with JvFail if the runtime hasn't been
              initialized yet.
      
      From-SVN: r46424
      Bryce McKinlay committed
    • GregorianCalendar.java (getGregorianChange): Removed `date' argument. · 187e37f9
      	* java/util/GregorianCalendar.java (getGregorianChange): Removed
      	`date' argument.
      
      From-SVN: r46423
      Tom Tromey committed
    • libiberty.h (hex_init): Revert delete. · e5969ba6
      include:
      	* libiberty.h (hex_init): Revert delete.
      
      libiberty:
      	* hex.c (hex_init): Provide empty stub.
      
      From-SVN: r46421
      Kaveh R. Ghazi committed
    • linux_threads.c (GC_init_parallel): Do not declare as a static constructor. · aeb76991
      	* linux_threads.c (GC_init_parallel): Do not declare as a static
      	constructor.
      	* include/gc.h (GC_init): Declare here. Add description.
      	* include/private/gc_priv.h (GC_init): Remove declaration.
      
      From-SVN: r46420
      Bryce McKinlay committed
    • gcc.texi (Sending Patches): Remove. · b45bc005
      	* doc/gcc.texi (Sending Patches): Remove.
      
      f:
      	* g77.texi (Sending Patches): Remove.
      
      From-SVN: r46418
      Joseph Myers committed
  2. 22 Oct, 2001 18 commits
  3. 21 Oct, 2001 5 commits
    • i386.c (sco_asm_named_section): Delete. · e56feed6
      	* config/i386/i386.c (sco_asm_named_section): Delete.
      	(sco_asm_out_constructor): Delete.
      	* config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
      	(ASM_OUTPUT_DOUBLE_INT): Likewise.
      	(TARGET_ASM_CONSTRUCTOR): Delete.  Use default.
      	(TARGET_ASM_NAMED_SECTION): Use default for ELF.
      	(EXCEPTION_SECTION): Delete EH scn renaming hack.
      
      From-SVN: r46398
      Robert Lipe committed
    • c-format.c (maybe_read_dollar_number): Use safe-ctype macros and/or fold extra… · 0df6c2c7
      c-format.c (maybe_read_dollar_number): Use safe-ctype macros and/or fold extra calls into fewer ones.
      
      	* c-format.c (maybe_read_dollar_number): Use safe-ctype macros
      	and/or fold extra calls into fewer ones.
      	* collect2.c (dump_file): Likewise.
      	* cppexp.c (parse_number): Likewise.
      	* cpplex.c (_cpp_lex_direct): Likewise.
      	* final.c (output_asm_insn, asm_fprintf): Likewise.
      	* fix-header.c (inf_scan_ident, main): Likewise.
      	* fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
      	Likewise.
      	* fold-const.c (real_hex_to_f): Likewise.
      	* gen-protos.c (parse_fn_proto): Likewise.
      	* genattrtab.c (check_attr_test, check_attr_value): Likewise.
      	* genrecog.c (change_state, write_action): Likewise.
      	* gensupport.c (shift_output_template): Likewise.
      	* local-alloc.c (requires_inout): Likewise.
      	* mips-tfile.c (IS_ASM_IDENT): Likewise.
      	* protoize.c (is_id_char, main): Likewise.
      	* real.c (asctoeg): Likewise.
      	* recog.c (asm_operand_ok): Likewise.
      	* reload.c (find_reloads): Likewise.
      	* scan.c (scan_identget_token): Likewise.
      	* sched-vis.c (print_value): Likewise.
      	* stringpool.c (ggc_alloc_string): Likewise.
      	* toplev.c (read_integral_parameter, decode_g_option): Likewise.
      	* tradcif.y (parse_number, yylex, parse_escape): Likewise.
      	* tradcpp.c (rescan): Likewise.
      	* tree.c (clean_symbol_name): Likewise.
      	* varasm.c (decode_reg_name): Likewise.
      
      	* alpha.h (ASM_OUTPUT_ASCII): Likewise.
      	* darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
      	* dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
      	* m88k.c (output_ascii): Likewise.
      	* m88k.h (OVERRIDE_OPTIONS): Likewise.
      	* mcore.h (REG_CLASS_FROM_LETTER): Likewise.
      	* ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
      	* sh.h (REG_CLASS_FROM_LETTER): Likewise.
      
      cp:
      	* xref.c (GNU_xref_member): Use safe-ctype macros and/or fold
      	extra calls into fewer ones.
      
      f:
      	* bad.c (ffebad_finish): Use safe-ctype macros and/or fold extra
      	calls into fewer ones.
      	* implic.c (ffeimplic_lookup_): Likewise.
      	* intdoc.c (dumpimp): Likewise.
      	* intrin.c (ffeintrin_init_0): Likewise.
      	* lex.c (ffelex_backslash_, ffelex_cfebackslash_, ffelex_hash_):
      	Likewise.
      	* lex.h (ffelex_is_firstnamechar): Likewise.
      	* target.c (ffetarget_integerhex): Likewise.
      
      java:
      	* gjavah.c (jni_print_char, decode_signature_piece): Use
      	safe-ctype macros and/or fold extra calls into fewer ones.
      	* lex.c (java_read_unicode, java_lex): Likewise.
      	* lex.h (JAVA_START_CHAR_P, JAVA_PART_CHAR_P, JAVA_ASCII_DIGIT,
      	JAVA_ASCII_HEXDIGIT, JAVA_ASCII_LETTER): Likewise.
      	* mangle_name.c (append_unicode_mangled_name,
      	unicode_mangling_length): Likewise.
      
      From-SVN: r46397
      Kaveh R. Ghazi committed
    • langhooks.c (lang_hook_default_do_nothing, [...]): New defaults. · 77b1a921
      	* langhooks.c (lang_hook_default_do_nothing,
      	lang_hook_default_decode_option): New defaults.
      	* langhooks.h: Make hooks unconditional and non-NULL.
      	* toplev.c (compile_file, toplev_main): Update.
      	* toplev.h: Update comments.
      	* objc/objc-act.c (lang_hooks): Update to new paradigm.
      
      From-SVN: r46396
      Neil Booth committed
    • arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE. · 5297e085
      	* arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
      
      	* system.h (IN_RANGE): New macro.
      
      From-SVN: r46395
      Kaveh R. Ghazi committed
    • aclocal.m4 (AM_WITH_NLS): Also create and substitute INTLDEPS variable, which… · 77c06844
      aclocal.m4 (AM_WITH_NLS): Also create and substitute INTLDEPS variable, which does not include $LIBICONV.
      
      	* aclocal.m4 (AM_WITH_NLS): Also create and substitute
      	INTLDEPS variable, which does not include $LIBICONV.
      	* Makefile.in: Use INTLDEPS in LIBDEPS.
      	* configure: Regenerate.
      
      intl:
      	* dcigettext.c: Don't use #elif.
      	* gettextP.h: Prototype nls_uint32 and locale_charset here.
      	Always define ZERO to 1 to avoid warnings (ZERO is used in
      	flexible-array-member declarations).
      	* loadmsgcat.c: Apply __extension__ to structure definitions
      	using C99 designated initializer syntax.
      	Do not prototype locale_charset here.
      	* localcharset.c: Prototype get_charset_aliases before use.
      	Get rid of STATIC nonsense.
      
      From-SVN: r46394
      Zack Weinberg committed