Commit Graph

29694 Commits

Author SHA1 Message Date
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
Jakub Jelinek
45d523184d * gcc.dg/cpp/20000720-1.S: New test.
From-SVN: r35223
2000-07-24 10:17:31 +02:00
Jeffrey A Law
e20dccadaf gcse.c (alloc_pre_mem, [...]): Delete unused bitmap 'temp_bitmap'.
* gcse.c (alloc_pre_mem, free_pre_mem): Delete unused bitmap
        'temp_bitmap'.
        (pre_delete): Corresponding changes.

From-SVN: r35222
2000-07-24 02:05:03 -06:00
Jeff Law
8410668038 Daily bump.
From-SVN: r35221
2000-07-24 01:45:07 -06:00
Alexandre Oliva
5b28edd4e7 Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC).
* Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC).
(configure-target-libchill, configure-target-libobjc): Likewise.

From-SVN: r35220
2000-07-24 04:33:01 +00:00
Alexandre Oliva
059ae32cc4 configure.in: Use the same cache file for all target libs.
* configure.in: Use the same cache file for all target libs.
* config-ml.in: But different cache files per multilib variant.

From-SVN: r35219
2000-07-24 04:29:33 +00:00
Alexandre Oliva
c030bee9a8 configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
* configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
* configure: Rebuilt.

From-SVN: r35218
2000-07-24 04:20:09 +00:00
Alexandre Oliva
14400a5922 * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
From-SVN: r35217
2000-07-24 04:06:16 +00:00
David Billinghurst
9d093ac0f4 Make-lang.in: Put $(build_exeext) suffix on programs which run on the build machine.
* Make-lang.in: Put $(build_exeext) suffix on programs which run
        on the build machine.

From-SVN: r35216
2000-07-23 16:02:00 -06:00
Mark Mitchell
95ee998ceb c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN to figure out whether or not a variable has already been...
* c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN
	to figure out whether or not a variable has already been emitted.

	* decl.c (make_rtl_for_nonlocal_decl): Rework.

	* pt.c (lookup_template_class): Ensure that TYPE_CONTEXT is set
	correctly.

From-SVN: r35215
2000-07-23 19:59:41 +00:00
Jason Eckhardt
07964b9c09 Added myself as i860 port maintainer.
From-SVN: r35214
2000-07-23 19:54:46 +00:00
Jason Eckhardt
0f7df3fb37 i860.md (untyped_call expander): Use GEN_CALL instead of gen_call.
Sun Jul 23 14:49:12 2000  Jason Eckhardt  <jle@cygnus.com>

        * config/i860/i860.md (untyped_call expander): Use GEN_CALL
        instead of gen_call.

From-SVN: r35213
2000-07-23 19:51:43 +00:00
Michael Sokolov
c6451ce1ed configure.in (AC_CHECK_HEADERS): Add time.h.
* configure.in (AC_CHECK_HEADERS): Add time.h.
        (AC_HEADER_TIME): Add check.
        * configure, config.in: Regenerate.
        * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.

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

From-SVN: r35212
2000-07-23 13:18:32 -06:00
Michael Sokolov
cd44736010 configure.in (AC_CHECK_HEADERS): Add limits.h.
* configure.in (AC_CHECK_HEADERS): Add limits.h.
        * configure, config.in: Regenerate.
        * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
        * strtol.c, strtoul.c: #include "config.h". Portably #include
        <limits.h> and/or <sys/param.h>.
        * Makefile.in (strtol.o, strtoul.o): Update dependencies.

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

From-SVN: r35211
2000-07-23 13:13:46 -06:00
Alex Samuel
0fac482ed6 cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge allocating ctor mangling.
* cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
	allocating ctor mangling.
	(demangle_array_type): Handle empty and non-constant array length.

From-SVN: r35210
2000-07-23 17:55:13 +00:00
George Helffrich
2d0e2e024c * dbxout.c (dbxout_type, case COMPLEX_TYPE): Fix length field in stab.
From-SVN: r35209
2000-07-23 11:53:21 -06:00
Oskar Liljeblad
05ae1c31cf StreamTokenizer.java: Merged with classpath.
2000-07-23  Oskar Liljeblad <osk@hem.passagen.se>

	* java/io/StreamTokenizer.java: Merged with classpath.

From-SVN: r35208
2000-07-23 17:52:13 +00:00