Greg Freemyer [Sun, 25 Feb 2001 09:24:10 +0000 (09:24 +0000)]
mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
* libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
From-SVN: r40051
GCC Administrator [Sun, 25 Feb 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r40049
Zack Weinberg [Sun, 25 Feb 2001 05:23:38 +0000 (05:23 +0000)]
xm-interix.h, [...]: Don't define any of...
* xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h,
i370/xm-i370.h, i370/xm-linux.h, i370/xm-mvs.h, i370/xm-oe.h,
i386/xm-beos.h, i386/xm-dos.h, i386/xm-mingw32.h,
i860/xm-i860.h, m68k/xm-3b1.h, m68k/xm-amix.h, m68k/xm-aux.h,
m68k/xm-crds.h, m68k/xm-mot3300.h, m88k/xm-sysv3.h,
mips/xm-mips.h, rs6000/xm-beos.h, vax/xm-vms.h:
Don't define any of:
USE_PROTOTYPES, vfork, mktemp, SVR3, NO_SYS_PARAMS_H,
P_tmpdir, MVS, NO_DBX_FORMAT, USE_STDARGS, STDC_HEADERS,
NO_PRECOMPILES, i860, __PTR_TO_INT, __INT_TO_PTR, rindex,
index, FULL_PROTOTYPES, AUX, R_OK, W_OK, X_OK, F_OK,
STACK_DIRECTION, MIPS, MAX_READ_LEN, MAX_WRITE_LEN.
* alpha/xm-alpha.h, clipper/xm-clix.h, d30v/xm-d30v.h,
fr30/xm-fr30.h, i370/xm-linux.h: Remove commented-out macro
definitions.
* m68k/xm-3b1.h, m68k/xm-crds.h, m88k/xm-sysv3.h:
Delete now-empty file.
* alpha/vms.h: Define NEED_ATEXIT here...
* alpha/xm-vms.h: ...not here.
* i386/cygwin.h: Don't define PARAMS.
* mips/mips.c: Don't prototype mktemp. Don't define
P_tmpdir. Use make_temp_file to create temporary files.
Don't be clever and delete temporary files early.
* f/com.c: Don't define STDC_HEADERS, autoconf handles it.
* config.gcc: Drop references to deleted files. Don't define
FULL_PROTOTYPES.
* gcc.texi: Don't mention USE_PROTOTYPES.
From-SVN: r40048
Richard Kenner [Sun, 25 Feb 2001 01:28:23 +0000 (01:28 +0000)]
i386.c (ix86_set_move_mem_attrs): New function.
* config/i386/i386.c (ix86_set_move_mem_attrs): New function.
(ix86_set_move_mem_attrs_1): Likewise.
* config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
* config/i386/i386.md (movstrsi): Call it.
From-SVN: r40046
Zack Weinberg [Sun, 25 Feb 2001 01:24:06 +0000 (01:24 +0000)]
config.gcc: Expunge references to alpha/t-pe...
* config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv,
ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas,
rs6000/x-aix41-gld. These are nonexistent, empty, or obsolete.
(i750a-*-*): Error here if hosting on i750a.
(alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely.
* x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h:
Remove (empty modulo comments).
* 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h,
alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h,
i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h,
i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs,
mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas,
rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete)
* i386/crtdll.h, i386/cygwin.h, i386/mingw32.h:
Remove reference to winnt.h in comment.
* rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null.
From-SVN: r40045
Zack Weinberg [Sun, 25 Feb 2001 01:06:15 +0000 (01:06 +0000)]
config.gcc: Expunge references to alpha/t-pe...
* config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv,
ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas,
rs6000/x-aix41-gld. These are nonexistent, empty, or obsolete.
(i750a-*-*): Error here if hosting on i750a.
(alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely.
* x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h:
Remove (empty modulo comments).
* 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h,
alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h,
i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h,
i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs,
mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas,
rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete)
* i386/crtdll.h, i386/cygwin.h, i386/mingw32.h:
Remove reference to winnt.h in comment.
* rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null.
From-SVN: r40044
Franz Sirl [Sun, 25 Feb 2001 00:10:59 +0000 (00:10 +0000)]
20010224-1.c: New test.
2001-02-24 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/
20010224-1.c: New test.
From-SVN: r40043
Franz Sirl [Sun, 25 Feb 2001 00:08:01 +0000 (00:08 +0000)]
loop.c (check_dbra_loop): A biv has uses besides counting if it is used to set another biv.
2001-02-24 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* loop.c (check_dbra_loop): A biv has uses besides counting if it is
used to set another biv.
From-SVN: r40042
Richard Kenner [Sat, 24 Feb 2001 13:15:55 +0000 (13:15 +0000)]
tree.h (BLOCK_DEAD): New macro.
* tree.h (BLOCK_DEAD): New macro.
(struct tree_block): New flag, dead_flag.
* print-tree.c (print_node, case 'b'): Print missing fields.
* emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD.
* function.c (identify_blocks): Enable test for misplaced notes.
(all_blocks): Skip BLOCK_DEAD blocks.
* integrate.c (integrate_decl_tree): Likewise.
From-SVN: r40039
Richard Kenner [Sat, 24 Feb 2001 11:45:36 +0000 (11:45 +0000)]
errors.c (internal_error, [...]): New functions.
* errors.c (internal_error, trim_filename): New functions.
(fancy_abort): Call internal_error.
* errors.h (internal_error, trim_filename): New declarations.
From-SVN: r40037
Zack Weinberg [Sat, 24 Feb 2001 08:17:40 +0000 (08:17 +0000)]
Kill stray blank lines
From-SVN: r40036
GCC Administrator [Sat, 24 Feb 2001 08:16:12 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r40034
Rainer Orth [Sat, 24 Feb 2001 06:14:36 +0000 (06:14 +0000)]
sendmsg.c (__objc_forward): Delete strlen() declaration.
Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* sendmsg.c (__objc_forward): Delete strlen() declaration.
From-SVN: r40033
Alexandre Oliva [Sat, 24 Feb 2001 04:20:15 +0000 (04:20 +0000)]
mn10300.h (DBX_REGISTER_NUMBER): Reverted 2000-08-26's patch.
* config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
2000-08-26's patch.
(EXTRA_CONSTRAINT): Formatting changes.
From-SVN: r40031
Per Bothner [Sat, 24 Feb 2001 04:15:31 +0000 (20:15 -0800)]
Change to sometimes include class name in ClassFormatError message.
From-SVN: r40030
Kaveh R. Ghazi [Sat, 24 Feb 2001 03:57:59 +0000 (03:57 +0000)]
* rtl.c (rtl_check_failed_code2): Fix typo in last change.
From-SVN: r40029
Per Bothner [Sat, 24 Feb 2001 03:52:49 +0000 (19:52 -0800)]
Throwable.java (CPlusPlusDemangler): Pass -s java to c++filt to select java-style output.
* java/lang/Throwable.java (CPlusPlusDemangler): Pass -s java to
c++filt to select java-style output.
From-SVN: r40027
Per Bothner [Sat, 24 Feb 2001 03:36:22 +0000 (19:36 -0800)]
Handle compiling multiple input files at once, and @FILE syntax.
* gcj.texi: Updated documentation to match.
and parse.h inadvertently left out from previous check-in.
From-SVN: r40026
Per Bothner [Sat, 24 Feb 2001 03:28:39 +0000 (19:28 -0800)]
Handle compiling multiple input files at once, and @FILE syntax. See ChangeLog.
From-SVN: r40024
Per Bothner [Sat, 24 Feb 2001 03:20:18 +0000 (19:20 -0800)]
gcc.c (record_temp_file, [...]): Make non-static, so they can be called from java/jvspec.c.
* gcc.c (record_temp_file, pfatal_with_name, error): Make non-static,
so they can be called from java/jvspec.c.
* gcc.h (record_temp_file, pfatal_with_name, error): Declare.
From-SVN: r40023
Jan Hubicka [Sat, 24 Feb 2001 02:34:05 +0000 (03:34 +0100)]
i386.c (ix86_frame): New structure.
* i386.c (ix86_frame): New structure.
(ix86_compute_frame_size): Kill.
(ix86_compute_frame_layout): New.
(ix86_save_reg): New.
(ix86_can_use_return_insn_p): Use frame layout stuff.
(ix86_expand_prologue): Likewise.
(ix86_expand_epilogue): Likewise.
(ix86_initial_elimination_offset): Likewise.
(ix86_nsaved_regs): Use ix86_save_reg.
(ix86_emit_save_regs): Likewise.
From-SVN: r40022
Jan Hubicka [Sat, 24 Feb 2001 02:32:33 +0000 (03:32 +0100)]
flow.c (find_sub_basic_blocks): New function.
* flow.c (find_sub_basic_blocks): New function.
(split_block): Be ready for basic block introduced by CODE_LABEL.
(commit_one_edge_insertion): Call find_sub_basic_block.
* flow.c (make_edges): Add edge from entry for blocks starting with
label having ALTERNATE_NAME
From-SVN: r40021
Jan Hubicka [Sat, 24 Feb 2001 02:22:07 +0000 (03:22 +0100)]
function.c (epilogue_done): Be ready for first basic block not containing PROLOGUE_END note.
* function.c (epilogue_done): Be ready for first basic block not
containing PROLOGUE_END note.
(reposition_prologue_and_epilogue_notes): Avoid placing
PROLOGUE_END note between BASIC_BLOCK.
From-SVN: r40020
Jan Hubicka [Sat, 24 Feb 2001 02:18:38 +0000 (03:18 +0100)]
* loop.c (canonicalize_condition): Move to reversed_comparison_code.
From-SVN: r40019
DJ Delorie [Fri, 23 Feb 2001 23:05:33 +0000 (18:05 -0500)]
i960.h (FRAME_POINTER_REQUIRED): Revert removal of check for current_function_has_nonlocal_goto from 1999-11-12.
* config/i960/i960.h (FRAME_POINTER_REQUIRED): Revert removal of
check for current_function_has_nonlocal_goto from 1999-11-12.
From-SVN: r40018
Richard Kenner [Fri, 23 Feb 2001 21:17:06 +0000 (21:17 +0000)]
diagnostic.c (trim_filename): No longer static.
* diagnostic.c (trim_filename): No longer static.
* toplev.h (trim_filename): Declare.
* rtl.c (rtl_check_failed_bounds): Call internal_error.
(rtl_check_failed_type1, rtl_check_failed_type2): Likewise.
(rtl_check_failed_code1, rtl_check_failed_code2): Likewise.
(rtvec_check_failed_bounds): Likewise.
* tree.c (tree_check_failed, tree_class_check_failed): Likewise.
From-SVN: r40016
Richard Kenner [Fri, 23 Feb 2001 21:10:35 +0000 (21:10 +0000)]
convert.c (convert_to_integer): Don't do unsigned unless result or both inputs are unsigned.
* convert.c (convert_to_integer): Don't do unsigned unless result or
both inputs are unsigned.
From-SVN: r40014
Richard Kenner [Fri, 23 Feb 2001 21:05:41 +0000 (21:05 +0000)]
fold-const.c (fold_convert): Don't call size_int_type_wide if input overflows.
* fold-const.c (fold_convert): Don't call size_int_type_wide if
input overflows.
From-SVN: r40012
Richard Kenner [Fri, 23 Feb 2001 20:38:58 +0000 (20:38 +0000)]
c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
* c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
* ch/decl.c, f/com.c, java/decl.c: Likewise.
From-SVN: r40010
Richard Kenner [Fri, 23 Feb 2001 20:28:58 +0000 (20:28 +0000)]
* varasm.c (output_constant): Recompute CODE after lang-specific fn.
From-SVN: r40008
Benjamin Kosnik [Fri, 23 Feb 2001 19:22:04 +0000 (19:22 +0000)]
codecvt.h: Use __builtin_alloca.
2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/codecvt.h: Use __builtin_alloca.
* include/bits/ostream.tcc: Same.
* include/bits/fstream.tcc: Same.
From-SVN: r40007
Alexandre Oliva [Fri, 23 Feb 2001 19:13:33 +0000 (19:13 +0000)]
Use VAR=${VAR=...} form.
From-SVN: r40005
David Edelsohn [Fri, 23 Feb 2001 19:06:23 +0000 (19:06 +0000)]
Use $BUILD_DIR/../../gcc/xgcc
From-SVN: r40003
Jeffrey Oldham [Fri, 23 Feb 2001 17:47:52 +0000 (17:47 +0000)]
Makefile.in (resource.o): Add params.h dependence.
2001-02-23 Jeffrey Oldham <oldham@codesourcery.com>
* Makefile.in (resource.o): Add params.h dependence.
* params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
* params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
* resource.c: Add dependence on params.h.
(current_live_regs): Fix explanatory comment.
(find_basic_block): Add new parameter to permit limiting search
for a BARRIER.
(mark_target_live_regs): Add new argument to find_basic_block call.
(incr_ticks_for_insn): Likewise.
From-SVN: r40001
Phil Edwards [Fri, 23 Feb 2001 17:47:34 +0000 (17:47 +0000)]
iostream.h: Expose std::flush in old headers.
2001-02-23 Phil Edwards <pme@sources.redhat.com>
c++/2052
* include/backward/iostream.h: Expose std::flush in old headers.
From-SVN: r40000
Gabriel Dos Reis [Fri, 23 Feb 2001 17:28:25 +0000 (17:28 +0000)]
diagnostic.c (output_to_stream): Rename to output_buffer_to_stream.
* diagnostic.c (output_to_stream): Rename to
output_buffer_to_stream. Loses the stream parameter.
(init_output_buffer): Set diagnosic_buffer's stream.
(flush_diagnostic_buffer): Adjust.
(default_print_error_function): Likewise.
(finish_diagnostic): Likewise.
(verbatim): Likewise.
* diagnostic.h (struct output_buffer): Add `stream' field.
(output_buffer_attached_stream): New macro.
From-SVN: r39999
Jakub Jelinek [Fri, 23 Feb 2001 12:28:07 +0000 (13:28 +0100)]
fold-const.c (extract_muldiv): If not MULT_EXPR, check if either operand is divisible by C.
* fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
check if either operand is divisible by C.
(multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
If type is signed, consider negative numbers as well.
* gcc.c-torture/execute/
20010222-1.c: New test.
From-SVN: r39996
Gabriel Dos Reis [Fri, 23 Feb 2001 09:30:47 +0000 (09:30 +0000)]
Remove special-casing on target.
Remove special-casing on target. Use gcc instead of g++ to build
gen-num-limits.cc
From-SVN: r39994
GCC Administrator [Fri, 23 Feb 2001 08:16:09 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r39992
Benjamin Kosnik [Fri, 23 Feb 2001 07:12:03 +0000 (07:12 +0000)]
tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
* tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
* include/bits/codecvt.h: Use alloca instead of __extension__ for
the time being.
* include/bits/ostream.tcc: Same.
* include/bits/std_ostream.h: Same.
* include/bits/fstream.tcc: Same.
* include/bits/locale_facets.tcc: Add typename.
* include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
From-SVN: r39991
Mark Mitchell [Fri, 23 Feb 2001 02:33:03 +0000 (02:33 +0000)]
* spew.c (yylex): Correct handling of friends.
From-SVN: r39990
Richard Henderson [Thu, 22 Feb 2001 22:57:28 +0000 (14:57 -0800)]
crtbegin.asm (.fini): Use pc-relative relocs to reach .text instead of gp-relative relocs.
* config/ia64/crtbegin.asm (.fini): Use pc-relative relocs to
reach .text instead of gp-relative relocs.
* config/ia64/crtend.asm (.init): Likewise.
From-SVN: r39986
Mark Mitchell [Thu, 22 Feb 2001 21:46:06 +0000 (21:46 +0000)]
mangle.c (write_encoding): Pass write_function_type the FUNCTION_DECL for the function being encoded.
* mangle.c (write_encoding): Pass write_function_type the
FUNCTION_DECL for the function being encoded.
(write_function_type): Pass it along to write_bare_function_type.
(write_bare_function_type): Pass it along to write_method_parms.
(write_method_parms): Don't mangle the compiler-generated
parameters to a constructor or destructor.
From-SVN: r39985
Andreas Jaeger [Thu, 22 Feb 2001 15:41:49 +0000 (16:41 +0100)]
* extend.texi (C++ Attributes): Fix typo.
From-SVN: r39982
Andreas Jaeger [Thu, 22 Feb 2001 14:22:02 +0000 (15:22 +0100)]
optimize.c: Include toplev.h for note_deferral_of_defined_inline_function prototype.
* optimize.c: Include toplev.h for
note_deferral_of_defined_inline_function prototype.
From-SVN: r39981
Jakub Jelinek [Thu, 22 Feb 2001 11:46:33 +0000 (12:46 +0100)]
cp-tree.h (struct lang_decl_inlined_fns): New.
* cp-tree.h (struct lang_decl_inlined_fns): New.
(struct lang_decls): Add inlined_fns.
(DECL_INLINED_FNS): New macro.
* optimize.c (struct inline_data): Add inlined_fns.
(declare_return_variable): Use VARRAY_ACTIVE_SIZE macro.
(inlinable_function_p): Likewise, fix typo in comment,
function is not inlinable if it already inlined function currently
being optimized.
(expand_call_inline): Add fn to inlined_fns if neccessary.
(optimize_function): Initialize inlined_fns.
Save inlined_fns into DECL_INLINED_FNS after expanding inlines.
* decl.c (mark_inlined_fns): New function.
(lang_mark_tree): Call it.
* g++.old-deja/g++.other/inline20.C: New test.
From-SVN: r39977
GCC Administrator [Thu, 22 Feb 2001 08:16:42 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r39975
Bryce McKinlay [Thu, 22 Feb 2001 04:24:34 +0000 (04:24 +0000)]
fix
From-SVN: r39973
Bryce McKinlay [Thu, 22 Feb 2001 04:19:58 +0000 (04:19 +0000)]
Disable libgcjx by default.
* configure.in: Add support for --enable-java-awt configure option.
Use --enable-java-awt=xlib to build the xlib peers (libgcjx).
* Makefile.am: Make libgcjx conditional on XLIB_AWT, instead of NO_X.
* Makefile.in: Rebuilt.
* configure: Rebuilt.
From-SVN: r39970
Bryce McKinlay [Thu, 22 Feb 2001 04:16:07 +0000 (04:16 +0000)]
re PR java/2040 (java.util.Hashtable(int,float) is stricter than sun's version)
Fix for PR java/2040:
* java/util/HashMap.java (HashMap): Don't throw exception for
loadFactor > 1. Add exception messages.
* java/util/Hashtable.java (Hashtable): Likewise.
From-SVN: r39969
Benjamin Kosnik [Thu, 22 Feb 2001 01:35:47 +0000 (01:35 +0000)]
c_locale_gnu.h: Add clocale include.
2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
* config/c_locale_gnu.h: Add clocale include.
From-SVN: r39968
Phil Edwards [Wed, 21 Feb 2001 21:58:20 +0000 (21:58 +0000)]
tests_flags.in: Remove -n flag from call to echo.
2001-02-21 Phil Edwards <pme@sources.redhat.com>
* tests_flags.in: Remove -n flag from call to echo.
From-SVN: r39966
David Mosberger [Wed, 21 Feb 2001 21:50:16 +0000 (21:50 +0000)]
Refine syscall_linkage attribute semantics to fix security hole.
* config/ia64/ia64.c (ia64_epilogue_uses): For syscall_linkage
functions, drop current_function_args_info.words test.
(ia64_compute_frame_size): Mark syscall_linkage functions as
using eight input registers.
From-SVN: r39965
Ovidiu Predescu [Wed, 21 Feb 2001 20:40:22 +0000 (20:40 +0000)]
Added.
From-SVN: r39964
Ovidiu Predescu [Wed, 21 Feb 2001 20:39:52 +0000 (20:39 +0000)]
nested-1.m: Added (contributed by Nicola Pero).
Wed Feb 21 12:38:22 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
* objc/execute/nested-1.m: Added (contributed by Nicola Pero).
From-SVN: r39963
Loren J. Rittle [Wed, 21 Feb 2001 20:01:24 +0000 (20:01 +0000)]
fix freebsd version check of GCC
Co-Authored-By: Bruce Korb <bkorb@gnu.org>
From-SVN: r39961
Jeffrey D. Oldham [Wed, 21 Feb 2001 19:54:18 +0000 (19:54 +0000)]
gcc.c: Add comment explaining how to add a command-line option.
2001-02-21 Jeffrey D. Oldham <oldham@codesourcery.com>
* gcc.c: Add comment explaining how to add a command-line option.
Add title to specs language comment.
From-SVN: r39960
Jeffrey Oldham [Wed, 21 Feb 2001 19:45:25 +0000 (19:45 +0000)]
gcc.c (cc1_options): Add "-param".
2001-02-21 Jeffrey Oldham <oldham@codesourcery.com>
* gcc.c (cc1_options): Add "-param".
(DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise.
(option_map): Likewise.
* toplev.c (display_help): Add entry for "--param".
(independent_decode_option): Fix typographical error.
From-SVN: r39958
Benjamin Kosnik [Wed, 21 Feb 2001 19:07:33 +0000 (19:07 +0000)]
c_locale_gnu.h: Add clocale include.
2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
* config/c_locale_gnu.h: Add clocale include.
From-SVN: r39956
Catherine Moore [Wed, 21 Feb 2001 18:49:33 +0000 (18:49 +0000)]
i386.c (function_arg_advance): Pass SSE arguments in registers.
* i386.c (function_arg_advance): Pass SSE arguments in registers.
(function_arg): Likewise.
Co-Authored-By: Bernd Schmidt <bernds@redhat.com>
Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r39955
Aldy Hernandez [Wed, 21 Feb 2001 18:25:34 +0000 (18:25 +0000)]
fixed typo in last commit re REVERSE_CONDEXEC_PREDICATES_P
From-SVN: r39954
Jan Hubicka [Wed, 21 Feb 2001 18:20:17 +0000 (19:20 +0100)]
* i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
From-SVN: r39952
Kazu Hirata [Wed, 21 Feb 2001 18:09:48 +0000 (18:09 +0000)]
h8300.md (iorsi3): Do not output an extra newline character.
2001-02-21 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md (iorsi3): Do not output an extra newline
character.
(xorsi3): Likewise.
From-SVN: r39950
Jan Hubicka [Wed, 21 Feb 2001 16:52:40 +0000 (17:52 +0100)]
flow.c (init_propagate_block_info): Canon address and use single_set for killing dead memory stores.
* flow.c (init_propagate_block_info): Canon address and use single_set
for killing dead memory stores.
From-SVN: r39949
Jeffrey Oldham [Wed, 21 Feb 2001 16:11:59 +0000 (16:11 +0000)]
Makefile.in (reorg.o): Add params.h dependence.
2001-02-21 Jeffrey Oldham <oldham@codesourcery.com>
* Makefile.in (reorg.o): Add params.h dependence.
* params.def: Fix typographical error in comment.
(MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
* params.h: Modify introductory comment.
(MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
* reorg.c: Add dependence on params.h.
(redundant_insn): Add parameterized throttle for search.
(fill_simple_delay_slots): Add a comment explaining a variable.
Move conditional out of loop, simplifying code.
(fill_eager_delay_slots): Fix typographical error in comment.
From-SVN: r39948
Aldy Hernandez [Wed, 21 Feb 2001 15:59:30 +0000 (15:59 +0000)]
new macro REVERSE_CONDEXEC_PREDICATES_P
From-SVN: r39947
Jason Merrill [Wed, 21 Feb 2001 14:42:27 +0000 (09:42 -0500)]
tree.h (DECL_UNINLINABLE): Move from C++ frontend.
* tree.h (DECL_UNINLINABLE): Move from C++ frontend.
(struct tree_decl): Add uninlinable bitfield.
* c-decl.c (duplicate_decls): Set it.
* integrate.c (function_cannot_inline_p): Check it.
* cp-tree.h (struct lang_decl_flags): Remove uninlinable flag.
(DECL_UNINLINABLE): Move to middle-end.
* dwarf2out.c (add_name_and_src_coords_attributes): Don't add
DW_AT_MIPS_linkage_name to abstract methods.
(dwarf2out_abstract_function): Emit class context before calling
set_decl_abstract_flags. Don't clear DECL_ABSTRACT.
(gen_subprogram_die): Remove obsolete code.
(gen_member_die): Don't include clones in the member list.
(gen_decl_die): Emit abstract info for clone origin.
* dwarfout.c (output_type): Don't include clones in the member list.
* dbxout.c (dbxout_type_methods): Ignore abstract methods.
* toplev.c (note_deferral_of_defined_inline_function): Don't clear
DECL_ABSTRACT on a function that already has it set.
* class.c (clone_function_decl): Set DECL_ABSTRACT on original fn.
* decl.c (duplicate_decls): Preserve DECL_ABSTRACT.
* class.c (build_clone): Set DECL_ABSTRACT_ORIGIN for the clone.
* optimize.c (maybe_clone_body): Set DECL_ABSTRACT_ORIGIN for the
parms and outer BLOCK. note_deferral_of_defined_inline_function.
* dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
(get_subprogram_die): Pass it in.
* method.c (implicitly_declare_fn): Don't set DECL_ARTIFICIAL on
second parm of op=.
From-SVN: r39945
Richard Earnshaw [Wed, 21 Feb 2001 12:18:11 +0000 (12:18 +0000)]
flow.c (mark_set_1): Make not_dead unsigned long.
* flow.c (mark_set_1): Make not_dead unsigned long. For
non-pseudos, use it as a bitmask of the hard regs that
don't die.
From-SVN: r39943
Gabriel Dos Reis [Wed, 21 Feb 2001 11:48:24 +0000 (11:48 +0000)]
New test.
From-SVN: r39942
GCC Administrator [Wed, 21 Feb 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r39939
Neil Booth [Wed, 21 Feb 2001 07:29:56 +0000 (07:29 +0000)]
cppfiles.c: Update comments.
* cppfiles.c: Update comments.
(_cpp_read_file): Don't check for NULL filenames any more.
* cppinit.c (cpp_start_read): Don't do canonicalization of
in_fname and out_fname. Use the passed file name exclusively.
(_cpp_handle_options): Don't treat "-" as a command line option,
but as a normal filename.
(_cpp_post_options): Canonicalize in_fname and out_fname.
* cppmain.c (printer_init): Don't check out_fname for NULL.
* c-lex.c (orig_filename): Rename cpp_filename for clarity.
(init_c_lex): Update, and use "" to represent stdin to CPP.
(yyparse): Update.
From-SVN: r39938
Will Cohen [Wed, 21 Feb 2001 05:05:25 +0000 (05:05 +0000)]
quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
* config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
* config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added.
(INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for
fixunstfsi_libfunc.
From-SVN: r39937
Stan Shebs [Wed, 21 Feb 2001 01:50:36 +0000 (01:50 +0000)]
rs6000.c (output_cbranch): Output branches on separate lines instead of using ';' to separate.
* config/rs6000/rs6000.c (output_cbranch): Output branches
on separate lines instead of using ';' to separate.
From-SVN: r39935
Neil Booth [Tue, 20 Feb 2001 22:52:11 +0000 (22:52 +0000)]
cppinit.c (set_lang): Move builtin handling to...
* cppinit.c (set_lang): Move builtin handling to...
(init_builtins): ...here.
(_cpp_create_reader): Move call to set_lang.
From-SVN: r39934
Alexandre Petit-Bianco [Tue, 20 Feb 2001 21:18:13 +0000 (13:18 -0800)]
parse.y (check_inner_class_access): Moved declaration of local `enclosing_decl_type' to the right location.
2001-02-20 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (check_inner_class_access): Moved declaration of local
`enclosing_decl_type' to the right location.
(http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01258.html)
From-SVN: r39933
Phil Edwards [Tue, 20 Feb 2001 20:20:48 +0000 (20:20 +0000)]
stl_config.h: Remove file.
2001-02-20 Phil Edwards <pme@sources.redhat.com>
* include/bits/stl_config.h: Remove file.
* src/Makefile.am (base_headers): Remove from list.
* configure: Regenerate.
* Makefile.in: Ditto.
* libio/Makefile.in: Ditto.
* libmath/Makefile.in: Ditto.
* libsupc++/Makefile.in: Ditto.
* src/Makefile.in: Ditto.
* include/bits/c++config: Move relevant macros to here.
* include/backward/alloc.h: Include c++config.h instead.
* include/backward/function.h: Ditto.
* include/backward/heap.h: Ditto.
* include/backward/pair.h: Ditto.
* include/bits/pthread_allocimpl.h: Ditto.
* include/bits/std_functional.h: Ditto.
* include/bits/std_iterator.h: Ditto.
* include/bits/std_numeric.h: Ditto.
* include/bits/std_utility.h: Ditto.
* include/bits/stl_algobase.h: Ditto.
* include/bits/type_traits.h: Ditto.
* src/stl-inst.cc: Ditto.
From-SVN: r39931
Laurynas Biveinis [Tue, 20 Feb 2001 19:29:07 +0000 (19:29 +0000)]
* MAINTAINERS: add myself to Write After Approval list.
From-SVN: r39929
Tom Tromey [Tue, 20 Feb 2001 19:01:55 +0000 (19:01 +0000)]
PipedWriter.java (flush): Throw exception if stream closed.
* java/io/PipedWriter.java (flush): Throw exception if stream
closed.
* java/io/OutputStreamWriter.java (write): Throw exception if
stream closed.
(writeChars): Don't throw exception if stream closed.
* java/io/CharArrayWriter.java (closed): New field.
(close): Set it.
(flush): Throw exception if stream closed.
(reset): Synchronize on correct lock. Allow stream to be
reopened.
(toCharArray, toString, writeTo): Synchronize.
(write): Throwe exception if stream closed.
* java/io/BufferedWriter.java (close): Clear `buffer'.
(flush): Throw IOException if stream is closed.
(write): Likewise.
From-SVN: r39927
Mark Mitchell [Tue, 20 Feb 2001 18:22:32 +0000 (18:22 +0000)]
stmt.c (expand_return): If an attempt is made to return the error_mar_node...
* stmt.c (expand_return): If an attempt is made to return the
error_mar_node, treat the return like a return without a value.
From-SVN: r39924
Tom Tromey [Tue, 20 Feb 2001 18:05:57 +0000 (18:05 +0000)]
ThreadGroup.java (activeCount): Only include threads which are alive.
* java/lang/ThreadGroup.java (activeCount): Only include threads
which are alive.
(enumerate): Likewise.
From-SVN: r39922
Richard Kenner [Tue, 20 Feb 2001 12:01:03 +0000 (07:01 -0500)]
Fix spelling error
From-SVN: r39921
GCC Administrator [Tue, 20 Feb 2001 08:16:40 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r39920
Zack Weinberg [Tue, 20 Feb 2001 05:49:06 +0000 (05:49 +0000)]
sibcall.c (skip_copy_to_return_value): Call identify_call_return_value here, and return orig_insn if it returns zero.
* sibcall.c (skip_copy_to_return_value): Call
identify_call_return_value here, and return orig_insn if it
returns zero. Hardret and softret arguments now unnecessary.
(call_ends_block_p): Don't call identify_call_return_value here.
* ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
's' slots in RTXen.
* ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
* ggc.h (ggc_mark_if_gcable): Delete prototype.
testsuite:
* g77.dg: New directory.
* g77.dg/
20010216-1.f: New test case.
* g77.dg/dg.exp: New driver.
* lib/g77-dg.exp: New driver library.
From-SVN: r39916
Benjamin Kosnik [Tue, 20 Feb 2001 04:13:50 +0000 (04:13 +0000)]
Makefile.in (check-c++): New rule.
2001-02-19 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in (check-c++): New rule.
From-SVN: r39915
Jeffrey A Law [Tue, 20 Feb 2001 03:29:00 +0000 (03:29 +0000)]
pa.c (move_operand): Accept code to load the address of a symbol out of the DLT as a valid move operand.
* pa.c (move_operand): Accept code to load the address of a
symbol out of the DLT as a valid move operand.
(print_operand, case 'A'): New to handle generating a DLT
reference for a LO_SUM expression.
* pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references.
* pa.md (movsi, movdi patterns): Allow DLT LO_SUM references.
From-SVN: r39914
Benjamin Kosnik [Tue, 20 Feb 2001 00:57:54 +0000 (00:57 +0000)]
configure.in (target_libs): Remove libg++.
2001-02-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* configure.in (target_libs): Remove libg++.
(noconfigdirs): Remove libg++.
(noconfigdirs): Same.
(noconfigdirs): Same.
(noconfigdirs): Same.
* config-ml.in: Remove libg++ references.
* Makefile.in (TARGET_CONFIGDIRS): Remove libio, libstdc++, libg++.
(ALL_TARGET_MODULES): Same.
(configure-target-libg++): Remove.
(all-target-libg++): Remove.
(configure-target-libio): Remove.
(all-target-libio): Remove.
(check-target-libio): Remove.
(.PHONY): Remove.
(libg++.tar.bz2): Remove.
(all-target-cygmon): Remove libio.
(all-target-libstdc++): Remove.
(configure-target-libstdc++): Remove.
(TARGET_LIB_PATH): Remove libstdc++.
(ALL_GCC_CXX): Remove libstdc++.
From-SVN: r39911
Bryce McKinlay [Mon, 19 Feb 2001 22:52:15 +0000 (22:52 +0000)]
Forgot this file on last check-in.
From-SVN: r39910
Bryce McKinlay [Mon, 19 Feb 2001 22:48:16 +0000 (22:48 +0000)]
parse.y (parser_check_super_interface): Don't call check_pkg_class_access for an inner interface.
* parse.y (parser_check_super_interface): Don't call
check_pkg_class_access for an inner interface.
(parser_check_super): Don't call check_pkg_class_access for inner
class.
(do_resolve_class): Simplify enclosing type loop. Don't call
check_pkg_class_access if CL and DECL are not set.
(find_in_imports_on_demand): Set DECL if class_type needed to be
loaded. Don't call check_pkg_class_access for an inner class.
(check_inner_class_access): Rewritten to implement member access
rules as per spec 6.6.1.
(check_pkg_class_access): Handle the empty package correctly.
(in_same_package): New function. Determine if two classes are in the
same package.
From-SVN: r39909
Mark Mitchell [Mon, 19 Feb 2001 21:47:08 +0000 (21:47 +0000)]
decl2.c (set_decl_namespace): Allow explicit instantiations in any namespace.
* decl2.c (set_decl_namespace): Allow explicit instantiations in
any namespace.
From-SVN: r39907
Bryce McKinlay [Mon, 19 Feb 2001 21:10:14 +0000 (21:10 +0000)]
typeck.c (build_java_array_type): Don't try to poke a public `clone' method into array types.
* typeck.c (build_java_array_type): Don't try to poke a public `clone'
method into array types.
* parse.y (patch_method_invocation): Bypass access check on clone call
to array instance.
From-SVN: r39906
Joseph Myers [Mon, 19 Feb 2001 20:03:42 +0000 (20:03 +0000)]
Version.c, [...]: Update G77 version number to 0.5.27.
libf2c:
* libF77/Version.c, libI77/Version.c, libU77/Version.c: Update G77
version number to 0.5.27.
gcc:
* README, cpp.texi, gcc.texi, version.c: Update version number to
3.1.
* cpp.1, gcov.1, gcc.1: Regenerate.
gcc/f:
* version.c, root.texi: Update GCC version number to 3.1. Update
G77 version number to 0.5.27.
* BUGS, NEWS: Regenerate.
From-SVN: r39901
Neil Booth [Mon, 19 Feb 2001 19:50:21 +0000 (19:50 +0000)]
cppfiles.c (stack_include_file): Generate dependencies here, and manage include_count here too.
* cppfiles.c (stack_include_file): Generate dependencies
here, and manage include_count here too.
(PRINT_THIS_DEP): Delete.
(_cpp_execute_include): Do not generate dependencies here,
apart from the case of a missing header. Do not manage
include_count.
(_cpp_read_file): Leave dependency generation to
stack_include_file.
From-SVN: r39899
Gabriel Dos Reis [Mon, 19 Feb 2001 18:52:25 +0000 (18:52 +0000)]
Add #pragma system_header to header files.
From-SVN: r39896
Jeffrey A Law [Mon, 19 Feb 2001 17:15:53 +0000 (17:15 +0000)]
config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to target_cpu_default.
* config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to
target_cpu_default. Remove dead assignment to
target_cpu_default.
From-SVN: r39895
Jan Hubicka [Mon, 19 Feb 2001 15:50:20 +0000 (16:50 +0100)]
regclass.c (contains_reg_of_mode): Make global.
* regclass.c (contains_reg_of_mode): Make global.
(init_reg_sets): Remove contains_reg_of_mode; take into account
CLASS_MAX_NREGS when looking for the proper mode.
(dump_regclass): Dump only classes considered for the pseudo.
(regclass): Use contains_reg_of_mode.
From-SVN: r39891
Jan Hubicka [Mon, 19 Feb 2001 15:47:30 +0000 (16:47 +0100)]
gcc.c (do_spec_1): 'n' for printing notices.
* gcc.c (do_spec_1): 'n' for printing notices.
* i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated.
From-SVN: r39889
Andreas Jaeger [Mon, 19 Feb 2001 15:41:46 +0000 (16:41 +0100)]
atomicity.h (__compare_and_swap): Fix typo.
2001-02-19 Andreas Jaeger <aj@suse.de>
* config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
Fix typo.
From-SVN: r39886
Jan Hubicka [Mon, 19 Feb 2001 14:59:42 +0000 (15:59 +0100)]
reg-stack.c (next_flags_user): Use current_block->end
* reg-stack.c (next_flags_user): Use current_block->end
(swap_rtx_condition): Look for next user if flags don't die;
give up on CALL_INSNs; use current_block->end.
From-SVN: r39884
Richard Kenner [Mon, 19 Feb 2001 14:42:55 +0000 (09:42 -0500)]
Tweak comments
From-SVN: r39883
Richard Kenner [Mon, 19 Feb 2001 13:27:36 +0000 (13:27 +0000)]
sibcall.c (call_ends_block_p): New function.
* sibcall.c (call_ends_block_p): New function.
(optimize_sibling_and_tail_recursive_call): Use it.
From-SVN: r39879