DJ Delorie [Thu, 15 Nov 2001 03:02:24 +0000 (22:02 -0500)]
integrate.c (get_hard_reg_initial_reg): New.
* 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
Geoffrey Keating [Thu, 15 Nov 2001 02:32:39 +0000 (02:32 +0000)]
20010327-1.c: Revert last change.
* 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
Hans Boehm [Thu, 15 Nov 2001 02:22:52 +0000 (02:22 +0000)]
natString.cc: correct argument order for _Jv_AllocPtrFreeObj
* java/lang/natString.cc: correct argument order for
_Jv_AllocPtrFreeObj
From-SVN: r47035
Toon Moene [Thu, 15 Nov 2001 00:28:54 +0000 (01:28 +0100)]
g77.texi: Update to use `@command', `@option.
2001-11-14 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.texi: Update to use `@command', `@option.
* invoke.texi: Ditto
From-SVN: r47034
Tom Tromey [Thu, 15 Nov 2001 00:24:38 +0000 (00:24 +0000)]
verify.cc (class _Jv_BytecodeVerifier): Fixed logic.
* 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
Kaveh R. Ghazi [Wed, 14 Nov 2001 23:46:45 +0000 (23:46 +0000)]
linux.h: Include <linux.h> not "linux.h" to avoid infinite recursion.
* m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
recursion.
From-SVN: r47032
Tom Tromey [Wed, 14 Nov 2001 23:42:38 +0000 (23:42 +0000)]
Constructor.java (toString): Use more efficient form of Modifier.toString().
* java/lang/reflect/Constructor.java (toString): Use more
efficient form of Modifier.toString().
From-SVN: r47031
Roger Sayle [Wed, 14 Nov 2001 23:37:31 +0000 (23:37 +0000)]
* gcc.c-torture/execute/string-opt-13.c: New testcase.
From-SVN: r47030
Roger Sayle [Wed, 14 Nov 2001 23:36:24 +0000 (23:36 +0000)]
* fold-const.c (fold): Optimize strlen comparisons against zero.
From-SVN: r47029
Tom Tromey [Wed, 14 Nov 2001 22:42:42 +0000 (22:42 +0000)]
Re-merges with Classpath, from various people:
* 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
David O'Brien [Wed, 14 Nov 2001 21:44:21 +0000 (21:44 +0000)]
config.gcc (sparc64-wrs-vxworks*, [...]): Include various CPU headers via tm_file.
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
Hans-Peter Nilsson [Wed, 14 Nov 2001 21:39:36 +0000 (21:39 +0000)]
configure.in (noconfigdirs): Disable libf2c.
* configure.in (noconfigdirs) [h8300*-*-*, h8500-*-*]: Disable
libf2c.
From-SVN: r47022
Aldy Hernandez [Wed, 14 Nov 2001 21:11:43 +0000 (21:11 +0000)]
encoding.c: Add target_flags.
2001-11-14 Aldy Hernandez <aldyh@redhat.com>
* encoding.c: Add target_flags.
From-SVN: r47021
Alan Matsuoka [Wed, 14 Nov 2001 20:17:08 +0000 (20:17 +0000)]
rtl.def (INCLUDE): Define.
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
Jan Hubicka [Wed, 14 Nov 2001 19:36:17 +0000 (20:36 +0100)]
cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
* 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
Tom Tromey [Wed, 14 Nov 2001 19:11:52 +0000 (19:11 +0000)]
Re-merges with Classpath, from various people:
* 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
Richard Kenner [Wed, 14 Nov 2001 17:30:04 +0000 (17:30 +0000)]
* function.c (struct temp_slot): ALIGN now unsigned.
From-SVN: r47016
Kazu Hirata [Wed, 14 Nov 2001 15:28:18 +0000 (15:28 +0000)]
dsp16xx.c: Fix comment formatting.
* config/dsp16xx/dsp16xx.c: Fix comment formatting.
* config/dsp16xx/dsp16xx.h: Likewise.
* config/dsp16xx/dsp16xx.md: Likewise.
From-SVN: r47015
Kazu Hirata [Wed, 14 Nov 2001 14:28:06 +0000 (14:28 +0000)]
h8300.c (get_shift_alg): Reorganize the code that deals with 7-bit shifts in HImode.
* config/h8300/h8300.c (get_shift_alg): Reorganize the code
that deals with 7-bit shifts in HImode.
From-SVN: r47014
Jan Hubicka [Wed, 14 Nov 2001 13:51:10 +0000 (14:51 +0100)]
dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
* 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
Richard Sandiford [Wed, 14 Nov 2001 12:54:39 +0000 (12:54 +0000)]
* g++.dg/init/array2.C: New test.
From-SVN: r47009
Richard Sandiford [Wed, 14 Nov 2001 12:53:09 +0000 (12:53 +0000)]
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 Kenner [Wed, 14 Nov 2001 11:33:11 +0000 (11:33 +0000)]
* c-lang.c (finish_file): Make I unsigned to eliminate warning.
From-SVN: r47006
GCC Administrator [Wed, 14 Nov 2001 08:17:31 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r47004
Alexandre Oliva [Wed, 14 Nov 2001 05:48:12 +0000 (05:48 +0000)]
* gcc.c-torture/execute/
20010122-1.c: Prevent unwanted inlining.
From-SVN: r47002
Jeff Sturm [Wed, 14 Nov 2001 03:31:47 +0000 (03:31 +0000)]
install.texi (sparc-*-linux*): Mention requirements for binutils and glibc.
* doc/install.texi (sparc-*-linux*): Mention requirements for
binutils and glibc.
From-SVN: r47000
Tom Tromey [Wed, 14 Nov 2001 01:43:56 +0000 (01:43 +0000)]
gjavah.c (method_signature): New global.
* 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
Joseph Myers [Wed, 14 Nov 2001 00:47:47 +0000 (00:47 +0000)]
texi2pod.pl: Handle @ifnottex, @iftex and @display.
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
Richard Henderson [Wed, 14 Nov 2001 00:40:28 +0000 (16:40 -0800)]
dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC as appropriate for the artificial decl.
* dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
as appropriate for the artificial decl.
From-SVN: r46997
Toon Moene [Wed, 14 Nov 2001 00:16:47 +0000 (01:16 +0100)]
g77.1: Remove from CVS.
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
Richard Henderson [Wed, 14 Nov 2001 00:15:30 +0000 (16:15 -0800)]
loop.c (combine_movables): Turn off combination until move_movables validation bugs are fixed.
* loop.c (combine_movables): Turn off combination until
move_movables validation bugs are fixed.
From-SVN: r46995
Tom Tromey [Tue, 13 Nov 2001 23:09:23 +0000 (23:09 +0000)]
re PR libgcj/4859 (java.util.Timer class throw IllegalStateException on cancel())
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
DJ Delorie [Tue, 13 Nov 2001 22:08:28 +0000 (17:08 -0500)]
config.gcc (powerpc|rs6000): Set default cpp options based on --with-cpu settings.
* config.gcc (powerpc|rs6000): Set default cpp options based
on --with-cpu settings.
* config/rs6000/softfloat.h: New.
From-SVN: r46993
Nathan Sidwell [Tue, 13 Nov 2001 21:05:57 +0000 (21:05 +0000)]
re PR c++/4206 (ICE with switch in while)
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
Kazu Hirata [Tue, 13 Nov 2001 21:00:28 +0000 (21:00 +0000)]
h8300.c (shift_alg_si): Use special code for 25-bit shifts on H8/S.
* 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
Tom Tromey [Tue, 13 Nov 2001 17:43:41 +0000 (17:43 +0000)]
Makefile.in: Rebuilt.
* 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
Jakub Jelinek [Tue, 13 Nov 2001 16:52:37 +0000 (17:52 +0100)]
Duh, missed this.
From-SVN: r46989
Jakub Jelinek [Tue, 13 Nov 2001 16:45:18 +0000 (17:45 +0100)]
emit-rtl.c (adjust_address_1): Add ADJUST argument.
* emit-rtl.c (adjust_address_1): Add ADJUST argument.
(adjust_automodify_address_1): New.
* expr.h (adjust_address, adjust_address_nv): Adjust.
(adjust_automodify_address, adjust_automodify_address_nv): Define.
(adjust_address_1): Update prototype.
(adjust_automodify_address_1): Add prototype.
* expr.c (move_by_pieces_1): Use adjust_automodify_address.
(store_by_pieces_2): Likewise.
* gcc.c-torture/execute/
20011113-1.c: New test.
From-SVN: r46988
Richard Kenner [Tue, 13 Nov 2001 14:12:02 +0000 (14:12 +0000)]
Makefile.in (explow.o): Now depends on ggc.h.
* Makefile.in (explow.o): Now depends on ggc.h.
* explow.c (ggc.h): Include.
(set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
From-SVN: r46985
Richard Kenner [Tue, 13 Nov 2001 10:47:40 +0000 (05:47 -0500)]
Makefile.in (expr.o): Depends on insn-attr.h.
* Makefile.in (expr.o): Depends on insn-attr.h.
* expr.c (insn-attr.h): New include.
(force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
of MEM.
(highest_pow2_factor, case INTEGER_CST): Handle negative values.
(expand_expr): Remove unneeded mark_temp_addr_taken calls and
clean up related usage in ADDR_EXPR.
(expand_expr_unaligned): Likewise.
From-SVN: r46980
Richard Kenner [Tue, 13 Nov 2001 10:41:03 +0000 (10:41 +0000)]
* emit-rtl.c (change_address): Fix typo in alias setting.
From-SVN: r46979
GCC Administrator [Tue, 13 Nov 2001 08:16:49 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r46978
Kaveh R. Ghazi [Tue, 13 Nov 2001 05:49:50 +0000 (05:49 +0000)]
* Makefile.in (cfgcleanup.o): Depend on insn-config.h
From-SVN: r46976
Jim Meyering [Tue, 13 Nov 2001 03:46:00 +0000 (03:46 +0000)]
obstack.c (_): Honor the setting of ENABLE_NLS.
2001-11-12 Jim Meyering <meyering@lucent.com>
* obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
this code would end up calling gettext even in packages built
with --disable-nls.
* getopt.c (_): Likewise.
* regex.c (_): Likewise.
From-SVN: r46975
Craig Rodrigues [Tue, 13 Nov 2001 03:26:13 +0000 (03:26 +0000)]
* MAINTAINERS (Write After Approval): Add self.
From-SVN: r46973
Craig Rodrigues [Tue, 13 Nov 2001 03:20:58 +0000 (03:20 +0000)]
re PR bootstrap/3451 (AIX 4.3.2 redefinition of macro)
PR bootstrap/3451
* c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
From-SVN: r46972
Toon Moene [Tue, 13 Nov 2001 00:55:38 +0000 (01:55 +0100)]
Makefile.in: Change dependencies on stamp files into dependencies on the generated .la files.
2001-11-13 Toon Moene <toon@moene.indiv.nluug.nl>
* Makefile.in: Change dependencies on stamp files
into dependencies on the generated .la files.
Get rid of objlist. Update comment.
* libF77/Makefile.in: Ditto.
* libI77/Makefile.in: Ditto.
* libU77/Makefile.in: Ditto.
From-SVN: r46970
David O'Brien [Mon, 12 Nov 2001 23:52:28 +0000 (23:52 +0000)]
config.gcc (sparc-tti-*, [...]): Include various CPU headers via tm_file.
2001-11-12 David O'Brien <obrien@FreeBSD.org>
* config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
sparc64-*-linux*): Include various CPU headers via tm_file.
* config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
(SELECT_SECTION): Likewise.
(SELECT_RTX_SECTION): Likewise.
* config/sparc/sparc_bi.h: New file.
* config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
* config/sparc/linux-aout.h: Likewise.
* config/sparc/linux.h: Don't include sparc/sysv4.h.
* config/sparc/linux64.h: Likewise.
(SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
* config/sparc/lite.h: Don't include sparc/sparc.h and gofast.h.
* config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
and dbxcoff.h
(ASM_OUTPUT_IDENT): Do not #undef.
(SELECT_SECTION): Likewise.
(SELECT_RTX_SECTION): Likewise.
* config/sparc/liteelf.h: Don't include gofast.h.
* config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
* config/sparc/lynx.h: Don't include sparc/sparc.h.
* config/sparc/pbd.h: Likewise.
* config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
* config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
* config/sparc/rtemself.h: Don't include rtems.h.
* config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
* config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
sparc_bi.h instead.
* config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
* config/sparc/sol2.h: Include sparc/sparc.h directly.
* config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
* config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
* config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
* config/sparc/sp86x-elf.h: Don't include gofast.h.
* config/sparc/splet.h: Don't include sparc/aout.h.
* config/sparc/sun4o3.h: Don't include sparc/sparc.h.
* config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
* config/sparc/vxsim.h: Don't include sparc/sysv4.h.
* config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
* config/sparc/vxsparc64.h: Don't include gofast.h.
(SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
Approved by: David S. Miller <davem@redhat.com>
Message-Id: <
20011112.151527.
70477368.davem@redhat.com>
From-SVN: r46969
Joseph Myers [Mon, 12 Nov 2001 23:35:22 +0000 (23:35 +0000)]
* doc/standards.texi: Mention C99 TC1.
From-SVN: r46968
Kaveh R. Ghazi [Mon, 12 Nov 2001 22:57:52 +0000 (22:57 +0000)]
mips-protos.h (mips_output_conditional_branch): Const-ify.
* mips-protos.h (mips_output_conditional_branch): Const-ify.
* mips.c (mips_output_conditional_branch): Likewise.
From-SVN: r46967
David O'Brien [Mon, 12 Nov 2001 20:16:49 +0000 (20:16 +0000)]
MAINTAINERS: mips and s390 are also CPU ports.
2001-11-12 David O'Brien <obrien@FreeBSD.org>
* MAINTAINERS: mips and s390 are also CPU ports.
From-SVN: r46966
Kazu Hirata [Mon, 12 Nov 2001 20:02:32 +0000 (20:02 +0000)]
h8300.c (shift_alg_si): Use special code for 15-bit logical shifts and 31-bit logical shifts.
* config/h8300/h8300.c (shift_alg_si): Use special code for
15-bit logical shifts and 31-bit logical shifts.
(get_shift_alg): Generate special code for 15-bit and 31-bit
logical shifts.
From-SVN: r46965
Kazu Hirata [Mon, 12 Nov 2001 18:20:59 +0000 (18:20 +0000)]
h8300.c (shift_alg_qi): Use rotations when doing 6-bit logical shifts on H8/S.
* config/h8300/h8300.c (shift_alg_qi): Use rotations when
doing 6-bit logical shifts on H8/S.
(shift_alg_qi): Use special code for 21-bit shifts on H8/S.
(get_shift_alg): Generate special code for 21-bit shifts on
H8/S.
From-SVN: r46961
H.J. Lu [Mon, 12 Nov 2001 18:18:05 +0000 (18:18 +0000)]
cvt.c (ocp_convert): Don't warn the address of a weak function is always `true'.
2001-11-12 H.J. Lu <hjl@gnu.org>
* cp/cvt.c (ocp_convert): Don't warn the address of a weak
function is always `true'.
From-SVN: r46960
Kazu Hirata [Mon, 12 Nov 2001 17:27:35 +0000 (17:27 +0000)]
h8300.c (get_shift_alg): Remove a redundant label.
* config/h8300/h8300.c (get_shift_alg): Remove a redundant
label.
From-SVN: r46957
Richard Kenner [Mon, 12 Nov 2001 16:56:48 +0000 (16:56 +0000)]
alias.c (nonoverlapping_memrefs_p): Only update size from memref if both size and offset known.
* alias.c (nonoverlapping_memrefs_p): Only update size from memref
if both size and offset known.
From-SVN: r46956
David O'Brien [Mon, 12 Nov 2001 16:33:55 +0000 (16:33 +0000)]
MAINTAINERS: mcore, cris and mmix are also CPU ports.
2001-11-12 David O'Brien <obrien@FreeBSD.org>
* MAINTAINERS: mcore, cris and mmix are also CPU ports.
From-SVN: r46955
David O'Brien [Mon, 12 Nov 2001 16:21:57 +0000 (16:21 +0000)]
freebsd.h: Fix misspelling.
2001-11-12 David O'Brien <obrien@FreeBSD.org>
* config/ia64/freebsd.h: Fix misspelling.
From-SVN: r46953
Joseph Myers [Mon, 12 Nov 2001 15:46:48 +0000 (15:46 +0000)]
gcc.texi: Move several chapters out to ...
* doc/gcc.texi: Move several chapters out to ...
* doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
doc/include/linux-and-gnu.texi, doc/interface.texi,
doc/makefile.texi, doc/passes.texi, doc/portability.texi:
... here. New files.
* doc/gcc.texi, doc/contrib.texi: Move section headings into
contrib.texi.
* Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
From-SVN: r46951
Kazu Hirata [Mon, 12 Nov 2001 15:29:46 +0000 (15:29 +0000)]
alpha-interix.h: Fix comment formatting.
* config/alpha/alpha-interix.h: Fix comment formatting.
* config/alpha/alpha.c: Likewise.
* config/alpha/alpha.h: Likewise.
* config/alpha/alpha32.h: Likewise.
* config/alpha/freebsd.h: Likewise.
* config/alpha/unicosmk.h: Likewise.
* config/alpha/vms.h: Likewise.
From-SVN: r46949
Kazu Hirata [Mon, 12 Nov 2001 15:09:04 +0000 (15:09 +0000)]
* config/h8300/h8300.c (get_shift_alg): Remove redundant code.
From-SVN: r46947
Jakub Jelinek [Mon, 12 Nov 2001 14:42:18 +0000 (15:42 +0100)]
dbxout.c (dbxout_symbol_location): Avoid emitting invalid register numbers.
* dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
numbers.
From-SVN: r46943
Bryce McKinlay [Mon, 12 Nov 2001 10:42:45 +0000 (10:42 +0000)]
* boehm.cc (_Jv_GCCanReclaimSoftReference): Fix warning.
From-SVN: r46941
Richard Kenner [Mon, 12 Nov 2001 10:21:09 +0000 (10:21 +0000)]
emit-rtl.c (set_mem_attributes): If making object, can set alignment from type.
* emit-rtl.c (set_mem_attributes): If making object, can set alignment
from type.
(replace_equiv_address): Call update_temp_slot_address.
From-SVN: r46940
Richard Kenner [Mon, 12 Nov 2001 10:17:51 +0000 (10:17 +0000)]
* dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
From-SVN: r46939
Richard Kenner [Mon, 12 Nov 2001 10:15:03 +0000 (10:15 +0000)]
* alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
From-SVN: r46938
Kazu Hirata [Mon, 12 Nov 2001 09:22:28 +0000 (09:22 +0000)]
h8300.c (shift_alg_qi): New.
* config/h8300/h8300.c (shift_alg_qi): New.
(shift_alg_hi): Likewise.
(shift_alg_si): Likewise.
(get_shift_alg): Change the type of count to unsigned int.
Use the tables.
From-SVN: r46937
GCC Administrator [Mon, 12 Nov 2001 08:16:13 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r46935
David O'Brien [Mon, 12 Nov 2001 00:45:19 +0000 (00:45 +0000)]
MAINTAINERS: Alphabetize.
2001-11-11 David O'Brien <obrien@FreeBSD.org>
* MAINTAINERS: Alphabetize.
From-SVN: r46934
Alexandre Oliva [Mon, 12 Nov 2001 00:02:36 +0000 (00:02 +0000)]
Makefile.in (c-lang.o): Depend on $(VARRAY_H).
* Makefile.in (c-lang.o): Depend on $(VARRAY_H).
* c-decl.c (c_expand_body): Take argument can_defer_p. Use it
to decide whether to defer a function.
(finish_function): Adjust.
(c_expand_deferred_function): New function.
* c-lang.c (deferred_fns): New variable.
(c_init): Initialize it, and mark it as a root.
(defer_fn): New function.
(finish_file): Expand all deferred functions.
* c-tree.h (defer_fn): Declare.
(c_expand_deferred_function): Likewise.
* objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
* objc-act.c (deferred_fns): New variable.
(objc_init): Initialize it, and mark it as a root.
(defer_fn): New function.
(finish_file): Expand all deferred functions.
From-SVN: r46933
Kaveh R. Ghazi [Sun, 11 Nov 2001 21:20:03 +0000 (21:20 +0000)]
alpha.c (unicosmk_special_name): Prototype.
* alpha.c (unicosmk_special_name): Prototype.
(unicosmk_ssib_name): Delete unused variable.
* alpha/unicosmk.h (common_section, ssib_section): Prototype.
* alpha/vms.h (PREFIX): Undef before defining.
* arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
* i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro
controlling usage. Const-ify.
(alias_number): Delete unused variable.
* m32r/m32r.c (m32r_sched_init): Add missing argument.
(m32r_expand_block_move): Fix uninitialized warnings.
* mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
always true' warnings.
* openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
* sh/sh.c: Include "integrate.h".
(output_far_jump): Fix uninitialized warning.
* final.c (shorten_branches): Avoid automatic aggregate
initialization.
* integrate.c (subst_constants): Likewise.
From-SVN: r46932
Kazu Hirata [Sun, 11 Nov 2001 19:22:39 +0000 (19:22 +0000)]
h8300.c (shift_alg): Remove SHIFT_MAX.
* config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
(get_shift_alg): Remove redundant code.
From-SVN: r46931
Kazu Hirata [Sun, 11 Nov 2001 17:45:02 +0000 (17:45 +0000)]
milli64.S: Fix comment formatting.
* config/pa/milli64.S: Fix comment formatting.
* config/pa/pa-64.h: Likewise.
* config/pa/pa-linux.h: Likewise.
* config/pa/pa-protos.h: Likewise.
* config/pa/pa.c: Likewise.
* config/pa/pa.h: Likewise.
* config/pa/pa32-linux.h: Likewise.
* config/pa/pa32-regs.h: Likewise.
* config/pa/pa64-hpux.h: Likewise.
* config/pa/pa64-regs.h: Likewise.
* config/pa/som.h: Likewise.
From-SVN: r46930
Joseph Myers [Sun, 11 Nov 2001 11:31:24 +0000 (11:31 +0000)]
gcc.texi: Move several chapters out to ...
* doc/gcc.texi: Move several chapters out to ...
* doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
doc/service.texi, doc/standards.texi, doc/trouble.texi,
doc/vms.texi: ... here. New files.
* Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
From-SVN: r46929
Joseph Myers [Sun, 11 Nov 2001 11:25:28 +0000 (11:25 +0000)]
ChangeLog.2, [...]: Fix spelling errors.
* ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
collect2.c, combine.c, config.in, configure, configure.in,
conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
spelling errors.
From-SVN: r46928
Richard Kenner [Sun, 11 Nov 2001 11:15:52 +0000 (11:15 +0000)]
rs6000.c (rs6000_hash_constant, [...]): Adjust operand number in CONST_DOUBLE.
* config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
Adjust operand number in CONST_DOUBLE.
From-SVN: r46927
Richard Kenner [Sun, 11 Nov 2001 11:02:26 +0000 (11:02 +0000)]
expmed.c (extract_bit_field): No longer pass in alignment.
* expmed.c (extract_bit_field): No longer pass in alignment.
(extract_fixed_bit_field, extract_split_bit_field): Likewise.
(store_bit_field, store_fixed_bit_field, store_split_bit_field):
Likewise.
* expr.c (store_constructor, store_constructor_field): Likewise.
(store_field, emit_group_load, emit_group_store): Likewise.
* expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
(store_bit_field, extract_bit_field): Likewise.
* calls.c, expr.c, function.c: Change calls to above functions.
* ifcvt.c, stmt.c: Likewise.
From-SVN: r46926
Richard Kenner [Sun, 11 Nov 2001 10:51:17 +0000 (10:51 +0000)]
alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is constant and one is on frame.
* alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
constant and one is on frame.
If know memref offset, adjust size from decl.
From-SVN: r46925
GCC Administrator [Sun, 11 Nov 2001 08:16:15 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r46923
Kaveh R. Ghazi [Sun, 11 Nov 2001 05:56:47 +0000 (05:56 +0000)]
unicosmk.h (ASM_OUTPUT_DOUBLE, [...]): Fix format specifier warning.
* alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
format specifier warning.
* convex.h (ASM_OUTPUT_BYTE): Likewise.
* elfos.h (ALIGN_ASM_OP): Undef before defining.
* i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
warning.
* i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* i386-interix.h (gen_stdcall_suffix): Prototype.
* i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
* i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
ASM_OUTPUT_LONG_DOUBLE): Likewise.
* i386/interix.c (gen_stdcall_suffix): Const-ify.
* i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
specifier warnings.
* i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
ASM_OUTPUT_LONG_DOUBLE): Likewise.
* i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
* m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
* m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
Likewise.
* m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
Likewise.
* m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
* m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
Likewise.
* m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
Likewise.
* m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
Likewise.
* m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
* m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
* m68k/news.h (PRINT_OPERAND): Likewise.
* m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
* m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
* m68k/plexus.h (ASM_SPEC): Insert space between macro name and
definition.
* m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
* m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
* m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
PRINT_OPERAND): Likewise.
* m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
Likewise.
* mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
* mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
* mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
* mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
* mips.c (mips_output_external_libcall): Mark parameter with
ATTRIBUTE_UNUSED.
(mips_asm_file_start): Move variable into the scope where it's
used.
* mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
* mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
* mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
* ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* ns32k.c (print_operand): Likewise.
* pa.c (print_operand, output_div_insn): Likewise.
* pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
* pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
* sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
specifier warnings.
* sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
(ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
* sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
specifier warnings.
* svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* sdbout.c (sdbout_end_epilogue): Mark parameter with
ATTRIBUTE_UNUSED.
* varasm.c (assemble_global): Likewise.
From-SVN: r46922
H.J. Lu [Sun, 11 Nov 2001 01:50:40 +0000 (01:50 +0000)]
config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
2001-11-11 H.J. Lu <hjl@gnu.org>
* config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
From-SVN: r46921
Richard Kenner [Sun, 11 Nov 2001 01:48:55 +0000 (01:48 +0000)]
Reapply last patch to convex.md which somehow got lost:
Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/convex/convex.md (movdf): Use it.
From-SVN: r46920
Jan Hubicka [Sun, 11 Nov 2001 00:35:31 +0000 (01:35 +0100)]
final.c (*_MAX_SKIP): Use *_max_skip variables.
* final.c (*_MAX_SKIP): Use *_max_skip variables.
* flags.h (align_loops_max_skip, align_jumps_max_skip,
align_labels_max_skip): New global variables.
* toplev.c (align_loops_max_skip, align_jumps_max_skip,
align_labels_max_skip): New global variables.
(toplev_main): Set new variables.
* i386.c (override_options): Set max_skip values.
From-SVN: r46919
Geoffrey Keating [Sat, 10 Nov 2001 21:44:53 +0000 (21:44 +0000)]
tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
* doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
* final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
* config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
don't print an @fptr for labels either.
(xstormy16_output_addr_vec): Don't print @fptr here.
* config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
From-SVN: r46918
Jeffrey A Law [Sat, 10 Nov 2001 15:48:36 +0000 (15:48 +0000)]
ssa-ccp.c (examine_flow_edges): Use old-style definition, not an ANSI/ISO definitino.
* ssa-ccp.c (examine_flow_edges): Use old-style definition, not
an ANSI/ISO definitino.
(ssa_const_prop): Likewise.
From-SVN: r46917
GCC Administrator [Sat, 10 Nov 2001 08:16:12 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r46915
Aldy Hernandez [Sat, 10 Nov 2001 05:45:13 +0000 (05:45 +0000)]
rs6000.c (rs6000_reg_names): Remove leading "v" or altivec registers.
* config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
altivec registers.
From-SVN: r46914
Kaveh R. Ghazi [Sat, 10 Nov 2001 04:52:13 +0000 (04:52 +0000)]
* tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
From-SVN: r46913
Kaveh R. Ghazi [Sat, 10 Nov 2001 04:46:01 +0000 (04:46 +0000)]
cppexp.c (parse_number): Use ISXDIGIT/hex_value.
* cppexp.c (parse_number): Use ISXDIGIT/hex_value.
* cpplex.c (hex_digit_value): Use hex_p/hex_value.
* cppmain.c (general_init): Call hex_init.
From-SVN: r46912
Kaveh R. Ghazi [Sat, 10 Nov 2001 04:40:58 +0000 (04:40 +0000)]
config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
* config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
* i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
of dgux.c:output_file_start().
* i386/dgux.c: Delete file.
From-SVN: r46911
Richard Henderson [Sat, 10 Nov 2001 01:16:13 +0000 (17:16 -0800)]
alpha.c (decl_in_text_section): New.
* config/alpha/alpha.c (decl_in_text_section): New.
(current_file_function_operand): Use it.
(alpha_encode_section_info, alpha_end_function): Likewise.
From-SVN: r46910
David O'Brien [Sat, 10 Nov 2001 01:07:17 +0000 (01:07 +0000)]
config.gcc: Add FreeBSD/IA-64 target.
2001-11-07 David O'Brien <obrien@FreeBSD.org>
* config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
* config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
they are OS specific. Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
so OS specific files and use CPP_PREDEFINES for their needs.
* config/i64/elf.h (TARGET_VERSION): Add. Also, move inclusion of
target headers to tm_file.
* config/ia64/aix.h (TARGET_VERSION): Likewise.
* config/ia64/hpux.h (TARGET_VERSION): Likewise.
* config/ia64/linux.h (TARGET_VERSION): Likewise.
(FUNCTION_PROFILER): Remove.
* config/ia64/ia64.h (FUNCTION_PROFILER): Update defintion using the
version in config/ia64/linux.h.
* config/ia64/freebsd.h: New file.
* config/freebsd.h: Tidy up.
(_USING_CONFIG_FREEBSD): Define.
(FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
(FBSD_CPP_SPEC): Define generic FreeBSD spec.
(FBSD_STARTFILE_SPEC): Likewise.
(FBSD_ENDFILE_SPEC): Likewise.
(FBSD_LIB_SPEC): Likewise.
(WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
(USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
set an ELF-improper one.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20011109100352.A6186@redhat.com>
From-SVN: r46909
John David Anglin [Sat, 10 Nov 2001 00:22:52 +0000 (00:22 +0000)]
pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a constant can be loaded in a single...
* pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
constant can be loaded in a single instruction to a register. When
loading immediate constants, use PLUS instead of HIGH/LO_SUM. Use
depdi for insertion of most significant 32-bits on 64-bit hosts.
* pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
with ldil/ldo/depdi instruction sequence on 64-bit hosts.
* pa.md: New addmove pattern for adding constant_int to HImode
register and moving result to HImode register. Remove HImode HIGH
and LO_SUM patterns.
From-SVN: r46908
Neil Booth [Fri, 9 Nov 2001 23:30:44 +0000 (23:30 +0000)]
Makefile.in: Update.
* Makefile.in: Update.
* c-decl.c (print_lang_decl, print_lang_type): Remove.
(print_lang_identifier): Rename c_print_identifier.
* c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
(print_lang_statistics, lang_print_xnode): Remove.
* c-parse.in (set_yydebug): Rename c_set_yydebug.
* c-tree.h (c_set_yydebug, c_print_identifier): New.
* langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): New members.
(lang_print_tree_hook): New.
* langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
* print-tree.c: Include langhooks.h.
(print_node): Update.
* toplev.c (decode_d_option): Update.
* tree.c: Include langhooks.h.
(dump_tree_statistics): Update.
* tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
ada:
* misc.c (gnat_print_decl, gnat_print_type): Renamed.
(LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
(print_lang_statistics, lang_print_xnode, print_lang_identifier,
set_yydebug): Remove.
cp:
* cp-lang.c (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): Override.
* cp-tree.h (print_class_statistics): Remove.
(cxx_print_statistics, cxx_print_xnode, cxx_print_decl, cxx_print_type,
cxx_print_identifier, cxx_set_yydebug): New.
* lex.c (set_yydebug): Rename c_set_yydebug.
* ptree.c (print_lang_decl, print_lang_type, print_lang_identifier,
lang_print_xnode): Rename.
* tree.c (print_lang_statistics): Rename.
f:
* com.c (ffe_print_identifier): Rename.
(LANG_HOOKS_PRINT_IDENTIFIER): Override.
(lang_print_xnode, print_lang_decl, print_lang_statistics,
print_lang_type, set_yydebug): Remove.
java:
* java-tree.h (java_set_yydebug): New.
* jcf-parse.c (set_yydebug): Rename java_set_yydebug.
* lang.c (LANG_HOOKS_SET_YYDEBUG): Override.
(print_lang_decl, print_lang_type, print_lang_identifier,
print_lang_statistics, lang_print_xnode): Remove.
objc:
* objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
LANG_HOOKS_SET_YYDEBUG): Override.
(lang_print_xnode, print_lang_statistics): Remove.
From-SVN: r46907
Richard Henderson [Fri, 9 Nov 2001 23:18:56 +0000 (15:18 -0800)]
dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING on the symbol string.
* dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
on the symbol string.
From-SVN: r46906
Kaveh R. Ghazi [Fri, 9 Nov 2001 23:16:04 +0000 (23:16 +0000)]
elf.h (ASM_DECLARE_FUNCTION_NAME, [...]): Undef before defining.
* pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
* config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
From-SVN: r46905
Kaveh R. Ghazi [Fri, 9 Nov 2001 23:13:22 +0000 (23:13 +0000)]
clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
* clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
* tlink.c (recompile_files): Copy strings passed to `putenv'.
From-SVN: r46904
Kaveh R. Ghazi [Fri, 9 Nov 2001 23:08:36 +0000 (23:08 +0000)]
* class.c (dump_array): Fix format specifier warning.
From-SVN: r46903
Geoffrey Keating [Fri, 9 Nov 2001 23:08:19 +0000 (23:08 +0000)]
tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
* tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
(TYPE_READONLY): Likewise.
From-SVN: r46902
Geoffrey Keating [Fri, 9 Nov 2001 23:06:04 +0000 (23:06 +0000)]
flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
* flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
In testsuite/:
* gcc.c-torture/execute/
20011109-2.c: New test.
From-SVN: r46901