aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-11-02m68hc11.c: Fix comment formatting.Kazu Hirata4-78/+84
* config/m68hc11/m68hc11.c: Fix comment formatting. * config/m68hc11/m68hc11.h: Likewise. * config/m68hc11/m68hc11.md: Likewise. From-SVN: r46706
2001-11-01re PR c/3170 (bogus "suggest parentheses" warning)Neil Booth3-0/+27
PR c/3170 PR c/3422 * c-typeck.c (default_conversion): Retain the original expression codes. * gcc.dg/Wparentheses-1.c: New tests. From-SVN: r46705
2001-11-01install.texi (Specific, [...]): Bring 64-bit Sparc description more in line ↵David S. Miller2-10/+12
with reality. * doc/install.texi (Specific, sparc-sun-solaris2*): Bring 64-bit Sparc description more in line with reality. From-SVN: r46704
2001-11-01re PR other/704 (--help and --version)Joseph Myers4-43/+128
* Makefile.in (GCOV_OBJS): Add version.o. * gcov.c: Include "version.h" and <getopt.h>. (gcov_version_string): Remove. (print_usage): Take a parameter to determine whether this is a call from --help or an error message. Give fuller output that follows the GNU Coding Standards for --help. (print_version): New function. (options): New. (process_args): Use getopt_long. Support long options. Follow GNU Coding Standards for --help and --version. * doc/gcov.texi: Document long options. Addresses part of PR other/704. From-SVN: r46703
2001-11-01tree.c (cp_copy_res_decl_for_inlining): Adjust DECL_ABSTRACT_ORIGIN for the ↵Jakub Jelinek4-0/+59
return variable. * tree.c (cp_copy_res_decl_for_inlining): Adjust DECL_ABSTRACT_ORIGIN for the return variable. * g++.dg/other/debug1.C: New test. From-SVN: r46702
2001-11-01* include/bits/std_complex.h (abs): Fix thinko.Gabriel Dos Reis2-2/+2
From-SVN: r46700
2001-11-01* pa.c (output_move_double): Fix typo in double load.John David Anglin2-1/+5
From-SVN: r46699
2001-11-01re PR libstdc++/3666 (Invalid concept-checking code.)Phil Edwards30-1704/+1802
2001-11-01 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4: Fix spacing. (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro. * configure.in: Call here. * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS. * include/bits/boost_concept_check.h: Fix headers. (__function_requires): Make inline. * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove. * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. Move trailing ';' inside macro, PR libstdc++/3666. * include/bits/concept_check.h: Add semicolon. * include/bits/stl_algo.h: Remove semicolon. * include/bits/stl_algobase.h: Likewise. * include/bits/stl_deque.h: Likewise. * include/bits/stl_heap.h: Likewise. * include/bits/stl_iterator_base_funcs.h: Likewise. * include/bits/stl_list.h: Likewise. * include/bits/stl_map.h: Likewise. * include/bits/stl_multimap.h: Likewise. * include/bits/stl_multiset.h: Likewise. * include/bits/stl_numeric.h: Likewise. * include/bits/stl_queue.h: Likewise. * include/bits/stl_set.h: Likewise. * include/bits/stl_stack.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/ext/hash_map: Likewise. * include/ext/hash_set: Likewise. * include/ext/slist: Likewise. * src/concept-inst.cc: New file with explicit instantiations. * src/Makefile.am (sources): Add here, with special build rules. * src/Makefile.in: Regenerate. From-SVN: r46697
2001-11-01h8300.c (h8300_encode_label): Compute a string before passing it to ↵Kazu Hirata2-5/+10
ggc_alloc_string. * config/h8300/h8300.c (h8300_encode_label): Compute a string before passing it to ggc_alloc_string. From-SVN: r46695
2001-11-01* include/bits/std_complex.h (abs): Tweak.Gabriel Dos Reis2-1/+2
From-SVN: r46693
2001-11-013b1.h: Fix comment formatting.Kazu Hirata32-162/+196
* config/m68k/3b1.h: Fix comment formatting. * config/m68k/3b1g.h: Likewise. * config/m68k/a-ux.h: Likewise. * config/m68k/amix.h: Likewise. * config/m68k/apollo68.h: Likewise. * config/m68k/atari.h: Likewise. * config/m68k/aux-exit.c: Likewise. * config/m68k/ccur-GAS.h: Likewise. * config/m68k/crds.h: Likewise. * config/m68k/dpx2.h: Likewise. * config/m68k/dpx2g.h: Likewise. * config/m68k/hp310.h: Likewise. * config/m68k/hp320.h: Likewise. * config/m68k/isi.h: Likewise. * config/m68k/linux.h: Likewise. * config/m68k/lynx.h: Likewise. * config/m68k/m68k-psos.h: Likewise. * config/m68k/m68k.c: Likewise. * config/m68k/m68k.h: Likewise. * config/m68k/m68k.md: Likewise. * config/m68k/m68kelf.h: Likewise. * config/m68k/m68kv4.h: Likewise. * config/m68k/mot3300.h: Likewise. * config/m68k/news.h: Likewise. * config/m68k/next.h: Likewise. * config/m68k/pbb.h: Likewise. * config/m68k/plexus.h: Likewise. * config/m68k/sgs.h: Likewise. * config/m68k/sun3.h: Likewise. * config/m68k/tower.h: Likewise. * config/m68k/vxm68k.h: Likewise. From-SVN: r46692
2001-11-01std_complex.h (_Norm_helper): New class template.Gabriel Dos Reis2-2/+35
* include/bits/std_complex.h (_Norm_helper): New class template. (norm): Tweak. From-SVN: r46690
2001-11-0120010327-1.c: Use __SIZE_TYPE__ instead of unsigned long.Stephane Carrez2-1/+6
* gcc.c-torture/compile/20010327-1.c: Use __SIZE_TYPE__ instead of unsigned long. From-SVN: r46689
2001-11-01Daily bump.GCC Administrator6-6/+6
From-SVN: r46687
2001-10-31mips.h (mips_cache_flush_func): Prototype.DJ Delorie4-5/+32
* config/mips/mips.h (mips_cache_flush_func): Prototype. (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func. (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero. * config/mips/mips.c (mips_cache_flush_func): New. * doc/invoke.texi: Document the new options. From-SVN: r46686
2001-10-31codecvt.h: Add virtual member function declarations.Benjamin Kosnik4-14/+47
2001-10-31 Benjamin Kosnik <bkoz@redhat.com> libstdc++/4749 * include/bits/codecvt.h: Add virtual member function declarations. * src/codecvt.cc: Tweaks. * testsuite/22_locale/codecvt.cc: Test compilation only, non-required facets not required to have linkage. From-SVN: r46685
2001-10-31cris.c: Include output.h after tree.h but before target.h.Hans-Peter Nilsson2-1/+4
* config/cris/cris.c: Include output.h after tree.h but before target.h. From-SVN: r46684
2001-10-31* config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.Hans-Peter Nilsson2-1/+3
From-SVN: r46683
2001-10-31config.gcc (cris-*-linux*, tm_file): Rearrange order.Hans-Peter Nilsson3-22/+6
* config.gcc (cris-*-linux*, tm_file): Rearrange order. * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine. From-SVN: r46682
2001-10-31Makefile.in (INTL_TARGETS, POSUB): Delete all references.Zack Weinberg18-8514/+8716
* Makefile.in (INTL_TARGETS, POSUB): Delete all references. (INTL_SUBDIRS): Just intl. (.SUFFIXES): Add .gmo .po .pox. (native): Also depend on build-@POSUB@. (intl.all, intl.install): Depend on config.h and things it includes. (po-generated): New target; depend on c-parse.c and tradcif.c. (install-normal): Also depend on install-@POSUB@. (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables. (build-, install-, build-po, update-po, install-po, .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules. * aclocal.m4: Prefix each entry in CATALOGS with "po/" * configure.in: Don't munge XGETTEXT. Don't generate po/Makefile.in. * configure: Regenerate. * exgettext: Delete. * config/m68k/m68k.h: Add doc strings for -msky and -mnosky. * cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated. po: * EXCLUDES: New file. * exgettext: New helper script; completely rewritten. * Makefile.in.in, POTFILES.in: Delete. From-SVN: r46680
2001-10-31* config/h8300/h8300.md (two anonymous patterns): New.Kazu Hirata2-0/+27
From-SVN: r46679
2001-10-31tree.h (tree_index): Add support for V16QI and V8HI.Aldy Hernandez4-0/+28
* tree.h (tree_index): Add support for V16QI and V8HI. (V8HI_type_node): New. (V16QI_type_node): New. From-SVN: r46678
2001-10-31att.h: Fix comment formatting.Kazu Hirata42-127/+171
* config/i386/att.h: Fix comment formatting. * config/i386/beos-elf.h: Likewise. * config/i386/bsd.h: Likewise. * config/i386/bsd386.h: Likewise. * config/i386/crtdll.h: Likewise. * config/i386/cygwin.asm: Likewise. * config/i386/cygwin.h: Likewise. * config/i386/djgpp.h: Likewise. * config/i386/freebsd-aout.h: Likewise. * config/i386/freebsd.h: Likewise. * config/i386/gas.h: Likewise. * config/i386/i386-interix.h: Likewise. * config/i386/i386-protos.h: Likewise. * config/i386/i386.c: Likewise. * config/i386/i386.h: Likewise. * config/i386/i386.md: Likewise. * config/i386/i386elf.h: Likewise. * config/i386/interix.c: Likewise. * config/i386/isc.h: Likewise. * config/i386/isccoff.h: Likewise. * config/i386/iscdbx.h: Likewise. * config/i386/linux.h: Likewise. * config/i386/lynx.h: Likewise. * config/i386/mingw32.h: Likewise. * config/i386/netbsd-elf.h: Likewise. * config/i386/next.h: Likewise. * config/i386/osf1elf.h: Likewise. * config/i386/osfrose.h: Likewise. * config/i386/sco5.h: Likewise. * config/i386/seq-gas.h: Likewise. * config/i386/seq-sysv3.h: Likewise. * config/i386/sequent.h: Likewise. * config/i386/sol2.h: Likewise. * config/i386/sun386.h: Likewise. * config/i386/uwin.asm: Likewise. * config/i386/uwin.h: Likewise. * config/i386/vxi386.h: Likewise. * config/i386/win32.h: Likewise. * config/i386/winnt.c: Likewise. * config/i386/xm-cygwin.h: Likewise. * config/i386/xm-mingw32.h: Likewise. From-SVN: r46677
2001-10-31builtins.def: Fix comment typos.Kazu Hirata20-24/+46
2001-10-31 Kazu Hirata <kazu@hxi.com> * builtins.def: Fix comment typos. * config/alpha.c: Likewise. * config/arm/arm.c: Likewise. * config/avr/avr.h: Likewise. * config/d30v/d30v.c: Likewise. * config/d30v/d30v.h: Likewise. * config/d30v/d30v.md: Likewise. * config/dsp16xx/dsp16xx.c: Likewise. * config/fr30/fr30.c: Likewise. * config/fr30/fr30.md: Likewise. * config/i386/i386.c: Likewise. * config/i860/i860.c: Likewise. * config/i960/i960.c: Likewise. * config/ia64/ia64.c: Likewise. * config/mips/mips.c: Likewise. * config/pa/pa.c: Likewise. * config/rs6000/rs6000.c: Likewise. * config/s390/s390.c: Likewise. * config/sparc/sparc.c: Likewise. From-SVN: r46676
2001-10-31std_complex.h (complex::operator/=): Correct sign.Edward E. Meyer2-1/+7
2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com> libstdc++/4622 * include/bits/std_complex.h (complex::operator/=): Correct sign. From-SVN: r46675
2001-10-31basic_string.h: Tweaks.Paolo Carlini6-50/+131
2001-10-30 Paolo Carlini <pcarlini@unitus.it> Benjamin Kosnik <bkoz@redhat.com> * include/bits/basic_string.h: Tweaks. * include/bits/basic_string.tcc (string::_M_replace(iterator, iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix. * src/string-inst.cc: Tweaks, add instantiation. * testsuite/21_strings/replace.cc (test02): Add test. * testsuite/21_strings/assign.cc (test01): New file. 0 Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> From-SVN: r46674
2001-10-31Daily bump.GCC Administrator6-6/+6
From-SVN: r46672
2001-10-31Fix typos in ChangeLog.Kazu Hirata1-17/+17
From-SVN: r46671
2001-10-31elf.h: Fix comment formatting.Kazu Hirata18-86/+106
* config/elf.h: Fix comment formatting. * config/elf64.h: Likewise. * config/iris5.h: Likewise. * config/iris5gas.h: Likewise. * config/iris6.h: Likewise. * config/isa3264.h: Likewise. * config/linux.h: Likewise. * config/mips.c: Likewise. * config/mips.h: Likewise. * config/mips.md: Likewise. * config/mips16.S: Likewise. * config/netbsd.h: Likewise. * config/osfrose.h: Likewise. * config/r3900.h: Likewise. * config/sni-svr4.h: Likewise. * config/svr4-t.h: Likewise. * config/ultrix.h: Likewise. From-SVN: r46670
2001-10-31bitmap.c (bitmap_element_free): Don't forget to update head->indx when we ↵Daniel Berlin2-1/+10
update head->current. 2001-10-30 Daniel Berlin <dan@cgsoftware.com> * bitmap.c (bitmap_element_free): Don't forget to update head->indx when we update head->current. From-SVN: r46669
2001-10-31ChangeLog, [...]: Fix spelling errors.Joseph Myers8-19/+24
* ChangeLog, actions.c, ch-tree.def, decl.c, except.c, inout.c, tasking.c, typeck.c: Fix spelling errors. From-SVN: r46668
2001-10-31* style.adb:Robert Dewar2-21/+49
(Check_Identifier): Rewrite circuit to be compatible with use of letters in the upper half of ASCII. (Check_Identifier): Minor reformatting From-SVN: r46667
2001-10-31(Associated_Node, [...]): Do not check for Freeze_Entity.Geert Bosch2-4/+7
* (Associated_Node, Set_Associated_Node): Do not check for Freeze_Entity. From-SVN: r46666
2001-10-31HACKING, [...]: Fix spelling errors.Joseph Myers51-92/+126
* HACKING, gnu/gcj/xlib/Pixmap.java, gnu/gcj/xlib/XException.java, gnu/java/rmi/rmic/RMIC.java, java/awt/Window.java, java/awt/AWTEvent.java, java/io/ByteArrayOutputStream.java, java/io/CharConversionException.java, java/io/PipedInputStream.java, java/io/PipedReader.java, java/io/PrintWriter.java, java/io/WriteAbortedException.java, java/io/natFileWin32.cc, java/lang/Class.h, java/lang/natClassLoader.cc, java/lang/natObject.cc, java/lang/Package.java, java/net/BindException.java, java/net/ConnectException.java, java/net/ProtocolException.java, java/net/SocketException.java, java/net/UnknownServiceException.java, java/security/cert/X509Certificate.java, java/security/interfaces/DSAKey.java, java/security/SecureRandom.java, java/security/SignedObject.java, java/sql/DatabaseMetaData.java, java/text/DecimalFormatSymbols.java, java/util/jar/Attributes.java, java/util/jar/JarEntry.java, java/util/jar/JarInputStream.java, java/util/jar/JarOutputStream.java, java/util/Calendar.java, java/util/Collections.java, java/util/GregorianCalendar.java, java/util/HashMap.java, java/util/List.java, java/util/Properties.java, java/util/Timer.java, java/util/Vector.java, java/util/WeakHashMap.java, javax/naming/NamingException.java, testsuite/libjava.lang/Thread_Wait.java, org/xml/sax/helpers/DefaultHandler.java, org/xml/sax/HandlerBase.java, org/xml/sax/SAXParseException.java, ChangeLog, acinclude.m4, aclocal.m4, posix-threads.cc: Fix spelling errors. * configure: Regenerate. From-SVN: r46665
2001-10-31* a-reatim.ads: Minor reformattingRobert Dewar2-4/+9
From-SVN: r46664
2001-10-31gnatdll.adb: Minor reformatting throughout.Robert Dewar2-52/+60
* gnatdll.adb: Minor reformatting throughout. Many ??? added for undocumented declarations. From-SVN: r46663
2001-10-31gnatdll.adb (Parse_Command_Line): handle -g option to be passed to the ↵Pascal Obry4-84/+101
binder and linker. * gnatdll.adb (Parse_Command_Line): handle -g option to be passed to the binder and linker. Minor style fix. * mdll.ads: Fix layout. Update copyright notice. * mdll.adb: Fix layout. Update copyright notice. From-SVN: r46662
2001-10-31* usage.adb: Minor fix to output for -gnaty.Robert Dewar2-1/+5
From-SVN: r46661
2001-10-31a-reatim.ads: Makes Seconds_Count into a 64-bit integer, to accommodate all ↵Ed Schonberg3-10/+38
its possible values. * a-reatim.ads: Makes Seconds_Count into a 64-bit integer, to accommodate all its possible values. * a-reatim.adb (Split): Special-case handling of Time_Span_First and of small absolute values of T. From-SVN: r46660
2001-10-31misc.c (gnat_expand_expr, [...]): Remove call to set_mem_attributes since ↵Richard Kenner2-1/+6
not needed and wrong if RESULT if a REG... * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to set_mem_attributes since not needed and wrong if RESULT if a REG; fixes ACATS failures. From-SVN: r46659
2001-10-3186numaux.adb, [...]: Add 2001 to copyright notice.Geert Bosch8-15/+19
* 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads, s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice. From-SVN: r46658
2001-10-31bindusg.adb: Undocument -f switch.Robert Dewar5-19/+27
* bindusg.adb: Undocument -f switch. * gnatcmd.adb: Remove /FULL_ELABORATION. * opt.ads (Force_RM_Elaboration_Order): Document that this is obsolescent. * gnatbind.adb: Output new warning for use of obsolescent -f switch. * gnatbind.adb: Minor update of warning msg. From-SVN: r46657
2001-10-30Add myself.Dale Johannesen1-0/+1
From-SVN: r46656
2001-10-30gnatcmd.adb (MAKE, [...]): Add translations for project file switches (-P ↵Vincent Celier2-0/+42
(/PROJECT_FILE=)... * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations for project file switches (-P (/PROJECT_FILE=), -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT or MEDIUM or HIGH) From-SVN: r46655
2001-10-30* decl.c: Minor whitespace fixes.Geert Bosch2-5/+5
From-SVN: r46654
2001-10-30* utils2.c (build_allocator): Test for SIZE overflow in array case tooRichard Kenner2-0/+9
From-SVN: r46653
2001-10-30ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.Geert Bosch3-76/+97
* ali-util.adb (Initialize_Checksum): Use out-mode instead of in out. Found due to GCC 3.0 warning of using uninitialized value. * layout.adb: (Get_Max_Size): Use variant record for tracking value/expression. Makes logic clearer and prevents warnings for uninitialized variables. (Layout_Array_Type): Use variant record for tracking value/expression. Makes logic clearer and prevents warnings for uninitialized variables. From-SVN: r46652
2001-10-30lib.adb: Minor reformattingRobert Dewar3-10/+16
* lib.adb: Minor reformatting * s-taprop.ads: Minor reformatting From-SVN: r46651
2001-10-30tree.c (id_string_size): Remove.Neil Booth3-2/+7
* tree.c (id_string_size): Remove. (dump_tree_statistics): Update. * toplev.c (compile_file): If dumping stats, dump tree stats too. From-SVN: r46648
2001-10-30stl_deque.h (_M_new_elements_at_front): Use __throw_exception_again.Jakub Jelinek2-2/+8
* include/bits/stl_deque.h (_M_new_elements_at_front): Use __throw_exception_again. (_M_new_elements_at_back): Likewise. From-SVN: r46647