1. 21 Nov, 2003 27 commits
    • cp-demangle.c (has_return_type): Skip qualifiers when checking whether we have a template. · 0ba5c8a2
      	* cp-demangle.c (has_return_type): Skip qualifiers when checking
      	whether we have a template.
      	* testsuite/demangle-expected: Add four new tests.
      
      From-SVN: r73819
      Ian Lance Taylor committed
    • dwarf2out.c (add_location_or_const_value_attribute): Add support for PARALLEL. · d44c7e36
      2003-11-21  Daniel Berlin  <dberlin@dberlin.org>
                  David Edelsohn  <edelsohn@gnu.org>
      
              * dwarf2out.c (add_location_or_const_value_attribute): Add support
              for PARALLEL.
      
      Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
      
      From-SVN: r73817
      Daniel Berlin committed
    • 2003-11-21 Paolo Carlini <pcarlini@suse.de> · f7ba331c
      	* config/locale/gnu/monetary_members.cc
      	(money_base::_S_construct_pattern): Factor out an assignment.
      
      From-SVN: r73816
      Paolo Carlini committed
    • PR libstdc++/12882 (partial) · 5c89246d
      2003-11-21  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/12882 (partial)
      	* acinclude.m4 (GLIBCXX_CHECK_LFS): Check fseeko64
      	and ftello64 too.
      	* include/ext/stdio_sync_filebuf.h (seekoff): Use fseeko64
      	and ftello64 if available.
      	* aclocal.m4: Regenerate.
      	* configure: Ditto.
      
      From-SVN: r73815
      Paolo Carlini committed
    • demangle-expected: Minor changes to match output of new demangler... · 9cca376f
      	* testsuite/demangle-expected: Minor changes to match output of
      	new demangler: adjust whitespace in four tests, and change order
      	of qualifiers in one test.
      
      From-SVN: r73813
      Ian Lance Taylor committed
    • t-iris6 (CRTSTUFF_T_CFLAGS): Add -Wno-error. · af8e5a0e
      	* config/mips/t-iris6 (CRTSTUFF_T_CFLAGS): Add -Wno-error.
      	(TARGET_LIBGCC2_CFLAGS): Define.
      
      	* crtstuff.c [HAS_INIT_SECTION] (__do_global_dtors): Declare.
      	(__do_global_ctors): Likewise.
      
      From-SVN: r73811
      Rainer Orth committed
    • * java/lang/Float.java (static): Removed. · 4716418f
      From-SVN: r73805
      Mark Wielaard committed
    • * doc/invoke.texi (-O2): Doesn't enable -fweb. · 23a44080
      From-SVN: r73803
      Mark Wielaard committed
    • parser.c (cp_parser_postfix_expression): Initialize 's' to NULL_TREE. · 90808894
      	* parser.c (cp_parser_postfix_expression): Initialize 's' to
      	NULL_TREE.
      
      From-SVN: r73802
      Jan Hubicka committed
    • parser.c (cp_parser_postfix_expression): Initialize 's' to NULL_TREE. · 6f39ead4
      	* parser.c (cp_parser_postfix_expression): Initialize 's' to
      	NULL_TREE.
      
      [[Split portion of a mixed commit.]]
      
      From-SVN: r73801.2
      Jan Hubicka committed
    • acinclude.m4: Add AC_FUNC_MMAP_BLACKLIST. · 5196736e
      2003-11-21  Andreas Jaeger  <aj@suse.de>
      	    Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* acinclude.m4: Add AC_FUNC_MMAP_BLACKLIST.
      	* configure.in: Call AC_FUNC_MMAP_BLACKLIST.
      	* Makefile.in: Rebuilt.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* fficonfig.h.in: Likewise.
      	* testsuite/lib/libffi-dg.exp: Add include dir.
      	* testsuite/libffi.call/ffitest.h: Add MMAP definitions.
      	* testsuite/libffi.special/ffitestcxx.h: Likewise.
      	* testsuite/libffi.call/closure_fn0.c: Use MMAP functionality
      	for ffi_closure if available.
      	* testsuite/libffi.call/closure_fn1.c: Likewise.
      	* testsuite/libffi.call/closure_fn2.c: Likewise.
      	* testsuite/libffi.call/closure_fn3.c: Likewise.
      	* testsuite/libffi.call/closure_fn4.c: Likewise.
      	* testsuite/libffi.call/closure_fn5.c: Likewise.
      	* testsuite/libffi.call/cls_12byte.c: Likewise.
      	* testsuite/libffi.call/cls_16byte.c: Likewise.
      	* testsuite/libffi.call/cls_18byte.c: Likewise.
      	* testsuite/libffi.call/cls_19byte.c: Likewise.
      	* testsuite/libffi.call/cls_1_1byte.c: Likewise.
      	* testsuite/libffi.call/cls_20byte.c: Likewise.
      	* testsuite/libffi.call/cls_20byte1.c: Likewise.
      	* testsuite/libffi.call/cls_24byte.c: Likewise.
      	* testsuite/libffi.call/cls_2byte.c: Likewise.
      	* testsuite/libffi.call/cls_3_1byte.c: Likewise.
      	* testsuite/libffi.call/cls_3byte1.c: Likewise.
      	* testsuite/libffi.call/cls_3byte2.c: Likewise.
      	* testsuite/libffi.call/cls_4_1byte.c: Likewise.
      	* testsuite/libffi.call/cls_4byte.c: Likewise.
      	* testsuite/libffi.call/cls_5byte.c: Likewise.
      	* testsuite/libffi.call/cls_64byte.c: Likewise.
      	* testsuite/libffi.call/cls_6byte.c: Likewise.
      	* testsuite/libffi.call/cls_7byte.c: Likewise.
      	* testsuite/libffi.call/cls_8byte.c: Likewise.
      	* testsuite/libffi.call/cls_9byte1.c: Likewise.
      	* testsuite/libffi.call/cls_9byte2.c: Likewise.
      	* testsuite/libffi.call/cls_double.c: Likewise.
      	* testsuite/libffi.call/cls_float.c: Likewise.
      	* testsuite/libffi.call/cls_schar.c: Likewise.
      	* testsuite/libffi.call/cls_sint.c: Likewise.
      	* testsuite/libffi.call/cls_sshort.c: Likewise.
      	* testsuite/libffi.call/cls_uchar.c: Likewise.
      	* testsuite/libffi.call/cls_uint.c: Likewise.
      	* testsuite/libffi.call/cls_ulonglong.c: Likewise.
      	* testsuite/libffi.call/cls_ushort.c: Likewise.
      	* testsuite/libffi.call/nested_struct.c: Likewise.
      	* testsuite/libffi.call/nested_struct1.c: Likewise.
      	* testsuite/libffi.call/nested_struct2.c: Likewise.
      	* testsuite/libffi.call/nested_struct3.c: Likewise.
      	* testsuite/libffi.call/problem1.c: Likewise.
      	* testsuite/libffi.special/unwindtest.cc: Likewise.
      
      Co-Authored-By: Andreas Tobler <a.tobler@schweiz.ch>
      
      From-SVN: r73800
      Andreas Jaeger committed
    • * 5wsystem.ads: Enable zero cost exception. · 4e074baf
      From-SVN: r73799
      Vasiliy Fofanov committed
    • [multiple changes] · f1f9fe30
      2003-11-20  Jerome Guitton  <guitton@act-europe.fr>
      
      	* 5ztiitho.adb: Remove an unreferenced variable.
      
      2003-11-20  Thomas Quinot  <quinot@act-europe.fr>
      
      	* adaint.c: For FreeBSD, use mkstemp.
      
      2003-11-20  Arnaud Charlet  <charlet@act-europe.fr>
      
      	* gnatlbr.adb: Now reference Gnat_Static_Version_String.
      
      2003-11-20  Robert Dewar  <dewar@gnat.com>
      
      	* bld.adb: Remove useless USE of gnatvsn
      
      	* gnatchop.adb: Minor reformatting
      	Clean up version handling to be more consistent
      
      	* gnatxref.adb: Minor reformatting
      
      	* gprcmd.adb: Minor reformatting
      	Fix output of copyright to be more consistent with other tools
      
      2003-11-20  Vincent Celier  <celier@gnat.com>
      
      	* make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
      
      2003-11-20  Sergey Rybin  <rybin@act-europe.fr>
      
      	* atree.adb (Initialize): Add initializations for global variables
      	used in New_Copy_Tree.
      
      	* cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
      	Internal_Source_File as the actual).
      	Put the set of statements creating Any_Character before the set of
      	statements creating Any_Array to have Any_Character fully initialized
      	when it is used in creating Any_Array.
      
      	* scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
      	not call Scan in case if the actual is Internal_Source_File
      	Add 2003 to copyright note.
      
      	* sinput.adb (Source_First, Source_Last, Source_Text): Add code for
      	processing Internal_Source_File.
      
      	* types.ads: Add the constant Internal_Source_File representing the
      	source buffer for artificial source-code-like strings created within
      	the compiler (the definition of Source_File_Index is changed).
      
      From-SVN: r73798
      Arnaud Charlet committed
    • ChangeLog.7: Fix comment typos. · d91edf86
      	* ChangeLog.7: Fix comment typos.
      	* c-common.c: Likewise.
      	* c-pretty-print.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* et-forest.h: Likewise.
      	* expr.c: Likewise.
      	* gcse.c: Likewise.
      	* genautomata.c: Likewise.
      	* genrecog.c: Likewise.
      	* gensupport.c: Likewise.
      	* ggc-zone.c: Likewise.
      	* haifa-sched.c: Likewise.
      	* ifcvt.c: Likewise.
      	* loop.c: Likewise.
      	* optabs.c: Likewise.
      	* pretty-print.h: Likewise.
      	* regrename.c: Likewise.
      	* rtl.h: Likewise.
      	* sched-rgn.c: Likewise.
      	* target.h: Likewise.
      	* value-prof.c: Likewise.
      	* web.c: Likewise.
      
      From-SVN: r73795
      Kazu Hirata committed
    • * doc/invoke.texi: Mention dV and dZ. · 9313cfdd
      From-SVN: r73794
      Kazu Hirata committed
    • invoke.texi: Update dump file names. · 98edbb7a
      	* doc/invoke.texi: Update dump file names.
      	Remove de, dW, and dX.
      
      From-SVN: r73793
      Kazu Hirata committed
    • formatter.h: Use _Tp as template argument. · 9dc420e6
      
      2003-11-20  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/debug/formatter.h: Use _Tp as template argument.
      	* src/debug.cc: Same, instantiate std::size_t.
      
      From-SVN: r73792
      Benjamin Kosnik committed
    • re PR c/13133 (Extraneous register-saves triggered by setjmp()) · c862d589
      PR c/13133
      * reload1.c (reload): Delete special handling for setjmp.
      
      From-SVN: r73791
      James E Wilson committed
    • mklibgcc.in: Evaluate shlib_slibdir_qual during link step too. · 0eadf440
      2003-11-21  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* mklibgcc.in: Evaluate shlib_slibdir_qual during link
      	step too.
      	* config/t-slibgcc-darwin: Adjust install path.
      	* config/rs6000/t-darwin: Revert multilib matches since
      	it is not used on darwin.
      
      From-SVN: r73790
      Andreas Tobler committed
    • ssa.c, [...]: Remove files. · c132886e
              * ssa.c, ssa-dce.c, ssa-ccp.c: Remove files.
              * Makefile.in (OBJS-common, GTFILES): Don't reference them.
              (gtype-desc.o, toplev.o, flow.o): Remove ssa.h.
              (ssa.o, ssa-dce.o, ssa-ccp.o): Remove.
              * flow.c: Don't include ssa.h.
              (set_phi_alternative_reg): Remove.
              (calculate_global_regs_live): Don't call it.
              (mark_used_regs): Don't handle PHI.
              * gengtype.c (open_base_files): Don't reference ssa.h.
              * rtl.def (PHI): Remove.
              * timevar.def (TV_TO_SSA, TV_SSA_CCP, TV_SSA_DCE, TV_FROM_SSA): Kill.
              * common.opt: Remove -fssa, -fssa-ccp, -fssa-dce.
              * opts.c (common_handle_option): Likewise.
              * toplev.c (f_options): Likewise.
              (DFI_ssa, DFI_ssa_ccp, DFI_ssa_dce, DFI_ussa): Remove.
              (dump_file): Update to match.
              (flag_ssa, flag_ssa_ccp, flag_ssa_dce): Remove.
              (rest_of_handle_ssa): Remove.
              (rest_of_compilation): Don't call it.
              * toplev.h (flag_ssa, flag_ssa_dce, flag_ssa_ccp): Remove.
              * doc/invoke.texi: Remove -fssa, -fssa-ccp, -fssa-dce.
              * doc/passes.texi (SSA optimizations): Remove.
      
              * gcc.dg/20020201-2.c: Remove.
              * gcc.dg/20020201-4.c: Remove.
              * gcc.dg/20020304-1.c: Remove.
      
      From-SVN: r73789
      Richard Henderson committed
    • * cp-demangle.c: Complete rewrite. · bd6946d1
      From-SVN: r73788
      Ian Lance Taylor committed
    • * MAINTAINERS: Add myself as a vax port maintainer. · 8c052da4
      From-SVN: r73787
      Matt Thomas committed
    • configure.in: Add xtensa-*-* targets to test for dwarf2 debug_line. · d116bdf8
      	* configure.in: Add xtensa-*-* targets to test for dwarf2 debug_line.
      	* configure: Regenerate.
      
      From-SVN: r73786
      Bob Wilson committed
    • Makefile.tpl (BASE_FLAGS_TO_PASS): Pass along CONFIG_SHELL. · e75f9147
      toplevel:
      2003-11-20  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Makefile.tpl (BASE_FLAGS_TO_PASS): Pass along CONFIG_SHELL.
      	(configure-build-[+module+], configure-[+module+]): Likewise.
      	(configure-target-[+module+], configure-gcc, config.status): Likewise.
      	* Makefile.in: Regenerate.
      
      gcc:
      2003-11-20  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Makefile.in (Makefile): Pass along CONFIG_SHELL.
      
      From-SVN: r73784
      Kelley Cook committed
    • Daily bump. · dd7ee6ef
      From-SVN: r73782
      GCC Administrator committed
    • TextLayout.java: Implement simple layouts using attributed strings and glyph vectors. · 0bceb051
      2003-11-18  Graydon Hoare  <graydon@redhat.com>
      
      	* java/awt/font/TextLayout.java: Implement simple layouts
      	using attributed strings and glyph vectors.
      
      From-SVN: r73780
      Graydon Hoare committed
  2. 20 Nov, 2003 13 commits
    • Patch from David Mosberger · 3e7869c6
      	* config/t-libunwind: Mention unwind-c.c.
      	(SHLIB_LC): Overwrite the default-value from t-slibgcc-elf-ver
      	and mention -lunwind so that the resulting libgcc_s.so has
      	the necessary DT_NEEDED entry for libunwind.
      	* unwind-libunwind.c (_Unwind_GetCFA): Implement.
      	(_Unwind_GetBSP) [UNW_TARGET_IA64]: New function.
      
      From-SVN: r73777
      David Mosberger committed
    • GdkClasspathFontPeerMetrics.java: New file. · 146a1ecb
      2003-11-17  Graydon Hoare  <graydon@redhat.com>
      
      	* gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
      	* gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java
      	(GdkFontLineMetrics): New inner class.
      	(getLineMetrics): Return new GdkFontLineMetrics.
      	(getFontMetrics): Return new GdkClasspathFontPeerMetrics.
      	(layoutGlyphVector): Create GdkGlyphVector.
      	* gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
      	(GdkGraphics2D): Initialize state via mathod calls.
      	(cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
      	(cairoTranslate, cairoScale, cairoRotate): Remove.
      	(various methods): use setTransform for special transform cases.
      	(DrawState): New inner class.
      	(stateSave): New method.
      	(stateRestore): New method.
      	(various methods): use stateSave, stateRestore.
      	(getClipInDevSpace): New method.
      	(clip, clipRect, setClip, getClip, getClipBounds):
      	Follow spec more closely.
      	(getTransform): Return clone of transform.
      	(setStroke): Set linewidth to passed width / 2.0.
      	(setPaintMode): Set SrcOver rather than Xor.
      	(setColor): Set paint to passed color.
      	(drawRaster, drawImage, PainterThread, drawPixels): Take affine
      	transform from image to user space.
      	(drawRenderedImage, drawRenderableImage): Implement.
      	(getFontRenderContext, getFontMetrics, drawString, getFont):
      	Implement
      	(drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect):
      	Implement.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
      	Match changes to java side.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
      	Release resources.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
      	Don't use pango for metrics.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
      	New file.
      
      From-SVN: r73776
      Graydon Hoare committed
    • calls.c (expand_call): Allocate new temp in pass1. · 531547e9
      2003-11-20  Fariborz Jahanian  <fjahanian@apple.com>
                  David Edelsohn  <edelsohn@gnu.org>
      
              * calls.c (expand_call): Allocate new temp in pass1.
              (store_one_arg): If PARALLEL, calculate excess using mode size of
              rtvec elt.
              * expr.c (emit_push_insn): If PARALLEL, calculate offset using
              mode size of rtvec elt.
              * function.c (assign_parms): Use parm in register, if available.
      
      Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
      
      From-SVN: r73775
      Fariborz Jahanian committed
    • re PR libstdc++/13109 (libstdc++-v3 bootstrap failure on Tru64 UNIX V4.0F: snprintf missing) · 4be58168
      
      2003-11-20  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/13109
      	* include/debug/formatter.h (_Error_formatter::_M_format_word): New.
      	* src/debug.cc (__gnu_debug): Format.
      	(_Error_formatter::_M_format_word): Define, use, instantiate.
      
      From-SVN: r73770
      Benjamin Kosnik committed
    • re PR libstdc++/11602 (codecvt<wchar_t, char, mbstate_t> is slow.) · 0fd18701
      2003-11-20  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/11602
      	* config/locale/gnu/codecvt_members.cc (codecvt::do_out):
      	Rewrite, using both wcsnrtombs and wcrtomb in a loop: the
      	former is very fast, but stops if encounters a NUL.
      	* testsuite/performance/wchar_t_out.cc: New, from the PR.
      
      From-SVN: r73769
      Paolo Carlini committed
    • 35soccon.ads, [...]: New file, FreeBSD version. · c5b2a8ae
      	* 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
      	56system.ads: New file, FreeBSD version.
      
      From-SVN: r73766
      Arnaud Charlet committed
    • lib1funcs.asm (MOVP): Remove. · 93352ff5
      	* config/h8300/lib1funcs.asm (MOVP): Remove.
      	(ADDP): Likewise.
      	(CMPP): Likewise.
      
      From-SVN: r73765
      Kazu Hirata committed
    • libffi-dg.exp: Make the -lgcc_s conditional. · 9e6c3ecb
      2003-11-20  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* testsuite/lib/libffi-dg.exp: Make the -lgcc_s conditional.
      
      From-SVN: r73763
      Andreas Tobler committed
    • arm.c (use_return_insn): New argument, SIBLING. · a72d4945
      * arm.c (use_return_insn): New argument, SIBLING.  Support returning
      with a single instruction if the stack has been decremented by 4
      and we have a frame pointer.  Update all callers.
      (output_return_instruction): Likewise.
      (arm_output_epilogue): Change argument to SIBLING.  Calculate
      really_return from the new argument.  Update all callers.
      * arm.h (USE_RETURN_INSN): Pass NULL for the sibling.
      * arm.md (sibcall_epilogue): Call use_return_insn directly, and
      pass the sibling call.
      * arm-protos.h (use_return_insn, arm_output_epilogue): Update
      prototypes.
      
      From-SVN: r73761
      Richard Earnshaw committed
    • exgettext: Use --copyright-holder and --msgid-bugs-address. · 8d98c44c
      	* exgettext: Use --copyright-holder and --msgid-bugs-address.
      	* gcc.pot: Regenerate.
      
      From-SVN: r73760
      Joseph Myers committed
    • Makefile.in (extraclean): Delete. · a03ad584
      gcc:
      	* Makefile.in (extraclean): Delete.
      	* configure.in (target_list): Remove extraclean.
      	* configure: Regenerate.
      	* doc/makefile.texi, doc/sourcebuild.texi: Update.
      	* objc/Make-lang.in (objc.extraclean): Delete.
      
      gcc/ada:
      	* Make-lang.in (ada.extraclean): Delete.
      
      gcc/cp:
      	* Make-lang.in (c++.extraclean): Delete.
      
      gcc/f:
      	* Make-lang.in (f77.extraclean): Delete.
      
      gcc/java:
      	* Make-lang.in (java.extraclean): Delete.
      
      gcc/treelang:
      	* Make-lang.in (treelang.extraclean): Delete.
      
      From-SVN: r73759
      Joseph Myers committed
    • Makefile.in (lang_checks): Add. · 49a41726
      gcc:
      	* Makefile.in (lang_checks): Add.
      	(check-c++, check-f77, check-java, check-g++, check-g77,
      	check-objc): Remove hardcoded targets.
      	* doc/sourcebuild.texi: Document testsuite hooks.
      	* objc/Make-lang.in (check-objc, lang_checks): Add.
      
      gcc/cp:
      	* Make-lang.in (check-g++, lang_checks): Add.
      
      gcc/f:
      	* Make-lang.in (check-f77, lang_checks): Add.
      
      gcc/java:
      	* Make-lang.in (check-java): Add.
      
      gcc/treelang:
      	* Make-lang.in: Remove obsolete comment.
      
      From-SVN: r73758
      Joseph Myers committed