Commit Graph

29410 Commits

Author SHA1 Message Date
Rodney Brown
73aa9564f6 getcwd.c: Include string.h, stdlib.h for prototypes
* getcwd.c: Include string.h, stdlib.h for prototypes

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r35273
2000-07-26 17:29:55 -06:00
Rodney Brown
c2f275e484 Makefile.in (rename.o, waitpid.o): Depend on config.h
* Makefile.in (rename.o, waitpid.o): Depend on config.h
        * rename.c: include config.h, unistd.h
        * waitpid.c: include config.h, sys/wait.h

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r35272
2000-07-26 17:23:24 -06:00
Rodney Brown
c6a8e61614 * real.c (asctoeg): Rename `error' label to unexpected_char_error
From-SVN: r35271
2000-07-26 17:18:47 -06:00
Nick Clifton
5d7a9c0a28 Remove definition of __arm__ from CPP_PREDEFINES
From-SVN: r35270
2000-07-26 21:39:42 +00:00
Phil Edwards
421173e6d3 acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld before trying to use any of its options.
2000-07-26  Phil Edwards  <pme@sourceware.cygnus.com>

	* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Test for GNU ld
	  before trying to use any of its options.
	  (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*):  Cache tests.
	* aclocal.m4:  Regenerate.
	* configure.in:  Having found GNU make, name it.
	* configure:  Regenerate.
	* docs/install.html:  Mention possible problems with caching.
	* src/Makefile.am (CXXLINK):  Use new OPT_LDFLAGS.
	* src/Makefile.in:  Regenerate.
	* libio/Makefile.in:  Regenerate.
	* math/Makefile.in:  Regenerate.
	* Makefile.in:  Regenerate.

From-SVN: r35269
2000-07-26 21:30:45 +00:00
Nick Clifton
79d1334242 Accept SEQUENCE as well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
From-SVN: r35268
2000-07-26 20:59:32 +00:00
Benjamin Kosnik
28861379fe misc-inst.cc (std): Remove instantiations.
2000-07-26  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	* src/misc-inst.cc (std): Remove instantiations.

	* acinclude.m4: Add forward-looking bits for autoconf.
	* aclocal.m4: Regenerate.

	* bits/ostream.tcc (ostream::operator<<): Fix const char* case.

From-SVN: r35267
2000-07-26 20:55:48 +00:00
Marc Espie
6a1fa5f972 * parse.y: Add missing ';'.
From-SVN: r35266
2000-07-26 18:15:28 +00:00
Mark Mitchell
0c10a805de parse.y (empty_parms): Use ()', not (...)', when in the scope of `extern "C++"'.
* parse.y (empty_parms): Use `()', not `(...)', when in the scope
	of `extern "C++"'.

From-SVN: r35265
2000-07-26 15:40:08 +00:00
Toon Moene
5dc2d67f2c lang-specs.h: Remove one /dev/null from tradcpp invocation.
2000-07-26  Toon Moene  <toon@moene.indiv.nluug.nl>

	* lang-specs.h: Remove one /dev/null from tradcpp invocation.

From-SVN: r35264
2000-07-26 12:37:12 +00:00
Jeff Law
19b895f01b Daily bump.
From-SVN: r35263
2000-07-26 01:45:08 -06:00
Benjamin Kosnik
5780a46bca configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL.
2000-07-25  Benjamin Kosnik  <bkoz@gnu.org>

	* configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
	it back for current versions of maintainer-tools...
	* acinclude.m4: Some cleanups...
	* aclocal: Regenerated.
	* configure: Regenerated.

	* src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
	optimizing/adapting the hash table using GNU ld.
	* src/Makefile.in: Regenerate.

	* bits/std_fstream.h: Parameterize __basic_file.
	* config/c_io_libio.cc: Add wchar_t methods for parameterization.
	* bits/basic_file.h: Same here.

	* bits/fstream.tcc: Shorten __retval to __ret.
	* bits/ostream.tcc: Same.
	* bits/sbuf_iter.h: Same.
	* bits/sstream.tcc: Same.
	* bits/streambuf.tcc: Same.
	* bits/std_fstream.h: Same.
	* src/string-inst.cc: Same.
	* src/ios.cc: Same.
	* config/c_io_libio.cc: Same.
	* bits/string.tcc: Same.
	* bits/std_streambuf.h: Same.

From-SVN: r35262
2000-07-26 06:51:38 +00:00
H.J. Lu
44fc6a025a Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio even if GLIBCPP_NEED_LIBIO is false.
2000-07-24  H.J. Lu  <hjl@gnu.org>

        * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
        even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
        files don't include private libio header files needed by
        libstdc++ v3.
        * src/Makefile.in: Rebuild.

From-SVN: r35261
2000-07-26 06:49:33 +00:00
Alexandre Oliva
ad88bb8b2c * gcc.c-torture/execute/enum-2.c: New test.
From-SVN: r35260
2000-07-26 03:51:55 +00:00
Alexandre Oliva
736f85c700 c-decl.c (finish_enum): Convert enumerations that fit in an int' to int'.
* c-decl.c (finish_enum): Convert enumerations that fit in an
`int' to `int'.
(build_enumerator): In pedantic mode, cast to `int' those that
don't.

From-SVN: r35259
2000-07-26 03:50:56 +00:00
Rodney Brown
54ffbc76a6 * config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.
From-SVN: r35258
2000-07-25 15:29:02 -07:00
J"orn Rennecke
1987b7bcf6 sh.md (cmpgtdi_t): Must be split.
* sh.md (cmpgtdi_t): Must be split.
	(cmpgtdi_t+1): New splitter.

From-SVN: r35257
2000-07-25 23:10:38 +01:00
Zack Weinberg
bc013f005f cpplib.c (_cpp_check_directive): Issue -Wtraditional warnings for indented directives even if we are skipping.
* cpplib.c (_cpp_check_directive): Issue -Wtraditional
	warnings for indented directives even if we are skipping.

From-SVN: r35256
2000-07-25 21:02:10 +00:00
Kaveh R. Ghazi
f47e40847d * gcc.dg/cpp/tr-warn3.c: New test.
From-SVN: r35255
2000-07-25 20:43:05 +00:00
Nathan Sidwell
8b27e9efa0 Kill strict_prototype.
Kill strict_prototype. Backwards compatibility only for
	non NO_IMPLICIT_EXTERN_C systems.
	* cp-tree.h (flag_strict_prototype): Remove.
	(strict_prototype): Remove.
	(strict_prototypes_lang_c, strict_prototypes_lang_cplusplus): Remove.
	* decl.c (maybe_push_to_top_level): Adjust.
	(pop_from_top_level): Adjust.
	(decls_match): Only allow sloppy parm matching for ancient
	system headers.
	(init_decl_processing): Adjust.
	(grokdeclarator): Adjust.
	* decl2.c (flag_strict_prototype): Remove.
	(strict_prototype): Remove.
	(strict_prototypes_lang_c, strict_prototypes_lang_cplusplus): Remove.
	(lang_f_options): Remove "strict-prototype".
	(unsupported-options): Add "strict-prototype".
	* lex.c (do_identifier): Adjust.
	(do_scoped_id): Adjust.
	* parse.y (empty_parms): Adjust.
	* class.c (push_lang_context): Adjust.
	(pop_lang_context): Adjust.
	* typeck.c (comp_target_parms): Adjust.

From-SVN: r35254
2000-07-25 20:19:24 +00:00
Nathan Sidwell
7b300d1385 invoke.texi (strict-prototypes): Remove.
* invoke.texi (strict-prototypes): Remove.
	* extend.texi (Deprecated Features): Add strict-prototypes.
	(Backwards Compatibility): New node.

From-SVN: r35253
2000-07-25 20:17:28 +00:00
Nathan Sidwell
2c05a794ae implicit1.C: Remove.
* g++.old-deja/g++.ext/implicit1.C: Remove.
	* g++.old-deja/g++.jason/c2.C: Remove
	* g++.old-deja/g++.mike/p700.C: Add prototype parameters.
	* g++.old-deja/g++.pt/crash16.C: Likewise.
	* g++.old-deja/g++.brendan/crash43.C: Remove -fstrict-prototype.

From-SVN: r35252
2000-07-25 20:11:44 +00:00
Nathan Sidwell
10dd7d2968 * g++.old-deja/g++.other/for2.C: New test.
From-SVN: r35251
2000-07-25 19:39:41 +00:00
Nathan Sidwell
c37833995f decl.c (poplevel): Deal with anonymous variables at for scope.
* decl.c (poplevel): Deal with anonymous variables at for scope.
	(maybe_inject_for_scope_var): Likewise.

From-SVN: r35250
2000-07-25 19:36:26 +00:00
Jakub Jelinek
5e1a2fc70a i386.md (andsi_1+1): Allow HImode.
* config/i386/i386.md (andsi_1+1): Allow HImode.
	(andsi_1+2): Require q_regs_operand.
	* gcc.dg/20000720-1.c: New test.

From-SVN: r35249
2000-07-25 21:35:45 +02:00
Jakub Jelinek
9e81685aef i386.md (call_pop): Check operands[0], not operands[1].
* config/i386/i386.md (call_pop): Check operands[0],
	not operands[1]. Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
	(call): Likewise.
	(call_value_pop): Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
	(call_value): Likewise.

From-SVN: r35248
2000-07-25 21:32:13 +02:00
Zack Weinberg
a7023245ce toplev.c (pipe_closed): Delete.
* toplev.c (pipe_closed): Delete.
	(crash_signal): New.  Generate ICE for a fatal signal.
	(float_signal): Call crash_signal outside a float-handler
	block, not abort.
	(main): Install crash_signal as handler for core-dumping signals.

	* cp/decl.c: Remove all signal handling code, now done in toplev.c.

From-SVN: r35247
2000-07-25 19:01:33 +00:00
David Edelsohn
cccf3bdc5c rs6000.c (print_operand, case 'T'): New case.
* rs6000.c (print_operand, case 'T'): New case.

	* rs6000.md (call_indirect_aix32): Convert to expander of
	scheduled instructions.
	(call_indirect_aix64): Likewise.
	(call_value_indirect_aix{32,64}): Likewise.
	(call, call_value): Invoke expanders for AIX.  Fall through to
	matchers for SysV.
	(call_indirect_nonlocal_aix{32,64}): New patterns (ctr and lr).
	(call_value_indirect_nonlocal_aix{32,64}): New patterns.
	(call_nonlocal_aix32): Remove CALL_LONG alternative.  Operand 1
	only "g" constraint.
	(call_nonlocal_aix64): Likewise.
	(call_value_nonlocal_aix{32,64}): Likewise.
	(call_nonlocal_sysv): New pattern for ctr, lr, and symbolic
	operands.
	(call_value_nonlocal_sysv): New pattern.
	(indirect_jump{si,di}): Use new 'T' modifier.
	(tablejump{si,di} matchers): Likewise.
	(return_internal_{si,di}): Likewise.
	(return_eh_{si,di}): Likewise.

From-SVN: r35246
2000-07-25 14:46:54 -04:00
Rolf W. Rasmussen
69b1b29156 ColorModel.java: New file...
2000-07-23  Rolf W. Rasmussen  <rolfwr@ii.uib.no>

	* libjava/java/awt/image/ColorModel.java: New file, replaces the
	stub libjava/java/awt/ColorModel.java which was located in the
	wrong package.
	* libjava/java/awt/image/ComponentColorModel.java: New file.
	* libjava/java/awt/image/ComponentSampleModel.java: New file.
	* libjava/java/awt/image/DataBuffer.java: New file.
	* libjava/java/awt/image/DataBufferByte.java: New file.
	* libjava/java/awt/image/DataBufferInt.java: New file.
	* libjava/java/awt/image/DataBufferUShort.java: New file.
	* libjava/java/awt/image/DirectColorModel.java: New file.
	* libjava/java/awt/image/PackedColorModel.java: New file.
	* libjava/java/awt/image/Raster.java: New file.
	* libjava/java/awt/image/SampleModel.java: New file.
	* libjava/java/awt/image/SinglePixelPackedSampleModel.java: New
	file.
	* libjava/java/awt/image/IndexColorModel.java: New file.
	* libjava/java/awt/image/ImageConsumer.java: Removed import of
	java.awt.ColorModel stub.

	* gnu/gcj/util/BitMaskExtent.java: New file, utility class.
	* gnu/gcj/util/Buffers.java: New file, utility class.

	* libjava/Makefile.am: Updated to include new files.
	* libjava/Makefile.in: Rebuilt.

From-SVN: r35245
2000-07-25 17:53:30 +00:00
Alexandre Petit-Bianco
4c31fe99c3 parse.c: Remove (again.)
2000-07-25  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.c: Remove (again.)

From-SVN: r35244
2000-07-25 08:37:17 -07:00
Toon Moene
6a65f4135f 2000-07-25 Toon Moene <toon@moene.indiv.nluug.nl>
Sorry - forgot changelog entry.

From-SVN: r35243
2000-07-25 14:55:54 +00:00
Toon Moene
3cbe300506 20000630-2.x: Removed.
2000-07-25  Toon Moene  <toon@moene.indiv.nluug.nl>

	* 20000630-2.x: Removed.  Case fixed.

From-SVN: r35242
2000-07-25 14:50:05 +00:00
Jeff Law
6450e80694 Daily bump.
From-SVN: r35241
2000-07-25 01:45:14 -06:00
Richard Henderson
6f8aa100d5 ia64.c (ia64_print_operand): Handle "%,".
* config/ia64/ia64.c (ia64_print_operand): Handle "%,".
        * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): Likewise.
        * config/ia64/ia64.md (movdi_internal): Use it.

From-SVN: r35240
2000-07-24 17:48:36 -07:00
Zack Weinberg
6f4280eff7 cppexp.c: Warn about unary + if -Wtraditional.
* cppexp.c: Warn about unary + if -Wtraditional.
	* cpplex.c (lex_line): Always set BOL on the first token of a line.

From-SVN: r35239
2000-07-24 21:49:34 +00:00
Eric Christopher
4e81ae98ca *** empty log message ***
From-SVN: r35238
2000-07-24 21:20:50 +00:00
Michael Meissner
0f92e92610 Delete references to FUNCTION_ARG_KEEP_AS_REFERENCE
From-SVN: r35237
2000-07-24 21:07:34 +00:00
Eric Christopher
2339ce57f3 20000718-1.c: New test.
2000-07-18  Eric Christopher <echristo@redhat.com>

         * gcc.c-torture/compile/20000718-1.c: New test.

From-SVN: r35236
2000-07-24 20:49:51 +00:00
Benjamin Kosnik
020226e5f2 istream.tcc (getline): Tweaks.
2000-07-24  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	* bits/istream.tcc (getline): Tweaks.

From-SVN: r35235
2000-07-24 20:47:37 +00:00
Geoff Keating
9fed97f1bd 20000722-1.x: New, testcase fails.
* gcc.c-torture/execute/20000722-1.x: New, testcase fails.
* gcc.c-torture/execute/20000722-1.c: New.
* gcc.c-torture/execute/20000516-1.c: Delete, replaced by 20000722-1.

From-SVN: r35234
2000-07-24 19:18:06 +00:00
Nick Clifton
87e27392e9 Generate REG_FRAME_RELATED_EXPR notes that are compatible with
dwarf2out_frame_debug_expt.

From-SVN: r35233
2000-07-24 19:01:55 +00:00
Jason Merrill
e09bbb2535 dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without UNALIGNED_INT_ASM_OP.
* dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without
        UNALIGNED_INT_ASM_OP.
        (def_cfa_1): Don't emit def_cfa_register or def_cfa_offset to adjust
        a location expression.
        (dwarf2out_frame_debug_expr): Lose cfa_old_reg stuff.  Don't
        assume indirect access if we're saving the CFA address exactly.

From-SVN: r35232
2000-07-24 13:52:37 -04:00
Jason Merrill
d5f4b42847 * Makefile.in (bootstrap): Move -BstageN/ to the end.
From-SVN: r35231
2000-07-24 13:43:42 -04:00
Jason Merrill
cd3165f5c3 tweak
From-SVN: r35230
2000-07-24 13:36:49 -04:00
Jakub Jelinek
9512cb3f2f tradcpp.c (main): Update max_include_len for cpp_include_defaults as well.
* tradcpp.c (main): Update max_include_len for cpp_include_defaults
	as well.

From-SVN: r35229
2000-07-24 19:04:03 +02:00
Michael Meissner
e8ad90e508 Add D30V options
From-SVN: r35228
2000-07-24 16:39:45 +00:00
Benjamin Kosnik
99b5135954 [multiple changes]
2000-07-23  Brent Verner <brent@rcfile.org>

        * bits/istream.tcc: istream::getline(char_type*, streamsize,
	char_type) make compliant
        * testsuite/27_io/istream_unformatted.cc: test for compliant behavior

2000-07-23  Benjamin Kosnik  <bkoz@haight.constant.com>

	* acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
	and srcdir used to define CSHADOW_INCLUDES..

	* configure.in: For consistency, change .sanity_warned to
	stamp-sanity-warned.

	* acinclude.m4: Tweak formatting.
	* Makefile.am (check): Call mkcheck with full pathname for build
	directory...
	(check-install): And here.
	* Makefile.in: Regenerate.

From-SVN: r35227
2000-07-24 16:34:00 +00:00
Jeffrey A Law
55d3f91712 gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not needed by our gcse pass anymore.
* gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not
        needed by our gcse pass anymore.
        (free_pre_mem): Corresponding changes.
        (compute_pre_data): Do not call compute_transpout anymore.

From-SVN: r35226
2000-07-24 09:47:06 -06:00
Jeffrey A Law
68e866451e gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
* gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
        (free_avail_expr_mem, alloc_pre_mem, free_pre_mem): Corresponding
        changes.

From-SVN: r35225
2000-07-24 09:32:05 -06:00
Jeffrey A Law
bd3675fcf1 gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
* gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
        (compute_pre_data): Do it here instead.

From-SVN: r35224
2000-07-24 09:21:16 -06:00