Neil Booth [Wed, 23 May 2001 22:50:28 +0000 (22:50 +0000)]
cpp.texi: Update for handling of charconsts.
* cpp.texi: Update for handling of charconsts.
* cpplex.c (maybe_read_ucs): Don't accept D800-DFFF. Update
diagnostics. Skip to the end if the UCS is too short.
(cpp_interpret_charconst): Long charconsts issue a warning
not an error.
* gcc.dg/cpp/charconst.c: New tests.
* gcc.dg/cpp/escape.c: New tests.
* gcc.dg/cpp/escape-1.c: New tests.
* gcc.dg/cpp/escape-2.c: New tests.
* gcc.dg/cpp/ucs.c: New tests.
From-SVN: r42514
Richard Henderson [Wed, 23 May 2001 21:33:30 +0000 (14:33 -0700)]
* doc/install.texi (alpha-linux): Require binutils 2.11.
From-SVN: r42513
David Billinghurst [Wed, 23 May 2001 19:53:00 +0000 (19:53 +0000)]
linkage.exp: Pass appropriate flags to native compiler for irix6.5.
* gcc.misc-tests/linkage.exp: Pass appropriate flags to
native compiler for irix6.5.
From-SVN: r42511
Neil Booth [Wed, 23 May 2001 19:05:37 +0000 (19:05 +0000)]
c-lex.c (read_escape, read_ucs): Delete.
* c-lex.c (read_escape, read_ucs): Delete.
(lex_string): Use cpp_parse_escape.
* cpplex.c (read_ucs): Rename maybe_read_ucs. Do nothing
if not C++ or not C99. Warn if traditional.
(parse_escape): Rename cpp_parse_escape. Make the bitmask
unsigned. Warn for out-of-range escape sequences here.
Update to use maybe_read_ucs.
(cpp_interpret_charconst): Don't warn here.
* cpplib.h (cpp_parse_escape): New exported function.
From-SVN: r42509
Joseph Myers [Wed, 23 May 2001 18:44:13 +0000 (19:44 +0100)]
extend.texi (Attribute Syntax): Clarify application of attributes to parameters declared as functions or arrays.
* extend.texi (Attribute Syntax): Clarify application of
attributes to parameters declared as functions or arrays.
From-SVN: r42507
Joseph Myers [Wed, 23 May 2001 18:10:30 +0000 (19:10 +0100)]
jv-scan.c (version): Update copyright year.
gcc/java:
* jv-scan.c (version): Update copyright year.
libjava:
* gij.cc (version): Update copyright year.
From-SVN: r42505
Jason Merrill [Wed, 23 May 2001 17:37:50 +0000 (13:37 -0400)]
* dbxout.c (dbxout_type_methods): Do still group methods by name.
From-SVN: r42504
Anthony Green [Wed, 23 May 2001 17:24:49 +0000 (17:24 +0000)]
Fix typo applying previous patch.
From-SVN: r42503
Zack Weinberg [Wed, 23 May 2001 17:22:19 +0000 (17:22 +0000)]
POTFILES.in: Remove config/rs6000/xm-darwin.h and config/pa/pa-gas.h.
* POTFILES.in: Remove config/rs6000/xm-darwin.h and
config/pa/pa-gas.h.
From-SVN: r42502
Anthony Green [Wed, 23 May 2001 17:19:40 +0000 (17:19 +0000)]
Missed hunk from old GCJ_FOR_TARGET patch.
From-SVN: r42501
Zack Weinberg [Wed, 23 May 2001 17:15:07 +0000 (17:15 +0000)]
diagnostic.c (vnotice): Kill.
2001-05-23 Zack Weinberg <zackw@stanford.edu>
* diagnostic.c (vnotice): Kill.
(fnotice): Call vfprintf directly.
(diagnostic_for_decl, output_do_verbatim, output_verbatim,
verbatim, set_diagnostic_context): Rename string argument to
indicate that it is run through gettext.
(vbuild_message_string, build_message_string, output_do_printf):
Rename string argument to indicate that it is NOT run through
gettext.
(output_printf, diagnostic_for_decl, fatal_io_error, sorry,
output_do_verbatim, set_diagnostic_context, fnotice, _fatal_insn):
Run msgid argument through gettext.
(default_print_error_function): Run constant strings through
gettext when nothing else will.
(fatal_error, internal_error, error_recursion): Use fnotice.
Present complete sentences to gettext.
From-SVN: r42498
Anthony Green [Wed, 23 May 2001 17:13:27 +0000 (17:13 +0000)]
Fix cross builds.
From-SVN: r42497
Jeffrey D. Oldham [Wed, 23 May 2001 16:15:03 +0000 (16:15 +0000)]
Wed May 23 2001 Jeffrey D. Oldham <oldham@codesourcery.com>
* lib/g++.exp (g++_include_flags): Use args to compute
get_multilibs.
(g++_link_flags): Likewise.
(g++_init): Pass TOOL_OPTIONS as arguments to two above functions.
From-SVN: r42495
Gerald Pfeifer [Wed, 23 May 2001 12:15:03 +0000 (14:15 +0200)]
* gcc_update (UPDATE_OPTIONS): Add -d to the default settings.
From-SVN: r42493
Mark Mitchell [Wed, 23 May 2001 07:56:45 +0000 (07:56 +0000)]
* jump.c (mark_jump_label): Fix thinko in 2001-05-19 change.
From-SVN: r42491
GCC Administrator [Wed, 23 May 2001 07:17:19 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r42490
Benjamin Kosnik [Wed, 23 May 2001 07:05:14 +0000 (07:05 +0000)]
libstdc++-v3-dg.exp (libstdc++-v3-init): Set ld_library_path.
2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2841
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
ld_library_path.
(libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
(libstdc++-v3-finish): Remove.
(libstdc++-v3_exit): Remove.
From-SVN: r42487
Richard Henderson [Wed, 23 May 2001 07:01:43 +0000 (00:01 -0700)]
function.c (expand_function_start): Always use a pseudo for the function result value.
* function.c (expand_function_start): Always use a pseudo
for the function result value.
From-SVN: r42486
Richard Henderson [Wed, 23 May 2001 06:54:21 +0000 (23:54 -0700)]
iris6.h (EH_FRAME_SECTION_ASM_OP): Give the section pointer alignment.
* config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the
section pointer alignment.
From-SVN: r42484
Richard Henderson [Wed, 23 May 2001 06:41:48 +0000 (23:41 -0700)]
* doc/install.texi (alpha-linux): Require binutils >= 2.10.
From-SVN: r42483
Mark Mitchell [Wed, 23 May 2001 02:14:51 +0000 (02:14 +0000)]
optimize.c (initialize_inlined_parameters): Don't set TREE_READONLY for a VAR_DECL taking the place of an inlined PARM_DECL.
* optimize.c (initialize_inlined_parameters): Don't set
TREE_READONLY for a VAR_DECL taking the place of an inlined
PARM_DECL.
From-SVN: r42480
Phil Edwards [Wed, 23 May 2001 02:00:05 +0000 (02:00 +0000)]
documentation.html: Point to doxygen output.
2001-05-22 Phil Edwards <pme@sources.redhat.com>
* docs/html/documentation.html: Point to doxygen output.
From-SVN: r42477
Richard Henderson [Wed, 23 May 2001 01:26:01 +0000 (18:26 -0700)]
unwind-dw2-fde.c (__deregister_frame_info): Stringize use of __USER_LABEL_PREFIX__.
* unwind-dw2-fde.c (__deregister_frame_info): Stringize use
of __USER_LABEL_PREFIX__.
From-SVN: r42475
Richard Henderson [Tue, 22 May 2001 23:01:33 +0000 (16:01 -0700)]
unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
* unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
(__deregister_frame_info_bases): New.
* unwind-dw2-fde.h: Declare it.
* libgcc-std.ver: Export it.
* crtstuff.c (__do_global_dtors_aux): Call it if we would have
called __register_frame_info_bases.
From-SVN: r42473
Toon Moene [Tue, 22 May 2001 21:43:33 +0000 (23:43 +0200)]
g77.texi: Update last-changed date.
2001-05-22 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.texi: Update last-changed date.
* news.texi: Update copyright years, last-changed date.
* bugs.texi: Update copyright years, last-changed date.
From-SVN: r42471
Loren J. Rittle [Tue, 22 May 2001 21:33:36 +0000 (21:33 +0000)]
freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair instead of #elif (which is OK for this case but not in general).
* config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
instead of #elif (which is OK for this case but not in general).
From-SVN: r42469
Toon Moene [Tue, 22 May 2001 20:32:16 +0000 (22:32 +0200)]
g77.texi: Update maintenance information for GNU Fortran.
2001-05-22 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.texi: Update maintenance information for
GNU Fortran. Remove all mention of -fdebug-kludge.
* news.texi: Make more news in 0.5.26 `user visible
changes'. Acknowledge work by important contributors.
* bugs.texi: Remove all mention of -fdebug-kludge.
From-SVN: r42468
Andrew MacLeod [Tue, 22 May 2001 20:04:58 +0000 (20:04 +0000)]
builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
2001-05-22 Andrew MacLeod <amacleod@redhat.com>
* builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
* config/ia64/ia64.md (nonlocal_goto): Reverse label and frame pointer
parameters to __ia64_nonlocal_goto. Flag as NO_RETURN.
* config/ia64/ia64.c (ia64_expand_epilogue): Make sure we are issuing
"r2" to the assembly file. Only issue allocs with non-zero parameters.
From-SVN: r42467
Jason Merrill [Tue, 22 May 2001 19:42:30 +0000 (15:42 -0400)]
class.c, [...]: Remove com_interface attribute support.
* class.c, cp-tree.h, rtti.c: Remove com_interface attribute support.
* tree.c (cp_valid_lang_attribute): Warn about use of com_interface
attribute.
From-SVN: r42465
Loren J. Rittle [Tue, 22 May 2001 19:28:15 +0000 (19:28 +0000)]
freebsd.h (LIB_SPEC): Key the exact setting to configure-time options and target version of FreeBSD.
* config/freebsd.h (LIB_SPEC): Key the exact setting to
configure-time options and target version of FreeBSD. Set-up
to match architectural change in threading support. Correctly
report when -pthread option is not supported by configure-time
options.
(FBSD_CPP_PREDEFINES): Move from architecture-specific files
and extend to encode target version number in run-time setting
of __FreeBSD__ macro to match the system compiler.
(CPP_PREDEFINES): Likewise.
(PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
* config/alpha/freebsd.h (CPP_PREDEFINES): Moved to common freebsd.h.
* config/i386/freebsd.h (CPP_PREDEFINES): Likewise.
Co-Authored-By: David O'Brien <obrien@freebsd.org>
From-SVN: r42464
Loren J. Rittle [Tue, 22 May 2001 19:23:33 +0000 (19:23 +0000)]
config.gcc (the unlabeled system switch statement): Add generic configuration section to handle *-*-freebsd*.
* config.gcc (the unlabeled system switch statement): Add
generic configuration section to handle *-*-freebsd*. Also,
to match the system compiler, default to threading support (it
may be disabled with the standard --disable-threads
configuration-time switch).
(i[34567]86-*-freebsd* in machine-specific section): Use it.
(alpha*-*-freebsd* in machine-specific section): Likewise.
* config/freebsd3.h: New file to expose FBSD_MAJOR macro (3).
* config/freebsd4.h: New file to expose FBSD_MAJOR macro (4).
* config/freebsd5.h: New file to expose FBSD_MAJOR macro (5).
* config/freebsd6.h: New file to expose FBSD_MAJOR macro (6).
* config/freebsd-nthr.h: New file to expose FBSD_NO_THREADS macro.
Co-Authored-By: David O'Brien <obrien@freebsd.org>
From-SVN: r42463
Loren J. Rittle [Tue, 22 May 2001 19:10:18 +0000 (19:10 +0000)]
t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
* config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
* config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
-pthread instead setting macro.
Co-Authored-By: David O'Brien <obrien@freebsd.org>
From-SVN: r42461
Benjamin Kosnik [Tue, 22 May 2001 18:48:19 +0000 (18:48 +0000)]
mkcheck.in (static_fail): Remove S_FLAG decoration on output.
2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
* mkcheck.in (static_fail): Remove S_FLAG decoration on output.
* include/bits/std_sstream.h (stringbuf::setbuf): Require both
arguments to be non-null.
* include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
try allocations if allocated size is greater than zero.
(filebuf::_M_filebuf_init): Change to
(filebuf::_M_allocate_file): Which is what it does now.
(filebuf::_M_allocate_bufers): Change to
(filebuf::_M_allocate_internal_buffer): This, and create
(filebuf::_M_allocate_pback_buffer): New.
(filebuf::_M_destroy_internal_buffer): New.
(filebuf::_M_buf_allocated): New data member.
(filebuf::setbuf): Use new logic, allow use of external buffer.
* testsuite/27_io/stringbuf_virtuals.cc: New file.
* testsuite/27_io/filebuf_virtuals.cc: New file.
From-SVN: r42458
Joseph Myers [Tue, 22 May 2001 17:58:43 +0000 (18:58 +0100)]
parse.y: Refer to compound literals as such, not as constructor-expressions.
* parse.y: Refer to compound literals as such, not as
constructor-expressions.
From-SVN: r42455
Richard Henderson [Tue, 22 May 2001 16:57:40 +0000 (09:57 -0700)]
crtstuff.c (__register_frame_info_bases): Declare.
* crtstuff.c (__register_frame_info_bases): Declare.
(frame_dummy): Use it, if CRT_GET_RFIB_TEXT or CRT_GET_RFIB_DATA.
(__do_global_dtors_aux, __do_global_dtors): Streamline.
* config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
(CRT_GET_RFIB_DATA): New.
* config/i386/sysv4.h: Likewise.
* config/i386/sco5.h: Likewise.
(ASM_PREFERRED_EH_DATA_FORMAT): New.
From-SVN: r42453
Richard Henderson [Tue, 22 May 2001 16:42:41 +0000 (09:42 -0700)]
rtl.c (read_string): Break out from ...
* rtl.c (read_string): Break out from ...
(read_rtx): ... here.
From-SVN: r42452
Gerald Pfeifer [Tue, 22 May 2001 14:54:01 +0000 (16:54 +0200)]
install.texi (Specific): Remove a bogus and duplicate part copied from the end of the document.
* doc/install.texi (Specific): Remove a bogus and duplicate part
copied from the end of the document.
From-SVN: r42450
Bernd Schmidt [Tue, 22 May 2001 14:16:58 +0000 (14:16 +0000)]
Fix ia64 build problems
From-SVN: r42448
Gerald Pfeifer [Tue, 22 May 2001 13:14:11 +0000 (15:14 +0200)]
install.texi: Remove obsolete information on SunOS as well as i386-sun-sunos4...
* install.texi: Remove obsolete information on SunOS as well as
i386-sun-sunos4, i860-intel-osf1, and powerpcle-*-solaris2*.
(Installing GNU CC on the Sun): Remove section.
From-SVN: r42447
Alexandre Oliva [Tue, 22 May 2001 11:57:21 +0000 (11:57 +0000)]
cppfiles.c (remove_component_p): Don't assume lstat/stat will keep errno unchanged on success.
* cppfiles.c (remove_component_p): Don't assume lstat/stat will
keep errno unchanged on success.
From-SVN: r42445
Loren J. Rittle [Tue, 22 May 2001 11:16:51 +0000 (11:16 +0000)]
Makefile.in (stamp-h): Create in $(objdir) instead of $(srcdir).
* libI77/Makefile.in (stamp-h): Create in $(objdir) instead
of $(srcdir).
From-SVN: r42442
Joseph Myers [Tue, 22 May 2001 11:02:17 +0000 (12:02 +0100)]
c-lex.c (lex_number): If pedantic and not C99...
* c-lex.c (lex_number): If pedantic and not C99, pedwarn exactly
once for hexadecimal floats, whether or not they contain a decimal
point. Don't let the setting of pedantic otherwise affect the
parsing of hexadecimal floats.
testsuite:
* gcc.dg/c90-hexfloat-1.c: Add more tests.
From-SVN: r42440
Alexandre Oliva [Tue, 22 May 2001 10:40:41 +0000 (10:40 +0000)]
ltcf-cxx.sh (allow_undefined_flag, [...]): Prepend blank.
* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
[aix4*|aix5*]: Prepend blank.
From-SVN: r42438
Gerald Pfeifer [Tue, 22 May 2001 10:07:31 +0000 (12:07 +0200)]
* README.ACORN: Remove obsolete file.
From-SVN: r42436
Jan Hubicka [Tue, 22 May 2001 07:40:26 +0000 (09:40 +0200)]
combine.c (gen_binary): Use swap_commutative_operands_p
* combine.c (gen_binary): Use swap_commutative_operands_p
(simplify_comparison): Likewise.
* expmed.c (emit_store_flag): Likewise.
* expr.c (compare_from_rtx): Likewise.
(do_compare_rtx_and_jump): Likewise.
* optabs.c (emit_cmp_and_jump_insn): Revert last patch; abort
if not emitting a branch and operands want swapping.
From-SVN: r42433
Neil Booth [Tue, 22 May 2001 07:23:37 +0000 (07:23 +0000)]
c-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
* c-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
* stringpool.c: (IS_FE_IDENT, make_identifier): Delete.
(maybe_get_identifier): Update.
* tree.h (make_identifier): Delete.
From-SVN: r42432
GCC Administrator [Tue, 22 May 2001 07:16:13 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42430
Richard Henderson [Tue, 22 May 2001 06:58:17 +0000 (23:58 -0700)]
combine.c (subst): Do not substitute for a register as a destination...
* combine.c (subst): Do not substitute for a register as
a destination subreg/strict_low_part/zero_extract.
From-SVN: r42429
Per Bothner [Tue, 22 May 2001 06:47:48 +0000 (23:47 -0700)]
Implement invocation interface; don't create new thread for main.
From-SVN: r42428
Richard Henderson [Tue, 22 May 2001 06:46:20 +0000 (23:46 -0700)]
combine.c (simplify_comparison): Update op1 after constant extension.
* combine.c (simplify_comparison): Update op1 after constant
extension.
* recog.c (const_int_operand): Accept only constants valid
for the given mode.
* genrecog.c: Update comments wrt const_int_operand.
From-SVN: r42427
Mark Mitchell [Tue, 22 May 2001 06:45:44 +0000 (06:45 +0000)]
* gcc_build: Use -d when invoking gcc_update.
From-SVN: r42426
Per Bothner [Tue, 22 May 2001 06:40:06 +0000 (23:40 -0700)]
Makefile.am (libgcj_la_DEPENDENCIES): Add $(nat_files).
* Makefile.am (libgcj_la_DEPENDENCIES): Add $(nat_files).
(libgcj_la_LIBADD): Likewise.
(libgcjx_la_DEPENDENCIES, libgcjx_la_LIBADD): Add $(x_nat_files).
From-SVN: r42424
Richard Henderson [Tue, 22 May 2001 06:29:39 +0000 (23:29 -0700)]
emit-rtl.c (init_emit_once): Zero unused memory in a CONST_DOUBLE.
* emit-rtl.c (init_emit_once): Zero unused memory in a
CONST_DOUBLE.
From-SVN: r42423
Benjamin Kosnik [Tue, 22 May 2001 04:58:45 +0000 (04:58 +0000)]
std_cstring.h (memchr): Define "C" functions to __glibcpp_memchr.
2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
* include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
__glibcpp_memchr.
(strchr): Same, but to __glibcpp_strchr.
(strpbrk): Same.
(strrchr): Same.
(strstr): Same.
* include/c_std/bits/std_cwchar.h (wcschr): Same.
(wcsbrk): Same.
(wcsrchr): Same.
(wcsstr): Same.
(wmemchr): Same.
From-SVN: r42421
Benjamin Kosnik [Tue, 22 May 2001 04:58:14 +0000 (04:58 +0000)]
c_strings.cc (main): Fix.
2001-05-21 Benjamin Kosnik <bkoz@kredhat.com>
* testsuite/21_strings/c_strings.cc (main): Fix.
From-SVN: r42420
Per Bothner [Tue, 22 May 2001 04:38:37 +0000 (21:38 -0700)]
javaprims.h (_Jv_FormatInt): New declaration.
* gcj/javaprims.h (_Jv_FormatInt): New declaration.
* java/lang/natString.cc (_JvFormatInt): New primitive, with logic
taken from old Integer.toString code.
(Integer::valueOf): Use _Jv_FormatInt.
* java/lang/Integer.java (toString): Just use call String.valueOf.
* java/lang/Long.java (toString): Fix typo in comment.
* java/lang/String.java (valueOf(int)): Make native.
* java/lang/StringBuffer.java (append(int)): Make native.
* java/lang/natStringBuffer.cc: New file, for append(jint).
* Makefile.am (ant_source_files): Add java/lang/natStringBuffer.cc.
From-SVN: r42419
Mark Mitchell [Tue, 22 May 2001 03:03:26 +0000 (03:03 +0000)]
tree.h (type_num_arguments): Declare it.
* tree.h (type_num_arguments): Declare it.
* tree.c (type_num_arguments): New function.
From-SVN: r42418
Jason Merrill [Tue, 22 May 2001 01:17:23 +0000 (21:17 -0400)]
* mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.
From-SVN: r42415
Jason Merrill [Tue, 22 May 2001 00:52:58 +0000 (20:52 -0400)]
lose START_CATCH_STMT
From-SVN: r42414
Mark Mitchell [Tue, 22 May 2001 00:31:36 +0000 (00:31 +0000)]
call.c (build_op_delete_call): Ignore exception-specifications when looking for matching delete operators.
* call.c (build_op_delete_call): Ignore exception-specifications
when looking for matching delete operators.
* init.c (build_new_1): Compute whether or not the allocation
function used is a placement allocation function or not, and
communicate this information to build_op_delete_call.
From-SVN: r42413
Richard Henderson [Mon, 21 May 2001 23:30:51 +0000 (16:30 -0700)]
dwarf2out.c (current_funcdef_number): Move outside dwarf2 conditional ifdef.
* dwarf2out.c (current_funcdef_number): Move outside dwarf2
conditional ifdef.
From-SVN: r42411
Per Bothner [Mon, 21 May 2001 21:37:36 +0000 (14:37 -0700)]
jcf-parse.c (read_class): If class is from .class or .zip file and it's already been read...
* jcf-parse.c (read_class): If class is from .class or .zip file
and it's already been read, don't push/pop parser context.
From-SVN: r42407
Geoffrey Keating [Mon, 21 May 2001 20:38:05 +0000 (20:38 +0000)]
920520-1.x: Merge previous contents into this file.
* gcc.c-torture/compile/920520-1.x: Merge previous contents into
this file.
From-SVN: r42406
Tom Tromey [Mon, 21 May 2001 19:27:10 +0000 (19:27 +0000)]
* gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Now public.
From-SVN: r42405
Geoffrey Keating [Mon, 21 May 2001 18:38:25 +0000 (18:38 +0000)]
rs6000.md (maxsf3): Use rs6000_emit_minmax.
* config/rs6000/rs6000.md (maxsf3): Use rs6000_emit_minmax.
(maxsf3+1): Delete.
(minsf3): Use rs6000_emit_minmax.
(minsf3+1): Generalize to handle both SMIN and SMAX. Use
rs6000_emit_minmax.
(movsfcc): Use rs6000_emit_cmove.
(fselsfsf4): Don't compare a CONST_INT with a floating-point value.
Don't generate emit_fselsfsf4.
(fseldfsf4): Likewise.
(maxdf3): Use rs6000_emit_minmax.
(maxdf3+1): Delete.
(mindf3): Use rs6000_emit_minmax.
(mindf3+1): Generalize to handle both SMIN and SMAX. Use
rs6000_emit_minmax.
(movdfcc): Use rs6000_emit_cmove.
(fseldfdf4): Don't compare a CONST_INT with a floating-point value.
Don't generate emit_fselsfsf4.
(fselsfdf4): Likewise.
* config/rs6000/rs6000.c (zero_fp_constant): New predicate.
(min_max_operator): New predicate.
(rs6000_emit_cmove): New function.
(rs6000_emit_minmax): New function.
* config/rs6000/rs6000-protos.h: Prototype new functions.
* config/rs6000/rs6000.h (PREDICATE_CODES): Add zero_fp_constant
and min_max_operator.
* config/rs6000/rs6000.c (output_cbranch): Handle all
conditional types in the switch statement.
From-SVN: r42404
Mark Mitchell [Mon, 21 May 2001 18:36:57 +0000 (18:36 +0000)]
c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for non-register variables.
* c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for
non-register variables.
* extend.texi: Document that asm-specifications do not make sense
for non-static local variables.
From-SVN: r42403
Andrew Haley [Mon, 21 May 2001 16:59:42 +0000 (16:59 +0000)]
dwarf2-signal.h: New file.
2001-05-18 Andrew Haley <aph@cambridge.redhat.com>
* include/dwarf2-signal.h: New file.
* configure.in (SYSDEP_SOURCES): Add dwarf2-signal.h for PPC.
* configure.host (EXCEPTIONSPEC): Don't use sjlj on PPC.
* configure: Rebuilt.
From-SVN: r42400
Jason Merrill [Mon, 21 May 2001 16:06:37 +0000 (12:06 -0400)]
fix comment
From-SVN: r42396
Jason Merrill [Mon, 21 May 2001 15:55:40 +0000 (11:55 -0400)]
class.c (build_vtable_entry_ref): Lose vtbl parm.
* class.c (build_vtable_entry_ref): Lose vtbl parm. Fix for new abi.
(build_vtbl_ref): Adjust.
(dfs_accumulate_vtbl_inits): Set TREE_CONSTANT on the vtable address.
* decl2.c (lang_f_options): Remove huge-objects, vtable-thunks.
Re-add vtable-gc.
(unsupported_options): Correspondingly.
* decl2.c (maybe_make_one_only): Check flag_weak, not
supports_one_only().
From-SVN: r42393
Jason Merrill [Mon, 21 May 2001 15:54:33 +0000 (11:54 -0400)]
class.c (build_vtable): Set DECL_ASSEMBLER_NAME for vtables here.
* class.c (build_vtable): Set DECL_ASSEMBLER_NAME for vtables here.
(get_vtable_decl, build_vtt): Not here.
From-SVN: r42392
Jason Merrill [Mon, 21 May 2001 15:48:49 +0000 (11:48 -0400)]
dbxout.c (MINIMAL_DEBUG, [...]): Lose.
* dbxout.c (MINIMAL_DEBUG, flag_minimal_debug): Lose.
(dbxout_type_fields): Lose minimal_debug support.
(dbxout_type_methods, dbxout_type): Likewise.
From-SVN: r42391
Jason Merrill [Mon, 21 May 2001 15:41:05 +0000 (11:41 -0400)]
add vague linkage node
From-SVN: r42389
Jason Merrill [Mon, 21 May 2001 15:39:19 +0000 (11:39 -0400)]
cp-tree.def (START_CATCH_STMT): Lose.
* cp-tree.def (START_CATCH_STMT): Lose.
* dump.c (cp_dump_tree): Don't dump it. Do dump HANDLER_PARMS.
* tree.c (cp_statement_code_p): Don't case it.
* semantics.c (cp_expand_stmt): Likewise.
* except.c (expand_start_catch_block): Don't start any blocks.
Return the type.
(expand_end_catch_block): Don't end any blocks.
* parse.y (handler): Don't pass anything from finish_handler_parms
to finish_handler.
* pt.c (tsubst_expr): Likewise.
* semantics.c (begin_handler): Call note_level_for_catch here.
(finish_handler_parms): Don't return anything.
(genrtl_catch_block, begin_catch_block): Lose.
(genrtl_handler): Call expand_start_catch here.
* cp-tree.h (START_CATCH_TYPE): Lose.
(HANDLER_TYPE): New.
From-SVN: r42388
Jason Merrill [Mon, 21 May 2001 13:17:58 +0000 (09:17 -0400)]
tweak formatting
From-SVN: r42387
Andrew Haley [Mon, 21 May 2001 12:31:14 +0000 (12:31 +0000)]
linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
2001-05-17 Andrew Haley <aph@redhat.com>
* config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
From-SVN: r42386
Stephane Carrez [Mon, 21 May 2001 12:20:51 +0000 (14:20 +0200)]
msp.c (A_SIZE): Define according to STACK_SIZE;
* gcc.c-torture/unsorted/msp.c (A_SIZE): Define according to
STACK_SIZE;
* gcc.c-torture/compile/991214-2.c (HISTO_SIZE): Define according
to STACK_SIZE; Use it to define size of add_histo array.
* gcc.c-torture/compile/920723-1.c (GITT_SIZE): Define according
to STACK_SIZE.
(f): Use GITT_SIZE to define size of gitt local table.
* gcc.c-torture/compile/930621-1.c (BYTEMEM_SIZE): Define according
to STACK_SIZE; Use it to define size of bytemem array.
From-SVN: r42384
Stephane Carrez [Mon, 21 May 2001 12:06:52 +0000 (14:06 +0200)]
20000804-1.x: New file, this test fails on 68HC11/HC12 due to the asm instruction.
* gcc.c-torture/compile/
20000804-1.x: New file, this test fails
on 68HC11/HC12 due to the asm instruction.
* gcc.c-torture/compile/
20001205-1.x: New file, ditto.
* gcc.c-torture/compile/920520-1.x: Likewise.
* gcc.c-torture/compile/
20001226-1.x: New file, this test fails
on 68HC11/HC12 because the function is larger than 64K.
* gcc.c-torture/compile/961203-1.x: New file, this test fails
on 68HC11/HC12 because the structure is too large.
From-SVN: r42381
Bryce McKinlay [Mon, 21 May 2001 08:37:04 +0000 (08:37 +0000)]
configure.in: Update boehm-gc include dir for new GC version.
* configure.in: Update boehm-gc include dir for new GC version.
* configure: Rebuilt.
* exception.cc: Only include <gc.h>. Remove TRUE/FALSE hacks and
extern "C" wrapper.
* boehm.cc: Update includes for new GC version. MAKE_PROC is now
GC_MAKE_PROC. mark_proc is now GC_mark_proc.
* posix-threads.cc: Only include <gc.h>. Don't need to wrap with
extern "C".
From-SVN: r42380
Bryce McKinlay [Mon, 21 May 2001 08:35:14 +0000 (08:35 +0000)]
Imported version version 6.0alpha7.
* README, README.Mac, README.OS2, README.QUICK, README.alpha,
README.amiga, README.debugging, README.dj, README.hp, README.linux,
README.rs6000, README.sgi, README.solaris2, README.uts,
README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
hpux_irix_threads.c, makefile.depend, nursery.c,
solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
files.
From-SVN: r42379
GCC Administrator [Mon, 21 May 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42378
Richard Henderson [Mon, 21 May 2001 07:03:42 +0000 (00:03 -0700)]
dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.
* dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.
Update all users.
From-SVN: r42376
Bryce McKinlay [Mon, 21 May 2001 06:39:25 +0000 (07:39 +0100)]
This commit was generated by cvs2svn to compensate for changes in r42373,
which included commits to RCS files with non-trunk default branches.
From-SVN: r42374
Bryce McKinlay [Mon, 21 May 2001 06:39:23 +0000 (07:39 +0100)]
Initial revision
From-SVN: r42370
Richard Henderson [Mon, 21 May 2001 03:14:31 +0000 (20:14 -0700)]
dwarf2out.c (DEBUG_ABBREV_SECTION, [...]): Rename from s/DEBUG_//.
* dwarf2out.c (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_PUBNAMES_SECTION,
DEBUG_STR_SECTION): Rename from s/DEBUG_//. Update all users.
* dwarfout.c (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION):
Likewise.
* config/mips/iris6.h (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION,
DEBUG_FRAME_SECTION, DEBUG_ABBREV_SECTION): Rename as above.
(DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
* config/ia64/ia64.h (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
DEBUG_PUBNAMES_SECTION): Rename as above.
(DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
From-SVN: r42368
Richard Henderson [Mon, 21 May 2001 01:36:21 +0000 (18:36 -0700)]
New test.
From-SVN: r42367
Richard Henderson [Mon, 21 May 2001 01:33:53 +0000 (18:33 -0700)]
optabs.c (emit_cmp_and_jump_insns): Don't swap commutative operands unless the operation is commutative.
* optabs.c (emit_cmp_and_jump_insns): Don't swap commutative
operands unless the operation is commutative.
From-SVN: r42366
Kaveh R. Ghazi [Mon, 21 May 2001 01:21:23 +0000 (01:21 +0000)]
fold-const.c (tree_expr_nonnegative_p): Detect more non-negative cases.
* fold-const.c (tree_expr_nonnegative_p): Detect more
non-negative cases.
testsuite:
* g++.old-deja/g++.warn/compare1.C: New test.
* gcc.dg/compare4.c: New test.
From-SVN: r42365
Joseph Myers [Sun, 20 May 2001 23:21:59 +0000 (00:21 +0100)]
re PR other/930 (Out of date docs for C99 features as extensions)
* extend.texi: Clarify documentation of extensions included in ISO
C99. Prefer C99 terminology and syntax to old GNU terminology and
syntax. Add more index entries. Document mixed declarations and
code as an extension in C89 mode. Warn about future changes to
semantics of inline functions. Fixes PR other/930.
From-SVN: r42363
Hans Boehm [Sun, 20 May 2001 22:36:34 +0000 (22:36 +0000)]
configure.host: Build with -fexceptions.
* configure.host: Build with -fexceptions.
* linux_threads.c: Remember which thread stopped world for
From-SVN: r42362
Richard Kenner [Sun, 20 May 2001 21:36:35 +0000 (21:36 +0000)]
expr.c (expand_expr, [...]): Don't fold constant access if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
* expr.c (expand_expr, case ARRAY_REF): Don't fold constant
access if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
(expand_expr, case COMPONENT_REF): Do copy if misaligned even
if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
From-SVN: r42361
Richard Kenner [Sun, 20 May 2001 20:41:49 +0000 (20:41 +0000)]
* stmt.c (expand_decl): Set mode, alignment, and sizes for CONST_DECL.
From-SVN: r42360
Richard Henderson [Sun, 20 May 2001 20:03:15 +0000 (13:03 -0700)]
sched-deps.c (sched_analyze_insn): Force volatile memory reads to be output before a branch.
* sched-deps.c (sched_analyze_insn): Force volatile memory reads
to be output before a branch.
From-SVN: r42358
Richard Henderson [Sun, 20 May 2001 19:56:31 +0000 (12:56 -0700)]
* Makefile.in (dwarf2asm.o): Depend on $(TREE_H).
From-SVN: r42357
Richard Henderson [Sun, 20 May 2001 19:54:04 +0000 (12:54 -0700)]
att.h (ASM_SHORT, ASM_LONG): Add trailing \t.
* config/i386/att.h (ASM_SHORT, ASM_LONG): Add trailing \t.
(ASM_DOUBLE): Remove.
* config/i386/bsd.h, config/i386/sco5.h: Likewise.
* config/i386/sun386.h: Likewise.
* config/i386/i386.h (UNALIGNED_SHORT_ASM_OP): New.
(UNALIGNED_INT_ASM_OP, INT_ASM_OP): New.
* config/i386/cygwin.h (INT_ASM_OP): Remove.
* config/i386/freebsd-aout.h, config/i386/i386-aout.h: Likewise.
* config/i386/i386-coff.h, config/i386/i386-interix.h: Likewise.
* config/i386/netbsd.h, config/i386/openbsd.h: Likewise.
* config/i386/cygwin.h: Adjust uses of ASM_LONG for trailing \t.
* config/i386/djgpp.h, config/i386/i386.h: Likewise.
* config/i386/i386elf.h, config/i386/ptx4-i.h: Likewise.
* config/i386/sco5.h, config/i386/svr3gas.h: Likewise.
* config/i386/sysv4.h, config/i386/vsta.h: Likewise.
* config/i386/win32.h: Likewise.
From-SVN: r42355
Alexandre Oliva [Sun, 20 May 2001 18:55:59 +0000 (18:55 +0000)]
ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254.
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.
From-SVN: r42351
Joseph Myers [Sun, 20 May 2001 17:08:38 +0000 (18:08 +0100)]
* invoke.texi: Add more options to summary list.
From-SVN: r42349
Joseph Myers [Sun, 20 May 2001 13:50:44 +0000 (14:50 +0100)]
re PR other/567 ("make dvi" fails)
ch:
* Make-lang.in (chill.dvi): Remove bogus dependencies. Don't cd
to ch; include both $(srcdir)/ch and $(srcdir) in TEXINPUTS.
Don't move chill.dvi after creating it. Fixes PR other/567 and
PR other/1018.
f:
* Make-lang.in (f/g77.dvi): Include $(srcdir) in TEXINPUTS.
From-SVN: r42345
Nathan Sidwell [Sun, 20 May 2001 13:41:34 +0000 (13:41 +0000)]
re PR c++/2781 (bad code generated for reference call with -O2 (regression from 2.95))
cp:
PR c++/2781
* optimize.c (update_cloned_parm): Copy addressability and other
flags.
testsuite:
* g++.old-deja/g++.other/optimize1.C: New test.
From-SVN: r42344
Kriang Lerdsuwanakij [Sun, 20 May 2001 13:22:24 +0000 (13:22 +0000)]
pt.c (determine_specialization): Ignore artificial functions.
2001-05-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* pt.c (determine_specialization): Ignore artificial functions.
2001-05-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.pt/spec41.C: New test.
From-SVN: r42342
Joseph Myers [Sun, 20 May 2001 12:49:31 +0000 (13:49 +0100)]
re PR c/2291 (Pedantic may be too pedantic)
* invoke.texi: Document meaning of -pedantic when -std=gnu* is
used. Fixes PR c/2291.
* gcc.1: Regenerate.
From-SVN: r42340