1. 02 Oct, 2001 7 commits
    • attribs.c (decl_attributes): Possibly call insert_default_attributes to insert… · 6431177a
      attribs.c (decl_attributes): Possibly call insert_default_attributes to insert default attributes on...
      
      	* attribs.c (decl_attributes): Possibly call
      	insert_default_attributes to insert default attributes on
      	functions in a lazy manner.
      	* builtin-attrs.def: New file; define the default format and
      	format_arg attributes.
      	* c-common.c (c_format_attribute_table): Move to earlier in the
      	file.
      	(c_common_nodes_and_builtins): Initialize format_attribute_table.
      	(enum built_in_attribute, built_in_attributes,
      	c_attrs_initialized, c_init_attributes,
      	c_common_insert_default_attributes): New.
      	(c_common_lang_init): Don't initialize format_attribute_table.  Do
      	call c_init_attributes.
      	* Makefile.in (c-common.o): Depend on builtin-attrs.def.
      	* c-common.h (init_function_format_info): Don't declare.
      	(c_common_insert_default_attributes): Declare.
      	* c-decl.c (implicitly_declare, builtin_function): Call
      	decl_attributes.
      	(init_decl_processing): Don't call init_function_format_info.
      	(insert_default_attributes): New.
      	* c-format.c (handle_format_attribute,
      	handle_format_arg_attribute): Be quiet about inappropriate
      	declaration when applying default attributes.
      	(init_function_format_info): Remove.
      	* tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
      	(insert_default_attributes): Declare.
      
      cp:
      	* decl.c (init_decl_processing): Don't call
      	init_function_format_info.  Initialize lang_attribute_table
      	earlier.
      	(builtin_function): Call decl_attributes.
      	(insert_default_attributes): New.
      
      testsuite:
      	* gcc.dg/format/attr-5.c, gcc.dg/format/attr-6.c: New tests.
      
      From-SVN: r45942
      Joseph Myers committed
    • c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94. · ed0ea560
      	* c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
      
      testsuite:
      	* g++.dg/warn/format1.C: New test.
      
      From-SVN: r45941
      Joseph Myers committed
    • * configure: Handle temporary files securely using mkdir. · 50f5f793
      From-SVN: r45939
      Joseph Myers committed
    • Fix ia64 scheduler/predicated insn bug report from SAP. · 357e3f3d
      	* sched-deps.c (add_dependence): When elide conditional dependence,
      	check that insn doesn't modify cond2.
      
      From-SVN: r45938
      Jim Wilson committed
    • rs6000.h (enum processor_type): Add support for 7400 (G4) and 7450. · ed947a96
      2001-10-01  Dale Johannesen  <dalej@apple.com>
      
              * config/rs6000/rs6000.h (enum processor_type): Add support
              for 7400 (G4) and 7450.
              (RTX_COSTS): Ditto.
              * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
              (rs6000_issue_rate): Ditto.
              (rs6000_adjust_cost): Fix cycle counts for compares.
              (debug_stack_info):  Fix an obvious typo.
              * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
              * doc/invoke.texi: Document.
              * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
              for Darwin.
              (PROCESSOR_DEFAULT): Ditto.
      
      From-SVN: r45937
      Dale Johannesen committed
    • Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC. · d93f142f
      	* Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
      	(fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
      	later recursive make invocation.
      
      From-SVN: r45935
      Loren J. Rittle committed
    • Fix for ia64-java bug reported by Hans Boehm. · 11e9ecc5
      	* optabs.c (emit_libcall_block): When using non-call exceptions,
      	don't add REG_LIBCALL reg notes to trapping calls.
      
      From-SVN: r45934
      Hans Boehm committed
  2. 01 Oct, 2001 13 commits
  3. 30 Sep, 2001 13 commits
    • ChangeLog: Forgot to check in. · f3f84779
      2001-09-30  Toon Moene  <toon@moene.indiv.nluug.nl>
      
      	* libf2c/ChangeLog: Forgot to check in.
      	* libf2c/libU77/config.hin: Forgot to check in.
      
      Co-Authored-By: Toon Moene <toon@moene.indiv.nluug.nl>
      
      From-SVN: r45914
      Juergen Pfeifer committed
    • Make libf2c a shared library (gcc/f directory). · dedc4a53
      2001-09-29  Juergen Pfeifer  <juergen.pfeifer@gmx.net>
      
      	Make libf2c a shared library (gcc/f directory).
      
      	* Make-lang.in: Pass define of frtbegin.o to compilation of g77spec.c.
      	* g77spec.c (lang_specific_driver): Treat linking in of frtbegin.o.
      
      2001-09-29  Juergen Pfeifer  <juergen.pfeifer@gmx.net>
                  Toon Moene  <toon@moene.indiv.nluug.nl>
      
      	Make libf2c a shared library (libf2c directory).
      
      	* aclocal.m4: Get definition of libtool.
      	* Makefile.in: Use libtool.
      	* configure.in: Use libtool.
      	* configure: Regenerated.
      	* libF77/Makefile.in: Use libtool; treat main program contained in
      	libF77/main.c specially.
      	* libF77/configure.in: Use libtool.
      	* libF77/configure: Regenerated.
      	* libI77/Makefile.in: Use libtool.
      	* libI77/configure.in: Use libtool.
      	* libI77/configure: Regenerated.
      	* libU77/Makefile.in: Use libtool.
      	* libU77/configure.in: Use libtool.
      	* libU77/configure: Regenerated.
      	* libU77/date_.c: Adapt for -fPIC compiling.
      	* libU77/vxtidate_.c: Ditto.
      
      From-SVN: r45913
      Juergen Pfeifer committed
    • acconfig.h (PREFIX_INCLUDE_DIR): New variable. · e9449401
      2001-09-30  H.J. Lu <hjl@gnu.org>
      
      	* acconfig.h (PREFIX_INCLUDE_DIR): New variable.
      	* config.in: Rebuild.
      
      From-SVN: r45911
      H.J. Lu committed
    • DataInput.java: Merge with Classpath. · cfcdbe54
      	* java/io/DataInput.java:  Merge with Classpath.
      	* java/io/DataOutput.java:  Idem.
      	* java/io/FilenameFilter.java:  Idem.
      	* java/io/Serializable.java:  Idem.
      	* java/lang/Cloneable.java:  Idem.
      	* java/lang/Comparable.java:  Idem.
      	* java/lang/Runnable.java:  Idem.
      	* java/lang/reflect/Member.java:  Idem.
      	* java/net/ContentHandlerFactory.java:  Idem.
      	* java/net/FileNameMap.java:  Idem.
      	* java/net/SocketImplFactory.java:  Idem.
      	* java/net/SocketOptions.java:  Idem.
      	* java/net/URLStreamHandlerFactory.java:  Idem.
      
      From-SVN: r45910
      Mark Wielaard committed
    • m68hc11.md ("cmpqi_1"): Fix constraints. · c9b9c05c
      	* config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
      	("tsthi_1"): Avoid allocation in register y.
      	("*movqi_68hc12"): Reorganize and fix constraints.
      	("zero_extendqisi2"): Prefer d over x and y for operand 1.
      	("addqi3"): Likewise.
      	("addhi3"): Fix constraints.
      	("*logicalhi3_zexthi"): Disparage soft registers.
      
      From-SVN: r45908
      Stephane Carrez committed
    • m68hc11.c (m68hc11_gen_movhi): Fix move of sp to tmp reg. · 713b2058
      	* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
      	to tmp reg.
      
      From-SVN: r45903
      Stephane Carrez committed
    • m68hc11.h (INCOMING_RETURN_ADDR_RTX): Remove so that we use setjmp/longjmp exceptions. · b5b4c48c
      	* config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
      	that we use setjmp/longjmp exceptions.
      
      From-SVN: r45901
      Stephane Carrez committed
    • * mi6.c, mi6a.h, mi6b.h, mi6c.h, mi6d.h, mi6e.h: New test. · ab17715d
      From-SVN: r45900
      Neil Booth committed
    • cpphash.h (POOL_ALIGN, [...]): Remove. · 8c3b2693
      	* cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
      	POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
      	struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
      	_cpp_pool_alloc, _cpp_next_chunk): Remove.
      	(_cpp_extend_buff, BUFF_ROOM): Update.
      	(_cpp_append_extend_buff): New.
      	(struct cpp_reader): Remove macro_pool, add a_buff.
      	* cppinit.c (cpp_create_reader): Initialize a_buff, instead of
      	macro_pool.
      	(cpp_destroy): Free a_buff instead of macro_pool.
      	* cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
      	new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
      	_cpp_pool_alloc, ): Remove.
      	(parse_number, parse_string): Update use of _cpp_extend_buff.
      	(_cpp_extend_buff): Update.
      	(_cpp_append_extend_buff, cpp_aligned_alloc): New.
      	* cpplib.c (glue_header_name, parse_answer):
      	Update use of _cpp_extend_buff.
      	(cpp_register_pragma, cpp_register_pragma_space): Use
      	_cpp_aligned_alloc.
      	(do_assert, do_unassert): Check for EOL, update.
      	* cppmacro.c (stringify_arg, collect_args): Update to use
      	_cpp_extend_buff and _cpp_append_extend_buff.
      	(save_parameter, parse_params, alloc_expansion_token,
      	_cpp_create_definition): Rework memory management.
      
      	* gcc.dg/cpp/redef2.c: Add test.
      
      From-SVN: r45899
      Neil Booth committed
    • re PR libgcj/4383 (file: protocol not supported in URLConnection?) · 218e1e91
      	PR libgcj/4383
      
      	* gnu/gcj/protocol/file/Connection.java (connect): Throw
      	FileNotFoundException if appropriate.
      	* gnu/gcj/protocol/file/Handler.java (openConnection): Throw an
      	IOException if we got a file: url with a hostname. Comment out protocol
      	switch to ftp for now.
      	* java/net/URL.java (URL): Include protocol name in exception
      	message
      	when handler can't be found.
      
      From-SVN: r45898
      Bryce McKinlay committed
    • Daily bump. · fa829038
      From-SVN: r45896
      GCC Administrator committed
    • natClass.cc (_Jv_IsAssignableFrom): Handle the case of an uninitialized target class. · 84447668
              * java/lang/natClass.cc (_Jv_IsAssignableFrom): Handle the case of
              an uninitialized target class.
      
      From-SVN: r45893
      Bryce McKinlay committed
    • xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't update md_exec_prefix. · ed9fca3f
      * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
      update md_exec_prefix.
      (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
      to string constant.
      
      From-SVN: r45892
      Andris Pavenis committed
  4. 29 Sep, 2001 7 commits
    • s390.h (EXTRA_CC_MODES): Add CCLmode. · ba956982
      * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
      (SELECT_CC_MODE): Use s390_select_ccmode.
      * config/s390/s390-protos.h (s390_select_ccmode): Add.
      * config/s390/s390.c (s390_select_ccmode): New.
      (s390_match_ccmode): Add CCLmode.
      (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
      (output_branch_condition, output_inverse_branch_condition): Removed.
      (print_operand): Use s390_branch_condition_mnemonic.
      * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
      subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
      (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
      
      * config/s390/s390.c (check_and_change_labels): Preserve CC mode
      when converting conditional branches to far branches.
      * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
      cmpint_di): Use CCSmode instead of CCUmode.
      
      * config/s390/s390.c (legitimate_la_operand_p): New.
      * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
      * config/s390/s390.md (movsi): Convert load address patterns to
      arithmetic operations when necessary.
      (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
      (do_la): Renamed to *do_la and use legitimate_la_operand_p.
      (*do_la_reg_0): Don't use before reload.
      
      * config/s390/s390.c (legitimize_address): Make more efficient
      use of two-register addressing mode.
      
      * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
      with -mno-backchain in some corner cases.
      
      * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
      
      From-SVN: r45891
      Ulrich Weigand committed
    • reload.c (find_reloads): Mark new USE insns with QImode. · 3d17d93d
      * reload.c (find_reloads): Mark new USE insns with QImode.
      (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
      find_reloads_subreg_address): Likewise.
      * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
      encountered.
      * reload1.c (reload_combine_note_use): Likewise, inside USEs and
      CLOBBERs.
      (reload): Make sure there are no USEs with mode other than
      VOIDmode.  At the end, remove those marked with QImode.
      
      From-SVN: r45889
      Alexandre Oliva committed
    • config-lang.in (target_libs): Added target-gperf, so that we don't try to build… · 9f57ca19
      config-lang.in (target_libs): Added target-gperf, so that we don't try to build it if C++ is disabled.
      
      * config-lang.in (target_libs): Added target-gperf, so that we
      don't try to build it if C++ is disabled.
      
      From-SVN: r45887
      Alexandre Oliva committed
    • SharedLibLoader.java: New class. · 8107bcf9
      
      	* gnu/gcj/runtime/SharedLibLoader.java:  New class.
      	* gnu/gcj/runtime/natSharedLibLoader.cc:  Native methods.
      	* Makefile.am:  Update accordingly.
      	* configure.in:  Add AC_CHECK_LIB for dlopen.
      	* include/config.h.in:  Add HAVE_DLOPEN.
      
      From-SVN: r45885
      Per Bothner committed
    • cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR. · 793e9558
      
      	* cppdefault.c (cpp_include_defaults):  Also search PREFIX_INCLUDE_DIR.
      	* Makefile.in (includedir):  Rename to local_includedir.
      	(includedir):  Define as $(prefix)/include.
      	* config.in (PREFIX_INCLUDE_DIR):  New variable.
      	* configure.in (PREFIX_INCLUDE_DIR):  Test for new variable.
      
      From-SVN: r45884
      Per Bothner committed
    • * config/cpu/cris/bits/limits.h: New file. · d15a5c7c
      From-SVN: r45883
      Hans-Peter Nilsson committed