korbb [Mon, 11 Dec 2000 21:04:50 +0000 (21:04 +0000)]
emit initial value for all fields
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38196
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 11 Dec 2000 20:27:03 +0000 (20:27 +0000)]
* gcc.dg/cpp/defined_trad.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38195
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 11 Dec 2000 19:38:15 +0000 (19:38 +0000)]
* tradcpp.h: For tradcpp, NUL is not whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38194
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 11 Dec 2000 18:41:29 +0000 (18:41 +0000)]
2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
* install-defs.sh: Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38193
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 11 Dec 2000 18:22:32 +0000 (18:22 +0000)]
* fix-header.c (read_scan_file): Macro expansion is not a file buffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38192
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Mon, 11 Dec 2000 16:52:42 +0000 (16:52 +0000)]
configure.in cleanup for libgcj
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38191
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Mon, 11 Dec 2000 12:46:57 +0000 (12:46 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38190
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 11 Dec 2000 08:45:40 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38189
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 11 Dec 2000 07:50:52 +0000 (07:50 +0000)]
* gcj/javaprims.h: Rebuilt CNI namespace declarations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38188
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38187
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 11 Dec 2000 07:45:16 +0000 (07:45 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38186
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 11 Dec 2000 04:54:55 +0000 (04:54 +0000)]
* java/util/Hashtable.java (Enumerator.nextElement): Initialize `e'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38185
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 11 Dec 2000 04:37:14 +0000 (04:37 +0000)]
* configure.in: Remove check for -fuse-divide-subroutine.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38184
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 11 Dec 2000 03:47:48 +0000 (03:47 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38183
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 11 Dec 2000 02:59:55 +0000 (02:59 +0000)]
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)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38182
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Mon, 11 Dec 2000 02:30:14 +0000 (02:30 +0000)]
Recognize alpha*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38181
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Mon, 11 Dec 2000 00:16:22 +0000 (00:16 +0000)]
* install.texi (i*86-*-sco3.2v5*): Remove information duplicated
in html version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38180
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sun, 10 Dec 2000 22:57:37 +0000 (22:57 +0000)]
* gcconfig.h: Add new case for powerpc EABI.
[PPC]: Handle embedded OS for powerpc simulator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38179
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Sun, 10 Dec 2000 20:51:22 +0000 (20:51 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38178
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Sun, 10 Dec 2000 20:18:23 +0000 (20:18 +0000)]
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)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38177
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 10 Dec 2000 19:51:07 +0000 (19:51 +0000)]
* config/i386/i386.md (andqi_ext_0_cc): Use matching constraint
for op1 to op0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38176
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 10 Dec 2000 19:50:53 +0000 (19:50 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38175
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 10 Dec 2000 19:09:01 +0000 (19:09 +0000)]
* genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38174
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 10 Dec 2000 17:55:26 +0000 (17:55 +0000)]
* MAINTAINERS: Update address, remove self from WAA list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38173
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 10 Dec 2000 11:23:50 +0000 (11:23 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38171
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 10 Dec 2000 08:45:10 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38170
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sun, 10 Dec 2000 07:13:18 +0000 (07:13 +0000)]
Richards changes to the closure code for alpha
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38169
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sun, 10 Dec 2000 07:12:32 +0000 (07:12 +0000)]
Enable interpreter for alpha.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38168
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38167
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Sun, 10 Dec 2000 04:04:56 +0000 (04:04 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38166
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38165
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 9 Dec 2000 22:06:52 +0000 (22:06 +0000)]
* genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and
STRICT_LOW_PART as SET_DEST have in-out constraints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38164
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [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 to add them.
testsuite:
* gcc.dg/format-miss-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38163
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Sat, 9 Dec 2000 21:08:13 +0000 (21:08 +0000)]
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)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38162
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Sat, 9 Dec 2000 20:53:53 +0000 (20:53 +0000)]
Remove some psurious whitespace
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38161
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Sat, 9 Dec 2000 20:51:26 +0000 (20:51 +0000)]
Mark the generated insn not the set as being DWARF2_FRAME_RELATED_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38160
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 9 Dec 2000 19:03:24 +0000 (19:03 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38159
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 9 Dec 2000 18:34:12 +0000 (18:34 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38158
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Sat, 9 Dec 2000 16:27:51 +0000 (16:27 +0000)]
* Makefile.in: use $(build_exeext) for all build
system executable targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38157
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Sat, 9 Dec 2000 16:25:20 +0000 (16:25 +0000)]
oops, that was a mistake
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38156
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Sat, 9 Dec 2000 16:07:41 +0000 (16:07 +0000)]
* djunpack.bat: removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38155
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Sat, 9 Dec 2000 16:06:19 +0000 (16:06 +0000)]
* Makefile.in: handle DOS-style absolute paths.
* config-ml.in: likewise.
* symlink-tree: likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38154
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Sat, 9 Dec 2000 16:01:24 +0000 (16:01 +0000)]
* install.texi: remove i[345]86-*-winnt3.5 section.
* configur.bat: removed.
* config/msdos: directory removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38153
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Sat, 9 Dec 2000 15:34:53 +0000 (15:34 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38152
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 9 Dec 2000 12:07:56 +0000 (12:07 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38151
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 9 Dec 2000 12:06:37 +0000 (12:06 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38150
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 9 Dec 2000 10:22:30 +0000 (10:22 +0000)]
* .cvsignore: Add info files.
f:
* .cvsignore: New file; add info files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38149
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 9 Dec 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38148
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Sat, 9 Dec 2000 04:10:22 +0000 (04:10 +0000)]
* config/winnt: Remove obsolete directory.
* install.texi (Configurations): Remove obsolete documentation for Windows NT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38147
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 9 Dec 2000 03:42:29 +0000 (03:42 +0000)]
Indentation fix
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38146
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Sat, 9 Dec 2000 03:08:23 +0000 (03:08 +0000)]
2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com>
* fastjar: Imported.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38145
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Sat, 9 Dec 2000 02:49:29 +0000 (02:49 +0000)]
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)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38144
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Sat, 9 Dec 2000 01:39:21 +0000 (01:39 +0000)]
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)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38143
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Fri, 8 Dec 2000 23:18:00 +0000 (23:18 +0000)]
Add - before rms to be more portable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38142
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 8 Dec 2000 22:54:06 +0000 (22:54 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38141
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38140
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38139
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Fri, 8 Dec 2000 22:26:49 +0000 (22:26 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38138
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 8 Dec 2000 19:57:06 +0000 (19:57 +0000)]
Fix spelling typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38137
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Fri, 8 Dec 2000 19:41:15 +0000 (19:41 +0000)]
libffi closures for Alpha
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38136
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 8 Dec 2000 19:36:32 +0000 (19:36 +0000)]
Add pool ranges to load_indirect_jump pattern
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38135
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 8 Dec 2000 19:25:33 +0000 (19:25 +0000)]
Add support for interrupt function attribute
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38134
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 8 Dec 2000 18:42:13 +0000 (18:42 +0000)]
* tradcpp.c (do_include): Make pointer differences 64-bit clean.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38133
138bc75d-0d04-0410-961f-
82ee72b054a4
warrenl [Fri, 8 Dec 2000 13:08:36 +0000 (13:08 +0000)]
* java/lang/StringBuffer.java (insert(int,char[])): Avoid
NullPointerException so proper check of offset can be done.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38132
138bc75d-0d04-0410-961f-
82ee72b054a4
warrenl [Fri, 8 Dec 2000 10:28:32 +0000 (10:28 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38131
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 8 Dec 2000 09:14:03 +0000 (09:14 +0000)]
* fp-bit.c (_fpmul_parts): Use USItype variables as inputs
for multiplies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38130
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 8 Dec 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38129
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Fri, 8 Dec 2000 05:57:48 +0000 (05:57 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38128
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [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, nor is the corresponding stub existent.
* aclocal.m4: Regenarate.
* configure: Regenarate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38127
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Fri, 8 Dec 2000 03:35:16 +0000 (03:35 +0000)]
* Makefile.in (local-distclean): Remove leftover built files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38126
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Fri, 8 Dec 2000 03:02:46 +0000 (03:02 +0000)]
* Makefile.in (distclean): Remove alloca.c hashtab.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38125
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 8 Dec 2000 03:00:26 +0000 (03:00 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38124
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 8 Dec 2000 01:37:13 +0000 (01:37 +0000)]
* g++.old-deja/g++.other/eh3.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38123
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Fri, 8 Dec 2000 01:10:40 +0000 (01:10 +0000)]
* c-decl.c (grokdeclarator): preserve previous alignments when
rebuilding array types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38122
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 7 Dec 2000 23:21:09 +0000 (23:21 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38121
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 7 Dec 2000 23:17:56 +0000 (23:17 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38120
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 7 Dec 2000 23:03:21 +0000 (23:03 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38119
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Thu, 7 Dec 2000 22:36:56 +0000 (22:36 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38118
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 7 Dec 2000 22:11:12 +0000 (22:11 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38117
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Thu, 7 Dec 2000 22:04:07 +0000 (22:04 +0000)]
* Makefile.in (distclean): When cleaning, remove testsuite.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38116
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 7 Dec 2000 20:49:10 +0000 (20:49 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38115
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 7 Dec 2000 19:29:24 +0000 (19:29 +0000)]
* flow.c (calculate_global_regs_live): Force the stack pointer live
after reload as well.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38114
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Thu, 7 Dec 2000 14:42:39 +0000 (14:42 +0000)]
use "exeext" for variables and "build_exeext" for substitution
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38113
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [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.
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38112
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 7 Dec 2000 14:17:53 +0000 (14:17 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38111
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 7 Dec 2000 09:19:10 +0000 (09:19 +0000)]
* optimize.c (copy_body_r): Set STMT_IS_FULL_EXPR_P on EXPR_STMT.
* g++.old-deja/g++.other/cleanup4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38110
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 7 Dec 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38109
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 7 Dec 2000 08:13:13 +0000 (08:13 +0000)]
* gcc_update: Don't touch tradcif.c or java/parse.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38108
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 7 Dec 2000 08:03:07 +0000 (08:03 +0000)]
* Changelog: Forgotten commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38107
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 7 Dec 2000 07:56:44 +0000 (07:56 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38106
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [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. 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38105
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 7 Dec 2000 07:40:45 +0000 (07:40 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38104
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 7 Dec 2000 07:38:13 +0000 (07:38 +0000)]
* invoke.texi (-Wformat): Document what format features are
checked.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38103
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Thu, 7 Dec 2000 07:17:09 +0000 (07:17 +0000)]
* pt.c (verify_class_unification): New function.
(get_class_bindings): Use it.
(try_class_unification): Tidy.
(unify): Handle when argument of a template-id is not
template parameter dependent.
(template_args_equal): Handle when TREE_CODE's do not match.
* g++.old-deja/g++.oliva/partspec1.C: Remove XFAIL.
* g++.old-deja/g++.pt/partial4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38102
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 7 Dec 2000 07:14:42 +0000 (07:14 +0000)]
* c-common.c (parse_in): Make a cpp_reader *.
* cppfiles.c (_cpp_fake_include): Remove.
* cpphash.h: Similarly.
* cpplib.c (do_line): Don't call _cpp_fake_include. A valid
#line always creates a callback; FC_RENAME if there are no
#line flags.
* fix-header.c (read_scan_file): cpp_push_buffer cannot fail.
The first EOF must be our get_char buffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38101
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 7 Dec 2000 06:44:49 +0000 (06:44 +0000)]
2000-12-06 Benjamin Kosnik <bkoz@kredhat.com>
* include/bits/locale_facets.h (ctype): Remove _Ctype_nois and
_Ctype and replace with common __ctype_abstract_base.
(ctype<wchar_t>::_M_convert_to_wmask): Move to locale.cc.
* config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>::ctype):
And here.
* 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/generic/bits/ctype_noninline.h (ctype): Same.
* config/os/aix/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.
* src/locale-inst.cc: Clean instantiations.
* src/locale.cc (ctype<char>): Add definitions here.
(ctype<wchar_t>::_M_wmask): Move definitions here.
* config/os/generic/bits/ctype_inline.h (ctype<char>::is):
Implement in a generic way, with only "C" functionality and no
knowlege of the target os.
* config/os/generic/bits/os_defines.h: Change comments to C++ style.
* testsuite/22_locale/ctype_char_members.cc (test01): Add tests.
* include/bits/codecvt.h (ctype_byname): Remove specializations,
as not required.
* include/bits/localefwd.h (codecvt_byname): And here.
* src/codecvt.cc: Remove codecvt_byname specializations.
* include/c/bits/std_cstdio.h: Include c++config.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38100
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 7 Dec 2000 03:14:30 +0000 (03:14 +0000)]
* config/h8300/h8300.h: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38095
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 7 Dec 2000 02:42:02 +0000 (02:42 +0000)]
* config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*,
h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets.
* config.gcc (*-rtems*): Add support for gthr-rtems.h.
* gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
config/h8300/rtems.h, config/mips/rtems.h: New files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38094
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 7 Dec 2000 02:35:41 +0000 (02:35 +0000)]
* config.gcc: Reorganize handling of *-*-gnu*, to share target
specific make details with Linux. Update comments to clarify
the distinction between GNU/Linux and GNU/Hurd.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38093
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 7 Dec 2000 02:31:47 +0000 (02:31 +0000)]
* c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
* collect2.c (scan_libraries): Remove unused `ch'.
(COFF specific stuff): Prototype ldgetname. Declare and prototype
ldbtread and ldclose.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38092
138bc75d-0d04-0410-961f-
82ee72b054a4