gcc.git
23 years agolibstdc++-v3-dg.exp (libstdc++-v3-init): Set ld_library_path.
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

23 years agofunction.c (expand_function_start): Always use a pseudo for the function result value.
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

23 years agoiris6.h (EH_FRAME_SECTION_ASM_OP): Give the section pointer alignment.
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

23 years ago* doc/install.texi (alpha-linux): Require binutils >= 2.10.
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

23 years agooptimize.c (initialize_inlined_parameters): Don't set TREE_READONLY for a VAR_DECL...
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

23 years agodocumentation.html: Point to doxygen output.
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

23 years agounwind-dw2-fde.c (__deregister_frame_info): Stringize use of __USER_LABEL_PREFIX__.
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

23 years agounwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
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

23 years agog77.texi: Update last-changed date.
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

23 years agofreebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair instead of #elif (which is OK...
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

23 years agog77.texi: Update maintenance information for GNU Fortran.
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

23 years agobuiltins.c (expand_builtin_longjmp): A longjmp can be a call too.
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

23 years agoclass.c, [...]: Remove com_interface attribute support.
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

23 years agofreebsd.h (LIB_SPEC): Key the exact setting to configure-time options and target...
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

23 years agoconfig.gcc (the unlabeled system switch statement): Add generic configuration section...
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

23 years agot-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
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

23 years agomkcheck.in (static_fail): Remove S_FLAG decoration on output.
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

23 years agoparse.y: Refer to compound literals as such, not as constructor-expressions.
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

23 years agocrtstuff.c (__register_frame_info_bases): Declare.
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

23 years agortl.c (read_string): Break out from ...
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

23 years agoinstall.texi (Specific): Remove a bogus and duplicate part copied from the end of...
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

23 years agoFix ia64 build problems
Bernd Schmidt [Tue, 22 May 2001 14:16:58 +0000 (14:16 +0000)]
Fix ia64 build problems

From-SVN: r42448

23 years agoinstall.texi: Remove obsolete information on SunOS as well as i386-sun-sunos4...
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

23 years agocppfiles.c (remove_component_p): Don't assume lstat/stat will keep errno unchanged...
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

23 years agoMakefile.in (stamp-h): Create in $(objdir) instead of $(srcdir).
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

23 years agoc-lex.c (lex_number): If pedantic and not C99...
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

23 years agoltcf-cxx.sh (allow_undefined_flag, [...]): Prepend blank.
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

23 years ago* README.ACORN: Remove obsolete file.
Gerald Pfeifer [Tue, 22 May 2001 10:07:31 +0000 (12:07 +0200)]
* README.ACORN: Remove obsolete file.

From-SVN: r42436

23 years agocombine.c (gen_binary): Use swap_commutative_operands_p
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

23 years agoc-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
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

23 years agoDaily bump.
GCC Administrator [Tue, 22 May 2001 07:16:13 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r42430

23 years agocombine.c (subst): Do not substitute for a register as a destination...
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

23 years agoImplement invocation interface; don't create new thread for main.
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

23 years agocombine.c (simplify_comparison): Update op1 after constant extension.
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

23 years ago* gcc_build: Use -d when invoking gcc_update.
Mark Mitchell [Tue, 22 May 2001 06:45:44 +0000 (06:45 +0000)]
* gcc_build: Use -d when invoking gcc_update.

From-SVN: r42426

23 years agoMakefile.am (libgcj_la_DEPENDENCIES): Add $(nat_files).
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

23 years agoemit-rtl.c (init_emit_once): Zero unused memory in a CONST_DOUBLE.
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

23 years agostd_cstring.h (memchr): Define "C" functions to __glibcpp_memchr.
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

23 years agoc_strings.cc (main): Fix.
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

23 years agojavaprims.h (_Jv_FormatInt): New declaration.
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

23 years agotree.h (type_num_arguments): Declare it.
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

23 years ago* mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.
Jason Merrill [Tue, 22 May 2001 01:17:23 +0000 (21:17 -0400)]
* mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.

From-SVN: r42415

23 years agolose START_CATCH_STMT
Jason Merrill [Tue, 22 May 2001 00:52:58 +0000 (20:52 -0400)]
lose START_CATCH_STMT

From-SVN: r42414

23 years agocall.c (build_op_delete_call): Ignore exception-specifications when looking for match...
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

23 years agodwarf2out.c (current_funcdef_number): Move outside dwarf2 conditional ifdef.
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

23 years agojcf-parse.c (read_class): If class is from .class or .zip file and it's already been...
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

23 years ago920520-1.x: Merge previous contents into this file.
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

23 years ago* gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Now public.
Tom Tromey [Mon, 21 May 2001 19:27:10 +0000 (19:27 +0000)]
* gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Now public.

From-SVN: r42405

23 years agors6000.md (maxsf3): Use rs6000_emit_minmax.
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

23 years agoc-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for non-register variables.
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

23 years agodwarf2-signal.h: New file.
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

23 years agofix comment
Jason Merrill [Mon, 21 May 2001 16:06:37 +0000 (12:06 -0400)]
fix comment

From-SVN: r42396

23 years agoclass.c (build_vtable_entry_ref): Lose vtbl parm.
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

23 years agoclass.c (build_vtable): Set DECL_ASSEMBLER_NAME for vtables here.
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

23 years agodbxout.c (MINIMAL_DEBUG, [...]): Lose.
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

23 years agoadd vague linkage node
Jason Merrill [Mon, 21 May 2001 15:41:05 +0000 (11:41 -0400)]
add vague linkage node

From-SVN: r42389

23 years agocp-tree.def (START_CATCH_STMT): Lose.
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

23 years agotweak formatting
Jason Merrill [Mon, 21 May 2001 13:17:58 +0000 (09:17 -0400)]
tweak formatting

From-SVN: r42387

23 years agolinux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
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

23 years agomsp.c (A_SIZE): Define according to STACK_SIZE;
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

23 years ago20000804-1.x: New file, this test fails on 68HC11/HC12 due to the asm instruction.
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

23 years agoconfigure.in: Update boehm-gc include dir for new GC version.
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

23 years agoImported version version 6.0alpha7.
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

23 years agoDaily bump.
GCC Administrator [Mon, 21 May 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r42378

23 years agodwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.
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

23 years agoThis commit was generated by cvs2svn to compensate for changes in r42373,
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

23 years agoInitial revision
Bryce McKinlay [Mon, 21 May 2001 06:39:23 +0000 (07:39 +0100)]
Initial revision

From-SVN: r42370

23 years agodwarf2out.c (DEBUG_ABBREV_SECTION, [...]): Rename from s/DEBUG_//.
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

23 years agoNew test.
Richard Henderson [Mon, 21 May 2001 01:36:21 +0000 (18:36 -0700)]
New test.

From-SVN: r42367

23 years agooptabs.c (emit_cmp_and_jump_insns): Don't swap commutative operands unless the operat...
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

23 years agofold-const.c (tree_expr_nonnegative_p): Detect more non-negative cases.
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

23 years agore PR other/930 (Out of date docs for C99 features as extensions)
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

23 years agoconfigure.host: Build with -fexceptions.
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

23 years agoexpr.c (expand_expr, [...]): Don't fold constant access if EXPAND_CONST_ADDRESS or...
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

23 years ago* stmt.c (expand_decl): Set mode, alignment, and sizes for CONST_DECL.
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

23 years agosched-deps.c (sched_analyze_insn): Force volatile memory reads to be output before...
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

23 years ago* Makefile.in (dwarf2asm.o): Depend on $(TREE_H).
Richard Henderson [Sun, 20 May 2001 19:56:31 +0000 (12:56 -0700)]
* Makefile.in (dwarf2asm.o): Depend on $(TREE_H).

From-SVN: r42357

23 years agoatt.h (ASM_SHORT, ASM_LONG): Add trailing \t.
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

23 years agoltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254.
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

23 years ago* invoke.texi: Add more options to summary list.
Joseph Myers [Sun, 20 May 2001 17:08:38 +0000 (18:08 +0100)]
* invoke.texi: Add more options to summary list.

From-SVN: r42349

23 years agore PR other/567 ("make dvi" fails)
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

23 years agore PR c++/2781 (bad code generated for reference call with -O2 (regression from 2...
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

23 years agopt.c (determine_specialization): Ignore artificial functions.
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

23 years agore PR c/2291 (Pedantic may be too pedantic)
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

23 years agom68hc11.c (m68hc11_override_options): Ignore the -fpic and -fPIC options, clear flag_pic.
Stephane Carrez [Sun, 20 May 2001 11:37:11 +0000 (13:37 +0200)]
m68hc11.c (m68hc11_override_options): Ignore the -fpic and -fPIC options, clear flag_pic.

* config/m68hc11/m68hc11.c (m68hc11_override_options): Ignore
the -fpic and -fPIC options, clear flag_pic.

From-SVN: r42339

23 years agohashtable.c (calc_hash): Fix HASHSTEP definition.
Neil Booth [Sun, 20 May 2001 08:13:32 +0000 (08:13 +0000)]
hashtable.c (calc_hash): Fix HASHSTEP definition.

* hashtable.c (calc_hash): Fix HASHSTEP definition.
* stringpool.c (make_identifier): No statistics here anymore.
* objc-act.c (steup_string_decl): Remove redundant check.

From-SVN: r42337

23 years agoDaily bump.
GCC Administrator [Sun, 20 May 2001 07:16:37 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r42336

23 years agoMakefile.in (OBJS, [...]): Update.
Neil Booth [Sun, 20 May 2001 06:26:45 +0000 (06:26 +0000)]
Makefile.in (OBJS, [...]): Update.

* Makefile.in (OBJS, LIBCPP_OBJS, LIBCPP_DEPS,
cpplib.o, cpphash.o, fix-header): Update.
(hashtable.o): New target.
* c-common.h: Include cpplib.h.  Define C_RID_CODE and
struct c_common_identifier here.
* c-lang.c (c_init_options): Update.  Call set_identifier_size.
* c-lex.c (c_lex): Update.
* c-pragma.h: Update.
* c-tree.h (struct lang_identifier): Contain c_common_identifier.
Delete rid_code.
(C_RID_CODE): Delete.
* cpphash.c: Rewrite to use hashtable.c.
* cpphash.h: Update include guards.
(struct cpp_reader): Remove hashtab.
hash_ob and buffer_ob are no longer pointers.  Add hash_table
and our_hashtable.
(HASHSTEP, _cpp_init_hashtable, _cpp_lookup_with_hash): Delete.
(_cpp_cleanup_hashtable): Rename _cpp_destroy_hashtable.
(_cpp_cleanup_stacks): Rename _cpp_init_directives.
* cppinit.c (cpp_create_reader): Update.
* cpplex.c (cpp_ideq, parse_identifier, cpp_output_token): Update.
(cpp_interpret_charconst): Eliminate warning.
* cpplib.c (do_pragma, do_endif, push_conditional,
cpp_push_buffer, cpp_pop_buffer): Update.
(_cpp_init_stacks): Rename cpp_init_directives.
(_cpp_cleanup_stacks): Remove.
* cpplib.h: Update include guards.  Include tree-core.h and c-rid.h.
(cpp_hashnode, cpp_token, NODE_LEN, NODE_NAME,
 cpp_forall_identifiers, cpp_create_reader): Update.
(C_RID_CODE, cpp_make_node): New.
(c_common_identifier): New identifier node for C front ends.
* cppmain.c (main): Update.
* fix-header.c (read_scan_file): Update.
* flags.h (id_clash_len): Make unsigned.
* ggc.h (ggc_mark_nonnull_tree): New.
* hashtable.c: New.
* hashtable.h: New.
* stringpool.c: Update comments and copyright.  Update to use
hashtable.c.
* toplev.c (approx_sqrt): Move to hashtable.c.
(id_clash_len): Make unsigned.
* toplev.h (ident_hash): New.
* tree.c (gcc_obstack_init): Move to hashtable.c.
* tree.h: Include hashtable.h.
(IDENTIFIER_POINTER, IDENTIFIER_LENGTH): Update.
(GCC_IDENT_TO_HT_IDENT, HT_IDENT_TO_GCC_IDENT): New.
(struct tree_identifier): Update.
(make_identifier): New.
cp:
* cp-tree.h (struct lang_identifier, C_RID_YYCODE): Update.
(C_RID_CODE): Remove.
* lex.c (cxx_init_options): Call set_identifier_size.  Update.
(init_parse): Don't do it here.
objc:
* objc-act.c (objc_init_options): Call set_identifier_size. Update.

From-SVN: r42334

23 years agoexcept.c (dw2_build_landing_pads): Use word_mode, not Pmode, as ncessary.
Richard Henderson [Sun, 20 May 2001 00:35:24 +0000 (17:35 -0700)]
except.c (dw2_build_landing_pads): Use word_mode, not Pmode, as ncessary.

* except.c (dw2_build_landing_pads): Use word_mode, not Pmode,
as ncessary.
(expand_eh_return): Convert between word_mode and Pmode.
* unwind-dw2.c (extract_cie_info): Do not assume words and pointers
are the same size.
(execute_stack_op): Likewise.
(execute_cfa_program): Likewise.
(uw_frame_state_for): Likewise.
(uw_update_context_1): Likewise.
* unwind.inc (_Unwind_Reason_Code): Likewise.
* config/mips/mips.h (EH_RETURN_DATA_REGNO): Define.
(EH_RETURN_STACKADJ_RTX): Likewise.
* config/mips/mips.c (compute_frame_size): Make space for saving
EH return registers.
(mips_expand_epilogue): Handle EH stack adjustments.
* config/mips/mips.md (eh_return): New pattern.
(eh_set_lr_si): Likewise.
(eh_set_lr_di): Likewise.
Add splitter to perform EH return after reload.

From-SVN: r42332

23 years ago* jump.c (mark_jump_label): Tidy previous change.
Mark Mitchell [Sat, 19 May 2001 23:54:07 +0000 (23:54 +0000)]
* jump.c (mark_jump_label): Tidy previous change.

From-SVN: r42327

23 years agoopen stdin for those building with a closed one.
Bruce Korb [Sat, 19 May 2001 23:18:21 +0000 (23:18 +0000)]
open stdin for those building with a closed one.

From-SVN: r42326

23 years agoDo not use two warnings when one will do
Bruce Korb [Sat, 19 May 2001 22:43:38 +0000 (22:43 +0000)]
Do not use two warnings when one will do

From-SVN: r42323

23 years agojump.c (jump_optimize_1): Tidy.
Mark Mitchell [Sat, 19 May 2001 21:16:51 +0000 (21:16 +0000)]
jump.c (jump_optimize_1): Tidy.

* jump.c (jump_optimize_1): Tidy.
(mark_jump_label): When changing the label in a LABEL_REF, change
update any REG_EQUAL notes as well.

From-SVN: r42318

23 years agoacinclude.m4: Fix --help spacing, correct comments.
Phil Edwards [Sat, 19 May 2001 20:27:36 +0000 (20:27 +0000)]
acinclude.m4: Fix --help spacing, correct comments.

2001-05-19  Phil Edwards  <pme@sources.redhat.com>

* acinclude.m4:  Fix --help spacing, correct comments.
* aclocal.m4:  Regenerate.
* configure:  Regenerate.
* mkcheck.in:  Add usage comments.
* docs/html/documentation.html:  Point to doxygen'd tarball.

From-SVN: r42316

23 years agore PR c/166 (C syntax problem in gcc)
Joseph Myers [Sat, 19 May 2001 20:19:24 +0000 (21:19 +0100)]
re PR c/166 (C syntax problem in gcc)

* c-parse.in (parm_declarator): Split into
parm_declarator_starttypename and parm_declarator_nostarttypename.
(parm_declarator_starttypename, parm_declarator_nostarttypename):
New.  Allow parenthesised sub-declarators which don't begin with a
TYPENAME.  Fixes PR c/166.

testsuite:
* gcc.c-torture/compile/20010114-1.x: Remove.

From-SVN: r42315

23 years ago* MAINTAINERS (Write After Approval): Add myself.
Matt Kraai [Sat, 19 May 2001 19:38:14 +0000 (19:38 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r42314

23 years agoMake-lang.in: Have $(MAKEINFO) look into the parent directory for includes.
Toon Moene [Sat, 19 May 2001 18:09:56 +0000 (20:09 +0200)]
Make-lang.in: Have $(MAKEINFO) look into the parent directory for includes.

2001-05-19  Toon Moene  <toon@moene.indiv.nluug.nl>

* Make-lang.in: Have $(MAKEINFO) look into the parent
directory for includes.
* g77.texi: Use the GFDL.

From-SVN: r42313

23 years agodefaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New macro.
Mark Mitchell [Sat, 19 May 2001 17:56:48 +0000 (17:56 +0000)]
defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New macro.

* defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New
macro.
* tm.texi (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
Document it.
* toplev.c (main): If the target does not allow profiling without
a frame pointer, issue an error message.
* config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
Define it to false.

From-SVN: r42312

23 years agorecog.c (general_operand): Modify last change to allow it if reload has completed.
Richard Kenner [Sat, 19 May 2001 11:51:32 +0000 (11:51 +0000)]
recog.c (general_operand): Modify last change to allow it if reload has completed.

* recog.c (general_operand): Modify last change to allow it if reload
has completed.

From-SVN: r42309

23 years agorecog.c (general_operand): Prohibit nonzero subreg bytes on subregs containing mem.
Jan Hubicka [Sat, 19 May 2001 08:24:50 +0000 (10:24 +0200)]
recog.c (general_operand): Prohibit nonzero subreg bytes on subregs containing mem.

* recog.c (general_operand): Prohibit nonzero subreg bytes on
subregs containing mem.

From-SVN: r42308