Bernd Schmidt [Fri, 18 May 2001 12:45:03 +0000 (12:45 +0000)]
Revert an incorrect change
From-SVN: r42262
Andreas Jaeger [Fri, 18 May 2001 07:45:56 +0000 (09:45 +0200)]
Makefile.in (stamp-h): Only create config.h, touch stamp-h.
* libI77/Makefile.in (stamp-h): Only create config.h, touch stamp-h.
(${srcdir}/config.h.in): Add true rule.
* libI77/stamp-h.in: Added.
From-SVN: r42258
Andreas Jaeger [Fri, 18 May 2001 07:44:34 +0000 (09:44 +0200)]
* gcc_update: Add rules for libf2c/libI77.
From-SVN: r42257
Mark Mitchell [Fri, 18 May 2001 07:25:50 +0000 (07:25 +0000)]
function.c (expand_function_start): Avoid creating BLKmode pseudos.
* function.c (expand_function_start): Avoid creating BLKmode
pseudos.
* dwarf2out.c (output_comp_unit): Always output a compilation-unit
DIE, even if it has no children.
(dwarf2out_finish): Always output the line-number table, even if
it has no content.
From-SVN: r42254
Benjamin Kosnik [Fri, 18 May 2001 07:24:24 +0000 (07:24 +0000)]
acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir amd glibcpp_prefixdir with absolute paths.
2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
amd glibcpp_prefixdir with absolute paths.
* include/bits/c++config (__GLIBCPP__): Bump.
* acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
From-SVN: r42253
GCC Administrator [Fri, 18 May 2001 07:16:19 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42251
Bryce McKinlay [Fri, 18 May 2001 06:29:11 +0000 (07:29 +0100)]
[multiple changes]
2001-05-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* include/jvm.h: Move "#pragma GCC java_exceptions" to ...
* gcj/javaprims.h: ... here.
* gnu/gcj/io/shs.cc: Add "#pragma GCC java_exceptions".
2001-05-17 Martin Kahlert <martin.kahlert@infineon.com>
* java/lang/natClass.cc (_Jv_FindIIndex): Fix an off by one error
with length of ioffset table.
(_Jv_IsAssignableFrom): Likewise.
From-SVN: r42248
David Edelsohn [Fri, 18 May 2001 05:55:52 +0000 (05:55 +0000)]
* rs6000.md (movsfcc,movdfcc): Remove NE case.
From-SVN: r42247
Gabriel Dos Reis [Fri, 18 May 2001 05:49:20 +0000 (05:49 +0000)]
Oops, forgot the ChangeLog entry.
From-SVN: r42246
Gabriel Dos Reis [Fri, 18 May 2001 05:47:46 +0000 (05:47 +0000)]
std_valarray.h (valarray<>::operator[] const): Return a const reference.
* include/bits/std_valarray.h (valarray<>::operator[] const):
Return a const reference.
* testsuite/26_numerics/valarray_const_bracket.cc: New test.
From-SVN: r42245
Alexandre Oliva [Fri, 18 May 2001 05:46:30 +0000 (05:46 +0000)]
configure.target (ATOMICITYH): Actually use AIX-specific code on earlier versions of AIX 4.*.
* configure.target (ATOMICITYH): Actually use AIX-specific code on
earlier versions of AIX 4.*.
From-SVN: r42244
Angela Marie Thomas [Fri, 18 May 2001 05:37:43 +0000 (05:37 +0000)]
libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set output_file based on the name of the testcase.
2001-05-18 Angela Marie Thomas <angela@cygnus.com>
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
output_file based on the name of the testcase.
2001-05-18 Angela Marie Thomas <angela@cygnus.com>
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
gluefile and use it if needs_status_wrapper is set.
From-SVN: r42240
Alexandre Oliva [Fri, 18 May 2001 04:50:27 +0000 (04:50 +0000)]
configure.target (ATOMICITYH): Use cpu/generic code on earlier versions of AIX.
* configure.target (ATOMICITYH): Use cpu/generic code on earlier
versions of AIX.
From-SVN: r42237
Bruce Korb [Fri, 18 May 2001 03:13:20 +0000 (03:13 +0000)]
regeneration based on new engine
From-SVN: r42236
Bruce Korb [Fri, 18 May 2001 02:54:25 +0000 (02:54 +0000)]
Upgrade to AutoGen 5 Template
From-SVN: r42235
Brendan Conoboy [Fri, 18 May 2001 02:02:37 +0000 (02:02 +0000)]
accept local directory for fixincl in fixincl.sh script
Co-Authored-By: Bruce Korb <bkorb@gnu.org>
From-SVN: r42234
Jeffrey Oldham [Thu, 17 May 2001 22:57:36 +0000 (22:57 +0000)]
dbxout.c (dbxout_symbol_location): For CONCAT, skip types not COMPLEX_TYPE.
2001-05-17 Jeffrey Oldham <oldham@codesourcery.com>
* dbxout.c (dbxout_symbol_location): For CONCAT, skip types not
COMPLEX_TYPE.
From-SVN: r42231
Alexandre Oliva [Thu, 17 May 2001 22:48:41 +0000 (22:48 +0000)]
* gcc_update (touch_files): Use simpler, yet as portable, syntax.
From-SVN: r42229
Mark Kettenis [Thu, 17 May 2001 22:43:07 +0000 (00:43 +0200)]
* dwarf2out.c (modified_type_die): Equate qualified type to die.
From-SVN: r42227
Alexandre Oliva [Thu, 17 May 2001 22:38:13 +0000 (22:38 +0000)]
configure.target (ATOMICITYH): Don't use AIX 4.3-specific code on earlier versions of AIX.
* configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
on earlier versions of AIX.
From-SVN: r42225
Jan Hubicka [Thu, 17 May 2001 21:21:21 +0000 (23:21 +0200)]
integrate.c (copy_rtx_and_substitute): Use simplify_gen_subreg.
* integrate.c (copy_rtx_and_substitute): Use simplify_gen_subreg.
(simplify_subreg): Handle complex types represented as CONCAT.
* recog.c (validate_replace_rtx_1): Properly canonicalize expression
* rtl.h (swap_commutative_operands_p): Declare.
* rtlanal.c (swap_commutative_operands_p): New.
(operand_preference): New static function.
* combine.c (combine_simplify_rtx): Use swap_commutative_operands_p.
(gen_binary): Likewise.
* optabs.c (emit_cmp_and_jump_insns, emit_conditional_move): Likewise.
* simplify-rtx.c (simplify_gen_binary,
simplify_gen_relational): Likewise.
From-SVN: r42224
Jan Hubicka [Thu, 17 May 2001 18:46:58 +0000 (20:46 +0200)]
cse.c (fold_rtx): Use simplify_subreg.
* cse.c (fold_rtx): Use simplify_subreg.
* simplify-rtx.c (simplify_replace_rtx): Use simplify_gen_subreg.
(simplify_gen_subreg): New.
(simplify_rtx): Use simplify_subreg.
* rtl.h (simplify_gen_subreg): Declare.
From-SVN: r42221
Mark Mitchell [Thu, 17 May 2001 18:14:47 +0000 (18:14 +0000)]
* doc/install.texi: Update Solaris information.
From-SVN: r42219
Mark Mitchell [Thu, 17 May 2001 18:12:27 +0000 (18:12 +0000)]
except.h (protect_cleanup_actions): Remove it.
* except.h (protect_cleanup_actions): Remove it.
(lang_protect_cleanup_actions): Declare it.
* except.c (protect_cleanup_actions): Remove it.
(lang_protect_cleanup_actions): New variable.
(init_eh): Don't make protect_cleanup_actions a GC root.
(expand_eh_region_and_cleanup): Call
lang_protect_cleanup_actions.
(output_function_exception_table): Remove unused `align'
variable.
* varasm.c (assemble_external): Abort if we have not yet
opened the assembly output file.
* except.c (cp_protect_cleanup_actions): New function.
(init_exception_processing): Don't set protect_cleanup_actions
here. Do set lang_protect_cleanup_actions.
From-SVN: r42218
Jeffrey A Law [Thu, 17 May 2001 17:53:52 +0000 (17:53 +0000)]
except.c (sjlj_emit_function_enter): Call assemble_external_libcall for eh_personality_libfunc.
* except.c (sjlj_emit_function_enter): Call assemble_external_libcall
for eh_personality_libfunc.
From-SVN: r42216
Jan Hubicka [Thu, 17 May 2001 17:49:34 +0000 (19:49 +0200)]
recog.c (validate_replace_rtx_1): Use "TO" mode if not VOIDmode when calling simplify_subreg.
* recog.c (validate_replace_rtx_1): Use "TO" mode if not VOIDmode
when calling simplify_subreg. This is needed to allow replacing
of expression of one mode by expression of different mode.
From-SVN: r42214
Jeffrey D. Oldham [Thu, 17 May 2001 17:44:55 +0000 (17:44 +0000)]
debug9.C: New test.
2001-05-17 Jeffrey D. Oldham <oldham@codesourcery.com>
* g++.old-deja/g++.other/debug9.C: New test.
From-SVN: r42213
Jan Hubicka [Thu, 17 May 2001 17:40:48 +0000 (19:40 +0200)]
* simplify-rtx.c (simplify_subreg): Avoid creating of incorrect subregs.
From-SVN: r42212
Per Bothner [Thu, 17 May 2001 17:04:08 +0000 (10:04 -0700)]
* Makefile.am (ZIP): The "fastjar" binary is now plain "jar".
From-SVN: r42207
Bernd Schmidt [Thu, 17 May 2001 17:02:35 +0000 (17:02 +0000)]
Fix queueing related bugs
From-SVN: r42206
Per Bothner [Thu, 17 May 2001 17:02:03 +0000 (10:02 -0700)]
* Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
From-SVN: r42205
Jan Hubicka [Thu, 17 May 2001 16:18:26 +0000 (18:18 +0200)]
* simplify_rtx.c (simplify_subreg): Fix simplification of nested subregs.
From-SVN: r42202
Gerald Pfeifer [Thu, 17 May 2001 15:19:53 +0000 (17:19 +0200)]
* gccbug.in (CATEGORIES): Add "bootstrap".
From-SVN: r42201
Jan Hubicka [Thu, 17 May 2001 15:00:35 +0000 (17:00 +0200)]
simplify-rtx.c (simplify_subreg): Break out from ...
* simplify-rtx.c (simplify_subreg): Break out from ...
* combine.c (combine_splify_rtx) ... here and ...
* recog.c (validate_replace_rtx_1): ... here;
* rtl.h (subreg_lowpart_parts_p, simplify_subreg): Declare.
* emit-rtl.c (subreg_lowpart_parts_p): Break out from ...
(subreg_lowpart_p): ... here.
From-SVN: r42199
Bernd Schmidt [Thu, 17 May 2001 12:38:47 +0000 (12:38 +0000)]
Correctly count substitutions if eliminations are going on.
From-SVN: r42198
Bernd Schmidt [Thu, 17 May 2001 11:26:04 +0000 (11:26 +0000)]
Fix c/2728
From-SVN: r42195
Gerald Pfeifer [Thu, 17 May 2001 11:21:53 +0000 (13:21 +0200)]
gcc.texi (gccbug): Refer to the web pages for detailed information on GNATS.
* gcc.texi (gccbug): Refer to the web pages for detailed information
on GNATS.
From-SVN: r42194
Andreas Jaeger [Thu, 17 May 2001 08:47:10 +0000 (10:47 +0200)]
Makefile.in: Add rules to rebuild config.h.in when needed.
* libI77/Makefile.in: Add rules to rebuild config.h.in when
needed.
From-SVN: r42191
GCC Administrator [Thu, 17 May 2001 07:16:19 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42189
Zack Weinberg [Thu, 17 May 2001 03:16:18 +0000 (03:16 +0000)]
i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file.
* testsuite/gcc.dg/complete-port.c: New (revised version of
libgcc1-test.c)
* po/POTFILES.in: Remove libgcc1-test.c and libgcc1.c.
* Makefile.in: Delete variables: OLDCC, CCLIBFLAGS, OLDAR,
OLDAR_FLAGS, LIBGCC1, LIBGCC1_TEST, CROSS_LIBGCC1,
LIB1FUNCS, and LIB1FUNCS_EXTRA. Delete rules: libgcc1-test,
libgcc1-test.o. Clarify commentary now that libgcc1 no longer exists.
* cross-make: Don't set LIBGCC1.
* mklibgcc.in: Delete all code for building from libgcc1.c.
Always honor LIB1ASMFUNCS if set.
* crtstuff.c, floatlib.c, longlong.h, config/fp-bit.c,
config/arc/lib1funcs.asm, config/arm/lib1funcs.asm,
config/d30v/libgcc1.asm, config/fr30/lib1funcs.asm,
config/h8300/lib1funcs.asm, config/i386/cygwin.asm,
config/i386/uwin.asm, config/m68hc11/larith.asm,
config/m68k/lb1sf68.asm, config/mcore/lib1.asm,
config/mn10200/lib1funcs.asm, config/sh/lib1funcs.asm,
config/sparc/lb1spc.asm, config/sparc/lb1spl.asm,
config/v850/lib1funcs.asm, config/c4x/libgcc.S:
Delete or update references to libgcc1 in commentary.
* config/t-libc-ok, config/t-linux, config/t-linux-aout,
config/t-netbsd, config/a29k/t-a29kbare, config/a29k/t-vx29k,
config/alpha/t-interix, config/alpha/t-osf, config/alpha/t-vms,
config/arc/t-arc, config/arm/t-arm-aout, config/arm/t-arm-coff,
config/arm/t-arm-elf, config/arm/t-linux, config/arm/t-pe,
config/arm/t-semi, config/arm/t-strongarm-coff,
config/arm/t-strongarm-elf, config/arm/t-strongarm-pe,
config/arm/t-xscale-coff, config/arm/t-xscale-elf, config/avr/t-avr,
config/c4x/t-c4x, config/d30v/t-d30v, config/fr30/t-fr30,
config/h8300/t-h8300, config/i386/t-beos, config/i386/t-cygwin,
config/i386/t-i386elf, config/i386/t-interix, config/i386/t-netware,
config/i386/t-next, config/i386/t-rtems-i386, config/i386/t-sol2,
config/i960/t-960bare, config/i960/t-vxworks960, config/ia64/t-ia64,
config/m32r/t-m32r, config/m68hc11/t-m68hc11-gas, config/m68k/t-lynx,
config/m68k/t-m68kbare, config/m68k/t-m68kelf,
config/m68k/t-mot3300-gald, config/m68k/t-mot3300-gas,
config/m68k/t-next, config/m68k/t-vxworks68, config/m88k/t-bug,
config/m88k/t-dgux, config/m88k/t-dgux-gas, config/m88k/t-dguxbcs,
config/m88k/t-luna, config/m88k/t-luna-gas, config/m88k/t-m88k,
config/m88k/t-m88k-gas, config/m88k/t-sysv4, config/mcore/t-mcore,
config/mcore/t-mcore-pe, config/mips/t-bsd, config/mips/t-bsd-gas,
config/mips/t-cross64, config/mips/t-ecoff, config/mips/t-elf,
config/mips/t-iris6, config/mips/t-r3900, config/mips/t-svr3,
config/mips/t-svr3-gas, config/mips/t-svr4, config/mips/t-svr4-gas,
config/mips/t-ultrix, config/mn10200/t-mn10200,
config/mn10300/t-mn10300, config/pa/t-linux, config/pa/t-linux64,
config/pa/t-pa, config/pa/t-pa64, config/pa/t-pro,
config/pdp11/t-pdp11, config/pj/t-pj, config/rs6000/t-aix43,
config/rs6000/t-beos, config/rs6000/t-darwin, config/rs6000/t-newas,
config/rs6000/t-ppccomm, config/rs6000/t-rs6000, config/sh/t-linux,
config/sh/t-sh, config/sparc/t-chorus-elf, config/sparc/t-elf,
config/sparc/t-sol2, config/sparc/t-sp86x, config/sparc/t-sparcbare,
config/sparc/t-sparclite, config/sparc/t-splet,
config/sparc/t-sunos41, config/sparc/t-vxsparc,
config/sparc/t-vxsparc64, config/v850/t-v850:
Don't set any of LIBGCC1, CROSS_LIBGCC1, or LIBGCC1_TEST.
* config/alpha/alpha.h, config/i386/i386.h, config/i860/i860.h:
Don't set FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, INTIFY, or FLOATIFY.
* config/d30v/d30v.h: Don't mention LIBGCC_NEEDS_DOUBLE,
FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, FLOATIFY, INTIFY,
nongcc_SI_type, nongcc_word_type, or perform_*
* config/i860/fx2800: Don't define perform_umodsi3 or perform_modsi3.
* config/i386/386bsd.h, config/i386/beos-elf.h,
config/i386/linux-aout.h, config/i386/linux-oldld.h,
config/i386/linux.h, config/i386/mach.h, config/i386/netbsd.h,
config/i386/openbsd.h, config/i386/osfrose.h, config/i386/rtemself.h:
Don't include i386/perform.h.
* config/a29k/t-a29k, config/arm/t-semiaof, config/i370/t-i370,
config/i370/t-linux, config/i370/t-mvs, config/i370/t-oe,
config/i386/t-djgpp, config/i386/t-i386bare, config/i386/t-vsta,
config/ia64/t-hpux, config/mips/t-mips, config/mips/t-mips-gas,
config/mips/t-osfrose, config/sparc/t-sp64, config/sparc/t-sunos40,
config/vax/t-openbsd, config/vax/t-vax: Delete.
* config.gcc: Remove references to deleted files.
(arm-semi-aof): Use arm/t-semi for tmake_file.
* gcc.texi, install.texi, invoke.texi, tm.texi:
Delete or rewrite text which is no longer relevant now that
libgcc1 no longer exists.
* config/t-openbsd, config/alpha/t-interix, config/i386/t-interix:
No need to set INSTALL_ASSERT_H. (Missed in previous sweep.)
From-SVN: r42188
Wolfgang Bangerth [Thu, 17 May 2001 01:27:32 +0000 (01:27 +0000)]
fix broken mutex initializer
Co-Authored-By: Bruce Korb <bkorb@gnu.org>
From-SVN: r42185
Zack Weinberg [Thu, 17 May 2001 00:53:25 +0000 (00:53 +0000)]
i386.md: Add two peepholes to clean up code generated by cmpstr* expanders.
* i386.md: Add two peepholes to clean up code generated by
cmpstr* expanders.
From-SVN: r42183
Richard Henderson [Wed, 16 May 2001 22:53:51 +0000 (15:53 -0700)]
libgcc-std.ver (_Unwind_Find_FDE, [...]): Export.
* libgcc-std.ver (_Unwind_Find_FDE, __register_frame_info_bases,
__register_frame_info_table_bases): Export.
From-SVN: r42181
Richard Henderson [Wed, 16 May 2001 22:50:16 +0000 (15:50 -0700)]
* config/i386/i386.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
From-SVN: r42180
Richard Henderson [Wed, 16 May 2001 22:45:22 +0000 (15:45 -0700)]
dwarf2asm.c (eh_data_format_name): Add names for "pointer size" variants of non-absolute encodings.
* dwarf2asm.c (eh_data_format_name): Add names for "pointer size"
variants of non-absolute encodings.
From-SVN: r42178
Richard Henderson [Wed, 16 May 2001 22:42:36 +0000 (15:42 -0700)]
except.c (eh_data_format_name): Move to ...
* except.c (eh_data_format_name): Move to ...
* dwarf2asm.c: ... here. Use designated initializers if available.
(dw2_asm_output_encoded_addr_rtx): Accept varargs commentary.
* dwarf2asm.h: Update declarations.
* dwarf2out.c (output_cfi) [DW_CFA_set_loc]: If for_eh, mind
ASM_PREFERRED_EH_DATA_FORMAT.
(output_call_frame_info): Likewise. Use 'L' augmentation for
the LSDA encoding.
* unwind-dw2-fde.h (struct fde_vector): New.
(struct old_object): Rename from struct object.
(struct object): New.
(__register_frame_info_bases): Declare.
(__register_frame_info_table_bases): Declare.
(struct dwarf_fde): Remove explicit pc_begin/pc_range members.
* unwind-dw2-fde.c (objects): Remove.
(unseen_objects, seen_objects): New.
(__register_frame_info_bases): New.
(__register_frame_info): Use it.
(__register_frame_info_table_bases): New.
(__register_frame_info_table): Use it.
(__deregister_frame_info): Rewrite for changed object struct.
(base_from_object, get_cie_encoding, get_fde_encoding): New.
(fde_unencoded_compare): Rename from fde_compare; uninline.
(fde_single_encoding_compare, fde_mixed_encoding_compare): New.
(start_fde_sort): Adjust for new definition of fde_vector.
(fde_insert): Likewise.
(end_fde_sort): Likewise. Select comparison function based
on properties of the object.
(fde_split): Take object and fde_compare_t arguments.
(frame_heapsort, fde_merge): Likewise.
(classify_object_over_fdes): Rename from count_fdes. Handle
encoded pointers. Collect encoding, mixed_encoding, and pc_begin
for the object.
(add_fdes): Handle encoded pointers.
(init_object): Rename from frame_init. Update for new struct object.
(linear_search_fdes): Rename from search_fdes. Handle encoded
pointers.
(binary_search_unencoded_fdes): Broken out from _Unwind_Find_FDE.
(binary_search_single_encoding_fdes): New.
(binary_search_mixed_encoding_fdes): New.
(search_object): New.
(_Unwind_Find_FDE): Update for new struct object. Fill in
the dwarf_eh_bases.
* unwind-dw2.c: Include unwind-pe.h. Constify all pointers
iterating over EH data.
(_Unwind_FrameState): Remove saw_lsda, addr_encoding. Add
fde_encoding, lsda_encoding.
(read_uleb128, read_sleb128): Remove.
(read_encoded_pointer): Remove. All callers use read_encoded_value.
(extract_cie_info): Set lsda_encoding from 'L' augmentation.
(uw_frame_state_for): Don't set bases.func. Handle encoded fde
pointers.
* unwind-pe.h: Add "struct" to _Unwind_Context references.
From-SVN: r42176
Jeff Knaggs [Wed, 16 May 2001 22:26:01 +0000 (22:26 +0000)]
MAINTAINERS (write after permission): Per Jeff Law, added self.
2001-05-16 Jeff Knaggs <jknaggs@redhat.com>
* MAINTAINERS (write after permission): Per Jeff Law, added self.
From-SVN: r42175
Neil Booth [Wed, 16 May 2001 22:02:09 +0000 (22:02 +0000)]
cppexp.c (lex): Use NODE_NAME and NODE_LEN.
* cppexp.c (lex): Use NODE_NAME and NODE_LEN.
* cpphash.c (_cpp_lookup_with_hash): Similarly.
* cpplex.c (cpp_ideq, parse_identifier, cpp_token_len,
cpp_spell_token, cpp_output_token): Similarly.
* cpplib.c (lex_macro_node, do_undef, do_pragma,
do_pragma_poison, parse_assertion, do_assert): Similarly.
* cppmacro.c (builtin_macro, parse_args, funlike_invocation_p,
save_parameter, _cpp_create_definition, check_trad_stringification,
cpp_macro_definition): Similarly.
* cppmain.c (cb_define, cb_undef, dump_macro): Similarly.
* c-lex.c (cb_undef, c_lex): Similarly.
* fix-header.c (recognized_function): Similarly.
* cpplib.h (NODE_LEN, NODE_NAME): New.
(cpp_hashnode): Rename length len.
From-SVN: r42174
Neil Booth [Wed, 16 May 2001 21:55:14 +0000 (21:55 +0000)]
* cpplib.h: Undo mistaken commit.
From-SVN: r42173
Neil Booth [Wed, 16 May 2001 21:50:27 +0000 (21:50 +0000)]
cppexp.c (lex): Use NODE_NAME and NODE_LEN.
* cppexp.c (lex): Use NODE_NAME and NODE_LEN.
* cpphash.c (_cpp_lookup_with_hash): Similarly.
* cpplex.c (cpp_ideq, parse_identifier, cpp_token_len,
cpp_spell_token, cpp_output_token): Similarly.
* cpplib.c (lex_macro_node, do_undef, do_pragma,
do_pragma_poison, parse_assertion, do_assert): Similarly.
* cppmacro.c (builtin_macro, parse_args, funlike_invocation_p,
save_parameter, _cpp_create_definition, check_trad_stringification,
cpp_macro_definition): Similarly.
* cppmain.c (cb_define, cb_undef, dump_macro): Similarly.
* c-lex.c (cb_undef, c_lex): Similarly.
* fix-header.c (recognized_function): Similarly.
* cpplib.h (NODE_LEN, NODE_NAME): New.
(cpp_hashnode): Rename length len.
From-SVN: r42172
Matt Kraai [Wed, 16 May 2001 21:00:55 +0000 (21:00 +0000)]
* partition.h: Fix misspelling of `implementation'.
From-SVN: r42171
Matt Kraai [Wed, 16 May 2001 20:44:03 +0000 (20:44 +0000)]
* partition.c: Fix misspelling of `implementation'.
From-SVN: r42170
Jeffrey A Law [Wed, 16 May 2001 19:39:26 +0000 (19:39 +0000)]
pa32-regs.h (HARD_REGNO_MODE_OK): Allow TI/TFmode values in GPRs.
* pa32-regs.h (HARD_REGNO_MODE_OK): Allow TI/TFmode values in
GPRs.
From-SVN: r42169
Andreas Jaeger [Wed, 16 May 2001 19:05:50 +0000 (21:05 +0200)]
Makefile.in (toplev.o): Add dependency on dwarf2asm.h.
* Makefile.in (toplev.o): Add dependency on dwarf2asm.h.
* toplev.c: Include dwarf2asm.h for prototype of
dw2_output_indirect_constants.
From-SVN: r42165
Andreas Jaeger [Wed, 16 May 2001 18:59:29 +0000 (20:59 +0200)]
backspace.c: Include "config.h".
* libI77/backspace.c: Include "config.h".
* libI77/close.c: Likewise.
* libI77/dfe.c: Likewise.
* libI77/dolio.c: Likewise.
* libI77/due.c: Likewise.
* libI77/err.c: Likewise.
* libI77/fmt.c: Likewise.
* libI77/fmtlib.c: Likewise.
* libI77/ftell_.c: Likewise.
* libI77/ilnw.c: Likewise.
* libI77/lread.c: Likewise.
* libI77/open.c: Likewise.
* libI77/rdfmt.c: Likewise.
* libI77/rsfe.c: Likewise.
* libI77/rsne.c: Likewise.
* libI77/util.c: Likewise.
* libI77/wrtfmt.c: Likewise.
* libI77/wsne.c: Likewise.
* libI77/xwsne.c: Likewise.
* libI77/config.h.in: Generate with autoheader.
* libI77/configure.in: Add comments for all AC_DEFINES so that
autoheader can grok it.
* libI77/configure: Regenerated.
From-SVN: r42162
Jan Hubicka [Wed, 16 May 2001 18:35:08 +0000 (20:35 +0200)]
* gcc.c-torture/compile/
20010516-1.c: New test.
From-SVN: r42161
Jan Hubicka [Wed, 16 May 2001 17:58:10 +0000 (19:58 +0200)]
re PR rtl-optimization/185 (Internal compiler error in `fixup_var_refs_1', at function.c:207)
* stmt.c (expand_asm_operands): Be able to offload addressof
expression to memory. (PR optimization/185)
From-SVN: r42160
Jan Hubicka [Wed, 16 May 2001 16:54:12 +0000 (18:54 +0200)]
combine.c (combine_simplify_rtx): Set op0_mode to VOIDmode after applying distributive law.
* combine.c (combine_simplify_rtx): Set op0_mode to VOIDmode after
applying distributive law.
From-SVN: r42159
John David Anglin [Wed, 16 May 2001 16:08:41 +0000 (16:08 +0000)]
pa-hpux10.h (THREAD_MODEL_SPEC): Define.
* pa-hpux10.h (THREAD_MODEL_SPEC): Define.
* gthr-dce.h (UNUSED): Attribute unused macro.
(__gthread_key_dtor): Make arguments UNUSED.
(__gthread_key_delete): Revise for compatibility with DRAFT4
implementation.
From-SVN: r42157
Tom Tromey [Wed, 16 May 2001 15:34:46 +0000 (15:34 +0000)]
SimpleDateFormat.java (parse): Handle non-dst time zones.
* java/text/SimpleDateFormat.java (parse): Handle non-dst time
zones.
From-SVN: r42156
David Edelsohn [Wed, 16 May 2001 14:57:06 +0000 (14:57 +0000)]
install.texi: Update AIX information.
* doc/install.texi: Update AIX information.
* README.RS6000: Remove obsolete file.
From-SVN: r42154
Nathan Sidwell [Wed, 16 May 2001 13:53:43 +0000 (13:53 +0000)]
Revert XFAIL removal.
From-SVN: r42153
Jakub Jelinek [Wed, 16 May 2001 12:23:30 +0000 (14:23 +0200)]
gcc.c (give_switch): Don't write before start of string.
* gcc.c (give_switch): Don't write before start of string.
Always append suffix.
Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
From-SVN: r42152
Andreas Jaeger [Wed, 16 May 2001 10:26:52 +0000 (12:26 +0200)]
Makefile.in (endfile.o): Add dependency on config.h.
* libI77/Makefile.in (endfile.o): Add dependency on config.h.
* libI77/endfile.c: Include config.h and sys/types for off_t.
* libI77/config.h.in: New file.
* libI77/configure.in: Add test for off_t, create config.h file.
* libI77/configure: Regenerated.
From-SVN: r42148
Nathan Sidwell [Wed, 16 May 2001 09:38:47 +0000 (09:38 +0000)]
cpplex.c (_cpp_lex_token, '/' case): Comments can't appear after stage3.
* cpplex.c (_cpp_lex_token, '/' case): Comments can't appear
after stage3.
From-SVN: r42144
Nathan Sidwell [Wed, 16 May 2001 09:37:21 +0000 (09:37 +0000)]
spew.c (read_token): Call yyerror on all unexpected tokens.
cp:
* spew.c (read_token): Call yyerror on all unexpected tokens.
testsuite:
* g++.old-deja/g++.other/crash41.C: New test.
From-SVN: r42143
Nathan Sidwell [Wed, 16 May 2001 09:34:24 +0000 (09:34 +0000)]
init.c (member_init_ok_or_else): Take a tree rather than string for name.
cp:
* init.c (member_init_ok_or_else): Take a tree rather than
string for name.
(expand_member_init): Adjust.
testsuite:
* g++.pt/inherit2.C: Remove XFAIL.
* g++.pt/crash66.C: New test.
From-SVN: r42142
GCC Administrator [Wed, 16 May 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42139
Gerald Pfeifer [Wed, 16 May 2001 06:44:48 +0000 (08:44 +0200)]
README.ALTOS: Remove obsolete file.
2001-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* README.ALTOS: Remove obsolete file.
From-SVN: r42137
Neil Booth [Wed, 16 May 2001 06:42:06 +0000 (06:42 +0000)]
c-lex.h (save_and_forget_protocol_qualifiers, [...]): Remove deleted functions' prototypes.
* c-lex.h (save_and_forget_protocol_qualifiers,
forget_protocol_qualifiers, remember_protocol_qualifiers):
Remove deleted functions' prototypes.
From-SVN: r42135
Jeff Sturm [Wed, 16 May 2001 06:41:10 +0000 (06:41 +0000)]
expr.c (build_class_init): Move MODIFY_EXPR outside of COND_EXPR.
2000-05-02 Jeff Sturm <jsturm@one-point.com>
* expr.c (build_class_init): Move MODIFY_EXPR
outside of COND_EXPR. Remove variable `call'.
From-SVN: r42134
Neil Booth [Wed, 16 May 2001 06:34:34 +0000 (06:34 +0000)]
c-parse.in (methodtype): New production.
* c-parse.in (methodtype): New production.
(methoddef, methodproto): Collapse separate '-' and '+'
handlers into 1.
From-SVN: r42133
Neil Booth [Wed, 16 May 2001 06:22:15 +0000 (06:22 +0000)]
c-common.h (RID_FIRST_PQ): New.
* c-common.h (RID_FIRST_PQ): New.
* c-parse.in (objc_pq_context): New.
(objc parser): Set objc_pq_context rather than calling
remember_protocol_qualifiers and forget_protocol_qualifiers.
Don't call save_and_forget_protocol_qualifiers.
(yylexname): Handle objc protocol qualifiers here.
* stringpool.c (struct str_header): Replace with sp_hashnode.
(SP_EMPTY, SP_LEN, SP_TREE, SP_STR, SP_VALID): New.
(alloc_string): Rename alloc_ident. Use the SP_ accessors.
Allocate an IDENTIFIER_NODE for each identifier.
(FORALL_STRINGS, set_identifier): Delete.
(FORALL_IDS, expand_string_table, stringpool_statistics): Update.
(ggc_alloc_string): Use an obstack.
(get_identifier, maybe_get_identifier, mark_string_hash): Update.
* tree.h: Update comments.
(set_identifier): Delete.
* objc/objc-act.c (N_PQ, saved_pq, saved_not_pq,
save_and_forget_protocol_qualifiers, forget_protocol_qualifiers,
remember_protocol_qualifiers): Delete.
From-SVN: r42132
Jeffrey A Law [Wed, 16 May 2001 04:12:33 +0000 (04:12 +0000)]
flow.c (life_analysis): After life analysis is complete...
* flow.c (life_analysis): After life analysis is complete, do
an optional scan over insns looking for REG_LABEL notes that
reference a deleted label.
(propagate_block_delete_insn): Verify INOTE is a CODE_LABEL
before peeking at LABEL_NUSES.
From-SVN: r42131
Richard Henderson [Wed, 16 May 2001 03:08:28 +0000 (20:08 -0700)]
unwind-sjlj.c (_Unwind_GetDataRelBase): New.
* unwind-sjlj.c (_Unwind_GetDataRelBase): New.
(_Unwind_GetTextRelBase): New.
From-SVN: r42129
Benjamin Kosnik [Wed, 16 May 2001 02:03:30 +0000 (02:03 +0000)]
001-05-15 Benjamin Kosnik <bkoz@redhat.com>
* testsuite_flags.in (query): Add backwards, ext directories.
From-SVN: r42127
Benjamin Kosnik [Wed, 16 May 2001 01:59:01 +0000 (01:59 +0000)]
eb27.C: Convert.
2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
* g++.old-deja/g++.robertl/eb27.C: Convert.
From-SVN: r42126
Mark Mitchell [Wed, 16 May 2001 01:11:20 +0000 (01:11 +0000)]
sol2.h (CPLUSPLUS_CPP_SPEC): Define.
* config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
* porting.texi: Correct documentation about handling
_LARRGEFILE_SOURCE and its ilk.
* config/os/solaris/solaris2.5/bits/os_defines.h: Remove
definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
__EXTENSIONS__.
* config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
* config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
From-SVN: r42125
Tom Tromey [Tue, 15 May 2001 21:44:24 +0000 (21:44 +0000)]
GregorianCalendar.java (computeTime): Only call getTimeZone() once.
* java/util/GregorianCalendar.java (computeTime): Only call
getTimeZone() once.
From-SVN: r42121
Loren J. Rittle [Tue, 15 May 2001 21:24:41 +0000 (21:24 +0000)]
endfile.c (t_runc): Add cast to help case where ftruncate() prototype is somehow missing even...
* libI77/endfile.c (t_runc): Add cast to help case where
ftruncate() prototype is somehow missing even though autoconf
test found it properly.
From-SVN: r42120
Zack Weinberg [Tue, 15 May 2001 20:46:50 +0000 (20:46 +0000)]
inserters_extractors.cc, [...]: Replace multi-line string constants with C89-style concatenated string constants.
2001-05-15 Zack Weinberg <zackw@stanford.edu>
* testsuite/21_strings/inserters_extractors.cc,
testsuite/27_io/istream_unformatted.cc,
testsuite/27_io/stringstream.cc:
Replace multi-line string constants with C89-style
concatenated string constants.
From-SVN: r42116
Geoffrey Keating [Tue, 15 May 2001 19:54:53 +0000 (19:54 +0000)]
objc-act.c (handle_class_ref): Use rest_of_decl_compilation so that CHOOSE_SECTION gets used.
* objc/objc-act.c (handle_class_ref): Use rest_of_decl_compilation
so that CHOOSE_SECTION gets used.
From-SVN: r42114
Geoffrey Keating [Tue, 15 May 2001 19:50:49 +0000 (19:50 +0000)]
sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat TARGET_RELOCATABLE like flag_pic for now.
* config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat
TARGET_RELOCATABLE like flag_pic for now.
From-SVN: r42113
David Edelsohn [Tue, 15 May 2001 19:29:44 +0000 (15:29 -0400)]
fix typo
From-SVN: r42112
David Edelsohn [Tue, 15 May 2001 19:27:13 +0000 (19:27 +0000)]
rs6000.md (movdi splitter): Sign extend more efficiently.
* rs6000.md (movdi splitter): Sign extend more efficiently.
* rs6000.c (reg_or_arith_cint_operand): Redefine 64-bit constant
to "long long" valid on 32-bit and 64-bit hosts.
(logical_operand): Cast trunc_int_for_mode rturn value.
(rs6000_emit_move): Shift macro to encapsulate variable.
(rs6000_va_start): Use HOST_WIDE_INT_PRINT_DEC.
(rs6000_emit_{prologue,epilogue}): EH regno is unsigned but
plus_constant requires signed argument.
From-SVN: r42111
Tom Tromey [Tue, 15 May 2001 18:20:57 +0000 (18:20 +0000)]
class.c (build_utf8_ref): Don't generate identifier based on utf8const contents.
* class.c (build_utf8_ref): Don't generate identifier based on
utf8const contents.
From-SVN: r42110
Loren J. Rittle [Tue, 15 May 2001 16:29:06 +0000 (16:29 +0000)]
* gthr-posix.h: Make additional pthread-* functions weak.
From-SVN: r42107
Jan Hubicka [Tue, 15 May 2001 11:55:42 +0000 (13:55 +0200)]
* recog.c (apply_change_group): Avoid unneeded validating.
From-SVN: r42106
Nick Clifton [Tue, 15 May 2001 07:55:53 +0000 (07:55 +0000)]
Add new test - do not warn about (non-)redundant friend declaration.
From-SVN: r42105
Nick Clifton [Tue, 15 May 2001 07:39:52 +0000 (07:39 +0000)]
Move ChangeLog entry to correct file
From-SVN: r42104
GCC Administrator [Tue, 15 May 2001 07:16:42 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42103
Loren J. Rittle [Tue, 15 May 2001 04:58:07 +0000 (04:58 +0000)]
* gcc_update (touch_files): Enhance make portability.
From-SVN: r42100
David Edelsohn [Tue, 15 May 2001 04:26:33 +0000 (04:26 +0000)]
rs6000.c (num_insns_constant_wide): Constants are sign-extended.
* rs6000.c (num_insns_constant_wide): Constants are sign-extended.
(num_insns_constant): CONST_INT can be 64-bits.
From-SVN: r42099
Mark Mitchell (admin) [Tue, 15 May 2001 02:45:32 +0000 (04:45 +0200)]
* gcc.dg/ultrasp2.c: Don't run it with -m64 on sparc-*-*.
From-SVN: r42098
Stan Shebs [Tue, 15 May 2001 02:17:14 +0000 (02:17 +0000)]
darwin.h (LIB_SPEC): Just use -lSystem.
* config/darwin.h (LIB_SPEC): Just use -lSystem.
(LIBGCC_SPEC): Don't define.
From-SVN: r42094
Richard Henderson [Tue, 15 May 2001 01:45:10 +0000 (18:45 -0700)]
configure.in (gcc_cv_as_eh_frame): New test.
* configure.in (gcc_cv_as_eh_frame): New test.
* config.in, configure: Rebuild.
* gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.
From-SVN: r42092
Alexandre Oliva [Mon, 14 May 2001 19:57:52 +0000 (19:57 +0000)]
* gcc_update (touch_files): Use a Makefile to touch files.
From-SVN: r42088
Andrew MacLeod [Mon, 14 May 2001 17:47:07 +0000 (17:47 +0000)]
lib1funcs.asm (__divtf3): Fix incorrect bits in extended precision divide.
2001-05-14 Andrew MacLeod <amacleod@redhat.com>
* config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
extended precision divide.
From-SVN: r42079
Andrew MacLeod [Mon, 14 May 2001 17:44:56 +0000 (17:44 +0000)]
ia64.c (rtx_needs_barrier): Call rtx_needs_barrier for RETURNS as well.
2001-05-14 Andrew MacLeod <amacleod@redhat.com>
* config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
for RETURNS as well.
From-SVN: r42077
Tom Tromey [Mon, 14 May 2001 17:40:29 +0000 (17:40 +0000)]
SimpleDateFormat.java (parse): Clear DST_OFFSET and ZONE_OFFSET just before computing the time.
* java/text/SimpleDateFormat.java (parse): Clear DST_OFFSET and
ZONE_OFFSET just before computing the time.
From-SVN: r42076