]> gcc.gnu.org Git - gcc.git/log
gcc.git
23 years agoMakefile.in.in: Remove stamp-check-pot from list of default targets as checks are...
Philipp Thomas [Mon, 25 Sep 2000 23:29:38 +0000 (23:29 +0000)]
Makefile.in.in: Remove stamp-check-pot from list of default targets as checks are only possible...

2000-09-26  Philipp Thomas  <pthomas@suse.de>

* Makefile.in.in: Remove stamp-check-pot from list
of default targets as checks are only possible in a
complete source tree and all languages configured.

From-SVN: r36637

23 years agoflags.h: Declare warning flag warn_system_headers.
Branko Cibej [Mon, 25 Sep 2000 22:54:04 +0000 (00:54 +0200)]
flags.h: Declare warning flag warn_system_headers.

2000-09-25  Branko Cibej  <branko.cibej@hermes.si>

        * flags.h:  Declare warning flag warn_system_headers.
        * toplev.c:  Define it.
        (W_options): Add option -Wsystem-headers.
        * diagnostic.c (count_error): Test warn_system_headers.
        * invoke.texi:  Add description for -Wsystem-headers.
* cpplib.h (cpp_options): New member warn_system_headers.
* cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test
CPP_IN_SYSTEM_HEADER.
* cpplib.c (do_import, do_pragma_once): Likewise.
* cpperror.c (_cpp_begin_message): Test warn_system_headers
and CPP_IN_SYSTEM_HEADER.
* cppinit.c (handle_option): Recognize -Wsystem_headers.
(print_help): Describe -Wsystem_headers.
* cpplex.c (lex_line): Reorganize condition so that warnings
about C++ comments in system headers can be enabled. Remove
label do_line_comment.

From-SVN: r36636

23 years agocpplex.c (save_comment): Only store the initial '/' now.
Neil Booth [Mon, 25 Sep 2000 22:39:51 +0000 (22:39 +0000)]
cpplex.c (save_comment): Only store the initial '/' now.

* cpplex.c (save_comment): Only store the initial '/'
now.
(lex_token): Combine handling of the two comment types.
Pass everything but the initial '/' to save_comment.

From-SVN: r36635

23 years agocpphash.h (_cpp_digraph_spellings, [...]): New library-internal prototypes.
Neil Booth [Mon, 25 Sep 2000 22:34:53 +0000 (22:34 +0000)]
cpphash.h (_cpp_digraph_spellings, [...]): New library-internal prototypes.

* cpphash.h (_cpp_digraph_spellings, _cpp_process_directive,
_cpp_can_paste): New library-internal prototypes.
* cpplex.c (dump_param_spelling, output_line_command,
output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput,
cpp_printf, cpp_output_list): Move to cppoutput.c.
(process_directive, can_paste, digraph_spellings): Add _cpp_ prefix.
* cppmacro.c (dump_macro_args, cpp_dump_definition) Move to
cppoutput.c.
* cppoutput.c (dump_macro_args, cpp_dump_definition, output_token,
dump_param_spelling, output_line_command, cpp_scan_buffer,
cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved
from elsewhere.
* Makefile.in: Add cppoutput.c.
* po/POTFILES.in: Add cppoutput.c.

From-SVN: r36634

23 years agocrash20.C: Make ready for libstdc++-v3.
Theodore Papadopoulo [Mon, 25 Sep 2000 22:06:30 +0000 (00:06 +0200)]
crash20.C: Make ready for libstdc++-v3.

2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>

* g++.old-deja/g++.other/crash20.C: Make ready for libstdc++-v3.
* g++.old-deja/g++.pt/ttp62.C: Same.
* g++.old-deja/g++.other/inline14.C: Same.

From-SVN: r36633

23 years agoia64.c (ia64_print_operand): Define 'e' as 64-n.
Richard Henderson [Mon, 25 Sep 2000 22:06:29 +0000 (15:06 -0700)]
ia64.c (ia64_print_operand): Define 'e' as 64-n.

        * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n.
        * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't
        split until after reload.
        (rotlsi3, rotldi3): New.

From-SVN: r36632

23 years agodocumentation.html: Add link to...
Phil Edwards [Mon, 25 Sep 2000 21:42:14 +0000 (21:42 +0000)]
documentation.html: Add link to...

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

* docs/documentation.html:  Add link to...
* docs/ext/howto.html:  ...this.  New dir/file, describing library
  extensions (both ours and SGI's).
* docs/faq/index.html:  Small updates.
* docs/faq/index.txt:  Regenerate.

From-SVN: r36631

23 years agoNew-date checkin of footer.html to force yadda yadda yadda.
Phil Edwards [Mon, 25 Sep 2000 21:34:45 +0000 (21:34 +0000)]
New-date checkin of footer.html to force yadda yadda yadda.

From-SVN: r36630

23 years agodiagnostic.c (output_last_position): Define.
Gabriel Dos Reis [Mon, 25 Sep 2000 21:20:19 +0000 (21:20 +0000)]
diagnostic.c (output_last_position): Define.

* diagnostic.c (output_last_position): Define.
(set_real_maximum_length): Tweek.
* diagnostic.h (output_last_position): Declare.

From-SVN: r36629

23 years agoi386.c: Fix formatting.
Kazu Hirata [Mon, 25 Sep 2000 19:17:24 +0000 (19:17 +0000)]
i386.c: Fix formatting.

2000-09-25  Kazu Hirata  <kazu@hxi.com>

* config/i386/i386.c: Fix formatting.

From-SVN: r36628

23 years ago* MAINTAINERS: Add self as cpplib co-maintainer.
Neil Booth [Mon, 25 Sep 2000 18:48:45 +0000 (18:48 +0000)]
* MAINTAINERS: Add self as cpplib co-maintainer.

From-SVN: r36627

23 years agobasic_file.h (_M_open_mode): Remove extra qualifier.
Theodore Papadopoulo [Mon, 25 Sep 2000 18:00:16 +0000 (20:00 +0200)]
basic_file.h (_M_open_mode): Remove extra qualifier.

2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>

        * bits/basic_file.h (_M_open_mode): Remove extra qualifier.

From-SVN: r36626

23 years agoemit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when UNITS_PER_WORD...
Alan Lehotsky [Mon, 25 Sep 2000 17:44:09 +0000 (17:44 +0000)]
emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when UNITS_PER_WORD is small.

        * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
        UNITS_PER_WORD is small.

From-SVN: r36625

23 years agostl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
Levente Farkas [Mon, 25 Sep 2000 17:33:35 +0000 (17:33 +0000)]
stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.

2000-09-25  Levente Farkas  <lfarkas@mindmaker.hu>

* ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.

From-SVN: r36624

23 years agoc-common.c (format_char_info): Add flags2; update comments.
Joseph Myers [Mon, 25 Sep 2000 17:04:45 +0000 (18:04 +0100)]
c-common.c (format_char_info): Add flags2; update comments.

* c-common.c (format_char_info): Add flags2; update comments.
(print_char_table, scan_char_table, time_char_table): Split some
flags out into flags2.
(check_format_info): Use flags2 for those flags, for identifying
the initial character of a scanf scanset, and for identifying
printf formats where the '0' flag is ignored with precision.

From-SVN: r36623

23 years agotm.texi: Make documented *_ASM.*_OP:s include spacing.
Hans-Peter Nilsson [Mon, 25 Sep 2000 13:50:51 +0000 (13:50 +0000)]
tm.texi: Make documented *_ASM.*_OP:s include spacing.

* tm.texi: Make documented *_ASM.*_OP:s include spacing.
Fix typos in description for LONG_LONG_TYPE_SIZE and
FINI_SECTION_ASM_OP.

From-SVN: r36622

23 years agoChange callers in config/[n-z]*/ (the rest) to match:
Hans-Peter Nilsson [Mon, 25 Sep 2000 13:39:45 +0000 (13:39 +0000)]
Change callers in config/[n-z]*/ (the rest) to match:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36621

23 years agoChange callers in config/m*/ to match:
Hans-Peter Nilsson [Mon, 25 Sep 2000 13:22:47 +0000 (13:22 +0000)]
Change callers in config/m*/ to match:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36620

23 years agoChange callers in config/[h-l]*/ to match:
Hans-Peter Nilsson [Mon, 25 Sep 2000 13:03:20 +0000 (13:03 +0000)]
Change callers in config/[h-l]*/ to match:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36619

23 years agoFix BSS_SECTION_ASM_OP typo introduced and covered by todays ASM.*_OP changelog entry.
Hans-Peter Nilsson [Mon, 25 Sep 2000 13:00:22 +0000 (13:00 +0000)]
Fix BSS_SECTION_ASM_OP typo introduced and covered by todays ASM.*_OP changelog entry.

From-SVN: r36618

23 years agoChange callers in config/[b-g]*/ to match:
Hans-Peter Nilsson [Mon, 25 Sep 2000 12:36:01 +0000 (12:36 +0000)]
Change callers in config/[b-g]*/ to match:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36617

23 years agoChange callers in config/a*/ to match:
Hans-Peter Nilsson [Mon, 25 Sep 2000 12:08:02 +0000 (12:08 +0000)]
Change callers in config/a*/ to match:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36616

23 years agoChange callers in config/* to match:
Hans-Peter Nilsson [Mon, 25 Sep 2000 11:45:51 +0000 (11:45 +0000)]
Change callers in config/* to match:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36615

23 years agoCallers gcc-toplev:
Hans-Peter Nilsson [Mon, 25 Sep 2000 11:23:45 +0000 (11:23 +0000)]
Callers gcc-toplev:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36614

23 years agodefinitions in config/alpha/alpha.h config/arm/aout.h (oops, missed):
Hans-Peter Nilsson [Mon, 25 Sep 2000 10:33:57 +0000 (10:33 +0000)]
definitions in config/alpha/alpha.h config/arm/aout.h (oops, missed):

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36613

23 years agodefinitions in config/[s-w]* (rest):
Hans-Peter Nilsson [Mon, 25 Sep 2000 10:24:23 +0000 (10:24 +0000)]
definitions in config/[s-w]* (rest):

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36612

23 years agodefinitions in config/[npr]*:
Hans-Peter Nilsson [Mon, 25 Sep 2000 10:11:22 +0000 (10:11 +0000)]
definitions in config/[npr]*:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36611

23 years agodefinitions in config/m[ci]*:
Hans-Peter Nilsson [Mon, 25 Sep 2000 10:01:10 +0000 (10:01 +0000)]
definitions in config/m[ci]*:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36610

23 years agodefinitions in config/m[368]*:
Hans-Peter Nilsson [Mon, 25 Sep 2000 09:49:20 +0000 (09:49 +0000)]
definitions in config/m[368]*:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36609

23 years agodefinitions in config/i[89a]*:
Hans-Peter Nilsson [Mon, 25 Sep 2000 09:32:58 +0000 (09:32 +0000)]
definitions in config/i[89a]*:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36608

23 years agodefinitions in config/i3*:
Hans-Peter Nilsson [Mon, 25 Sep 2000 09:16:37 +0000 (09:16 +0000)]
definitions in config/i3*:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36607

23 years agodefinitions in config/[c-h]*:
Hans-Peter Nilsson [Mon, 25 Sep 2000 08:54:42 +0000 (08:54 +0000)]
definitions in config/[c-h]*:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36606

23 years agodefinitions in config/a*:
Hans-Peter Nilsson [Mon, 25 Sep 2000 08:42:10 +0000 (08:42 +0000)]
definitions in config/a*:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36605

23 years agoconfig:
Hans-Peter Nilsson [Mon, 25 Sep 2000 08:23:05 +0000 (08:23 +0000)]
config:

Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36604

23 years agoChanges add TABs on either or both sides, covering start of line,
Hans-Peter Nilsson [Mon, 25 Sep 2000 08:08:58 +0000 (08:08 +0000)]
Changes add TABs on either or both sides, covering start of line,

up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36603

23 years agoDaily bump.
Jeff Law [Mon, 25 Sep 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r36602

23 years agoexpmed.c (store_bit_field): Adjust last change to not consider any word-sized field...
Richard Henderson [Mon, 25 Sep 2000 07:07:33 +0000 (00:07 -0700)]
expmed.c (store_bit_field): Adjust last change to not consider any word-sized field naturally aligned.

        * expmed.c (store_bit_field): Adjust last change to not consider
        any word-sized field naturally aligned.

From-SVN: r36601

23 years agoNew test.
Richard Henderson [Mon, 25 Sep 2000 07:04:55 +0000 (00:04 -0700)]
New test.

From-SVN: r36600

23 years ago* gcc.c-torture/execute/20000914-1.c: Declare malloc.
Richard Henderson [Mon, 25 Sep 2000 04:05:37 +0000 (21:05 -0700)]
* gcc.c-torture/execute/20000914-1.c: Declare malloc.

From-SVN: r36599

23 years agoalpha.c (alpha_emit_conditional_branch): Handle TFmode unordered compares properly.
Richard Henderson [Mon, 25 Sep 2000 04:02:20 +0000 (21:02 -0700)]
alpha.c (alpha_emit_conditional_branch): Handle TFmode unordered compares properly.

        * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
        TFmode unordered compares properly.  Revalidate integer compare
        operands.
        (alpha_emit_setcc): New.
        (alpha_emit_conditional_move): Revalidate integer compare operands.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.md (cmpdi): Allow general operands.
        (sne): Use alpha_emit_setcc.
        (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise.
        (sunordered, sordered): New.

From-SVN: r36598

23 years agoia64-protos.h: Update.
Richard Henderson [Sun, 24 Sep 2000 23:58:24 +0000 (16:58 -0700)]
ia64-protos.h: Update.

        * config/ia64/ia64-protos.h: Update.
        * config/ia64/ia64.c (call_multiple_values_operation): Remove.
        (ia64_expand_call): New.
        (ia64_expand_prologue): Emit an alloc if we need extra input
        registers.
        (ia64_expand_epilogue): New arg sibcall_p; don't emit the return
        instruction if true.
        (struct reg_flags): Add is_sibcall.
        (rtx_needs_barrier): A sibcall does not use CFM et al.  Ignore USEs.
        (emit_insn_group_barriers): Set flags.is_sibcall.  Remove hacks
        for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal.
        * config/ia64/ia64.h (PREDICATE_CODES): Update.
        * config/ia64/ia64.md (call): Use ia64_expand_call.
        (call_value): Likewise.
        (sibcall, sibcall_value): New.
        (call patterns): Remove extra expanders; tidy.
        (sibcall_epilogue): New.
        (set_bsp): Remove the extra USE.  Put the operand inside the UNSPEC.

From-SVN: r36597

23 years agosibcall.c (skip_pic_restore): New.
Richard Henderson [Sun, 24 Sep 2000 23:49:22 +0000 (16:49 -0700)]
sibcall.c (skip_pic_restore): New.

        * sibcall.c (skip_pic_restore): New.
        (identify_call_return_value): Use it.

From-SVN: r36596

23 years ago* emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode.
Richard Henderson [Sun, 24 Sep 2000 23:46:46 +0000 (16:46 -0700)]
* emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode.

From-SVN: r36595

23 years agoc-tree.texi: Moved here from cp/ir.texi.
Mark Mitchell [Sun, 24 Sep 2000 21:47:45 +0000 (21:47 +0000)]
c-tree.texi: Moved here from cp/ir.texi.

* c-tree.texi: Moved here from cp/ir.texi.  Documented nested
functions.  Generalize to handle both C and C++.
* Makefile.in (c-tree.info): New target.
(info): Add c-tree.info.

* ir.texi: Move to ../c-tree.texi.

From-SVN: r36592

23 years agoadd self to maintainers list
Aldy Hernandez [Sun, 24 Sep 2000 20:52:25 +0000 (20:52 +0000)]
add self to maintainers list

From-SVN: r36589

23 years agoexpr.c (store_field): If BITSIZE is negative, use size of type.
Richard Kenner [Sun, 24 Sep 2000 15:35:44 +0000 (15:35 +0000)]
expr.c (store_field): If BITSIZE is negative, use size of type.

* expr.c (store_field): If BITSIZE is negative, use size of type.
(expand_expr, case COMPONENT_EXPR): Likewise.

From-SVN: r36588

23 years agocpplex.c: Update TODO comment.
Neil Booth [Sun, 24 Sep 2000 10:42:09 +0000 (10:42 +0000)]
cpplex.c: Update TODO comment.

* cpplex.c: Update TODO comment.
* cpplib.c (do_error, do_warning): Merge common code of
do_error and do_warning into do_diagnostic.  Use it.
(do_diagnostic): New function.
* cpplib.h: Fix comment typo.

From-SVN: r36587

23 years agoc-common.c (check_format_info): Warn for a wide character string used as a non-wide...
Joseph Myers [Sun, 24 Sep 2000 09:52:53 +0000 (10:52 +0100)]
c-common.c (check_format_info): Warn for a wide character string used as a non-wide format argument.

* c-common.c (check_format_info): Warn for a wide character string
used as a non-wide format argument.

testsuite:
* gcc.dg/c90-printf-1.c: Add test for wide string format.

From-SVN: r36586

23 years agobuiltins.def (BUILT_IN_LLABS): Add.
Joseph Myers [Sun, 24 Sep 2000 09:50:30 +0000 (10:50 +0100)]
builtins.def (BUILT_IN_LLABS): Add.

* builtins.def (BUILT_IN_LLABS): Add.
* builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS.
* c-common.c (c_common_nodes_builtins): Create builtin functions
__builtin_llabs, and plain llabs unless no_nonansi_builtins
outside of C99 mode.
(expand_tree_builtin): Handle BUILT_IN_LLABS.

From-SVN: r36585

23 years agoDaily bump.
Jeff Law [Sun, 24 Sep 2000 07:45:11 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r36584

23 years agocpphash.h (CPP_RESERVE, [...]): Delete.
Neil Booth [Sat, 23 Sep 2000 21:41:41 +0000 (21:41 +0000)]
cpphash.h (CPP_RESERVE, [...]): Delete.

* cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q,
CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete.
* cpplex.c (_cpp_expand_token_space, _cpp_init_toklist,
_cpp_free_toklist): No need to worry about extra dummy token
at the start of token lists any more.
(trigraph_ok): Only warn outside comments.
(skip_block_comment): Set and clear lexing_comment.
(skip_line_comment): Take a cpp_reader not cpp_buffer.
Set and clear lexing_comment.
(parse_number): Handle leading '.' indicated by pfile->seen_dot.
(check_long_token): Delete.
(lex_percent, lex_dot): New subroutines of lex_token to
handle lexing of '.' and '%' without lookback.
(lex_token): Use lex_dot and lex_percent.
(lex_line): Don't check for LIST_OFFSET.
(_cpp_init_input_buffer): Update for new _cpp_init_toklist.
* cpplib.c (_cpp_parse_assertion): Similarly.
(cpp_push_buffer): Initialize extra_char.
* cpplib.h (LIST_OFFSET): Delete.
(struct cpp_buffer): New member extra_char.
(struct lexer_state): New members lexing_comment and seen_dot.

From-SVN: r36582

23 years agoMake-lang.in (JAVA_SRCS): Include java-tree.h.
Mark Mitchell [Sat, 23 Sep 2000 17:09:39 +0000 (17:09 +0000)]
Make-lang.in (JAVA_SRCS): Include java-tree.h.

* Make-lang.in (JAVA_SRCS): Include java-tree.h.
* Makefile.in (parse.o): Depend on ggc.h.
(class.o): Likewise.
(constants.o): Likewise.
(decl.o): Likewise.
(expr.o): Likewise.
(jcf-parse.o): Likewise.
(jcf-write.o): Likewise.
(mangle.o): Likewise.
* class.c: Include ggc.h.
(build_static_field_ref): Register GC roots.
(layout_class): Likewise.
(init_class_processing): Likewise.
* constants.c: Include ggc.h.
(current_constant_pool_data_ref): Remove.
(tag_nodes): Move it to ...
(get_tag_node): ... here.  Register GC roots.
* decl.c: Include ggc.h.  Remove many global tree definitions.
(throw_node): Define.
(java_global_trees): Likewise.
(predef_filenames): Make the size a constant.
(init_decl_processing): Adjust accordingly.
(init_decl_processing): Call init_jcf_parse.  Register GC roots.
* expr.c: Include ggc.h.
(init_expr_processing): Register GC roots.
(build_invokeinterface): Likewise.
* java-tree.h: Replace extern tree declarations with macros.
(java_global_trees): New variable.
(java_tree_index): New enumeration.
(init_jcf_parse): Declare.
* jcf-parse.c: Include ggc.h.
(current_class): Remove declaration.
(main_class): Likewise.
(all_class_list): Likewise.
(predefined_filename_p): Adjust for constant size of
predef_filenames.
(init_jcf_parse): New function.
* jcf-write.c: Include ggc.h.
(generate_classfile): Register GC roots.
(append_synthetic_attribute): Likewise.
(append_innerclass_attribute_entry): Likewise.
* lang.c: Include ggc.h.
(lang_print_error): Register GC roots.
* parse.h (struct parser_ctxt): Rename fields to avoid conflicts
with macros.
* parse.y: Include ggc.h.
(wfl_operator): Remove.
(goal): Register GC roots.
(java_pop_parser_context): Adjust for new field names.
(java_parser_context_save_global): Likewse.
(java_parser_context_restore_global): Likewise.
(java_parser_context_suspend): Likewise.
(java_parser_context_resume): Likewise.
(verify_constructor_circularity): Register GC roots.
(lookup_cl): Likewise.
(java_reorder_fields): Likewise.
(build_current_this): Likewise.
(class_in_current_package): Likewise.
(argument_types_convertible): Likewise.
(patch_cast): Rename wfl_op parameter to avoid macro conflicts.

From-SVN: r36581

23 years agostdstreams.cc: Include <libio.h>, not "libio.h".
Franz Sirl [Sat, 23 Sep 2000 17:01:47 +0000 (17:01 +0000)]
stdstreams.cc: Include <libio.h>, not "libio.h".

        2000-09-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * stdstreams.cc: Include <libio.h>, not "libio.h".
        * iolibio.h: Likewise.
        (_IO_pos_BAD): Use _IO_off_t instead of _IO_fpos_t.
        * libio.h (_IO_USER_LOCK): Define.

From-SVN: r36580

23 years agox-aix41 (CLIB): Define here.
Jason Merrill [Sat, 23 Sep 2000 15:23:13 +0000 (11:23 -0400)]
x-aix41 (CLIB): Define here.

        * config/rs6000/x-aix41 (CLIB): Define here.
        * config/rs6000/t-aix43: Not here.
        * config/rs6000/t-aix41: Or here.  Remove.
        * configure.in: Don't use it.

From-SVN: r36579

23 years agoadd missing error marker
Jason Merrill [Sat, 23 Sep 2000 15:16:29 +0000 (11:16 -0400)]
add missing error marker

From-SVN: r36578

23 years ago20000510-1.S: Rename assembler.S.
Neil Booth [Sat, 23 Sep 2000 11:47:05 +0000 (11:47 +0000)]
20000510-1.S: Rename assembler.S.

        * gcc.dg/cpp/20000510-1.S: Rename assembler.S.  Add test
        that we continue to preprocess after an unknown directive.
* gcc.dg/cpp/tr-str.c: Run-time test for traditional
stringification.

From-SVN: r36577

23 years agoDaily bump.
Jeff Law [Sat, 23 Sep 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r36575

23 years agofix
Jason Merrill [Fri, 22 Sep 2000 19:10:58 +0000 (15:10 -0400)]
fix

From-SVN: r36574

23 years agorevert
Jason Merrill [Fri, 22 Sep 2000 19:03:53 +0000 (15:03 -0400)]
revert

From-SVN: r36573

23 years agoconfigure.in: Fix checks for assembler features when using a one-tree assembler that...
Jason Merrill [Fri, 22 Sep 2000 18:24:29 +0000 (14:24 -0400)]
configure.in: Fix checks for assembler features when using a one-tree assembler that has not...

        * configure.in: Fix checks for assembler features when using a
        one-tree assembler that has not yet been built.
        Fix --disable-threads.

From-SVN: r36572

23 years agoIn gcc/ChangeLog:
Geoff Keating [Fri, 22 Sep 2000 18:07:49 +0000 (18:07 +0000)]
In gcc/ChangeLog:

* stmt.c (expand_asm_operands): Allow # in constraints.
In gcc/testsuite/ChangeLog:
* gcc.c-torture/compile/20000922-1.c: New file.

From-SVN: r36571

23 years agoc-lex.c (skip_white_space): Just treat CRs as horizontal whitespace.
Jason Merrill [Fri, 22 Sep 2000 17:59:46 +0000 (13:59 -0400)]
c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace.

        * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace.

        * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for
        function-local names.

From-SVN: r36570

23 years agoDaily bump.
Jeff Law [Fri, 22 Sep 2000 07:45:12 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r36569

23 years agotoplev.c (warn_disabled_optimization): Declare new warning flag.
Brad Lucier [Fri, 22 Sep 2000 07:22:07 +0000 (07:22 +0000)]
toplev.c (warn_disabled_optimization): Declare new warning flag.

        * toplev.c (warn_disabled_optimization): Declare new warning flag.
        * flags.h (warn_disabled_optimization): Add it here.
        * gcse.c (gcse_main): Add warning when disabled.
        * invoke.texi: Document -Wdisabled-optimization

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r36568

23 years ago* decl2.c (get_guard): Check DECL_FUNCTION_SCOPE_P.
Jason Merrill [Thu, 21 Sep 2000 22:05:48 +0000 (18:05 -0400)]
* decl2.c (get_guard): Check DECL_FUNCTION_SCOPE_P.

From-SVN: r36567

23 years ago* decl2.c (get_guard): Check DECL_FUNCTION_SCOPE_P.
Jason Merrill [Thu, 21 Sep 2000 21:47:55 +0000 (17:47 -0400)]
* decl2.c (get_guard): Check DECL_FUNCTION_SCOPE_P.

From-SVN: r36566

23 years agodwarf2out.c (add_const_value_attribute): Multiply by length, not 4.
Jason Merrill [Thu, 21 Sep 2000 21:42:02 +0000 (17:42 -0400)]
dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.

        * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.

        * dwarf2out.c (tree_add_const_value_attribute): New fn.
        (gen_variable_die): Call it for non-definitions.

        * dwarf2out.c (die_struct): Add die_mark field.
        (mark_dies, unmark_dies): New fns.
        (clear_die_sizes): Remove.
        (print_die): Check die_symbol rather than die_offset.
        (build_abbrev_table, output_pubnames, output_aranges): Check
        die_mark rather than die_offset.
        (output_comp_unit): Move calc_die_sizes after build_abbrev_table.
        Call mark_dies.

From-SVN: r36565

23 years agocppfiles.c (lookup_include_file): Rename to open_file.
Neil Booth [Thu, 21 Sep 2000 18:01:22 +0000 (18:01 +0000)]
cppfiles.c (lookup_include_file): Rename to open_file.

* cppfiles.c (lookup_include_file): Rename to open_file.
Always create a splay tree value, even on syscall failures.
Negative entries indicated by fd == -2.
Re-open files closed in the meantime.
(_cpp_fake_include): Create a negative splay tree entry.
(find_include_file, cpp_read_file): Update for function name
change.
* gcc.gd/cpp/mi4.c: Testcase.

From-SVN: r36564

23 years agoEnable multilibs for ARM and Thumb modes
Nick Clifton [Thu, 21 Sep 2000 17:36:19 +0000 (17:36 +0000)]
Enable multilibs for ARM and Thumb modes

From-SVN: r36563

23 years agoFix compile time warnings
Nick Clifton [Thu, 21 Sep 2000 17:33:51 +0000 (17:33 +0000)]
Fix compile time warnings

From-SVN: r36562

23 years agoAdd extra tests (for modulos of very large dividends by very small divisors)
Nick Clifton [Thu, 21 Sep 2000 17:30:11 +0000 (17:30 +0000)]
Add extra tests (for modulos of very large dividends by very small divisors)

From-SVN: r36561

23 years agoDaily bump.
Jeff Law [Thu, 21 Sep 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r36560

23 years agoFix typo in applying last patch to configure.in and regenerate configure.
Andreas Jaeger [Thu, 21 Sep 2000 05:37:11 +0000 (07:37 +0200)]
Fix typo in applying last patch to configure.in and regenerate configure.

From-SVN: r36559

23 years agoconfigure.in: Correct test of gcc_cv_glibc.
J. David Anglin [Thu, 21 Sep 2000 05:30:35 +0000 (07:30 +0200)]
configure.in: Correct test of gcc_cv_glibc.

2000-09-20  J. David Anglin  <dave@hiauly1.hia.nrc.ca>

* configure.in: Correct test of gcc_cv_glibc.
* configure: Rebuilt.
* config.in: Rebuilt.

From-SVN: r36558

23 years agoerrfn.c: Move declaration of cp_printer and cp_printers to ...
Andreas Jaeger [Thu, 21 Sep 2000 03:43:14 +0000 (05:43 +0200)]
errfn.c: Move declaration of cp_printer and cp_printers to ...

        * errfn.c: Move declaration of cp_printer and cp_printers to ...
        * cp-tree.h: ... here.

        * error.c: Remove declaration of cp_printer.

From-SVN: r36557

23 years agobuiltins.c (expand_builtin_fputs): Also expand when length!=1.
Kaveh R. Ghazi [Thu, 21 Sep 2000 01:59:07 +0000 (01:59 +0000)]
builtins.c (expand_builtin_fputs): Also expand when length!=1.

* builtins.c (expand_builtin_fputs): Also expand when length!=1.
(expand_builtin): Handle BUILT_IN_FWRITE.

* builtins.def (BUILT_IN_FWRITE): New entry.

* c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite.

From-SVN: r36556

23 years agogcc.c (modify_target): New variable and struct.
Richard Kenner [Wed, 20 Sep 2000 20:06:55 +0000 (20:06 +0000)]
gcc.c (modify_target): New variable and struct.

* gcc.c (modify_target): New variable and struct.
(process_command): Handle MODIFY_TARGET_NAME.
* tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro.
* config/pa/pa.h (MODIFY_TARGET_NAME): New macro.

From-SVN: r36555

23 years agoc-decl.c (finish_decl): Add else's to avoid referencing TYPE_DOMAIN of an ERROR_MARK.
Richard Kenner [Wed, 20 Sep 2000 19:35:10 +0000 (19:35 +0000)]
c-decl.c (finish_decl): Add else's to avoid referencing TYPE_DOMAIN of an ERROR_MARK.

* c-decl.c (finish_decl): Add else's to avoid referencing
TYPE_DOMAIN of an ERROR_MARK.

From-SVN: r36554

23 years ago* tree.c (mark_local_for_remap_r): Handle CASE_LABELs.
Mark Mitchell [Wed, 20 Sep 2000 18:28:36 +0000 (18:28 +0000)]
* tree.c (mark_local_for_remap_r): Handle CASE_LABELs.

From-SVN: r36553

23 years agoavr.c (adjust_insn_length): Adjust lengths of `reload_in*' insns.
Denis Chertykov [Wed, 20 Sep 2000 18:01:20 +0000 (22:01 +0400)]
avr.c (adjust_insn_length): Adjust lengths of `reload_in*' insns.

* config/avr/avr.c (adjust_insn_length): Adjust lengths of
`reload_in*' insns.

* config/avr/avr.md (neghi2): Add alternative for input and output
operands in different registers, as in negsi2.
(*negsi2): Remove '*' from the name.  Use "movw" if available.

From-SVN: r36552

23 years agoexcept.c: Delete #if 0:d EXCEPTION_SECTION_ASM_OP-default and users.
Hans-Peter Nilsson [Wed, 20 Sep 2000 10:33:05 +0000 (10:33 +0000)]
except.c: Delete #if 0:d EXCEPTION_SECTION_ASM_OP-default and users.

* except.c: Delete #if 0:d EXCEPTION_SECTION_ASM_OP-default and
users.

From-SVN: r36551

23 years agolocalename.cc (locale::_Imp): Remove typedefs.
Benjamin Kosnik [Wed, 20 Sep 2000 08:19:07 +0000 (08:19 +0000)]
localename.cc (locale::_Imp): Remove typedefs.

2000-09-19  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* src/localename.cc (locale::_Imp) : Remove typedefs.
* bits/localefwd.h (locale::locale(const locale& __other, _Facet*
__f): Consistency check,, call _Imp ctor with refererence argument
of 1.
* bits/localefwd.h: Change _S_num_categories to
_S_categories_num. Add new data member, _S_facets_num, which is
the number of standard facets.

From-SVN: r36550

23 years agoDaily bump.
Jeff Law [Wed, 20 Sep 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r36549

23 years agoFix glibc make check failure.
Jim Wilson [Wed, 20 Sep 2000 01:22:44 +0000 (01:22 +0000)]
Fix glibc make check failure.

* config/ia64/crtbegin.asm (__dso_handle): Delete use of
HAVE_GAS_HIDDEN macro.

From-SVN: r36548

23 years agohowto.html: Fix editor lossage from last commit.
Phil Edwards [Tue, 19 Sep 2000 21:54:48 +0000 (21:54 +0000)]
howto.html: Fix editor lossage from last commit.

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

* docs/21_strings/howto.html:  Fix editor lossage from last commit.

From-SVN: r36547

23 years agothanks.html: More thanks.
Phil Edwards [Tue, 19 Sep 2000 21:44:30 +0000 (21:44 +0000)]
thanks.html: More thanks.

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

* docs/thanks.html:  More thanks.
* docs/18_support/howto.html:  Fix thinko.
* docs/21_strings/howto.html:  Minor tweaks and updates to URLs.
  Redo the string transformation notes and link to...
* docs/22_locale/howto.html:  ...here.

From-SVN: r36546

23 years agocpplex.c (lex_line): Drop the EOF token for unknown directives in assembler.
Neil Booth [Tue, 19 Sep 2000 21:41:26 +0000 (21:41 +0000)]
cpplex.c (lex_line): Drop the EOF token for unknown directives in assembler.

* cpplex.c (lex_line): Drop the EOF token for unknown
directives in assembler.

From-SVN: r36545

23 years agoDummy checkin of footer.html to force web update.
Phil Edwards [Tue, 19 Sep 2000 21:41:11 +0000 (21:41 +0000)]
Dummy checkin of footer.html to force web update.

From-SVN: r36544

23 years agoconfigure.in: Add AIX multithread support fragment.
David Edelsohn [Tue, 19 Sep 2000 20:36:39 +0000 (20:36 +0000)]
configure.in: Add AIX multithread support fragment.

* configure.in: Add AIX multithread support fragment.
* config/aix.mt: Define _PTHREADS in MT_CFLAGS if -pthread
commandline option present.

From-SVN: r36543

23 years agoFix previous ChangeLog entry
David Edelsohn [Tue, 19 Sep 2000 20:31:53 +0000 (16:31 -0400)]
Fix previous ChangeLog entry

From-SVN: r36542

23 years agoconfigure.in: Allow enable_threads_flag value of "aix".
David Edelsohn [Tue, 19 Sep 2000 20:30:27 +0000 (20:30 +0000)]
configure.in: Allow enable_threads_flag value of "aix".

* configure.in: Allow enable_threads_flag value of "aix".  Define
thread_file as "aix" for AIX 4.3 and above..
* configure: Regenerated.

* gthr-aix.h: New file.

* rs6000/t-aix43: Replace soft-float multilib with pthread.
Remove 403 processor multilib match.  Fix rios2 processor multilib
match.

* rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section
to return to appropriate csect.

From-SVN: r36541

23 years agobuiltins.c (is_valid_printf_arglist, [...]): New functions.
Kaveh R. Ghazi [Tue, 19 Sep 2000 18:19:44 +0000 (18:19 +0000)]
builtins.c (is_valid_printf_arglist, [...]): New functions.

* builtins.c (is_valid_printf_arglist, expand_builtin_printf): New
functions.
(expand_builtin_fputs): Set `target' parameter for `expand_expr'.
(expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and
BUILT_IN_PRINTF.

* builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF):
New entries.

* c-common.c (init_function_format_info): Handle __builtin_printf.
Set `check_function_format_ptr'.
(c_common_nodes_and_builtins): Set `puts_ftype' and
`printf_ftype'.  Declare __builtin_putchar, __builtin_puts,
__builtin_printf and printf.

* tree.c, tree.h (check_function_format_ptr): Declare.

testsuite:
* g++.old-deja/g++.other/virtual8.C: Declare printf correctly.

From-SVN: r36540

23 years agocppfiles.c (read_include_file): Take no special action for zero-length files.
Neil Booth [Tue, 19 Sep 2000 17:28:46 +0000 (17:28 +0000)]
cppfiles.c (read_include_file): Take no special action for zero-length files.

        * cppfiles.c (read_include_file): Take no special action for
        zero-length files.

From-SVN: r36539

23 years agoFix shorten_branches bugs
Bernd Schmidt [Tue, 19 Sep 2000 16:43:36 +0000 (16:43 +0000)]
Fix shorten_branches bugs

From-SVN: r36538

23 years agoFix target selector regexp.
Richard Henderson [Tue, 19 Sep 2000 16:29:22 +0000 (09:29 -0700)]
Fix target selector regexp.

From-SVN: r36537

23 years agoKill recombine_givs.
Bernd Schmidt [Tue, 19 Sep 2000 16:01:13 +0000 (09:01 -0700)]
Kill recombine_givs.

From-SVN: r36536

23 years agoSome sh.md fixes (fallout from earlier changes)
Bernd Schmidt [Tue, 19 Sep 2000 15:33:16 +0000 (15:33 +0000)]
Some sh.md fixes (fallout from earlier changes)

From-SVN: r36535

23 years agoi386.h (CPP_CPU_SPEC): Define i586 and i686 symbols in addition to pentium and pentiu...
Richard Henderson [Tue, 19 Sep 2000 14:41:56 +0000 (07:41 -0700)]
i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols in addition to pentium and pentiumpro symbols.

        * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols
        in addition to pentium and pentiumpro symbols.
        (CPP_CPU_DEFAULT_SPEC): Likewise.

From-SVN: r36534

23 years agoc-typeck.c (c_expand_asm_operands): Restore the output tree after expanding.
Richard Henderson [Tue, 19 Sep 2000 14:26:38 +0000 (07:26 -0700)]
c-typeck.c (c_expand_asm_operands): Restore the output tree after expanding.

        * c-typeck.c (c_expand_asm_operands): Restore the output tree
        after expanding.

From-SVN: r36533

23 years agostmt.c (expand_expr_stmt): Only call warn_if_unused_value if the tree has side effects.
Richard Henderson [Tue, 19 Sep 2000 13:39:10 +0000 (06:39 -0700)]
stmt.c (expand_expr_stmt): Only call warn_if_unused_value if the tree has side effects.

        * stmt.c (expand_expr_stmt): Only call warn_if_unused_value
        if the tree has side effects.
        (warn_if_unused_value): Do not warn about void constructs.

From-SVN: r36532

This page took 0.124542 seconds and 5 git commands to generate.