1. 06 Jun, 2003 2 commits
  2. 05 Jun, 2003 32 commits
    • * gcc.dg/format/asm_fprintf-1.c: New test. · 0fd2bbf4
      From-SVN: r67519
      Kaveh R. Ghazi committed
    • re PR libstdc++/11095 (C++ iostream manipulator causes segfault when called iwth negative argument) · 1e64c2fc
      2003-06-05  Paolo Carlini  <pcarlini@unitus.it>
      
      	PR libstdc++/11095
      	* include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
      	Deal with width() smaller than zero.
      	* include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
      	operator<<(basic_ostream&, char), operator<<(basic_ostream&,
      	const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
      	const char*), operator<<(basic_ostream<char, _Traits>&,
      	const char*), operator<<(basic_ostream, const basic_string&)): Likewise.
      	* testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc:
      	* testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc:
      	* testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc:
      	* testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc:
      	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-od.cc:
      	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-oe.cc:
      	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-of.cc:
      	New.
      
      From-SVN: r67518
      Paolo Carlini committed
    • posix.h (O_SYNC): Define if not available and a reasonable... · 49c72d22
      	* libjava/include/posix.h (O_SYNC): Define if not available
      	and a reasonable, perhaps more conservative, replacement exists.
      	(O_DSYNC): Likewise.
      	* java/io/natFileDescriptorPosix.cc (open): Revert last patch.
      
      From-SVN: r67517
      Loren J. Rittle committed
    • Properly regenerate configure. · 23c84d33
      From-SVN: r67516
      Rainer Orth committed
    • acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if .gch compilation works. · bddc3107
      	* acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
      	.gch compilation works.
      	* aclocal.m4, configure: Regenerate.
      	* testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
      	initialize PCHFLAGS.
      
      From-SVN: r67515
      Rainer Orth committed
    • gcc-defs.exp (additional_sources): New variable. · b4e0fcc3
      	* lib/gcc-defs.exp (additional_sources): New variable.
      	(dg-additional-sources): New function.
      	(additional_files): New variable.
      	(dg-additional-files): New function.
      	(dg-additional-files-options): Likewise.
      	* lib/gcc-dg.exp (dg-require-weak): New function.
      	(dg-require-alias): Likewise.
      	(dg-require-gc-sections): Likewise.
      	* lib/target-supports.exp (check_alias_available): Remove testfile
      	parameter.
      	(check_gc_sections_available): New function.
      	* lib/g++-dg.exp (dg-gpp-additional-sources): Remove.
      	(dg-gpp-additional-files): Likewise.
      	* lib/g++.exp (additional_sources): Remove.
      	(additional_files): Likewise.
      	(g++_target_compile): Use dg-additional-files-options.
      
      	* gcc.dg/special/special.exp: Add "ecos" tests.  Remove complex
      	Tcl logic.
      	* gcc.dg/special/ecos.exp: Remove.
      	* gcc.dg/special/20000419-2.c: Use dg-require-*.
      	* gcc.dg/special/alias-1.c: Likewise.
      	* gcc.dg/special/alias-2.c: Likewise.
      	* gcc.dg/special/gcsec-1.c: Likewise.
      	* gcc.dg/special/weak-1.c: Likewise.
      	* gcc.dg/special/weak-2.c: Likewise.
      	* gcc.dg/special/wkali-1.c: Likewise.
      	* gcc.dg/special/wkali-2.c: Likewise.
      
      	* g++.dg/special/conpr-2.C: Use dg-additional-*, not
      	dg-gpp-additional-*.
      	* g++.dg/special/conpr-3.C: Likewise.
      	* g++.dg/special/conpr-4.C: Likewise.
      	* g++.old-deja/g++.abi/vtable3a.C: Likewise.
      	* g++.old-deja/g++.abi/vtable3b.C: Likewise.
      	* g++.old-deja/g++.abi/vtable3c.C: Likewise.
      	* g++.old-deja/g++.abi/vtable3d.C: Likewise.
      	* g++.old-deja/g++.abi/vtable3e.C: Likewise.
      	* g++.old-deja/g++.abi/vtable3f.C: Likewise.
      	* g++.old-deja/g++.abi/vtable3g.C: Likewise.
      	* g++.old-deja/g++.abi/vtable3h.C: Likewise.
      	* g++.old-deja/g++.abi/vtable3i.C: Likewise.
      	* g++.old-deja/g++.abi/vtable3j.C: Likewise.
      	* g++.old-deja/g++.oliva/linkage1.C: Likewise.
      	* g++.old-deja/g++.other/comdat1.C: Likewise.
      	* g++.old-deja/g++.other/comdat2.C: Likewise.
      	* g++.old-deja/g++.other/comdat3.C: Likewise.
      	* g++.old-deja/g++.other/ctor1.C: Likewise.
      	* g++.old-deja/g++.pt/instantiate5.C: Likewise.
      
      From-SVN: r67514
      Mark Mitchell committed
    • BorderUIResource.java, [...]: More compile fixes for latest Border commit. · 7786a3e4
      2003-06-05  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/plaf/BorderUIResource.java,
      	javax/swing/plaf/basic/BasicDefaults.java,
      	javax/swing/plaf/basic/BasicOptionPaneUI.java:
      	More compile fixes for latest Border commit. I should not commit
      	something in this heat here ...
      
      From-SVN: r67513
      Michael Koch committed
    • toplev.c (push_srcloc): Simplify behavior to save current location and set… · 640da953
      toplev.c (push_srcloc): Simplify behavior to save current location and set current location to parameters.
      
      
      	* toplev.c (push_srcloc):  Simplify behavior to save current location
      	and set current location to parameters.
      	(pop_srcloc):  Simplify semantics.
      	(lang_dependent_init):  Remove now-useless initial push_srcloc.
      
      From-SVN: r67512
      Per Bothner committed
    • 2003-06-05 Michael Koch <konqueror@gmx.de> · 486f6e5f
      	* javax/swing/border/BevelBorder.java
      	(BevelBorder): Removed.
      	* javax/swing/border/EmptyBorder.java:
      	Reformatted.
      	(EmptyBorder): Removed.
      	(getBorderInsets): Dont use l, r, t and b.
      	* javax/swing/border/EtchedBorder.java
      	(EtchedBorder): Removed.
      	* javax/swing/border/LineBorder.java
      	(LineBorder): Removed.
      	* javax/swing/border/MatteBorder.java
      	(MatteBorder): Removed.
      	* javax/swing/border/TitledBorder.java
      	(defaultBorder): Use other default for now.
      	(defaultFont): Likewise.
      	(defaultColor): Likewise.
      
      From-SVN: r67511
      Michael Koch committed
    • Border.java: New version from classpath. · 48243c88
      2003-06-05  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/border/Border.java:
      	New version from classpath.
      
      From-SVN: r67508
      Michael Koch committed
    • AbstractBorder.java, [...]: New versions from Classpath. · 93152c2f
      2003-06-05  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/border/AbstractBorder.java,
      	javax/swing/border/BevelBorder.java,
      	javax/swing/border/CompoundBorder.java,
      	javax/swing/border/EmptyBorder.java,
      	javax/swing/border/EtchedBorder.java,
      	javax/swing/border/LineBorder.java,
      	javax/swing/border/MatteBorder.java,
      	javax/swing/border/TitledBorder.java:
      	New versions from Classpath.
      
      From-SVN: r67507
      Michael Koch committed
    • Button.java, [...]: New versions from Classpath. · fe7f8a4e
      2003-06-05  Michael Koch  <konqueror@gmx.de>
      
      	* java/awt/Button.java,
      	java/awt/Checkbox.java,
      	java/awt/CheckboxMenuItem.java,
      	java/awt/Choice.java,
      	java/awt/Container.java,
      	java/awt/Dialog.java,
      	java/awt/EventQueue.java,
      	java/awt/FileDialog.java,
      	java/awt/Frame.java,
      	java/awt/Label.java,
      	java/awt/List.java,
      	java/awt/Menu.java,
      	java/awt/MenuItem.java,
      	java/awt/Panel.java,
      	java/awt/PopupMenu.java,
      	java/awt/Rectangle.java,
      	java/awt/ScrollPane.java,
      	java/awt/Scrollbar.java,
      	java/awt/TextArea.java,
      	java/awt/TextField.java,
      	java/awt/Window.java,
      	java/awt/datatransfer/DataFlavor.java,
      	java/awt/dnd/DragSource.java,
      	java/awt/dnd/DragSourceContext.java,
      	java/awt/event/HierarchyEvent.java,
      	java/awt/event/MouseWheelEvent.java,
      	java/awt/im/InputContext.java,
      	java/awt/image/BufferedImage.java,
      	java/awt/image/ComponentColorModel.java,
      	java/awt/image/Raster.java,
      	java/awt/image/WritableRaster.java,
      	java/awt/peer/ComponentPeer.java,
      	java/awt/print/PageFormat.java,
      	java/awt/print/PrinterJob.java:
      	New versions from Classpath.
      
      From-SVN: r67506
      Michael Koch committed
    • dwarf2out.c (loc_descriptor_from_tree): Return 0 for language-specific tree codes. · 7d445f15
              * dwarf2out.c (loc_descriptor_from_tree): Return 0 for
              language-specific tree codes.
      
              * gcc.dg/debug/20030605-1.c: New.
      
      From-SVN: r67505
      Richard Henderson committed
    • SimpleDateFormat.java (SimpleDateFormat): Added numberFormat.setParseIntegerOnly(true). · 9faf4458
      2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
      
      	* java/text/SimpleDateFormat.java (SimpleDateFormat): Added
      	numberFormat.setParseIntegerOnly(true).
      
      From-SVN: r67504
      Scott Gilbertson committed
    • re PR middle-end/9986 ([HP-UX] [3.4 regression] Incorrect transformation of… · eebfb2aa
      re PR middle-end/9986 ([HP-UX] [3.4 regression] Incorrect transformation of fputs_unlocked to fputc_unlocked)
      
      	PR middle-end/9986
      	* pa.c (pa_init_builtins): Also set implicit_built_in_decls for
      	BUILT_IN_FPUTC_UNLOCKED to NULL_TREE.
      
      From-SVN: r67500
      John David Anglin committed
    • re PR other/10810 (gcc-3.3 fails make check: buffer overrun in test_demangle.c) · 8191fe81
      	PR other/10810
      	* test-demangle.c (getline): Fix fence-post error.
      
      From-SVN: r67499
      John David Anglin committed
    • install.tex: Document profiledbootstrap. · 8f231b5d
      	* install.tex: Document profiledbootstrap.
      
      	* Makefile.tpl (profiledbootstrap): New target.
      	* Makefile.in (profiledbootstrap): New target.
      
      	* Makefile.in (clean, distclean): Kill new stages
      	(POSTSTAGE1_FLAGS_TO_PASS): Break from ...
      	(STAGE2_FLAGS_TO_PASS): ... this one.
      	(STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS): New.
      	(stage[2-4]_build): Add POSTSTAGE1_FLAGS_TO_PASS.
      	(stageprofile_build, stageprofile_copy, stagefeedback_build,
      	stagefeedback_copy): New.
      	(restageprofile, restagefeedback, stageprofile-start,
      	stageprofile, stagefeedback-start): Likewise.
      
      	* Make-lang.in:  Add support for stageprofile and stagefeedback
      
      From-SVN: r67498
      Jan Hubicka committed
    • optabs.c (HAVE_conditional_trap): Provide default. · 842a431a
              * optabs.c (HAVE_conditional_trap): Provide default.
              (gen_conditional_trap): Likewise.
              (init_optabs): Merge init_traps.
              (gen_cond_trap): Use prepare_operand.  Restructure and avoid ifdef.
      	* gcc.c-torture/compile/20030605-1.c: New.
      
      Co-Authored-By: Richard Henderson <rth@redhat.com>
      
      From-SVN: r67497
      David Miller committed
    • posix-threads.h: Include <machine/pal.h> on OSF. · ad23ad2c
      2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
      
      	* include/posix-threads.h: Include <machine/pal.h> on OSF.
      
      From-SVN: r67491
      Bert Deknuydt committed
    • Fix ChangeLog date of my last entry. · 2ffc3e73
      From-SVN: r67490
      Wolfgang Bangerth committed
    • Add Dara Hazeghi and Andrew Pinski to Bugzilla-only maintainers. Remove user… · 9a22b893
      Add Dara Hazeghi and Andrew Pinski to Bugzilla-only maintainers. Remove user names from other bug database only maintainers since bugzilla no longer has user names.
      
      From-SVN: r67489
      Wolfgang Bangerth committed
    • combine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8)) is REG for… · 83588a9d
      combine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8)) is REG for nonzero_bits (REG) == 8.
      
      	* combine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8))
      	is REG for nonzero_bits (REG) == 8.
      
      From-SVN: r67488
      Jan Hubicka committed
    • i386.md (align): Fix warning; clarify what to do when no p2align is available. · 6262f66a
      	* i386.md (align): Fix warning; clarify what to do when no p2align
      	is available.
      
      From-SVN: r67485
      Jan Hubicka committed
    • config.gcc (m32r-elf): Revert previous delta. · 3a30516d
      * config.gcc (m32r-elf): Revert previous delta.
      * config/m32r/t-m32r (crtinit.o): Fix rule to work with multilibs.
        Remove m32rx specific version.
        (crtfini.o): Likewise.
        (EXTRA_MULTILIB_PARTS): Define.
      
      From-SVN: r67483
      Nick Clifton committed
    • md.texi (Machine Constraints): Correct the meaning of constraints related to… · 53e5f173
      md.texi (Machine Constraints): Correct the meaning of constraints related to floating-point registers on SPARC.
      
      	* doc/md.texi (Machine Constraints): Correct the meaning of
      	constraints related to floating-point registers on SPARC.
      
      From-SVN: r67481
      Eric Botcazou committed
    • re PR target/10663 ([Solaris] New configure check aborts with Sun tools.) · c6cc7e13
      	PR target/10663
      	* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Redirect
      	assembler and linker output to /dev/null.
      	Use a 'sed' construct instead of 'grep -A1'.
      	* configure: Regenerate.
      
      Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
      
      From-SVN: r67479
      Eric Botcazou committed
    • * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C) · 3aa07c6d
      	(Gen_Main_C, Gen_Output_File_C): Generate ISO C.
      
      From-SVN: r67478
      Matt Kraai committed
    • gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr): Remove non-VMS directive. · f1093866
      	* gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
      	Remove non-VMS directive.
      	(Switches for gnatlbr, Optimization Levels): Remove non-VMS
      	alternatives.
      	(Examples of gnatls Usage): Remove VMS alternative.
      
      From-SVN: r67477
      Matt Kraai committed
    • cygwin caveat · ccc1ce6e
      From-SVN: r67476
      Christopher Faylor committed
    • i386.c (struct ix86_address): Add seg. · 74dc3e94
              * config/i386/i386.c (struct ix86_address): Add seg.
              (no_seg_address_operand): New.
              (ix86_decompose_address): Restructure PLUS loop.  Accept one
              UNSPEC_TP if TARGET_TLS_DIRECT_SEG_REFS.  Adjust ESP swap test
              to test for a regnum, not stack_pointer_rtx.
              (ix86_address_cost): Reduce cost if non-default segment.
              (legitimate_address_p): Remove UNSPEC_TP check.
              (get_thread_pointer): Add to_reg argument.  Don't represent
              the thread pointer as a memory load.
              (legitimize_tls_address): Split out of ...
              (legitimize_address): ... here.
              (print_operand_address): Handle parts.seg.
              (ix86_expand_move): Use legitimize_tls_address.
              (ix86_rtx_costs): Handle UNSPEC_TP.
              * config/i386/i386.h (MASK_TLS_DIRECT_SEG_REFS): New.
              (TARGET_TLS_DIRECT_SEG_REFS): New.
              (TARGET_SWITCHES): Add tls-direct-seg-refs.
              (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Default.
              (PREDICATE_CODES): Add no_seg_address_operand.
              * config/i386/i386.md (lea_1): Use it.
              (lea_1_rex64, lea_1_zext, lea_2_rex64): Likewise.
              (load_tp_si, add_tp_si, load_tp_di, add_tp_di): New.
              * config/i386/linux.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
              * config/i386/linux64.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
              * doc/invoke.texi: Add -mtls-direct-seg-refs.
      
      From-SVN: r67475
      Richard Henderson committed
    • Makefile.in (QMTESTRUNFLAGS): Set for DejaGNU emulation. · d7068b3d
      	* Makefile.in (QMTESTRUNFLAGS): Set for DejaGNU emulation.
      	(QMTEST_GPP_TESTS): Use "g++" by default.
      	(stamp-qmtest): Tweak database creation.
      	(QMTEST_DIR/context): Update context file format.
      	(qmtest-g++): Tweak command-line.
      
      	* README.QMTEST: Update.
      
      From-SVN: r67474
      Mark Mitchell committed
    • Daily bump. · 76c05f8f
      From-SVN: r67472
      GCC Administrator committed
  3. 04 Jun, 2003 6 commits
    • Makefile.in (varasm.o): Don't set -Wno-error. · 6b6600bd
      	* Makefile.in (varasm.o): Don't set -Wno-error.
      	* rs6000/t-rs6000 (varasm.o, out_object_file): Don't clear.
      
      From-SVN: r67469
      Kaveh R. Ghazi committed
    • basic_string.h (_M_fold, [...]): Constify various variables. · 7778fa6e
      2003-06-04  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
      	erase(iterator), erase(iterator, iterator), c_str,
      	compare(const basic_string&)): Constify various variables.
      	* include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
      	const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
      	_S_create, resize, _M_replace, _M_replace_safe,
      	append(const basic_string&), append(const basic_string&, size_type,
      	size_type), append(const _CharT*, size_type), append(size_type,
      	_CharT), operator+(const _CharT*, const basic_string&),
      	operator+(_CharT, const basic_string&), replace(iterator, iterator,
      	size_type, _CharT), find(const _CharT*, size_type, size_type),
      	find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
      	rfind(_CharT, size_type), compare(size_type, size_type,
      	const basic_string&), compare(size_type, size_type,
      	const basic_string&, size_type, size_type), compare(const _CharT*),
      	compare(size_type, size_type, const _CharT*), compare(size_type,
      	size_type, const _CharT*, size_type)): Likewise.
      
      From-SVN: r67468
      Paolo Carlini committed
    • re PR bootstrap/3163 ([3.3 Only] gcc/aclocal.m4 mmap test fails on UnixWare 7.1.1) · 1072ec3f
      	PR bootstrap/3163
      	* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE, AC_FUNC_MMAP_FILE): Delete.
      	(gcc_AC_FUNC_MMAP_BLACKLIST): New.
      	* configure.in: Check for sys/mman.h and mmap in AC_CHECK_HEADERS
      	and AC_CHECK_FUNCS lists, respectively.  Use
      	gcc_AC_FUNC_MMAP_BLACKLIST, not AC_FUNC_MMAP_ANYWHERE nor
      	AC_FUNC_MMAP_FILE.
      	* configure, config.in: Regenerate.
      
      From-SVN: r67467
      Zack Weinberg committed
    • decl.c (grokdeclarator): Error_mark_node in, error_mark_node out. · 88d5a16e
      gcc/cp:
      	* decl.c (grokdeclarator): Error_mark_node in, error_mark_node out.
      
      gcc/testsuite/g++.old-deja/g++.oliva:
      	* template1.C (bar): Remove xfail marker.
      
      From-SVN: r67465
      J"orn Rennecke committed
    • aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning. · c53dddc2
      	* arm/aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.
      	* arm.c (arm_output_function_prologue): Fix format specifiers.
      	* arm.h (ARM_PRINT_OPERAND_ADDRESS): Likewise.
      	* m68k.c (m68k_output_mi_thunk): Use more readable %wd instead of
      	HOST_WIDE_INT_PRINT_DEC.
      	* vax.c (vax_output_function_prologue): Fix format specifiers.
      
      From-SVN: r67464
      Kaveh R. Ghazi committed
    • cse.c (find_best_addr): Consider binary operators even if second argument is not CONST_INT. · 7b9c108f
              * cse.c (find_best_addr): Consider binary operators even if second
              argument is not CONST_INT.
      
      From-SVN: r67463
      Richard Henderson committed