* c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
(format_types): Use it for scanf.
(dollar_arguments_pointer_p): New.
(init_dollar_format_checking): Store details of which arguments
are pointers.
(maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
(finish_dollar_format_checking): Take extra parameter
pointer_gap_ok. Treat unused arguments differently if
pointer_gap_ok and the unused arguments are pointers.
(check_format_info_main): Pass extra argument to
finish_dollar_format_checking.
* doc/invoke.texi (-Wno-format-extra-args): Document behavior when
unused arguments are present between used arguments with operand
numbers.
testsuite:
* gcc.dg/format/strfmon-1.c: Update comments. Adjust examples
from Austin Group draft 7.
* gcc.dg/format/xopen-1.c: Update comments. Add tests for gaps in
scanf format arguments.
* gcc.dg/format/no-exargs-2.c: New test.
From-SVN: r47327
2001-11-25 Daniel Berlin <dan@cgsoftware.com>
* df.c: Add prototypes for hybrid_search_bitmap and
hybrid_search_sbitmap.
(hybrid_search_bitmap): New function.
(hybrid_search_sbitmap): New function.
(iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
(iterative_dataflow_bitmap): Ditto.
From-SVN: r47326
* config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
* config/alpha/x-vms: New file, to compile the above.
* config.gcc (alpha*-dec-vms*): Add x-vms.
From-SVN: r47312
2001-11-23 Phil Edwards <pme@gcc.gnu.org>
* Makefile.am (doxygen-maint): The script isn't executable in CVS.
* Makefile.in: Regenerated.
* docs/doxygen/TODO: New file listing doxygen work to be done.
* docs/doxygen/run_doxygen: Fix up man pages.
* docs/doxygen/user.cfg.in: Insert maint-only toggles.
* docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
* include/bits/stl_construct.h: Use new hooks for internal functions.
* docs/html/17_intro/TODO: Small updates.
* docs/html/faq/index.html: Likewise.
* docs/html/faq/index.txt: Regenerated.
* include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
SGI-isms and wrappers.
(simple_alloc, debug_alloc): Uglify class names.
(__default_alloc_template): Uglify "threads" template parameter and
update corresponding macros.
* include/backward/alloc.h: Bring up to date.
From-SVN: r47296
* final.c (output_addr_const): Output PC as '.' even if !flag_pic.
* varasm.c (output_constructor): Use assemble_integer rather
than ASM_OUTPUT_BYTE.
From-SVN: r47287
* lib/old-dejagnu.exp (old-dejagnu): Copy extra source files
to the host if it is remote. Let tests specify extra headers
they use.
* g++.old-deja/g++.abi/vtable3a.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3b.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3c.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3d.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3e.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3f.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3g.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3h.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3i.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3j.C: This uses 'vtable3.h'.
From-SVN: r47281
2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
* testsuite/23_containers/list_capacity.cc: New file.
* testsuite/23_containers/list_ctor.cc: New file.
* testsuite/23_containers/list_modifiers.cc: New file.
* testsuite/23_containers/list_operators.cc: New file.
2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
* include/bits/stl_list.h: Reformatted according to C++STYLE rules.
(size): Replaced nonstandard distance() call with the standard one.
(transfer): Uglified to _M_transfer.
From-SVN: r47277
* cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
replacement jump after original jump.
(verify_flow_info): Remove redundent initialisation.
Handle reaching end of insn list before finding a BARRIER.
Only issue one missing barrier diagnostic.
From-SVN: r47269