Skip to content
Snippets Groups Projects
  1. Aug 12, 2004
    • paolo's avatar
      2004-08-12 Jan Beulich <jbeulich@novell.com> · d7817826
      paolo authored
      	* config/locale/generic/ctype_members.cc
      	(ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as
      	initializer for return value, as that is invalid for enumerated	types.
      	* config/locale/gnu/ctype_members.cc
      	(ctype<wchar_t>::_M_convert_to_wmask): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85862 138bc75d-0d04-0410-961f-82ee72b054a4
      d7817826
    • jbeulich's avatar
      *** empty log message *** · e4d6aaad
      jbeulich authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85861 138bc75d-0d04-0410-961f-82ee72b054a4
      e4d6aaad
    • jbeulich's avatar
      cp/ · 8f26d225
      jbeulich authored
      2004-08-12 Jan Beulich <jbeulich@novell.com>
      
      	* parser.c (cp_parser_asm_definition): Properly consume scope operator
      	tokens preceding the clobbers. Don't check for scope operator
      	following inputs. Simplify inputs handling to match that now used for
      	clobbers.
      
      testsuite/
      2004-08-12 Jan Beulich <jbeulich@novell.com>
      
      	* g++.dg/ext/asm5.C: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85860 138bc75d-0d04-0410-961f-82ee72b054a4
      8f26d225
    • zack's avatar
      * genpreds.c: Add capability to generate predicate bodies as · cbf464bd
      zack authored
      	well as function prototypes.  Write function prototypes for
      	the generic predicates too.
      	(process_define_predicate, write_tm_preds_h, write_insn_preds_c)
      	(write_predicate_subfunction, mark_mode_tests, add_mode_tests)
      	(write_match_code, write_predicate_expr, write_one_predicate_function)
      	(parse_option): New functions.
      	(output_predicate_decls): Delete.
      	(main): Read the machine description, process DEFINE_PREDICATE or
      	DEFINE_SPECIAL_PREDICATE patterns, write tm-preds.h or insn-preds.c
      	as appropriate.
      
      	* genrecog.c (struct decision_test): Replace index with
      	struct pred_data pointer.
      	(next_index): Remove, unused.
      	(pred_table, preds, special_mode_pred_table): Delete.
      	(compute_predicate_codes, process_define_predicate): New functions.
      	(validate_pattern, add_to_sequence, write_switch): Update for
      	new data structures.
      	(main): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE.
      	Check both error_count and have_error.
      
      	* gensupport.c (in_fname, first_predicate): New globals.
      	(define_pred_queue, define_pred_tail): New RTL-pattern queue.
      	(predicate_table, last_predicate, old_pred_table)
      	(old_special_pred_table): New statics.
      	(hash_struct_pred_data, eq_struct_pred_data, lookup_predicate)
      	(add_predicate, init_predicate_table): New functions.
      	(process_rtx): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE.
      	(init_md_reader_args_cb): Use the global in_fname.  No need to zero
      	it or max_include_len.  Call init_predicate_table.
      	(read_rtx): Run the predicate queue after the attribute queue
      	but before all the others.
      	* gensupport.h (in_fname, struct pred_data, first_predicate)
      	(lookup_predicate, add_predicate, FOR_ALL_PREDICATES): Declare.
      	* rtl.def (MATCH_CODE, MATCH_TEST, DEFINE_PREDICATE)
      	(DEFINE_SPECIAL_PREDICATE): New RTL codes.
      	* dummy-conditions.c: Don't include bconfig.h, system.h,
      	coretypes.h, tm.h, or system.h.  Do include stddef.h.
      	Duplicate declaration of struct c_test from gensupport.h.
      
      	* Makefile.in (OBJS-common): Add insn-preds.o.
      	(STAGESTUFF, .PRECIOUS): Add insn-preds.c.
      	(insn-preds.c, insn-preds.o): New rules.
      	(s-preds): Also generate insn-preds.c.
      	(dummy-conditions.o, genpreds$(build_exeext), genpreds.o):
      	Update dependencies.
      	(print-rtl.o, print-rtl1.o): Correct dependencies.
      
      	* recog.h: Delete prototypes of predicate functions.
      
      	* doc/md.texi (Predicates): New section with complete
      	documentation of operand/operator predicates.  Remove some
      	incomplete documentation of predicates from other places.
      	* doc/tm.texi (Misc): Move SPECIAL_MODE_PREDICATES next to
      	PREDICATE_CODES; indicate that both are deprecated in favor
      	of define_predicate/define_special_predicate.
      
      	* config/ia64/ia64.c: All predicate function definitions moved
      	to ia64.md, except
      	(small_addr_symbolic_operand, tls_symbolic_operand): Delete.
      	(ia64_expand_load_address, ia64_expand_move):
      	Check SYMBOL_REF_TLS_MODEL directly, don't use tls_symbolic_operand.
      
      	* config/ia64/ia64.md: All predicates now defined here.
      	(symbolic_operand): Is now a special predicate.
      
      	* config/ia64/ia64.h: Declare ia64_section_threshold.
      	(PREDICATE_CODES): Delete.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85855 138bc75d-0d04-0410-961f-82ee72b054a4
      cbf464bd
    • bothner's avatar
      · 307719b9
      bothner authored
      	* gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
      	with private fields and access methods.
      	(_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
      	* gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
      	* prims.cc (_Jv_Utf8COnst::init): New method implementation.
      	( _Jv_makeUtf8Const): Rewrite using new constructors.
      	(hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
      	* defineclass.cc: Use new _Utf8Const access/convenience methods.
      	* jni.cc: Likewise.
      	* resolve.cc: Likewise.
      	* gcj/field.h: Likewise.
      	* include/jvm.h: Likewise.
      	* java/lang/Class.h: Likewise.
      	* java/lang/natClass.cc: Likwise.
      	* java/lang/natClassLoader.cc: Likewise
      	* java/lang/reflect/natMethod.cc: Likewise
      	* verify.cc: Likewise.
      	(_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
      	(~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85854 138bc75d-0d04-0410-961f-82ee72b054a4
      307719b9
    • mmitchel's avatar
      PR c++/16698 · 3b50f8cb
      mmitchel authored
      	* except.c (build_throw): Allocate cleanup_type and the function
      	for __cxa_throw separately.
      
      	PR c++/16698
      	* g++.dg/eh/crash1.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85850 138bc75d-0d04-0410-961f-82ee72b054a4
      3b50f8cb
    • rth's avatar
      * c-common.h (STATEMENT_LIST_HAS_LABEL): New. · 2e3f4877
      rth authored
              * c-semantics.c (add_stmt): Set it.
              * c-decl.c (finish_decl): Use it to create a new BIND_EXPR
              before instantiating a variable sized type.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85849 138bc75d-0d04-0410-961f-82ee72b054a4
      2e3f4877
    • rth's avatar
      * stor-layout.c (round_up, round_down): Move ... · 59ff7b6e
      rth authored
              * fold-const.c (round_up, round_down): ... here.  Use
              multiple_of_p to avoid any arithmetic at all.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85848 138bc75d-0d04-0410-961f-82ee72b054a4
      59ff7b6e
    • rth's avatar
      * gimplify.c (struct gimplify_init_ctor_preeval_data): New. · d38cff30
      rth authored
              (gimplify_init_ctor_preeval_1): New.
              (gimplify_init_ctor_preeval): New.
              (gimplify_init_ctor_eval): New.
              (gimplify_init_constructor): Use them.  Always gimplify the LHS
              object first.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85845 138bc75d-0d04-0410-961f-82ee72b054a4
      d38cff30
    • mmitchel's avatar
      PR c++/16717 · 238203d7
      mmitchel authored
      	* g++.dg/ext/construct1.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85844 138bc75d-0d04-0410-961f-82ee72b054a4
      238203d7
    • zlaski's avatar
      [gcc/ChangeLog] · 749e254d
      zlaski authored
      2004-08-12  Ziemowit Laski  <zlaski@apple.com>
      
              (This patch is part of merge of objc-improvements-branch
              into mainline.)
      
              * doc/frontends.texi: Mention Objective-C++ in addition to
              Objective-C.
              * doc/install.texi: Add 'obj-c++' to list of configurable
              languages.
              * doc/invoke.texi: Rename Objective-C option headings to
              indicate they also apply to Objective-C++.  List file
              extensions for Objective-C++ sources.  Mention that
              ObjC and ObjC++ compilations may also use C and C++ options,
              respectively.  Point users to doc/standards.texi for
              further info on ObjC and ObjC++.
              * doc/sourcebuild.texi: Mention the objcp/ directory and
              the Objective-C++ sources it contains.
              * doc/standards.texi: Update link to Apple ObjC site;
              add link to gcc readings.html WWW doc.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85842 138bc75d-0d04-0410-961f-82ee72b054a4
      749e254d
    • mmitchel's avatar
      PR c++/16853 · af59b531
      mmitchel authored
      	* call.c (standard_conversion): Do not accept conversions between
      	pointers to members if the class types are unrelated.
      
      	PR c++/16618
      	* parser.c (cp_parser_builtin_offsetof): Cast to "const volatile
      	char &" instead of just "char &".
      
      	PR c++/16870
      	* pt.c (tsubst): Just return the unknown_type_node.
      
      	PR c++/16853
      	* g++.dg/init/ptrmem1.C: New test.
      
      	PR c++/16618
      	* g++.dg/parse/offsetof5.C: New test.
      
      	PR c++/16870
      	* g++.dg/template/overload3.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85840 138bc75d-0d04-0410-961f-82ee72b054a4
      af59b531
    • gccadmin's avatar
      Daily bump. · a685892b
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85836 138bc75d-0d04-0410-961f-82ee72b054a4
      a685892b
  2. Aug 11, 2004
    • giovannibajo's avatar
      Fix comment typo · 4b3a701c
      giovannibajo authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85830 138bc75d-0d04-0410-961f-82ee72b054a4
      4b3a701c
    • amodra's avatar
      * config/rs6000/rs6000.c (function_arg_padding): Revert 2004-07-28 · da6755bf
      amodra authored
      	and 2004-07-14 changes.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85829 138bc75d-0d04-0410-961f-82ee72b054a4
      da6755bf
    • pbrook's avatar
      * doc/invoke.texi: Fix typo. · 692e2bb8
      pbrook authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85828 138bc75d-0d04-0410-961f-82ee72b054a4
      692e2bb8
    • mmitchel's avatar
      PR c++/16964 · 534d03ee
      mmitchel authored
      	* parser.c (cp_parser_class_specifier): Robustify.
      
      	PR c++/16904
      	* pt.c (tsubst_copy_and_build): Complain about invalid
      	qualification.
      
      	PR c++/16929
      	* pt.c (tsubst_default_argument): Clear out current_class_ptr and
      	current_class_ref while tsubsting.
      
      	PR c++/16964
      	* g++.dg/parse/error16.C: New test.
      
      	PR c++/16904
      	* g++.dg/template/error14.C: New test.
      
      	PR c++/16929
      	* g++.dg/template/error15.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85824 138bc75d-0d04-0410-961f-82ee72b054a4
      534d03ee
    • dpatel's avatar
      * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -dead_strip · b7d25287
      dpatel authored
             and -no_dead_strip_inits_and_terms.
             (LINK_SPEC): Same.
             * doc/invoke.texi (Darwin Options): Document -dead_strip and
             -no_dead_strip_inits_and_terms.
      
             * gcc.dg/darwin-ld-20040809-1.c: New test.
             * gcc.dg/darwin-ld-20040809-2.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85822 138bc75d-0d04-0410-961f-82ee72b054a4
      b7d25287
    • pbrook's avatar
      * config/arm/arm-protos.h (arm_finalize_pic) Rename ... · ea32a06e
      pbrook authored
      	(arm_load_pic_register): ... to this.
      	* config/arm/arm.c (arm_finalize_pic): Rename ...
      	(arm_load_pic_register): ... to this.  Always output insns at the
      	current location.  Load via low reg in thumb mode.
      	(arm_expand_prologue): Call arm_load_pic_register.
      	(thumb_expand_prologue): Ditto.
      	* config/arm/arm.h (FINALIZE_PIC): Remove.
      	* config/arm/arm.md (builtin_setjmp_receiver): Call
      	arm_load_pic_register.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85820 138bc75d-0d04-0410-961f-82ee72b054a4
      ea32a06e
    • pbrook's avatar
      * arm.c (thumb_force_lr_save): Add prototype. · 237533cc
      pbrook authored
      	(thumb_compute_save_reg_mask): New function.
      	(thumb_find_work_register): New function.
      	(arm_get_frame_offsets): Use thumb_compute_save_reg_mask.
      	(thumb_unexpanded_epilogue): Ditto.  Remove redundant code.
      	Don't clobber r3 when removing pretend args.
      	(thumb_expand_prologue): Use thumb_compute_save_reg_mask.
      	(thumb_output_function_prologue): Use new functions.
      	(thumb_set_return_address): Use thumb_compute_save_reg_mask.
      	* arm.h (THUMB_REG_PUSHED_P): Remove.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85818 138bc75d-0d04-0410-961f-82ee72b054a4
      237533cc
    • wilson's avatar
      Fix -fprofile-use ICE. · 99bc9eb7
      wilson authored
      PR rtl-optimization/16490
      * cfgrtl.c (cfg_layout_split_edge): Set global_live_at_start and
      global_live_at_end for new basic block if already set for other blocks.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85813 138bc75d-0d04-0410-961f-82ee72b054a4
      99bc9eb7
    • dje's avatar
      * config/rs6000/rs6000.h (MAX_FIXED_MODE_SIZE): Define. · e84a95ef
      dje authored
              * config/rs6000/rs6000.md (mfcr rlwinm patterns): Set length to 8.
              (mfcr rlwinm rlwinm patterns): Set length to 12.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85808 138bc75d-0d04-0410-961f-82ee72b054a4
      e84a95ef
    • amacleod's avatar
      · 5b110d39
      amacleod authored
      2004-08-11  Andrew MacLeod  <amacleod@redhat.com>
      
      	* tree-flow-inline.h (get_def_ops, get_use_ops, get_v_may_def_ops,
      	get_vuse_ops,get_v_must_def_ops): Add operand structure reference.
      	(get_v_may_def_result_ptr, get_v_may_def_op_ptr): New access struct.
      	(start_ssa_stmt_operands): Delete.
      	* tree-flow.h (struct stmt_ann_d): Replace operand vectors with new
      	struct stmt_operands_d.
      	(build_ssa_operands): New extern entry point.
      	* tree-ssa-dom.c (record_equivalences_from_stmt): Remove operand
      	building code, replace with create_ssa_artficial_load_stmt().
      	* tree-ssa-operands.c (struct voperands_d): Delete.
      	(allocate_v_may_def_optype): Allocate v_may_def_operand_type_t vector.
      	(allocate_v_must_def_optype): Use sizeof (tree), not sizeof (tree *).
      	(free_uses, free_defs, free_vuses, free_v_may_defs,
      	free_v_must_defs): Remove dealloc parameter.
      	(remove_vuses, remove_v_may_def, remove_v_must_defs): Delete.
      	(finalize_ssa_defs, finalize_ssa_uses, finalize_ssa_v_may_defs,
      	finalize_ssa_vuses, finalize_ssa_v_must_defs): Perform all operand
      	vector comparisons, ssa_name reuse, and allocations here.
      	(verify_start_operands): Delete.
      	(finalize_ssa_stmt_operands): Set new operands by calling finalize
      	routines.
      	(start_ssa_stmt_operands): Move from tree-flow-inline.h.
      	(append_def, append_usei): Simplify to simple accumulation.
      	(append_v_may_def, append_vuse, append_v_must_def): Simplify to avoiding
      	duplicates and simple accumulation.
      	(free_ssa_operands): Free vectors in a stmt_operand structure.
      	(build_ssa_operands): New. Create a new stmt_operand structure from
      	a stmt and an old set of stmt_operands.
      	(get_stmt_operands): Simplify and call build_ssa_operands.
      	(get_expr_operands, get_asm_expr_operands, get_indirect_ref_operands,
      	get_call_expr_operands, add_stmt_operand, add_call_clobber_ops,
      	add_call_read_ops): Don't pass prev_vops around anymore.
      	(note_addressable): Return if no stmt annotation.
      	(copy_virtual_operands): Access v_may_def operands through a struct.
      	(create_ssa_artficial_load_stmt): New.  Create a load stmt for DOM's
      	hash tables without treating the stmt as a real stmt.
      	* tree-ssa-operands.h (struct v_may_def_operand_type): New.  Access
      	v_may_def def and use through a struct instead of 2 array elements.
      	(struct v_may_def_optype_d): Use v_may_def_operand_type.
      	(struct stmt_operands_d): New.  Struct for storing all operand vectors.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85807 138bc75d-0d04-0410-961f-82ee72b054a4
      5b110d39
    • pbrook's avatar
      2004-08-11 Paul Brook <paul@codeourcery.com> · fcd16253
      pbrook authored
      	PR fortran/16917
      	* intrinsic.c (add_functions): Add dfloat as an alias for dble.
      
      2004-08-11  Steven G. Kargl  <kargls@comcast.net>
      
      	* gfortran.dg/dfloat_1.f90: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85805 138bc75d-0d04-0410-961f-82ee72b054a4
      fcd16253
    • paolo's avatar
      2004-08-11 Paolo Carlini <pcarlini@suse.de> · 87b567fb
      paolo authored
      	* testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Fix typo.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85804 138bc75d-0d04-0410-961f-82ee72b054a4
      87b567fb
    • paolo's avatar
      2004-08-11 Paolo Carlini <pcarlini@suse.de> · b2dd1969
      paolo authored
      	* testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Declare test
      	variable.
      	* testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Remove junk.
      	* testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Ditto.
      	* testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Ditto.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85802 138bc75d-0d04-0410-961f-82ee72b054a4
      b2dd1969
    • paolo's avatar
      2004-08-11 Paolo Carlini <pcarlini@suse.de> · 4bd6f2c5
      paolo authored
      	    Petur Runolfsson  <peturr02@ru.is>
      
      	PR libstdc++/16959
      	* src/ios_init.cc (ios_base::sync_with_stdio): Make sure the
      	standard streams are constructed.
      	* testsuite/27_io/ios_base/sync_with_stdio/16959.cc: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85797 138bc75d-0d04-0410-961f-82ee72b054a4
      4bd6f2c5
    • nickc's avatar
      (arm_is_longcall_p): Update comment describing this funciton's behaviour. · a2f6cf84
      nickc authored
        Return true when the current function has a section attribute and
        -mlong-calls is in effect.
      (ARM_DECLARE_FUNCTION_SIZE): Do not set the short-call marker when
        -mlong-calls is in effect and the function has a section attribute.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85796 138bc75d-0d04-0410-961f-82ee72b054a4
      a2f6cf84
    • zack's avatar
      * stmt.c (expand_return): If asked to return the RESULT_DECL, · 6f4df69d
      zack authored
      	just call expand_value_return on result_rtl.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85795 138bc75d-0d04-0410-961f-82ee72b054a4
      6f4df69d
    • rth's avatar
      * builtins.def (BUILT_IN_STACK_ALLOC): Remove. · afcf285e
      rth authored
              * builtins.c (expand_builtin) <BUILT_IN_STACK_ALLOC>: Remove.
              * dwarf2out.c (loc_descriptor): Handle PARALLEL here ...
              (add_location_or_const_value_attribute): ... not here.  Use
              loc_descriptor_from_tree if possible.
              (loc_descriptor_from_tree_1): Rename from loc_descriptor_from_tree.
              Simplify address handling.  Handle DECL_VALUE_EXPR.  Handle register
              values specially.
              (loc_descriptor_from_tree): New.  Update callers.
              * expr.c (expand_var): Ignore DECL_VALUE_EXPR variables.
              * gimplify.c (gimplify_decl_expr): Lower variable sized types to
              pointer plus dereference.  Set DECL_VALUE_EXPR.  Set save_stack.
              (gimplify_call_expr): Do not recognize BUILT_IN_STACK_ALLOC
              and BUILT_IN_STACK_RESTORE.
              (gimplify_expr): Lower DECL_VALUE_EXPR decls.
              * stmt.c (expand_stack_alloc): Remove.
              * tree-mudflap.c (mx_register_decls): Don't look for
              BUILT_IN_STACK_ALLOC.
              * tree-nested.c (convert_local_reference): Likewise.
              * tree.h (DECL_VALUE_EXPR): New.
      ada/
              * utils.c (gnat_install_builtins): Remove __builtin_stack_alloc,
              add __builtin_alloca.
      fortran/
              * f95-lang.c (gfc_init_builtin_functions): Remove
               __builtin_stack_alloc, add __builtin_alloca.
              * trans-array.c (gfc_trans_auto_array_allocation): Use DECL_EXPR.
              * trans-decl.c (gfc_trans_auto_character_variable): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85794 138bc75d-0d04-0410-961f-82ee72b054a4
      afcf285e
    • rth's avatar
      * config-lang.in (boot_language): Yes. · 3112fa05
      rth authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85793 138bc75d-0d04-0410-961f-82ee72b054a4
      3112fa05
    • rth's avatar
      * stor-layout.c (round_up): Check for 0/1 before dividing. · d69167ce
      rth authored
              (round_down): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85792 138bc75d-0d04-0410-961f-82ee72b054a4
      d69167ce
    • rth's avatar
      * tree-tailcall.c (suitable_for_tail_opt_p): Also check DECL_EXTERNAL. · 2a7b0524
      rth authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85791 138bc75d-0d04-0410-961f-82ee72b054a4
      2a7b0524
    • mmitchel's avatar
      * configure.in (arm*-*-eabi*): New target. · 30e9913f
      mmitchel authored
      	* configure: Regenerate.
      
      	* configure.ac (arm*-*-eabi*): New target.
      	(arm*-*-symbianelf*): Likewise.
      	* configure: Regenerated.
      
      	* config.gcc (arm*-*-eabi*): New target.
      	* defaults.h (TARGET_LIBGCC_FUNCS): New macro.
      	(TARGET_LIB_INT_CMP_BIASED): Likewise.
      	* expmed.c (expand_divmod): Try a two-valued divmod function as a
      	last resort.
      	* gthr.h: Remove bogus tokens at end of #pragma.
      	* optabs.c (expand_twoval_binop_libfunc): New function.
      	(prepare_cmp_insn): Handle the !TARGET_LIB_INT_CMP_BIASED case.
      	(prepare_float_lib_cmp): Try reversing the condition.
      	(debug_optab_libfuncs): New function.
      	* optabs.h (expand_twoval_binop_libfunc): Declare.
      	* config/arm/arm.c (arm_init_libfuncs): New function.
      	(arm_compute_initial_eliminatino_offset): Return HOST_WIDE_INT.
      	(TARGET_INIT_LIBFUNCS): Define it.
      	* config/arm/arm.h (TARGET_BPABI): New macro.
      	* config/arm/arm-protos.h
      	(arm_compute_initial_elimination_offset): Return HOST_WIDE_INT.
      	* config/arm/bpabi.S: New file.
      	* config/arm/bpabi.c: Likewise.
      	* config/arm/bpabi.h: Likewise.
      	* config/arm/ieee754-df.S (__aeabi_dneg): New function or alias.
      	(__aeabi_drsub): Likewise.
      	(__aeabi_dsub): Likewise.
      	(__aeabi_dadd): Likewise.
      	(__aeabi_ui2d): Likewise.
      	(__aeabi_i2d): Likewise.
      	(__aeabi_f2d): Likewise.
      	(__aeabi_dmul): Likewise.
      	(__aeabi_ddiv): Likewise.
      	(__aeabi_cdrcmple): Likewise.
      	(__aeabi_cdcmpeq): Likewise.
      	(__aeabi_cdcmple): Likewise.
      	(__aeabi_dcmpeq): Likewise.
      	(__aeabi_dcmplt): Likewise.
      	(__aeabi_dcmple): Likewise.
      	(__aeabi_dcmpge): Likewise.
      	(__aeabi_dcmpgt): Likewise.
      	(__aeabi_dcmpun): Likewise.
      	(__aeabi_d2iz): Likewise.
      	(__aeabi_d2uiz): Likewise.
      	(__aeabi_d2f): Likewise.
      	* config/arm/ieee754-sf.S (__aeabi_fneg): New function or alias.
      	(__aeabi_frsub): Likewise.
      	(__aeabi_fsub): Likewise.
      	(__aeabi_fadd): Likewise.
      	(__aeabi_ui2f): Likewise.
      	(__aeabi_i2f): Likewise.
      	(__aeabi_fmul): Likewise.
      	(__aeabi_fdiv): Likewise.
      	(__aeabi_cfrcmple): Likewise.
      	(__aeabi_cfcmpeq): Likewise.
      	(__aeabi_cfcmple): Likewise.
      	(__aeabi_fcmpeq): Likewise.
      	(__aeabi_fcmplt): Likewise.
      	(__aeabi_fcmple): Likewise.
      	(__aeabi_fcmpge): Likewise.
      	(__aeabi_fcmpgt): Likewise.
      	(__aeabi_fcmpun): Likewise.
      	(__aeabi_f2iz): Likewise.
      	(__aeabi_f2uiz): Likewise.
      	* config/arm/lib1funcs.asm (ARM_CALL): New macro.
      	(__aeabi_uidivmod): New function or alias.
      	(__aeabi_idivmod): Likewise.
      	(__aeabi_idiv0): Likewise.
      	(__aeabi_ldiv0): Likewise.
      	(__aeabi_llsr): Likewise.
      	(__aeabi_lasr): Likewise.
      	(__aeabi_llsl): Likewise.
      	(bpabi.S): Include it.
      	* config/arm/libgcc-bpabi.ver: New file.
      	* config/arm/symbian.h (ARM_DEFAULT_ABI): Remove.
      	(LINK_SPEC): Remove.
      	* config/arm/t-arm-elf (LIB1ASMFUNCS): Add __aeabi_lcmp and
      	__aeabi_ulcmp.
      	* config/arm/t-bpabi: New file.
      	* doc/tm.texi (TARGET_LIBGCC_FUNCS): New entry.
      	(TARGET_LIB_INT_CMP_BIASED): Likewise.
      
      	* gcc.dg/testsuite/gcc.dg/arm-eabi1.c: New test.
      	* gcc.dg/dll-2.c: Fix dg-require syntax.
      	* gcc.misc-tests/arm-isr.c (abort): Declare.
      	(exit): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85788 138bc75d-0d04-0410-961f-82ee72b054a4
      30e9913f
    • dje's avatar
      * config/rs6000/rs6000-protos.h (expand_block_clear): Declare. · e042bf99
      dje authored
              * config/rs6000/rs6000.md (clrmemsi): New pattern.
              * config/rs6000/rs6000.c (expand_block_clear): New function.
              (expand_block_move): Convert alignment to bits.  Use SImode and
              HImode for unaligned addresses if not STRICT_ALIGNMENT.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85787 138bc75d-0d04-0410-961f-82ee72b054a4
      e042bf99
    • kcook's avatar
      2004-08-11 Kelley Cook <kcook@gcc.gnu.org> · d0c5ec57
      kcook authored
      	PR bootstrap/16164
      	* Makefile.am: Force fastjar.info to be built in build directory.
      	* Makefile.in: Regenerate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85782 138bc75d-0d04-0410-961f-82ee72b054a4
      d0c5ec57
    • gccadmin's avatar
      Daily bump. · 033eb04a
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85780 138bc75d-0d04-0410-961f-82ee72b054a4
      033eb04a
    • mmitchel's avatar
      PR c++/16971 · d1cd2603
      mmitchel authored
      	* parser.c (cp_parser_init_declarator): Robustify.
      
      	PR c++/16971
      	* g++.dg/parse/crash16.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85776 138bc75d-0d04-0410-961f-82ee72b054a4
      d1cd2603
  3. Aug 10, 2004
    • ctice's avatar
      Hot/cold partitioning update, sub-patch: fix alignment problems · 480c55ab
      ctice authored
      2004-08-10  Caroline Tice  <ctice@apple.com
      
              * varasm.c (unlikely_section_label): New global variable.
              (unlikely_text_section_name): New global variable.
              (text_section):  Remove alignment statement.
              (unlikely_text_section): Remove alignment statement; use
              unlikely_section_label rather than hard-coded string.
              (assemble_start_function): Initialize unlikely_section_label and
              unlikely_text_section_name;  make sure cold section is properly
              aligned at start of function; output unlikely_section_label if
              appropriate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85771 138bc75d-0d04-0410-961f-82ee72b054a4
      480c55ab
    • uweigand's avatar
      * config/s390/s390-protos.h (s390_canonicalize_comparison): Declare. · ebe32bb0
      uweigand authored
      	* config/s390/s390.c (s390_canonicalize_comparison): New function.
      	* config/s390/s390.h (CANONICALIZE_COMPARISON): Define.
      	* config/s390/s390.md ("*tmdi_ext", "*tmsi_ext", "*tmqisi_ext",
      	"*tmqidi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem"): Remove.
      	("*tmqi_mem"): Remove SUBREG from pattern.
      	("*anddi3_cconly"): Prevent accidentally matching TM pattern.
      	("*andsi3_cconly"): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85770 138bc75d-0d04-0410-961f-82ee72b054a4
      ebe32bb0
Loading