* config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS.
(REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P.
(LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG.
(REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P.
From-SVN: r36640
* cpplex.c (parse_args): Don't set VOID_REST flag.
(Fix diagnostic merge problem).
(CONTEXT_VARARGS): New flag.
(maybe_paste_with_next): Set context earlier in loop. Use
it. Do varargs test with CONTEXT_VARARGS flag.
(push_arg_context): Set CONTEXT_VARARGS flag if we're
pushing an argument context for a varargs argument.
* cpplib.h (VOID_REST): Delete.
* gcc.dg/cpp/vararg1.c: Add test case.
From-SVN: r36638
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
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
* 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
* 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
* 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
* 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
* 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
* 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