1. 15 Nov, 2001 8 commits
    • aix31.h: Fix comment formatting. · 82e41834
      	* config/rs6000/aix31.h: Fix comment formatting.
      	* config/rs6000/beos.h: Likewise.
      	* config/rs6000/darwin.h: Likewise.
      	* config/rs6000/eabi.asm: Likewise.
      	* config/rs6000/linux.h: Likewise.
      	* config/rs6000/linux64.h: Likewise.
      	* config/rs6000/lynx.h: Likewise.
      	* config/rs6000/netbsd.h: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* config/rs6000/rs6000.h: Likewise.
      	* config/rs6000/rs6000.md: Likewise.
      	* config/rs6000/sol2.h: Likewise.
      	* config/rs6000/tramp.asm: Likewise.
      	* config/rs6000/xcoff.h: Likewise.
      	* config/rs6000/xm-beos.h: Likewise.
      
      From-SVN: r47040
      Kazu Hirata committed
    • ChangeLog entries for: · 7a0f9993
      2001-11-05  Alan Matsuoka  <alanm@redhat.com>
      
      	* rtl.def (INCLUDE) : Define.
      	* gensupport.c  (init_include_reader, process_include,
      	save_string) :  New functions to implement an include facility
      	in .md files.
      	* gensupport.h : Add prototype for init_md_reader_args.
      	* genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
      	genextract.c genflags.c genopinit.c genoutput.c
      	genpeep.c genrecog.c: Change call to init_md_reader to
      	init_md_reader_args.
      	* md.texi: Document (include "path") and -I directives for RTL
      	generation tools.
      
      From-SVN: r47039
      Alan Matsuoka committed
    • 920923-1.c: stormy16 produces an extra error message. · 7042d510
      	* gcc.dg/noncompile/920923-1.c: stormy16 produces an extra error
      	message.
      
      	* gcc.c-torture/execute/20011114-1.c: New testcase.
      
      From-SVN: r47038
      Geoffrey Keating committed
    • integrate.c (get_hard_reg_initial_reg): New. · 902197eb
      * integrate.c (get_hard_reg_initial_reg): New.
      * integrate.h (get_hard_reg_initial_reg): Prototype.
      * local-alloc.c (block_alloc): Don't tie pseudos that
      represent call-saved hard regs' initial values.
      
      From-SVN: r47037
      DJ Delorie committed
    • 20010327-1.c: Revert last change. · 6345b681
      	* gcc.c-torture/compile/20010327-1.c: Revert last change.
      	* gcc.c-torture/compile/20011114-1.c: New test, exactly
      	like the (before this change) version of 20010327-1.c.
      
      From-SVN: r47036
      Geoffrey Keating committed
    • natString.cc: correct argument order for _Jv_AllocPtrFreeObj · aa0149ff
      	* java/lang/natString.cc: correct argument order for
      	_Jv_AllocPtrFreeObj
      
      From-SVN: r47035
      Hans Boehm committed
    • g77.texi: Update to use `@command', `@option. · 49e19725
      2001-11-14  Toon Moene  <toon@moene.indiv.nluug.nl>
      
      	* g77.texi: Update to use `@command', `@option.
      	* invoke.texi: Ditto
      
      From-SVN: r47034
      Toon Moene committed
    • verify.cc (class _Jv_BytecodeVerifier): Fixed logic. · 6c5a8271
      	* verify.cc (class _Jv_BytecodeVerifier) [op_dup2]: Fixed logic.
      	[op_dup_x2]: Likewise.
      	[op_dup2_x1]: Likewise.
      	[op_dup2_x2]: Likewise.
      	(branch_prepass): Added `op_newarray' case.  Updated unrecognized
      	instruction error.
      	(verify_instructions_0): Updated unrecognized instruction error.
      
      From-SVN: r47033
      Tom Tromey committed
  2. 14 Nov, 2001 26 commits
    • linux.h: Include <linux.h> not "linux.h" to avoid infinite recursion. · 9da85b16
      	* m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
      	recursion.
      
      From-SVN: r47032
      Kaveh R. Ghazi committed
    • Constructor.java (toString): Use more efficient form of Modifier.toString(). · 6d88e1c3
      	* java/lang/reflect/Constructor.java (toString): Use more
      	efficient form of Modifier.toString().
      
      From-SVN: r47031
      Tom Tromey committed
    • * gcc.c-torture/execute/string-opt-13.c: New testcase. · c1a7b241
      From-SVN: r47030
      Roger Sayle committed
    • Re-merges with Classpath, from various people: · 81bc01c2
      	* java/lang/reflect/Modifier.java: Reindented.
      	(toString): Only trim trailing space if text was added to
      	StringBuffer.
      	* java/lang/reflect/ReflectPermission: Reindented.
      
      From-SVN: r47028
      Tom Tromey committed
    • config.gcc (sparc64-wrs-vxworks*, [...]): Include various CPU headers via tm_file. · 0f7a7be7
      2001-11-14  David O'Brien  <obrien@FreeBSD.org>
      	* config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
      	sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
      	sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
      	sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
      	sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
      	sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
      	sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
      	Include various CPU headers via tm_file.  a.out based platforms now
      	properly include sparc/aout.h.  sol2.h usage now implies including
      	elfos.h, svr4.h, and sparc/sysv4.h.
      	* config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
      	Also define to '1'.
      	* sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
      	SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
      	DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
      	Remove.  They are a.out specific and belong in sparc/aout.h.
      	* sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
      	ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
      	DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define.  Moved here from
      	sparc/sparc.h.
      	* sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
      	TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
      	Moved here from sparc/sparc.h.
      	* config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
      	defining.
      	* config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
      	* config/sparc/lynx.h:  Don't include lynx.h.
      	(SELECT_SECTION): Do not undef.
      	* config/sparc/openbsd.h: Don't include sparc/sparc.h.
      	* config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
      	and sparc/sysv4.h.
      	* config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
      	* config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define.  Get from
      	sparc/aout.h now.
      	* config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
      	Don't undef, there is no need.
      	* config/sparc/splet.h (CPP_PREDEFINES): Define.
      	* config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
      	* config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
      	Don't include sparc/sparc.h.
      	* config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
      	SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
      	DATA_SECTION_ASM_OP): Don't undef, there is no need now.  Don't include
      	elfos.h and svr4.h.
      	(TARGET_VERSION): Define.
      	* config/sparc/vxsim.h (TARGET_VERSION): Define.
      
      Approved by:  Richard Henderson <rth@redhat.com>
                    Message-ID: <20011114132416.B17112@redhat.com>
      
      From-SVN: r47023
      David O'Brien committed
    • configure.in (noconfigdirs): Disable libf2c. · 90a12988
      	* configure.in (noconfigdirs) [h8300*-*-*, h8500-*-*]: Disable
      	libf2c.
      
      From-SVN: r47022
      Hans-Peter Nilsson committed
    • encoding.c: Add target_flags. · d5114db1
      2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
      
              * encoding.c: Add target_flags.
      
      From-SVN: r47021
      Aldy Hernandez committed
    • rtl.def (INCLUDE): Define. · 04d8aa70
      
      2001-11-05  Alan Matsuoka  <alanm@redhat.com>
      
      	* rtl.def (INCLUDE) : Define.
      	* gensupport.c  (init_include_reader, process_include,
      	save_string) :  New functions to implement an include facility
      	in .md files.
      	* gensupport.h : Add prototype for init_md_reader_args.  *
      	genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
      	genextract.c genflags.c genopinit.c genoutput.c
      	genpeep.c genrecog.c: Change call to init_md_reader to
      	init_md_reader_args.
      	* md.texi: Document (include "path") and -I directives for RTL
      	generation tools.
      
      From-SVN: r47020
      Alan Matsuoka committed
    • cfglayout.c (fixup_fallthru_exit_predecesor): New static function. · 49778644
      	* cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
      	(cfg_layout_finalize): Use it.
      	* bb-reorder.c (HAVE_epilogue): Remove.
      	(make_reorder_chain): Do not care special placement of
      	last basic block.
      
      	* predict.c (expected_value_to_br_prob): Delete the note
      	once transformed.
      
      	* c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
      	measure integration time separately.
      
      From-SVN: r47019
      Jan Hubicka committed
    • Re-merges with Classpath, from various people: · 852d3dad
      	* java/lang/Double.java (parseDouble): Fixed ordering of
      	modifiers.
      	* java/lang/reflect/AccessibleObject.java: Javadoc, reindented.
      	* java/lang/reflect/Member.java: Reindented.
      	* java/lang/reflect/Modifier.java: Reindented.
      	(toString): Only trim trailing space if text was added to
      	StringBuffer.
      	* java/util/ConcurrentModificationException.java: Javadoc
      	updates.
      	* java/util/EmptyStackException.java: Likewise.
      	* java/util/NoSuchElementException.java: Likewise.
      
      From-SVN: r47018
      Tom Tromey committed
    • * function.c (struct temp_slot): ALIGN now unsigned. · b5c02bff
      From-SVN: r47016
      Richard Kenner committed
    • dsp16xx.c: Fix comment formatting. · bf0e974b
      	* config/dsp16xx/dsp16xx.c: Fix comment formatting.
      	* config/dsp16xx/dsp16xx.h: Likewise.
      	* config/dsp16xx/dsp16xx.md: Likewise.
      
      From-SVN: r47015
      Kazu Hirata committed
    • h8300.c (get_shift_alg): Reorganize the code that deals with 7-bit shifts in HImode. · a77b1dbc
      	* config/h8300/h8300.c (get_shift_alg): Reorganize the code
      	that deals with 7-bit shifts in HImode.
      
      From-SVN: r47014
      Kazu Hirata committed
    • dbxout.c (dbxout_symbol_location): Update call of alter_subreg. · 49d801d3
      	* dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
      	* final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
      	(final_scan_insn): Update call of alter_subreg.
      	(cleanup_subreg_operands): Likewise.
      	(alter_subreg): Rewrite using simplify_subreg.
      	(output_address, output_operand): Update call of alter_subreg.
      	* output.h (alter_subreg): Update prototype.
      	* sdbout.c (sdbout_symbol): Update call of alter_subreg.
      	* simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
      	* Makefile.in (final.o): Add depdendancy on expr.h
      
      From-SVN: r47013
      Jan Hubicka committed
    • * g++.dg/init/array2.C: New test. · 373bd0fa
      From-SVN: r47009
      Richard Sandiford committed
    • decl.c (check_initializer): Try to complete the type of an array element before… · fe5b6c1c
      decl.c (check_initializer): Try to complete the type of an array element before checking whether it's complete.
      
              * decl.c (check_initializer): Try to complete the type of an
              array element before checking whether it's complete.  Don't
              complain about arrays with complete element types but an
              unknown size.
              (cp_finish_decl): Build the hierarchical constructor before
              calling maybe_deduce_size_from_array_init.
      
      From-SVN: r47008
      Richard Sandiford committed
    • Daily bump. · 586dbaaf
      From-SVN: r47004
      GCC Administrator committed
    • install.texi (sparc-*-linux*): Mention requirements for binutils and glibc. · c6fa9728
      	* doc/install.texi (sparc-*-linux*): Mention requirements for
      	binutils and glibc.
      
      From-SVN: r47000
      Jeff Sturm committed
    • gjavah.c (method_signature): New global. · 150f086d
      	* gjavah.c (method_signature): New global.
      	(HANDLE_METHOD): Set it.
      	(decompile_return_statement): New function.
      	(decompile_method): Use it.
      	(print_method_info): Removed `synth' argument.
      
      From-SVN: r46999
      Tom Tromey committed
    • texi2pod.pl: Handle @ifnottex, @iftex and @display. · 77bd67cb
      contrib:
      	* texi2pod.pl: Handle @ifnottex, @iftex and @display.  Handle @var
      	in verbatim blocks specially.  Handle @unnumbered, @unnumberedsec
      	and @center.  Allow [a-z] after @enumerate.  Handle 0 and numbers
      	greater than 9 in enumerations.
      
      gcc:
      	* Makefile.in (POD2MAN): Don't include --section=1.
      	(manext): Rename to man1ext.  All users changed.
      	(man7ext): New.
      	(man7dir): New.
      	(generated-manpages): Also depend on $(docdir)/gfdl.7,
      	$(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
      	($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
      	--section=1 in calls to $(POD2MAN).
      	($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
      	(maintainer-clean, install, uninstall): Handle the new man pages.
      	($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
      	(installdirs): Create man7dir.
      	* doc/cpp.texi: Include GFDL in this manual.  In the man page,
      	refer to gfdl(7) for the GFDL.  Apply Front Cover and Back Cover
      	texts to man page.  Include gpl(7), gfdl(7) and fsf-funding(7) in
      	the SEE ALSO man page section.
      	* doc/gcov.texi: Apply GFDL to man page.  Include gpl(7), gfdl(7)
      	and fsf-funding(7) in the SEE ALSO man page section.
      	* doc/invoke.texi: Apply GFDL to man page.  Include gpl(7),
      	gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
      	* doc/include/fdl.texi, doc/include/funding.texi,
      	doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
      	* doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
      
      gcc/cp:
      	* Make-lang.in: Change all uses of $(manext) to $(man1ext).
      
      gcc/f:
      	* Make-lang.in: Change all uses of $(manext) to $(man1ext).
      
      From-SVN: r46998
      Joseph Myers committed
    • dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC as appropriate for the artificial decl. · a8988448
              * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
              as appropriate for the artificial decl.
      
      From-SVN: r46997
      Richard Henderson committed
    • g77.1: Remove from CVS. · dc637ad7
      2001-11-14  Toon Moene  <toon@moene.indiv.nluug.nl>
      
      	* g77.1: Remove from CVS.
      	* Make-lang.in: Build g77.1 in $(srcdir).
      	Add --section=1 to POD2MAN command line.
      	* invoke.texi: Correct copyright years.
      	Add more sections to man page.  Add GFDL.
      
      From-SVN: r46996
      Toon Moene committed
    • loop.c (combine_movables): Turn off combination until move_movables validation bugs are fixed. · 7c380843
              * loop.c (combine_movables): Turn off combination until
              move_movables validation bugs are fixed.
      
      From-SVN: r46995
      Richard Henderson committed
  3. 13 Nov, 2001 6 commits
    • re PR libgcj/4859 (java.util.Timer class throw IllegalStateException on cancel()) · f9d44b00
      	Fix for PR libgcj/4859:
      	* java/util/Timer.java (TaskQueue.isStopped): New method.
      	(Scheduler.run): Don't re-schedule task if queue has been
      	stopped.
      
      From-SVN: r46994
      Tom Tromey committed
    • config.gcc (powerpc|rs6000): Set default cpp options based on --with-cpu settings. · c19083d8
      * config.gcc (powerpc|rs6000): Set default cpp options based
      on --with-cpu settings.
      * config/rs6000/softfloat.h: New.
      
      From-SVN: r46993
      DJ Delorie committed
    • re PR c++/4206 (ICE with switch in while) · b02922a4
      cp:
      	PR g++/4206
      	* parse.y (already_scoped_stmt): Remove.
      	(simple_stmt, WHILE & FOR): Use implicitly_scoped_stmt.
      testsuite:
      	* g++.dg/other/forscope1.C: New test.
      	* g++.dg/ext/forscope1.C: New test.
      	* g++.dg/ext/forscope2.C: New test.
      
      From-SVN: r46992
      Nathan Sidwell committed
    • h8300.c (shift_alg_si): Use special code for 25-bit shifts on H8/S. · 4a4ae922
      	* config/h8300/h8300.c (shift_alg_si): Use special code for
      	25-bit shifts on H8/S.
      	(get_shift_alg): Generate special code for 25-bit shifts on
      	H8/S.
      
      From-SVN: r46991
      Kazu Hirata committed
    • Makefile.in: Rebuilt. · 819138ac
      	* Makefile.in: Rebuilt.
      	* Makefile.am (ordinary_java_source_files): Added JNIWeakRef.java.
      	* jni.cc: Include JNIWeakRef.h.
      	(unwrap): New function.
      	(_Jv_JNI_DefineClass): Use it.
      	(_Jv_JNI_GetSuperclass): Likewise.
      	(_Jv_JNI_IsAssignableFrom): Likewise.
      	(_Jv_JNI_Throw): Likewise.
      	(_Jv_JNI_ThrowNew): Likewise.
      	(_Jv_JNI_IsSameObject): Likewise.
      	(_Jv_JNI_AllocObject): Likewise.
      	(_Jv_JNI_GetObjectClass): Likewise.
      	(_Jv_JNI_IsInstanceOf): Likewise.
      	(_Jv_JNI_GetAnyMethodID): Likewise.
      	(array_from_valist): Likewise.
      	(_Jv_JNI_CallAnyMethodV): Likewise.
      	(_Jv_JNI_CallAnyMethodA): Likewise.
      	(_Jv_JNI_CallAnyVoidMethodV): Likewise.
      	(_Jv_JNI_CallAnyVoidMethodA): Likewise.
      	(_Jv_JNI_CallStaticMethodV): Likewise.
      	(_Jv_JNI_CallStaticMethod): Likewise.
      	(_Jv_JNI_CallStaticMethodA): Likewise.
      	(_Jv_JNI_NewObjectV): Likewise.
      	(_Jv_JNI_NewObject): Likewise.
      	(_Jv_JNI_NewObjectA): Likewise.
      	(_Jv_JNI_GetField): Likewise.
      	(_Jv_JNI_SetField): Likewise.
      	(_Jv_JNI_GetAnyFieldID): Likewise.
      	(_Jv_JNI_SetStaticField): Likewise.
      	(_Jv_JNI_GetStringLength): Likewise.
      	(_Jv_JNI_GetStringChars): Likewise.
      	(_Jv_JNI_ReleaseStringChars): Likewise.
      	(_Jv_JNI_GetStringUTFLength): Likewise
      	(_Jv_JNI_GetStringUTFChars): Likewise.
      	(_Jv_JNI_GetStringRegion): Likewise.
      	(_Jv_JNI_GetStringUTFRegion): Likewise.
      	(_Jv_JNI_GetStringCritical): Likewise.
      	(_Jv_JNI_GetArrayLength): Likewise.
      	(_Jv_JNI_NewObjectArray): Likewise.
      	(_Jv_JNI_GetObjectArrayElement): Likewise.
      	(_Jv_JNI_SetObjectArrayElement): Likewise.
      	(_Jv_JNI_GetPrimitiveArrayElements): Likewise.
      	(_Jv_JNI_ReleasePrimitiveArrayElements): Likewise.
      	(_Jv_JNI_GetPrimitiveArrayRegion): Likewise.
      	(_Jv_JNI_SetPrimitiveArrayRegion): Likewise.
      	(_Jv_JNI_MonitorEnter): Likewise.
      	(_Jv_JNI_MonitorExit): Likewise.
      	(_Jv_JNI_ToReflectedField): Likewise.
      	(_Jv_JNI_FromReflectedField): Likewise.
      	(_Jv_JNI_ToReflectedMethod): Likewise.
      	(_Jv_JNI_FromReflectedMethod): Likewise.
      	(_Jv_JNI_NewGlobalRef): Likewise.
      	(_Jv_JNI_DeleteGlobalRef): Likewise.
      	(_Jv_JNI_DeleteLocalRef): Likewise.
      	(_Jv_JNI_NewLocalRef): Likewise.
      	(_Jv_JNI_NewWeakGlobalRef): New function.
      	(_Jv_JNI_DeleteWeakGlobalRef): Likewise.
      	(_Jv_JNIFunctions): Updated for new methods.
      	(NOT_IMPL): Removed.
      	* gnu/gcj/runtime/JNIWeakRef.java: New file.
      
      From-SVN: r46990
      Tom Tromey committed
    • Duh, missed this. · 89fc10a5
      From-SVN: r46989
      Jakub Jelinek committed