gcc.git
23 years agotradcpp.c (enum node_type): Add T_ERROR.
Neil Booth [Tue, 12 Dec 2000 18:54:26 +0000 (18:54 +0000)]
tradcpp.c (enum node_type): Add T_ERROR.

        * tradcpp.c (enum node_type): Add T_ERROR.
        (do_error): New function.
        (directive_table): Add #error handler.

From-SVN: r38205

23 years agoconfigure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*.
Franz Sirl [Tue, 12 Dec 2000 12:01:18 +0000 (12:01 +0000)]
configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*.

2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
for powerpc*-*-*.
* configure: Regenerated.
* config/rs6000/linux.h (HANDLE_PRAGMA_PUSH_POP): Define.
* config/rs6000/rs6000.c (rs6000_unique_section): Use
STRIP_NAME_ENCODING.

From-SVN: r38204

23 years agoconfigure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*.
Franz Sirl [Tue, 12 Dec 2000 11:53:48 +0000 (11:53 +0000)]
configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*.

2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
for powerpc*-*-*.
* configure: Regenerated.
* config/rs6000/linux.h (HANDLE_PRAGMA_PUSH_POP): Define.
* config/rs6000/rs6000.c (rs6000_unique_section): Use
STRIP_NAME_ENCODING.

From-SVN: r38203

23 years agoDaily bump.
Jeff Law [Tue, 12 Dec 2000 08:45:11 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38202

23 years agoFirstThread.java (Kcert, [...]): New static final fields.
Tom Tromey [Tue, 12 Dec 2000 00:32:02 +0000 (00:32 +0000)]
FirstThread.java (Kcert, [...]): New static final fields.

* gnu/gcj/runtime/FirstThread.java (Kcert, Kfile, Khttp, Kjar):
New static final fields.

From-SVN: r38200

23 years ago* gcc.dg/cpp/defined_trad.c: Update.
Neil Booth [Mon, 11 Dec 2000 22:14:18 +0000 (22:14 +0000)]
* gcc.dg/cpp/defined_trad.c: Update.

From-SVN: r38199

23 years agore GNATS libgcj/378 (Problem with scripts/classes.pl)
Tom Tromey [Mon, 11 Dec 2000 21:50:39 +0000 (21:50 +0000)]
re GNATS libgcj/378 (Problem with scripts/classes.pl)

* scripts/classes.pl (scan): Skip lines with leading `*'.
Fix for PR libgcj/378.

From-SVN: r38198

23 years agopa.c (cmpib_comparison_operator): Remove GEU and LTU.
Jeffrey A Law [Mon, 11 Dec 2000 21:17:34 +0000 (21:17 +0000)]
pa.c (cmpib_comparison_operator): Remove GEU and LTU.

        * pa.c (cmpib_comparison_operator): Remove GEU and LTU.
        * pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding
        changes.

From-SVN: r38197

23 years agoemit initial value for all fields
Bruce Korb [Mon, 11 Dec 2000 21:04:50 +0000 (21:04 +0000)]
emit initial value for all fields

From-SVN: r38196

23 years ago* gcc.dg/cpp/defined_trad.c: New test.
Neil Booth [Mon, 11 Dec 2000 20:27:03 +0000 (20:27 +0000)]
* gcc.dg/cpp/defined_trad.c: New test.

From-SVN: r38195

23 years ago* tradcpp.h: For tradcpp, NUL is not whitespace.
Neil Booth [Mon, 11 Dec 2000 19:38:15 +0000 (19:38 +0000)]
* tradcpp.h: For tradcpp, NUL is not whitespace.

From-SVN: r38194

23 years agoinstall-defs.sh: Removed.
Alexandre Petit-Bianco [Mon, 11 Dec 2000 18:41:29 +0000 (18:41 +0000)]
install-defs.sh: Removed.

2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * install-defs.sh: Removed.

From-SVN: r38193

23 years ago* fix-header.c (read_scan_file): Macro expansion is not a file buffer.
Neil Booth [Mon, 11 Dec 2000 18:22:32 +0000 (18:22 +0000)]
* fix-header.c (read_scan_file): Macro expansion is not a file buffer.

From-SVN: r38192

23 years agoconfigure.in cleanup for libgcj
Anthony Green [Mon, 11 Dec 2000 16:52:42 +0000 (16:52 +0000)]
configure.in cleanup for libgcj

From-SVN: r38191

23 years agoavr.c (compare_condition, [...]): New functions.
Marek Michalkiewicz [Mon, 11 Dec 2000 12:46:57 +0000 (13:46 +0100)]
avr.c (compare_condition, [...]): New functions.

* config/avr/avr.c (compare_condition, compare_sign_p): New functions.
(compare_diff_p, compare_eq_p): Call compare_condition.
(out_tsthi, out_tstsi): Call compare_sign_p.
(avr_progmem_p): Check for error_mark_node.

From-SVN: r38190

23 years agoDaily bump.
Jeff Law [Mon, 11 Dec 2000 08:45:40 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38189

23 years ago* gcj/javaprims.h: Rebuilt CNI namespace declarations.
Bryce McKinlay [Mon, 11 Dec 2000 07:50:52 +0000 (07:50 +0000)]
* gcj/javaprims.h: Rebuilt CNI namespace declarations.

From-SVN: r38188

23 years ago* gcc.dg/cpp/if-2.c: Separate tests so that which failed is obvious.
Neil Booth [Mon, 11 Dec 2000 07:46:25 +0000 (07:46 +0000)]
* gcc.dg/cpp/if-2.c: Separate tests so that which failed is obvious.

From-SVN: r38187

23 years agocpperror.c (print_location): New function.
Neil Booth [Mon, 11 Dec 2000 07:45:16 +0000 (07:45 +0000)]
cpperror.c (print_location): New function.

        * cpperror.c (print_location): New function.
        (print_containing_files): Simplify.
        (_cpp_begin_message): Simplify and use print_location.
        * cppfiles.c (stack_include_file): Update.
        (_cpp_pop_file_buffer): Update.
        * cpphash.h (struct cpp_buffer): New members
        include_stack_listed and type.
        * cpplib.c (_cpp_handle_directive): Buffer->inc is not null.
        (run_directive): Take buffer type.  cpp_push_buffer cannot fail.
        (_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef,
        handle_assertion): Update.
        (cpp_push_buffer): Take a buffer type and file name.
        (cpp_pop_buffer): Update.  Clear include_stack_listed.
        * cpplib.h (input_stack_listing_current): Remove.
        (enum cpp_buffer_type): New.
        (cpp_push_buffer): New prototype.
        * cppmacro.c (builtin_macro): Simplify; buffer cannot be null.
        * fix-header.c (read_scan_file): Update.

From-SVN: r38186

23 years ago* java/util/Hashtable.java (Enumerator.nextElement): Initialize `e'.
Bryce McKinlay [Mon, 11 Dec 2000 04:54:55 +0000 (04:54 +0000)]
* java/util/Hashtable.java (Enumerator.nextElement): Initialize `e'.

From-SVN: r38185

23 years agoconfigure.in: Remove check for -fuse-divide-subroutine.
Bryce McKinlay [Mon, 11 Dec 2000 04:37:14 +0000 (04:37 +0000)]
configure.in: Remove check for -fuse-divide-subroutine.

* configure.in: Remove check for -fuse-divide-subroutine.
* configure: Rebuilt.

From-SVN: r38184

23 years agoMakefile.am: Add HashSet.java and java/lang/ref classes.
Bryce McKinlay [Mon, 11 Dec 2000 03:47:48 +0000 (03:47 +0000)]
Makefile.am: Add HashSet.java and java/lang/ref classes.

* Makefile.am: Add HashSet.java and java/lang/ref classes.
Remove BasicMapEntry.java and Bucket.java.
* Makefile.in: Rebuilt.
* java/util/HashMap.java: Rewritten.
* java/util/HashSet.java: Imported from classpath.
* java/util/WeakHashMap.java: Imported from classpath.
* java/util/Hashtable.java: Rewritten based on new HashMap code.
* java/util/Bucket.java: Deleted.
* java/util/BasicMapEntry.java: Deleted.
* java/util/Collections.java (search): Use a for-loop, not iterator
hasNext().
(copy): Use a for-loop. Throw an IndexOutOfBoundsException if run out
of elements in source.
(max): Use a for-loop.
(min): Ditto.
(reverse): Keep track of positions instead of using Iterator's
nextIndex() and previousIndex().
(shuffle(List)): Initialize defaultRandom if required using
double-check thread safety idiom. Call two-argument shuffle method
using defaultRandom.
(defaultRandom): New field.
(shuffle(List, Random)): Use a for-loop. Keep track of pos instead
of using previousIndex() and nextIndex().
(singletonMap(iterator)): Use a HashMap.Entry, not BasicMapEntry.
* java/util/AbstractCollection.java (toString): Use a StringBuffer.
* java/util/AbstractMap.java (toString): Use StringBuffer.
* java/lang/ref/PhantomReference.java: Imported from classpath.
* java/lang/ref/SoftReference.java: Ditto.
* java/lang/ref/Reference.java: Ditto.
* java/lang/ref/WeakReference.java: Ditto.
* java/lang/ref/ReferenceQueue.java: Ditto.

From-SVN: r38183

23 years ago[multiple changes]
Alexandre Petit-Bianco [Mon, 11 Dec 2000 02:59:55 +0000 (18:59 -0800)]
[multiple changes]

2000-12-10  Robert Lipe <robertlipe@usa.net>

* jargrep.c (jargrep): Added null statement after case.

2000-12-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* Makefile: Removed.
* Makefile.in: Rebuilt with `-i' and `--enable-foreign'.

(http://gcc.gnu.org/ml/gcc/2000-12/msg00294.html)

From-SVN: r38182

23 years agoRecognize alpha*-*.
Richard Henderson [Mon, 11 Dec 2000 02:30:14 +0000 (18:30 -0800)]
Recognize alpha*-*.

From-SVN: r38181

23 years agoinstall.texi (i*86-*-sco3.2v5*): Remove information duplicated in html version.
Robert Lipe [Mon, 11 Dec 2000 00:16:22 +0000 (00:16 +0000)]
install.texi (i*86-*-sco3.2v5*): Remove information duplicated in html version.

        * install.texi (i*86-*-sco3.2v5*): Remove information duplicated
        in html version.

From-SVN: r38180

23 years agogcconfig.h: Add new case for powerpc EABI.
Geoffrey Keating [Sun, 10 Dec 2000 22:57:37 +0000 (22:57 +0000)]
gcconfig.h: Add new case for powerpc EABI.

* gcconfig.h: Add new case for powerpc EABI.
[PPC]: Handle embedded OS for powerpc simulator.

From-SVN: r38179

23 years agoMakefile.am (libstdc++.INC:): 2000-12-05 reverted to include 2000-11-12 hunk.
Alexandre Petit-Bianco [Sun, 10 Dec 2000 20:51:22 +0000 (20:51 +0000)]
Makefile.am (libstdc++.INC:): 2000-12-05 reverted to include 2000-11-12 hunk.

2000-12-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* src/Makefile.am (libstdc++.INC:): 2000-12-05 reverted to include
2000-11-12 hunk.
* src/Makefile.in: Rebuilt.

From-SVN: r38178

23 years agojcf-io.c (find_class): Correct the logic that tests to see if a .java file is newer...
Mo DeJong [Sun, 10 Dec 2000 20:18:23 +0000 (20:18 +0000)]
jcf-io.c (find_class): Correct the logic that tests to see if a .java file is newer than its .class file.

2000-12-07  Mo DeJong  <mdejong@redhat.com>

* jcf-io.c (find_class): Correct the logic that tests to see if a
.java file is newer than its .class file. The compiler was
incorrectly printing a warning when file mod times were equal.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00530.html)

From-SVN: r38177

23 years agoi386.md (andqi_ext_0_cc): Use matching constraint for op1 to op0.
Richard Henderson [Sun, 10 Dec 2000 19:51:07 +0000 (11:51 -0800)]
i386.md (andqi_ext_0_cc): Use matching constraint for op1 to op0.

        * config/i386/i386.md (andqi_ext_0_cc): Use matching constraint
        for op1 to op0.

From-SVN: r38176

23 years agogenrecog.c (find_operand): Handle 'V' format code.
Richard Henderson [Sun, 10 Dec 2000 19:50:53 +0000 (11:50 -0800)]
genrecog.c (find_operand): Handle 'V' format code.

        * genrecog.c (find_operand): Handle 'V' format code.
        (find_matching_operand): New.
        (validate_pattern): Accept '=' for an in-out operand if there
        is another operand with a matching constraint.

From-SVN: r38175

23 years ago* genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko.
Richard Henderson [Sun, 10 Dec 2000 19:09:01 +0000 (11:09 -0800)]
* genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko.

From-SVN: r38174

23 years ago* MAINTAINERS: Update address, remove self from WAA list.
Neil Booth [Sun, 10 Dec 2000 17:55:26 +0000 (17:55 +0000)]
* MAINTAINERS: Update address, remove self from WAA list.

From-SVN: r38173

23 years agoauto_ptr.cc (test07): Remove test that tries to copy-initialize an auto_ptr<Base...
Jason Merrill [Sun, 10 Dec 2000 11:23:50 +0000 (06:23 -0500)]
auto_ptr.cc (test07): Remove test that tries to copy-initialize an auto_ptr<Base> from an...

        * testsuite/20_util/auto_ptr.cc (test07): Remove test that tries
        to copy-initialize an auto_ptr<Base> from an auto_ptr<Derived>; it
        isn't supposed to work anymore.

From-SVN: r38171

23 years agoDaily bump.
Jeff Law [Sun, 10 Dec 2000 08:45:10 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38170

23 years agoRichards changes to the closure code for alpha
Richard Henderson [Sun, 10 Dec 2000 07:13:18 +0000 (23:13 -0800)]
Richards changes to the closure code for alpha

From-SVN: r38169

23 years agoEnable interpreter for alpha.
Anthony Green [Sun, 10 Dec 2000 07:12:32 +0000 (07:12 +0000)]
Enable interpreter for alpha.

From-SVN: r38168

23 years agoTop level ChangeLog:
Alexandre Petit-Bianco [Sun, 10 Dec 2000 05:32:49 +0000 (05:32 +0000)]
Top level ChangeLog:

2000-12-09  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.

libjava/ChangeLog:

2000-12-09  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.

gcc/java/ChangeLog:

2000-12-09  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.

From-SVN: r38167

23 years agoMove the HTML-containing subdirs from 'docs' to 'docs/html'.
Phil Edwards [Sun, 10 Dec 2000 04:04:56 +0000 (04:04 +0000)]
Move the HTML-containing subdirs from 'docs' to 'docs/html'.

2000-12-09  Phil Edwards  <pme@sources.redhat.com>

Move the HTML-containing subdirs from 'docs' to 'docs/html'.
* README:  Update the locations of instructions.
* docs/doxygen/run_doxygen:  New file, stub.

* docs/Makefile:  Moved...
* docs/configopts.html:  Likewise.
* docs/documentation.html:  Likewise.
* docs/install.html:  Likewise.
* docs/lib3styles.css:  Likewise.
* docs/17_intro/BADNAMES:  Likewise.
* docs/17_intro/BUGS:  Likewise.
* docs/17_intro/C++STYLE:  Likewise.
* docs/17_intro/CHECKLIST:  Likewise.
* docs/17_intro/COPYING:  Likewise.
* docs/17_intro/DESIGN:  Likewise.
* docs/17_intro/HEADER_POLICY:  Likewise.
* docs/17_intro/PROBLEMS:  Likewise.
* docs/17_intro/RELEASE-NOTES:  Likewise.
* docs/17_intro/TODO:  Likewise.
* docs/17_intro/contribute.html:  Likewise.
* docs/17_intro/headers_cc.txt:  Likewise.
* docs/17_intro/howto.html:  Likewise.
* docs/17_intro/libstdc++-assign.txt:  Likewise.
* docs/17_intro/organization:  Likewise.
* docs/17_intro/porting-howto.html:  Likewise.
* docs/18_support/howto.html:  Likewise.
* docs/19_diagnostics/howto.html:  Likewise.
* docs/20_util/howto.html:  Likewise.
* docs/21_strings/gotw29a.txt:  Likewise.
* docs/21_strings/howto.html:  Likewise.
* docs/21_strings/stringtok_h.txt:  Likewise.
* docs/21_strings/stringtok_std_h.txt:  Likewise.
* docs/22_locale/codecvt.html:  Likewise.
* docs/22_locale/ctype.html:  Likewise.
* docs/22_locale/howto.html:  Likewise.
* docs/22_locale/locale.html:  Likewise.
* docs/23_containers/howto.html:  Likewise.
* docs/23_containers/wrappers_h.txt:  Likewise.
* docs/24_iterators/howto.html:  Likewise.
* docs/25_algorithms/howto.html:  Likewise.
* docs/26_numerics/howto.html:  Likewise.
* docs/27_io/howto.html:  Likewise.
* docs/27_io/iostreams_hierarchy.pdf:  Likewise.
* docs/ext/howto.html:  Likewise.
* docs/faq/index.html:  Likewise.
* docs/faq/index.txt:  Likewise.
* docs/html/Makefile:  ...to here.
* docs/html/configopts.html:  Likewise.
* docs/html/documentation.html:  Likewise.
* docs/html/install.html:  Likewise.
* docs/html/lib3styles.css:  Likewise.
* docs/html/17_intro/BADNAMES:  Likewise.
* docs/html/17_intro/BUGS:  Likewise.
* docs/html/17_intro/C++STYLE:  Likewise.
* docs/html/17_intro/CHECKLIST:  Likewise.
* docs/html/17_intro/COPYING:  Likewise.
* docs/html/17_intro/DESIGN:  Likewise.
* docs/html/17_intro/HEADER_POLICY:  Likewise.
* docs/html/17_intro/PROBLEMS:  Likewise.
* docs/html/17_intro/RELEASE-NOTES:  Likewise.
* docs/html/17_intro/TODO:  Likewise.
* docs/html/17_intro/contribute.html:  Likewise.
* docs/html/17_intro/headers_cc.txt:  Likewise.
* docs/html/17_intro/howto.html:  Likewise.
* docs/html/17_intro/libstdc++-assign.txt:  Likewise.
* docs/html/17_intro/organization:  Likewise.
* docs/html/17_intro/porting-howto.html:  Likewise.
* docs/html/18_support/howto.html:  Likewise.
* docs/html/19_diagnostics/howto.html:  Likewise.
* docs/html/20_util/howto.html:  Likewise.
* docs/html/21_strings/gotw29a.txt:  Likewise.
* docs/html/21_strings/howto.html:  Likewise.
* docs/html/21_strings/stringtok_h.txt:  Likewise.
* docs/html/21_strings/stringtok_std_h.txt:  Likewise.
* docs/html/22_locale/codecvt.html:  Likewise.
* docs/html/22_locale/ctype.html:  Likewise.
* docs/html/22_locale/howto.html:  Likewise.
* docs/html/22_locale/locale.html:  Likewise.
* docs/html/23_containers/howto.html:  Likewise.
* docs/html/23_containers/wrappers_h.txt:  Likewise.
* docs/html/24_iterators/howto.html:  Likewise.
* docs/html/25_algorithms/howto.html:  Likewise.
* docs/html/26_numerics/howto.html:  Likewise.
* docs/html/27_io/howto.html:  Likewise.
* docs/html/27_io/iostreams_hierarchy.pdf:  Likewise.
* docs/html/ext/howto.html:  Likewise.
* docs/html/faq/index.html:  Likewise.
* docs/html/faq/index.txt:  Likewise.

From-SVN: r38166

23 years agozipfile.h (ZipDirectory): Declare size, uncompressed_size, filestart and filename_len...
Anthony Green [Sun, 10 Dec 2000 03:53:33 +0000 (03:53 +0000)]
zipfile.h (ZipDirectory): Declare size, uncompressed_size, filestart and filename_length as int values.

* zipfile.h (ZipDirectory): Declare size, uncompressed_size,
filestart and filename_length as int values.

From-SVN: r38165

23 years agogenrecog.c (validate_pattern): Verify that ZERO_EXTRACT and STRICT_LOW_PART as SET_DE...
Richard Henderson [Sat, 9 Dec 2000 22:06:52 +0000 (14:06 -0800)]
genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and STRICT_LOW_PART as SET_DEST have in-out constraints.

        * genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and
        STRICT_LOW_PART as SET_DEST have in-out constraints.

From-SVN: r38164

23 years agoc-common.c (check_function_format): Don't suggest adding format attributes to functio...
Joseph Myers [Sat, 9 Dec 2000 21:26:56 +0000 (21:26 +0000)]
c-common.c (check_function_format): Don't suggest adding format attributes to functions with no parameter to which...

* c-common.c (check_function_format): Don't suggest adding format
attributes to functions with no parameter to which to add them.

testsuite:
* gcc.dg/format-miss-2.c: New test.

From-SVN: r38163

23 years agoconfigure.in (target_libs): Revert 2000-12-08 patch.
Alexandre Petit-Bianco [Sat, 9 Dec 2000 21:08:13 +0000 (21:08 +0000)]
configure.in (target_libs): Revert 2000-12-08 patch.

2000-12-09  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* configure.in (target_libs): Revert 2000-12-08 patch.
(noconfigdirs): Added target-libjava.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00500.html)

From-SVN: r38162

23 years agoRemove some psurious whitespace
Nick Clifton [Sat, 9 Dec 2000 20:53:53 +0000 (20:53 +0000)]
Remove some psurious whitespace

From-SVN: r38161

23 years agoMark the generated insn not the set as being DWARF2_FRAME_RELATED_P.
Nick Clifton [Sat, 9 Dec 2000 20:51:26 +0000 (20:51 +0000)]
Mark the generated insn not the set as being DWARF2_FRAME_RELATED_P.

From-SVN: r38160

23 years agoClean up copy-initialization in overloading code.
Jason Merrill [Sat, 9 Dec 2000 19:03:24 +0000 (14:03 -0500)]
Clean up copy-initialization in overloading code.

        * call.c (build_user_type_conversion_1): Die if we are asked to
        convert to the same or a base type.
        (implicit_conversion): Avoid doing so.  Lose reference binding code.
        (convert_like_real): Treat BASE_CONV and RVALUE_CONV as implicit
        direct-initialization.  Also do direct-init part of copy-init.
        (build_user_type_conversion): Don't provide context to convert_like.
        * cvt.c (ocp_convert): build_user_type_conversion will now provide
        the constructor call for copy-init.

From-SVN: r38159

23 years agoerror.c (dump_function_name): Don't let the user see __comp_ctor.
Jason Merrill [Sat, 9 Dec 2000 18:34:12 +0000 (13:34 -0500)]
error.c (dump_function_name): Don't let the user see __comp_ctor.

        * error.c (dump_function_name): Don't let the user see __comp_ctor.

        Clean up copy-initialization in overloading code.
        * call.c (build_user_type_conversion_1): Die if we are asked to
        convert to the same or a base type.
        (implicit_conversion): Avoid doing so.  Lose reference binding code.
        (convert_like_real): Treat BASE_CONV and RVALUE_CONV as implicit
        direct-initialization.  Also do direct-init part of copy-init.
        (build_user_type_conversion): Don't provide context to convert_like.
        * cvt.c (ocp_convert): build_user_type_conversion will now provide
        the constructor call for copy-init.

        * pt.c (tsubst_decl): Call clone_function_decl here if this is an
        instantiation of a member template.
        (do_decl_instantiation): Not here.

From-SVN: r38158

23 years agoMakefile.in: use $(build_exeext) for all build system executable targets.
Laurynas Biveinis [Sat, 9 Dec 2000 16:27:51 +0000 (16:27 +0000)]
Makefile.in: use $(build_exeext) for all build system executable targets.

* Makefile.in: use $(build_exeext) for all build
system executable targets.

From-SVN: r38157

23 years agooops, that was a mistake
DJ Delorie [Sat, 9 Dec 2000 16:25:20 +0000 (11:25 -0500)]
oops, that was a mistake

From-SVN: r38156

23 years ago* djunpack.bat: removed.
Laurynas Biveinis [Sat, 9 Dec 2000 16:07:41 +0000 (16:07 +0000)]
* djunpack.bat: removed.

From-SVN: r38155

23 years agoMakefile.in: handle DOS-style absolute paths.
Laurynas Biveinis [Sat, 9 Dec 2000 16:06:19 +0000 (16:06 +0000)]
Makefile.in: handle DOS-style absolute paths.

* Makefile.in: handle DOS-style absolute paths.
* config-ml.in: likewise.
* symlink-tree: likewise.

From-SVN: r38154

23 years agoinstall.texi: remove i[345]86-*-winnt3.5 section.
Laurynas Biveinis [Sat, 9 Dec 2000 16:01:24 +0000 (16:01 +0000)]
install.texi: remove i[345]86-*-winnt3.5 section.

* install.texi: remove i[345]86-*-winnt3.5 section.
* configur.bat: removed.
* config/msdos: directory removed.

From-SVN: r38153

23 years agoUpdate to Netlib version 20001205.
Toon Moene [Sat, 9 Dec 2000 15:34:53 +0000 (16:34 +0100)]
Update to Netlib version 20001205.

2000-12-09  Toon Moene  <toon@moene.indiv.nluug.nl>

Update to Netlib version 20001205.
Thanks go to David M. Gay for these updates.

* libF77/Version.c: Update version information.
* libF77/z_log.c: Improve accuracy of real(log(z)) for
z near (+-1,eps) with |eps| small.
* libF77/s_cat.c: Adjust call when ftnint and ftnlen are
of different size.
* libF77/dtime_.c, libF77/etime_.c: Use floating point divide.

* libI77/Version.c: Update version information.
* libI77/rsne.c, libI77/xwsne.c: Adjust code for when ftnint
and ftnlen differ in size.
* libI77/lread.c: Fix reading of namelist logical values followed
by <name>= where <name> starts with T or F.

From-SVN: r38152

23 years agolineflags.c: New tests.
Neil Booth [Sat, 9 Dec 2000 12:07:56 +0000 (12:07 +0000)]
lineflags.c: New tests.

        * gcc.dg/cpp/lineflags.c: New tests.
        * gcc.dg/cpp/poison.c: Update.
        * gcc.dg/cpp/redef2.c: Update.
        * gcc.dg/cpp/skipping.c: New test.

From-SVN: r38151

23 years agocppfiles.c (NEVER_REREAD, [...]): Move from cpphash.h.
Neil Booth [Sat, 9 Dec 2000 12:06:37 +0000 (12:06 +0000)]
cppfiles.c (NEVER_REREAD, [...]): Move from cpphash.h.

        * cppfiles.c (NEVER_REREAD, DO_NOT_REREAD): Move from cpphash.h.
        * cpphash.h (NEVER_REREAD, DO_NOT_REREAD, ABSOLUTE_PATH): Delete.
        * cpplex.c (parse_identifier): Improve diagnostic.
        (_cpp_lex_token): Return unconditionally at the end of a directive.
        * cpplib.c (read_flag): Verify legality of each flag.
        (end_directive): Resotre pfile->skipping before skip_rest_of_line.
        (do_line): Use the new read_flag.
        * cppmacro.c (struct cpp_macro, parse_arg, replace_args,
        check_macro_redefinition, parse_params): Rename var_args to
        variadic.

From-SVN: r38150

23 years agocvsignore: Add info files.
Joseph Myers [Sat, 9 Dec 2000 10:22:30 +0000 (10:22 +0000)]
cvsignore: Add info files.

* .cvsignore: Add info files.

f:
* .cvsignore: New file; add info files.

From-SVN: r38149

23 years agoDaily bump.
Jeff Law [Sat, 9 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38148

23 years agowinnt: Remove obsolete directory.
Laurynas Biveinis [Sat, 9 Dec 2000 04:10:22 +0000 (04:10 +0000)]
winnt: Remove obsolete directory.

* config/winnt: Remove obsolete directory.
* install.texi (Configurations): Remove obsolete documentation for Windows NT.

From-SVN: r38147

23 years agoIndentation fix
Alexandre Oliva [Sat, 9 Dec 2000 03:42:29 +0000 (03:42 +0000)]
Indentation fix

From-SVN: r38146

23 years agofastjar: Imported.
Alexandre Petit-Bianco [Sat, 9 Dec 2000 03:08:23 +0000 (03:08 +0000)]
fastjar: Imported.

2000-12-08  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * fastjar: Imported.

From-SVN: r38145

23 years agoMakefile.in (TARGET_CONFIGDIRS): Wrong place.
Alexandre Petit-Bianco [Sat, 9 Dec 2000 02:49:29 +0000 (02:49 +0000)]
Makefile.in (TARGET_CONFIGDIRS): Wrong place.

2000-12-08  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* Makefile.in (TARGET_CONFIGDIRS): Wrong place. Removed note about
libjava.
* configure.in (target_libs): Removed `target-libjava'.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00480.html)

From-SVN: r38144

23 years agoMakefile.in (TARGET_CONFIGDIRS): Added note about libjava.
Alexandre Petit-Bianco [Sat, 9 Dec 2000 01:39:21 +0000 (01:39 +0000)]
Makefile.in (TARGET_CONFIGDIRS): Added note about libjava.

2000-12-08  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * Makefile.in (TARGET_CONFIGDIRS): Added note about libjava.
        (ALL_MODULES): Added fastjar.
        (NATIVE_CHECK_MODULES, INSTALL_MODULES, CLEAN_MODULES): Likewise.
        (all-target-libjava): all-fastjar replaces all-zip.
        (all-fastjar): Added.
        (configure-target-fastjar, all-target-fastjar): Likewise.
        * configure.in (host_tools): Added fastjar.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00479.html)

From-SVN: r38143

23 years agoAdd - before rms to be more portable.
Mike Stump [Fri, 8 Dec 2000 23:18:00 +0000 (23:18 +0000)]
Add - before rms to be more portable.

From-SVN: r38142

23 years agoconfigure.in: Don't define INSTALL_INFO.
Joseph Myers [Fri, 8 Dec 2000 22:54:06 +0000 (22:54 +0000)]
configure.in: Don't define INSTALL_INFO.

* configure.in: Don't define INSTALL_INFO.
* configure: Regenerate.
* Makefile.in (INSTALL_INFO): Remove.
(info): Depend on info files in source directory.
(cpp.info, gcc.info, c-tree.info): Build info files in source
directory.
(distclean): Don't remove info files.
(maintainer-clean): Remove info files from source directory.
(install-normal): Depend on install-info.
(install-info): Install info files from source directory, if they
exist.
* texinfo.tex: Update to version 2000-11-09.08 from ftp.gnu.org.

ch:
* Make-lang.in (CHILL.info): Depend on info files in source
directory.
(ch/chill.info): Build info files in source directory.
(CHILL.install-info): Install info files from source directory.

f:
* Make-lang.in (f77.info): Depend on info files in source
directory.
(f/g77.info): Build info files in source directory; don't build
them unless BUILD_INFO is "info".
(f77.install-info): Install info files from source directory.

From-SVN: r38141

23 years agolcm.c (optimize_mode_switching): Check whether an insn is a NOTE before taking its...
Alexandre Oliva [Fri, 8 Dec 2000 22:28:57 +0000 (22:28 +0000)]
lcm.c (optimize_mode_switching): Check whether an insn is a NOTE before taking its NOTE_LINE_NUMBER.

* lcm.c (optimize_mode_switching): Check whether an insn is a NOTE
before taking its NOTE_LINE_NUMBER.

From-SVN: r38140

23 years agoFrom Phil Edwards:
Tom Tromey [Fri, 8 Dec 2000 22:27:09 +0000 (22:27 +0000)]
From Phil Edwards:

* configure: Rebuilt.
* configure.in: Use echo, not `:', to create .d files.

From-SVN: r38139

23 years agoacinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New conditional, GLIBCPP_BUILD_LIBIO, true...
Phil Edwards [Fri, 8 Dec 2000 22:26:49 +0000 (22:26 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New conditional, GLIBCPP_BUILD_LIBIO, true iff building libio.

2000-12-08  Phil Edwards  <pme@sources.redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO):  New conditional,
  GLIBCPP_BUILD_LIBIO, true iff building libio.
* libio/Makefile.am:  Use; set noinst_LTLIBRARIES empty if false.
* aclocal.m4:  Regenerated.
* config.h.in:  Regenerated.
* configure:  Regenerated.
* libio/Makefile.in:  Regenerated.
* libmath/Makefile.in:  Regenerated.

From-SVN: r38138

23 years agoFix spelling typo
Nick Clifton [Fri, 8 Dec 2000 19:57:06 +0000 (19:57 +0000)]
Fix spelling typo

From-SVN: r38137

23 years agolibffi closures for Alpha
Richard Henderson [Fri, 8 Dec 2000 19:41:15 +0000 (19:41 +0000)]
libffi closures for Alpha

From-SVN: r38136

23 years agoAdd pool ranges to load_indirect_jump pattern
Nick Clifton [Fri, 8 Dec 2000 19:36:32 +0000 (19:36 +0000)]
Add pool ranges to load_indirect_jump pattern

From-SVN: r38135

23 years agoAdd support for interrupt function attribute
Nick Clifton [Fri, 8 Dec 2000 19:25:33 +0000 (19:25 +0000)]
Add support for interrupt function attribute

From-SVN: r38134

23 years ago* tradcpp.c (do_include): Make pointer differences 64-bit clean.
Brad Lucier [Fri, 8 Dec 2000 18:42:13 +0000 (18:42 +0000)]
* tradcpp.c (do_include): Make pointer differences 64-bit clean.

From-SVN: r38133

23 years agoStringBuffer.java (insert(int,char[])): Avoid NullPointerException so proper check...
Warren Levy [Fri, 8 Dec 2000 13:08:36 +0000 (13:08 +0000)]
StringBuffer.java (insert(int,char[])): Avoid NullPointerException so proper check of offset can be done.

* java/lang/StringBuffer.java (insert(int,char[])): Avoid
NullPointerException so proper check of offset can be done.

From-SVN: r38132

23 years agoFileInputStream.java (close): Check if the fd is valid.
Warren Levy [Fri, 8 Dec 2000 10:28:32 +0000 (10:28 +0000)]
FileInputStream.java (close): Check if the fd is valid.

* java/io/FileInputStream.java (close): Check if the fd is valid.
* java/io/RandomAccessFile.java (close): Ditto.
* java/net/PlainDatagramSocketImpl.java (close): Ditto.
* java/net/PlainSocketImpl.java (close): Ditto.

From-SVN: r38131

23 years agofp-bit.c (_fpmul_parts): Use USItype variables as inputs for multiplies.
J"orn Rennecke [Fri, 8 Dec 2000 09:14:03 +0000 (09:14 +0000)]
fp-bit.c (_fpmul_parts): Use USItype variables as inputs for multiplies.

* fp-bit.c (_fpmul_parts): Use USItype variables as inputs
for multiplies.

From-SVN: r38130

23 years agoDaily bump.
Jeff Law [Fri, 8 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38129

23 years agoMakefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl, cexpl, clog10l, csinhl, ctanhl...
Gabriel Dos Reis [Fri, 8 Dec 2000 05:57:48 +0000 (05:57 +0000)]
Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl, cexpl, clog10l, csinhl, ctanhl, ctanl.

* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl,
cexpl, clog10l, csinhl, ctanhl, ctanl.
(EXTRA_DIST): Remove ccos, ccosf, csin, csinf, ccosh, ccoshf,
csing, csinhf, clog10, clog10f, ctan, ctanf, ctanh, ctanhf.
* libmath/Makefile.in: Regenarate.
* libmath/ccos.c: Remove.
* libmath/ccosf.c: Likewise.
* libmath/ccosl.c: Likewise.
* libmath/csin.c: Likewise.
* libmath/csinf.c: Likewise.
* libmath/csinl.c: Likewise.
* libmath/ctan.c: Likewise.
* libmath/ctanf.c: Likewise.
* libmath/ctanl.c: Likewise.
* libmath/ccosh.c: Likewise.
* libmath/ccoshf.c: Likewise.
* libmath/ccoshl.c: Likewise.
* libmath/csinh.c: Likewise.
* libmath/csinhf.c: Likewise.
* libmath/csinhl.c: Likewise.
* libmath/ctanh.c: Likewise.
* libmath/ctanhf.c: Likewise.
* libmath/ctanhl.c: Likewise.
* libmath/cexp.c: Likewise.
* libmath/cexpf.c: Likewise.
* libmath/cexpl.c: Likewise.
* libmath/clog10.c: Likewise.
* libmath/clog10f.c: Likewise.
* libmath/clog10l.c: Likewise.
* libmath/complex-stub.h: Remove forward declaration of functions
mentioned above.

* include/bits/std_complex.h(tan, tanh): Define primary templates.
(complex<>): Remove friend declarations for tan<> and tanh<>.
* src/complex.cc(tan, tanh): Remove specializations.

* acinclude.m4: Remove check for ccos, ccosf, ccosl, ccosh,
ccoshf, ccoshl, csin, csinf, csinl, csinh, csinhf, csinhl, cexp,
cexpf, cexpl, ctan, ctanf, ctanl, ctanh, ctanhf, ctanhl.
* aclocal.m4: Regenarate.
* configure: Regenarate.

From-SVN: r38128

23 years agoacinclude.m4: Don't forget to remove check for cpowl as it is no longer needed...
Gabriel Dos Reis [Fri, 8 Dec 2000 03:43:22 +0000 (03:43 +0000)]
acinclude.m4: Don't forget to remove check for cpowl as it is no longer needed...

* acinclude.m4: Don't forget to remove check for cpowl as it is no
longer needed, nor is the corresponding stub existent.
* aclocal.m4: Regenarate.
* configure: Regenarate.

From-SVN: r38127

23 years ago* Makefile.in (local-distclean): Remove leftover built files.
Mike Stump [Fri, 8 Dec 2000 03:35:16 +0000 (03:35 +0000)]
* Makefile.in (local-distclean): Remove leftover built files.

From-SVN: r38126

23 years ago* Makefile.in (distclean): Remove alloca.c hashtab.c.
Mike Stump [Fri, 8 Dec 2000 03:02:46 +0000 (03:02 +0000)]
* Makefile.in (distclean): Remove alloca.c hashtab.c.

From-SVN: r38125

23 years agosafe-ctype.h: New file.
Zack Weinberg [Fri, 8 Dec 2000 03:00:26 +0000 (03:00 +0000)]
safe-ctype.h: New file.

include:
* safe-ctype.h: New file.
libiberty:
* safe-ctype.c: New file.
* Makefile.in (CFILES): Add safe-ctype.c.
(REQUIRED_OFILES): Add safe-ctype.o.

* argv.c: Define ISBLANK and use it, not isspace.
* basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
before calling TOLOWER(c)/TOUPPER(c).
gcc:
* Makefile.in (HOST_RTL): Add safe-ctype.o.
(safe-ctype.o): New rule.
* system.h: Include safe-ctype.h, not ctype.h.  No need to
wrap ctype macros.

* cpphash.h: Zap IStable and related macros.  Define is_* in
terms of safe-ctype.h macros.
* cppinit.c: Delete the IStable and all related code.

* tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and
is_space arrays.  Delete initialize_char_syntax.  Change all
references to the above arrays to use macros instead.
* tradcpp.h: Define is_idchar, is_idstart, is_space, and
is_nvspace in terms of safe_ctype.h's macros.
* tradcif.y: is_idchar, is_idstart are macros not arrays.

* config/i370/i370.c, config/winnt/dirent.c,
config/winnt/fixinc-nt.c, config/winnt/ld.c:
Use uppercase ctype macros.  If we included ctype.h,
include safe-ctype.h instead.

* fixinc/fixfixes.c: Use uppercase ctype macros.  Don't test
ISLOWER(c) before calling TOUPPER(c).
* fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk.
* fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h.  No need to
wrap ctype macros.  Don't test ISUPPER(x) before calling TOLOWER(x).
gcc/ch:
* lex.c: Don't bother checking whether ISUPPER(c) before
calling TOLOWER(c).  Don't bother checking whether isascii(c)
before testing ISSPACE(c); ISSPACE(c) includes '\n'.
gcc/f:
* Make-lang.in: Link f/fini with safe-ctype.o.
* bad.c: Don't test ISUPPER(c) || ISLOWER(c) before calling TOUPPER(c).
* com.c: Use TOUPPER, not ffesrc_toupper.
* fini.c: Don't test ISALPHA(c) before calling TOUPPER(c)/TOLOWER(c).
* intrin.c: Don't test IN_CTYPE_DOMAIN(c).
* src.c: Delete ffesrc_toupper_ and ffesrc_tolower_ and their
initializing code; use TOUPPER and TOLOWER instead of
ffesrc_toupper and ffesrc_tolower.
* src.h: Don't declare ffesrc_toupper_ or ffesrc_tolower_.
Don't define ffesrc_toupper or ffesrc_tolower.
gcc/java:
* jvgenmain.c: Use ISPRINT not isascii.

From-SVN: r38124

23 years ago* g++.old-deja/g++.other/eh3.C: New testcase.
Geoffrey Keating [Fri, 8 Dec 2000 01:37:13 +0000 (01:37 +0000)]
* g++.old-deja/g++.other/eh3.C: New testcase.

From-SVN: r38123

23 years agoc-decl.c (grokdeclarator): preserve previous alignments when rebuilding array types.
DJ Delorie [Fri, 8 Dec 2000 01:10:40 +0000 (20:10 -0500)]
c-decl.c (grokdeclarator): preserve previous alignments when rebuilding array types.

* c-decl.c (grokdeclarator): preserve previous alignments when
rebuilding array types.

From-SVN: r38122

23 years agowtr-aggr-init-1.c, [...]: Update.
Neil Booth [Thu, 7 Dec 2000 23:21:09 +0000 (23:21 +0000)]
wtr-aggr-init-1.c, [...]: Update.

        * gcc.dg/wtr-aggr-init-1.c, wtr-escape-1.c, wtr-int-type-1.c,
        wtr-label-1.c, wtr-static-1.c, wtr-strcat-1.c, wtr-suffix-1.c,
        wtr-switch-1.c, wtr-unary-plus-1.c, wtr-union-init-1.c
        wtr-union-init-2.c, wtr-union-init-3.c: Update.
        * gcc.dg/cpp/extratokens.c, tr-warn4.c, tr-warn5.c, tr-warn6.c:
        Update.

From-SVN: r38121

23 years agocppfiles.c (struct include_file): Move from cpphash.h.
Neil Booth [Thu, 7 Dec 2000 23:17:56 +0000 (23:17 +0000)]
cppfiles.c (struct include_file): Move from cpphash.h.

        * cppfiles.c (struct include_file): Move from cpphash.h.
        (_cpp_never_reread): New function.
        (open_file, read_include_file): Use it.
        (stack_include_file): Set the buffer's sysp according to the
        path in which the file was found.
        (find_include_file): Don't set sysp.
        (cpp_make_system_header, actual_directory): Update.
        (_cpp_execute_include): Do #include_next lookup handling here,
        not in cpplib.c.  Use _cpp_never_reread.
        * cpphash.h (struct_include_file): Remove.
        (struct cpp_buffer): New member sysp.
        (CPP_IN_SYSTEM_HEADER, _cpp_execute_include): Update.
        (_cpp_never_reread): New.
        * cpplib.c (read_line_number): Rename read_flag.  Rework slightly.
        (end_directive): Clear line_extension flag.
        (_cpp_handle_directive): Set line_extension flag for #number.
        (do_include_next): Handle path lookup in _cpp_execute_include.
        (do_line): Cleanup to use read_flag.  Don't allow flags in #line.
        (_cpp_do_file_change): Update.
        (do_pragma_once): Use cpp_never_reread.  Clean up.
        * cpplib.h (struct lexer_state): New member line_extension.

From-SVN: r38120

23 years agoformat-nonlit-1.c, [...]: Use __SIZE_TYPE__ instead of int for type of integers cast...
Joseph Myers [Thu, 7 Dec 2000 23:03:21 +0000 (23:03 +0000)]
format-nonlit-1.c, [...]: Use __SIZE_TYPE__ instead of int for type of integers cast to pointers.

* gcc.dg/format-nonlit-1.c, gcc.dg/format-nonlit-2.c: Use
__SIZE_TYPE__ instead of int for type of integers cast to
pointers.

From-SVN: r38119

23 years agoFix typo.
Mike Stump [Thu, 7 Dec 2000 22:36:56 +0000 (22:36 +0000)]
Fix typo.

From-SVN: r38118

23 years agotexi2pod.pl: If multiple @c man sections with the same tag appear...
Zack Weinberg [Thu, 7 Dec 2000 22:11:12 +0000 (22:11 +0000)]
texi2pod.pl: If multiple @c man sections with the same tag appear...

* texi2pod.pl: If multiple @c man sections with the same tag
appear, concatenate them in the final output.  When skipping,
ignore block commands that can't cause skipping, and honor
those that can.  Ensure that verbatim blocks are separate
paragraphs.

From-SVN: r38117

23 years ago* Makefile.in (distclean): When cleaning, remove testsuite.
Mike Stump [Thu, 7 Dec 2000 22:04:07 +0000 (22:04 +0000)]
* Makefile.in (distclean): When cleaning, remove testsuite.

From-SVN: r38116

23 years agoctype_base.h (ctype_base): Change space mask.
Benjamin Kosnik [Thu, 7 Dec 2000 20:49:10 +0000 (20:49 +0000)]
ctype_base.h (ctype_base): Change space mask.

2000-12-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* config/os/generic/bits/ctype_base.h (ctype_base): Change space mask.

* config/os/generic/bits/ctype_noninline.h (ctype): Remove default
arguments in definition.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
* config/os/newlib/bits/ctype_noninline.h (ctype): Same.
* config/os/irix/bits/ctype_noninline.h (ctype): Same.
* config/os/hpux/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
* config/os/aix/bits/ctype_noninline.h (ctype): Same.

* include/bits/locale_facets.h: Tweak.

From-SVN: r38115

23 years agoflow.c (calculate_global_regs_live): Force the stack pointer live after reload as...
Richard Henderson [Thu, 7 Dec 2000 19:29:24 +0000 (11:29 -0800)]
flow.c (calculate_global_regs_live): Force the stack pointer live after reload as well.

        * flow.c (calculate_global_regs_live): Force the stack pointer live
        after reload as well.

From-SVN: r38114

23 years agouse "exeext" for variables and "build_exeext" for substitution
Bruce Korb [Thu, 7 Dec 2000 14:42:39 +0000 (14:42 +0000)]
use "exeext" for variables and "build_exeext" for substitution

From-SVN: r38113

23 years agoclass.c (check_field_decls): Don't special case anonymous fields in error messages.
Nathan Sidwell [Thu, 7 Dec 2000 14:26:37 +0000 (14:26 +0000)]
class.c (check_field_decls): Don't special case anonymous fields in error messages.

* class.c (check_field_decls): Don't special case anonymous
fields in error messages.
(note_name_declared_in_class): Use %D on diagnostic.

* tree.c (pod_type_p): Use strip_array_types.
(cp_valid_lang_attribute): Likewise.
* typeck.c (cp_type_quals): Strip arrays separately, to avoid
multiple evaluations.
(cp_has_mutable_p): Use strip_array_types.

From-SVN: r38112

23 years agocp-tree.h (sufficient_parms_p): Declare new function.
Nathan Sidwell [Thu, 7 Dec 2000 14:17:53 +0000 (14:17 +0000)]
cp-tree.h (sufficient_parms_p): Declare new function.

* cp-tree.h (sufficient_parms_p): Declare new function.
* call.c (sufficient_parms_p): New function, broken out of ...
(add_function_candidate): ... here. Use it.
(add_conv_candidate): Use it.
* decl.c (grok_ctor_properties): Use it.

From-SVN: r38111

23 years agooptimize.c (copy_body_r): Set STMT_IS_FULL_EXPR_P on EXPR_STMT.
Jakub Jelinek [Thu, 7 Dec 2000 09:19:10 +0000 (10:19 +0100)]
optimize.c (copy_body_r): Set STMT_IS_FULL_EXPR_P on EXPR_STMT.

* optimize.c (copy_body_r): Set STMT_IS_FULL_EXPR_P on EXPR_STMT.

* g++.old-deja/g++.other/cleanup4.C: New test.

From-SVN: r38110

23 years agoDaily bump.
Jeff Law [Thu, 7 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38109

23 years ago* gcc_update: Don't touch tradcif.c or java/parse.h.
Joseph Myers [Thu, 7 Dec 2000 08:13:13 +0000 (08:13 +0000)]
* gcc_update: Don't touch tradcif.c or java/parse.h.

From-SVN: r38108

23 years ago* Changelog: Forgotten commit.
Neil Booth [Thu, 7 Dec 2000 08:03:07 +0000 (08:03 +0000)]
* Changelog: Forgotten commit.

From-SVN: r38107

23 years agoc-common.c (warn_format_security): New variable.
Joseph Myers [Thu, 7 Dec 2000 07:56:44 +0000 (07:56 +0000)]
c-common.c (warn_format_security): New variable.

* c-common.c (warn_format_security): New variable.
(check_format_info): Warn about non-literal formats with no format
arguments if either -Wformat-nonliteral or -Wformat-security is
specified.
(set_Wformat): Set warn_format_security for settings other than 1.
* c-common.h (warn_format_security): Declare.
* c-decl.c (c_decode_option): Decode -Wformat-security and
-Wno-format-security.
* invoke.texi: Document -Wformat-security.
* toplev.c (documented_lang_options): Include -Wformat-security
and -Wno-format-security.

cp:
* decl2.c (lang_decode_option): Handle -Wformat-security.

testsuite:
* format-sec-1.c: New test.

From-SVN: r38106

23 years agoc-common.c (check_format_info): Warn for non-constant format strings with strftime...
Joseph Myers [Thu, 7 Dec 2000 07:52:20 +0000 (07:52 +0000)]
c-common.c (check_format_info): Warn for non-constant format strings with strftime formats if -Wformat-nonliteral.

* c-common.c (check_format_info): Warn for non-constant format
strings with strftime formats if -Wformat-nonliteral.  Where the
format can convert arguments, if the format is not a string
literal and there are no arguments to the format, give a different
warning message from the general non-string-literal case.

testsuite:
* gcc.dg/format-nonlit-3.c: New test.

From-SVN: r38105

23 years agoc-common.c (format_wanted_type): Add reading_from_flag.
Joseph Myers [Thu, 7 Dec 2000 07:40:45 +0000 (07:40 +0000)]
c-common.c (format_wanted_type): Add reading_from_flag.

* c-common.c (format_wanted_type): Add reading_from_flag.
(print_char_table): Mark %s and %S formats with flag "R".
(check_format_info_main): Set up reading_from_flag appropriately.
If aflag, always set writing_in_flag rather than relying on the
format used being a scanf format and so having it set.
(check_format_types): Check for formats reading through null
pointers.

testsuite:
* gcc.dg/c90-printf-1.c: Add test for printf formats reading
through a null pointer.

From-SVN: r38104