]> gcc.gnu.org Git - gcc.git/log
gcc.git
20 years ago[multiple changes]
Arnaud Charlet [Fri, 21 Nov 2003 10:46:37 +0000 (11:46 +0100)]
[multiple changes]

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

20 years agoChangeLog.7: Fix comment typos.
Kazu Hirata [Fri, 21 Nov 2003 06:52:23 +0000 (06:52 +0000)]
ChangeLog.7: Fix comment typos.

* 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

20 years ago* doc/invoke.texi: Mention dV and dZ.
Kazu Hirata [Fri, 21 Nov 2003 06:03:27 +0000 (06:03 +0000)]
* doc/invoke.texi: Mention dV and dZ.

From-SVN: r73794

20 years agoinvoke.texi: Update dump file names.
Kazu Hirata [Fri, 21 Nov 2003 05:54:01 +0000 (05:54 +0000)]
invoke.texi: Update dump file names.

* doc/invoke.texi: Update dump file names.
Remove de, dW, and dX.

From-SVN: r73793

20 years agoformatter.h: Use _Tp as template argument.
Benjamin Kosnik [Fri, 21 Nov 2003 05:49:21 +0000 (05:49 +0000)]
formatter.h: Use _Tp as template argument.

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

20 years agore PR c/13133 (Extraneous register-saves triggered by setjmp())
James E Wilson [Fri, 21 Nov 2003 05:49:05 +0000 (05:49 +0000)]
re PR c/13133 (Extraneous register-saves triggered by setjmp())

PR c/13133
* reload1.c (reload): Delete special handling for setjmp.

From-SVN: r73791

20 years agomklibgcc.in: Evaluate shlib_slibdir_qual during link step too.
Andreas Tobler [Fri, 21 Nov 2003 04:53:12 +0000 (05:53 +0100)]
mklibgcc.in: Evaluate shlib_slibdir_qual during link step too.

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

20 years agossa.c, [...]: Remove files.
Richard Henderson [Fri, 21 Nov 2003 04:05:08 +0000 (20:05 -0800)]
ssa.c, [...]: Remove files.

        * 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

20 years ago* cp-demangle.c: Complete rewrite.
Ian Lance Taylor [Fri, 21 Nov 2003 03:27:58 +0000 (03:27 +0000)]
* cp-demangle.c: Complete rewrite.

From-SVN: r73788

20 years ago* MAINTAINERS: Add myself as a vax port maintainer.
Matt Thomas [Fri, 21 Nov 2003 01:34:50 +0000 (01:34 +0000)]
* MAINTAINERS: Add myself as a vax port maintainer.

From-SVN: r73787

20 years agoconfigure.in: Add xtensa-*-* targets to test for dwarf2 debug_line.
Bob Wilson [Fri, 21 Nov 2003 01:32:12 +0000 (01:32 +0000)]
configure.in: Add xtensa-*-* targets to test for dwarf2 debug_line.

* configure.in: Add xtensa-*-* targets to test for dwarf2 debug_line.
* configure: Regenerate.

From-SVN: r73786

20 years agoMakefile.tpl (BASE_FLAGS_TO_PASS): Pass along CONFIG_SHELL.
Kelley Cook [Fri, 21 Nov 2003 00:39:18 +0000 (00:39 +0000)]
Makefile.tpl (BASE_FLAGS_TO_PASS): Pass along CONFIG_SHELL.

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

20 years agoDaily bump.
GCC Administrator [Fri, 21 Nov 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r73782

20 years agoTextLayout.java: Implement simple layouts using attributed strings and glyph vectors.
Graydon Hoare [Fri, 21 Nov 2003 00:10:28 +0000 (00:10 +0000)]
TextLayout.java: Implement simple layouts using attributed strings and glyph vectors.

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

20 years agoFix last ChangeLog entry. Move comment from ChangeLog to t-libunwind.
Jim Wilson [Thu, 20 Nov 2003 22:56:55 +0000 (14:56 -0800)]
Fix last ChangeLog entry.  Move comment from ChangeLog to t-libunwind.

From-SVN: r73778

20 years agoPatch from David Mosberger
David Mosberger [Thu, 20 Nov 2003 22:53:02 +0000 (22:53 +0000)]
Patch from David Mosberger
* 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

20 years agoGdkClasspathFontPeerMetrics.java: New file.
Graydon Hoare [Thu, 20 Nov 2003 22:44:01 +0000 (22:44 +0000)]
GdkClasspathFontPeerMetrics.java: New file.

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

20 years agocalls.c (expand_call): Allocate new temp in pass1.
Fariborz Jahanian [Thu, 20 Nov 2003 22:42:01 +0000 (22:42 +0000)]
calls.c (expand_call): Allocate new temp in pass1.

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

20 years agore PR libstdc++/13109 (libstdc++-v3 bootstrap failure on Tru64 UNIX V4.0F: snprintf...
Benjamin Kosnik [Thu, 20 Nov 2003 19:32:13 +0000 (19:32 +0000)]
re PR libstdc++/13109 (libstdc++-v3 bootstrap failure on Tru64 UNIX V4.0F: snprintf missing)

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

20 years agore PR libstdc++/11602 (codecvt<wchar_t, char, mbstate_t> is slow.)
Paolo Carlini [Thu, 20 Nov 2003 19:24:03 +0000 (19:24 +0000)]
re PR libstdc++/11602 (codecvt<wchar_t, char, mbstate_t> is slow.)

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

20 years ago35soccon.ads, [...]: New file, FreeBSD version.
Arnaud Charlet [Thu, 20 Nov 2003 17:53:13 +0000 (18:53 +0100)]
35soccon.ads, [...]: New file, FreeBSD version.

* 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
56system.ads: New file, FreeBSD version.

From-SVN: r73766

20 years agolib1funcs.asm (MOVP): Remove.
Kazu Hirata [Thu, 20 Nov 2003 15:52:02 +0000 (15:52 +0000)]
lib1funcs.asm (MOVP): Remove.

* config/h8300/lib1funcs.asm (MOVP): Remove.
(ADDP): Likewise.
(CMPP): Likewise.

From-SVN: r73765

20 years agolibffi-dg.exp: Make the -lgcc_s conditional.
Andreas Tobler [Thu, 20 Nov 2003 15:19:09 +0000 (16:19 +0100)]
libffi-dg.exp: Make the -lgcc_s conditional.

2003-11-20  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/lib/libffi-dg.exp: Make the -lgcc_s conditional.

From-SVN: r73763

20 years agoarm.c (use_return_insn): New argument, SIBLING.
Richard Earnshaw [Thu, 20 Nov 2003 11:44:19 +0000 (11:44 +0000)]
arm.c (use_return_insn): New argument, SIBLING.

* 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

20 years agoexgettext: Use --copyright-holder and --msgid-bugs-address.
Joseph Myers [Thu, 20 Nov 2003 10:17:03 +0000 (10:17 +0000)]
exgettext: Use --copyright-holder and --msgid-bugs-address.

* exgettext: Use --copyright-holder and --msgid-bugs-address.
* gcc.pot: Regenerate.

From-SVN: r73760

20 years agoMakefile.in (extraclean): Delete.
Joseph Myers [Thu, 20 Nov 2003 10:08:56 +0000 (10:08 +0000)]
Makefile.in (extraclean): Delete.

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

20 years agoMakefile.in (lang_checks): Add.
Joseph Myers [Thu, 20 Nov 2003 09:59:59 +0000 (09:59 +0000)]
Makefile.in (lang_checks): Add.

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

20 years ago[multiple changes]
Arnaud Charlet [Thu, 20 Nov 2003 09:54:03 +0000 (10:54 +0100)]
[multiple changes]

2003-11-19  Arnaud Charlet  <charlet@act-europe.fr>

* gnatmem.adb: Clean up verbose output.

* gprcmd.adb: Change copyright to FSF.

2003-11-19  Vincent Celier  <celier@gnat.com>

* symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
and Version (ignored).

* symbols.ads: (Policy): New type
(Initialize): New parameter Reference, Symbol_Policy and
Library_Version.
Remove parameter Force.
Minor reformatting.

* snames.ads, snames.adbadb: New standard names
Library_Reference_Symbol_File and Library_Symbol_Policy

* mlib-prj.adb:
(Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
project.

* mlib-tgt.adb:
(Build_Dynamic_Library): New parameter Symbol_Data (ignored)

* mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data

* prj.adb: (Project_Empty): New component Symbol_Data

* prj.ads: (Policy, Symbol_Record): New types
(Project_Data): New component Symbol_Data

* prj-attr.adb:
New attributes Library_Symbol_File, Library_Symbol_Policy and
Library_Reference_Symbol_File.

* prj-nmsc.adb:
(Ada_Check): When project is a Stand-Alone library project, process
attribute Library_Symbol_File, Library_Symbol_Policy and
Library_Reference_Symbol_File.

* 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
5sml-tgt.adb (Build_Dynamic_Library): New parameter
Symbol_Data (ignored).

* 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
(Build_Dynamic_Library): New parameter Symbol_Data. New internal
functions Option_File_Name and Version_String. Set new options of
gnatsym related to symbol file, symbol policy and reference symbol
file.

* 5vsymbol.adb:
Extensive modifications to take into account the reference symbol file,
the symbol policy, the library version and to put in the symbol file the
minor and major IDs.

* bld.adb (Process_Declarative_Items): Put second argument of
gprcmd to_absolute between single quotes, to avoid problems with
Windows.

* bld-io.adb: Update Copyright notice.
(Flush): Remove last character of a line, if it is a back slash, to
avoid make problems.

* gnatsym.adb:
Implement new scheme with reference symbol file and symbol policy.

* g-os_lib.ads: (Is_Directory): Clarify comment

2003-11-19  Robert Dewar  <dewar@gnat.com>

* atree.adb: Move New_Copy_Tree global variables to head of package

* errout.adb: Minor reformatting

2003-11-19  Javier Miranda  <miranda@gnat.com>

* sem_ch4.adb: (Diagnose_Call): Improve error message.
Add reference to Ada0Y (AI-50217)

* sem_ch6.adb, sem_ch8.adb, sem_type.adb,
sem_util.adb: Add reference to AI-50217

* sinfo.ads: (N_With_Clause): Document fields referred to AI-50217

* sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)

* sem_aggr.adb: Complete documentation of AI-287 changes

* par-ch4.adb: Document previous changes.

* lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
Ada0Y (AI-50217)

* exp_aggr.adb: Add references to AI-287 in previous changes

2003-11-19  Ed Schonberg  <schonberg@gnat.com>

* exp_ch6.adb:
(Add_Call_By_Copy_Node): Do not original node of rewritten expression
in the rewriting is the result of an inlined call.

* exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
parameter is a type conversion, use original node to construct the
post-call assignment, because expression may have been rewritten, e.g.
if it is a packed array.

* sem_attr.adb:
(Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
body, just as it is in an instance.
Categorization routines

* sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
Instantiate_Object): Set proper sloc reference for message on missing
actual.

2003-11-19  Thomas Quinot  <quinot@act-europe.fr>

* Makefile.in: Add FreeBSD libgnat pairs.

* usage.adb: Fix typo in usage message.

2003-11-19  Jerome Guitton  <guitton@act-europe.fr>

* Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
pragma Thread_Body.
Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.

* s-thread.adb: This file is now a dummy implementation of
System.Thread.

2003-11-19  Sergey Rybin  <rybin@act-europe.fr>

* rtsfind.adb (Initialize): Add initialization for RTE_Is_Available

2003-11-19  Emmanuel Briot  <briot@act-europe.fr>

* xref_lib.adb (Parse_Identifier_Info): Add handling of generic
instanciation references in the parent type description.

From-SVN: r73757

20 years agore PR target/13131 (internal compiler error: in AT_flag, at dwarf2out.c:4480)
Scott Snyder [Thu, 20 Nov 2003 08:52:48 +0000 (08:52 +0000)]
re PR target/13131 (internal compiler error: in AT_flag, at dwarf2out.c:4480)

PR target/13131
* dwarf2out.c (gen_array_type_die): DW_AT_declaration should be a
flag, not a constant.

From-SVN: r73756

20 years agoarc-protos.h: Update to C90 prototypes.
Kelley Cook [Thu, 20 Nov 2003 03:35:57 +0000 (03:35 +0000)]
arc-protos.h: Update to C90 prototypes.

2003-11-19  Kelley Cook  <kcook@gcc.gnu.org>

* config/arc/arc-protos.h: Update to C90 prototypes.
* config/arc/arc.c: Likewise.
* config/arc/initfini.c: Likewise.

From-SVN: r73753

20 years agore PR rtl-optimization/13024 (gcj can't build current rhug)
Jeff Sturm [Thu, 20 Nov 2003 03:34:59 +0000 (03:34 +0000)]
re PR rtl-optimization/13024 (gcj can't build current rhug)

Fix PR java/13024.
* except.c (prepare_eh_table_type): Allocate variable-sized
buffer `buf' with alloca.

From-SVN: r73752

20 years agocp-demangle.c (demangle_type): Correct thinko in substitution processing.
Mark Mitchell [Thu, 20 Nov 2003 01:48:41 +0000 (01:48 +0000)]
cp-demangle.c (demangle_type): Correct thinko in substitution processing.

* cp-demangle.c (demangle_type): Correct thinko in substitution
processing.

From-SVN: r73751

20 years agostmt.c (expand_goto): Memory clobbers added.
Andreas Krebbel [Thu, 20 Nov 2003 00:28:39 +0000 (00:28 +0000)]
stmt.c (expand_goto): Memory clobbers added.

2003-11-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* stmt.c (expand_goto): Memory clobbers added.

From-SVN: r73749

20 years agoreload.c (find_reloads): Added missing type casts.
Andreas Krebbel [Thu, 20 Nov 2003 00:18:46 +0000 (00:18 +0000)]
reload.c (find_reloads): Added missing type casts.

2003-11-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* reload.c (find_reloads): Added missing type casts.

From-SVN: r73748

20 years agoDaily bump.
GCC Administrator [Thu, 20 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r73746

20 years ago* combine.c (sets_function_arg_p): Delete unused function.
James E Wilson [Thu, 20 Nov 2003 00:10:27 +0000 (00:10 +0000)]
* combine.c (sets_function_arg_p): Delete unused function.

From-SVN: r73744

20 years agoreload1.c (reload): Revert 2 previous checkins.
Eric Christopher [Wed, 19 Nov 2003 20:01:10 +0000 (20:01 +0000)]
reload1.c (reload): Revert 2 previous checkins.

2003-11-19  Eric Christopher  <echristo@redhat.com>

        * reload1.c (reload): Revert 2 previous checkins.

From-SVN: r73742

20 years agoreload1.c (reload): Revert 2 previous checkins.
Eric Christopher [Wed, 19 Nov 2003 19:51:35 +0000 (19:51 +0000)]
reload1.c (reload): Revert 2 previous checkins.

2003-11-19  Eric Christopher  <echristo@redhat.com>

        * reload1.c (reload): Revert 2 previous checkins.

From-SVN: r73741

20 years agocpptrad.c (_cpp_scan_out_logical_line): Improve test for whether directive begins...
Nathanael Nerode [Wed, 19 Nov 2003 18:48:53 +0000 (18:48 +0000)]
cpptrad.c (_cpp_scan_out_logical_line): Improve test for whether directive begins at the beginning of a line.

* cpptrad.c (_cpp_scan_out_logical_line): Improve test for
whether directive begins at the beginning of a line.

(testsuite)
* gcc.dg/cpp/trad/xwin1.c: New test case.

From-SVN: r73740

20 years ago* config/frv/frv.c (frv_init_libfuncs): Correct ufix_optab entries.
Richard Sandiford [Wed, 19 Nov 2003 16:15:34 +0000 (16:15 +0000)]
* config/frv/frv.c (frv_init_libfuncs): Correct ufix_optab entries.

From-SVN: r73739

20 years agoinstall.texi (Specific): Remove information on old versions of glibc versus old versi...
Gerald Pfeifer [Wed, 19 Nov 2003 16:13:44 +0000 (16:13 +0000)]
install.texi (Specific): Remove information on old versions of glibc versus old versions of GCC.

* doc/install.texi (Specific): Remove information on old versions
of glibc versus old versions of GCC.

From-SVN: r73738

20 years ago* Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.
Arnaud Charlet [Wed, 19 Nov 2003 13:28:51 +0000 (14:28 +0100)]
* Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.

From-SVN: r73736

20 years ago[multiple changes]
Guilhem Lavaux [Wed, 19 Nov 2003 12:06:38 +0000 (12:06 +0000)]
[multiple changes]

2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
    Jim Pick  <jim@kaffe.org>

* java/text/DecimalFormat.java (getCurrency, setCurrency): New
methods.

2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>

* java/text/DecimalFormatSymbols.java (getCurrency,
setCurrency): New methods.

Co-Authored-By: Jim Pick <jim@kaffe.org>
From-SVN: r73735

20 years agoFlatteningPathIterator.java: Entirely re-written.
Sascha Brawer [Wed, 19 Nov 2003 12:02:11 +0000 (13:02 +0100)]
FlatteningPathIterator.java: Entirely re-written.

2003-11-19  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
* java/awt/geom/doc-files/FlatteningPathIterator-1.html:
Describe how the implementation works.

From-SVN: r73734

20 years agocodecvt_members.cc (do_out): If we can upper bound the total number of external chars...
Paolo Carlini [Wed, 19 Nov 2003 11:38:40 +0000 (11:38 +0000)]
codecvt_members.cc (do_out): If we can upper bound the total number of external chars to something smaller...

2003-11-19  Paolo Carlini  <pcarlini@suse.de>

* config/locale/gnu/codecvt_members.cc (do_out): If
we can upper bound the total number of external chars
to something smaller than __to_end - __to, avoid the
temporary buffer, the memcopy and simplify the loop.
* config/locale/generic/codecvt_members.cc (do_out):
Likewise.

From-SVN: r73733

20 years ago2003-11-19 Michael Koch <konqueror@gmx.de>
Michael Koch [Wed, 19 Nov 2003 08:34:21 +0000 (08:34 +0000)]
2003-11-19  Michael Koch  <konqueror@gmx.de>

* java/net/Socket.java
(implCreated): New variable that indicates created impl.
(getImpl): New method.
(toString): Return more SUN compliant string representation.
(various): Use getImpl() instead of impl.

From-SVN: r73732

20 years agoemit-rtl.c (gen_lowpart): Don't force MEMs into a register unless the register lowpar...
Richard Sandiford [Wed, 19 Nov 2003 08:23:43 +0000 (08:23 +0000)]
emit-rtl.c (gen_lowpart): Don't force MEMs into a register unless the register lowpart is a...

* emit-rtl.c (gen_lowpart): Don't force MEMs into a register unless
the register lowpart is a TRULY_NOOP_TRUNCATION.

From-SVN: r73731

20 years agoi386.c (print_reg): Handle QI and HI modes for non Q regs.
Richard Henderson [Wed, 19 Nov 2003 07:59:08 +0000 (23:59 -0800)]
i386.c (print_reg): Handle QI and HI modes for non Q regs.

        * config/i386/i386.c (print_reg): Handle QI and HI modes for
        non Q regs.

From-SVN: r73730

20 years agolibtool.m4: Sync darwin bits from libtool cvs to build a gcc with shared/dylibed...
Andreas Tobler [Wed, 19 Nov 2003 05:29:32 +0000 (06:29 +0100)]
libtool.m4: Sync darwin bits from libtool cvs to build a gcc with shared/dylibed libraries.

2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

* libtool.m4: Sync darwin bits from libtool cvs to build a gcc with
shared/dylibed libraries.
* ltmain.sh: Likewise.
* ltcf-c.sh: Likewise, disable shared library build for OS-X < 10.3.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.
* ltconfig: Likewise.

From-SVN: r73729

20 years agoconfig.gcc (powerpc-*-darwin*): Add libgcc build specification file.
Andreas Tobler [Wed, 19 Nov 2003 05:17:15 +0000 (06:17 +0100)]
config.gcc (powerpc-*-darwin*): Add libgcc build specification file.

2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

* config/config.gcc (powerpc-*-darwin*): Add libgcc build
specification file.
* config/t-slibgcc-darwin: New file, libgcc build specification.
* config/t-darwin: Add libgcc2 flag -fPIC.
* config/rs6000/t-darwin: Multilib matches float.
* libgcc-darwin.ver: New file, contains libgcc symbols.

From-SVN: r73728

20 years agocompat.exp: Add DYLD_LIBRARY_PATH for darwin.
Andreas Tobler [Wed, 19 Nov 2003 04:58:34 +0000 (05:58 +0100)]
compat.exp: Add DYLD_LIBRARY_PATH for darwin.

2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

* g++.dg/compat/compat.exp: Add DYLD_LIBRARY_PATH for darwin.
* lib/g77.exp: Likewise.
* lib/objc.exp: Likewise.
* lib/g++.exp: Likewise, add -multiply_defined suppress flag
for darwin.

From-SVN: r73727

20 years agolibffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin.
Andreas Tobler [Wed, 19 Nov 2003 04:55:32 +0000 (05:55 +0100)]
libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin.

2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/lib/libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin.
Add -lgcc_s to additional flags.

From-SVN: r73726

20 years agolibjava.exp: Add DYLD_LIBRARY_PATH for darwin.
Andreas Tobler [Wed, 19 Nov 2003 04:53:29 +0000 (05:53 +0100)]
libjava.exp: Add DYLD_LIBRARY_PATH for darwin.

2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

* lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
the right libgcc. Add -multiply_defined suppress and -bind_at_load
flags.

From-SVN: r73725

20 years agolibstdc++.exp: Add DYLD_LIBRARY_PATH for darwin.
Andreas Tobler [Wed, 19 Nov 2003 04:51:18 +0000 (05:51 +0100)]
libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin.

2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/lib/libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin.
* testsuite/libstdc++-dg/normal.exp: Add -multiply_defined suppress
flag.

From-SVN: r73724

20 years agocp-demangle.c (demangle_operator_name): Remove space before "sizeof".
Ian Lance Taylor [Wed, 19 Nov 2003 04:06:50 +0000 (04:06 +0000)]
cp-demangle.c (demangle_operator_name): Remove space before "sizeof".

* cp-demangle.c (demangle_operator_name): Remove space before
"sizeof".
(demangle_type_ptr): Put qualifiers in the right place.  Handle
qualifiers in pointer to member specially.
(demangle_type): Handle qualifiers for pointer or reference
specially.  Handle function type.
(demangle_local_name): Save and restore caret around demangling of
initial encoding.

From-SVN: r73723

20 years agore PR libgcj/13026 (libgcj verifier failure)
Tom Tromey [Wed, 19 Nov 2003 03:09:30 +0000 (03:09 +0000)]
re PR libgcj/13026 (libgcj verifier failure)

PR libgcj/13026:
* verify.cc (state::copy): Only set local_changed if we're in a
subroutine.  Correctly copy local variables which were modified
by the subroutine.
(push_jump_merge): Added more debugging output.

From-SVN: r73722

20 years ago* config/ns32k/ns32k.h: Remove obsolete comment.
Nathanael Nerode [Wed, 19 Nov 2003 01:06:50 +0000 (01:06 +0000)]
* config/ns32k/ns32k.h: Remove obsolete comment.

From-SVN: r73720

20 years agoDaily bump.
GCC Administrator [Wed, 19 Nov 2003 00:16:10 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r73718

20 years agoconfigopts.html, [...]: Add <link> tags.
Jonathan Wakely [Tue, 18 Nov 2003 20:56:12 +0000 (20:56 +0000)]
configopts.html, [...]: Add <link> tags.

2003-11-18  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/configopts.html, docs/html/debug.html,
docs/html/documentation.html, docs/html/explanations.html,
docs/html/install.html, docs/html/17_intro/contribute.html,
docs/html/17_intro/howto.html, docs/html/17_intro/license.html,
docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html,
docs/html/20_util/howto.html, docs/html/21_strings/howto.html,
docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html,
docs/html/22_locale/howto.html, docs/html/22_locale/locale.html,
docs/html/22_locale/messages.html, docs/html/23_containers/howto.html,
docs/html/24_iterators/howto.html, docs/html/25_algorithms/howto.html,
docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
docs/html/ext/howto.html, docs/html/ext/sgiexts.html: Add <link> tags.

From-SVN: r73712

20 years agotest-demangle.c (main): Don't pass DMGL_VERBOSE to cplus_demangle.
Ian Lance Taylor [Tue, 18 Nov 2003 18:29:30 +0000 (18:29 +0000)]
test-demangle.c (main): Don't pass DMGL_VERBOSE to cplus_demangle.

* testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
cplus_demangle.

From-SVN: r73709

20 years ago* testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
Ian Lance Taylor [Tue, 18 Nov 2003 18:29:02 +0000 (18:29 +0000)]
* testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.

From-SVN: r73708

20 years agojni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string is null.
Tom Tromey [Tue, 18 Nov 2003 17:56:33 +0000 (17:56 +0000)]
jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string is null.

* jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
is null.

From-SVN: r73707

20 years agore PR middle-end/11821 (Operator implementation as a library call fails with constants)
Roger Sayle [Tue, 18 Nov 2003 17:28:02 +0000 (17:28 +0000)]
re PR middle-end/11821 (Operator implementation as a library call fails with constants)

PR middle-end/11821
* config/arm/arm.c (arm_rtx_costs_1): Improve estimate of the code
size for calls to libgcc's div & mod subroutines when using -Os.

From-SVN: r73706

20 years agore PR c++/12932 (ICE with use of ptr-to-function as template arg)
Kriang Lerdsuwanakij [Tue, 18 Nov 2003 15:54:22 +0000 (15:54 +0000)]
re PR c++/12932 (ICE with use of ptr-to-function as template arg)

PR c++/12932
* class.c (currently_open_derived_class): Check if
current_class_type is NULL_TREE.
* semantics.c (finish_call_expr): Check if
currently_open_derived_class returns NULL_TREE.
* cp-tree.h (DERIVED_FROM_P): Add parenthesis around PARENT
parameter.

* g++.dg/template/static5.C: New test.

From-SVN: r73705

20 years ago* cgraph.c (change_decl_assembler_name): Avoid bogus warnings.
Jan Hubicka [Tue, 18 Nov 2003 14:52:28 +0000 (15:52 +0100)]
* cgraph.c (change_decl_assembler_name): Avoid bogus warnings.

From-SVN: r73703

20 years agosysv4.h: OpenBSD hooks.
Marc Espie [Tue, 18 Nov 2003 12:56:44 +0000 (12:56 +0000)]
sysv4.h: OpenBSD hooks.

2003-11-18  Marc Espie  <espie@openbsd.org>

* config/rs6000/sysv4.h: OpenBSD hooks.

From-SVN: r73702

20 years ago* gcc.dg/nested-func-1.c: New test.
Joseph Myers [Tue, 18 Nov 2003 12:04:04 +0000 (12:04 +0000)]
* gcc.dg/nested-func-1.c: New test.

From-SVN: r73701

20 years ago[multiple changes]
Arnaud Charlet [Tue, 18 Nov 2003 10:00:43 +0000 (11:00 +0100)]
[multiple changes]

2003-11-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".

* decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
TYPE_PRECISION directly from esize.

2003-11-18  Thomas Quinot  <quinot@act-europe.fr>

* cstreams.c:
Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.

* init.c: Initialization routines for FreeBSD

* link.c: Link info for FreeBSD

* sysdep.c: Add the case of FreeBSD

From-SVN: r73700

20 years agoexpr.c (expand_expr): Don't look through constant arrays if they don't bind locally.
Richard Henderson [Tue, 18 Nov 2003 08:37:15 +0000 (00:37 -0800)]
expr.c (expand_expr): Don't look through constant arrays if they don't bind locally.

        * expr.c (expand_expr): Don't look through constant arrays if
        they don't bind locally.

From-SVN: r73698

20 years agore PR libstdc++/12868 (basic_filebuf::imbue fails too easily)
Paolo Carlini [Tue, 18 Nov 2003 08:21:38 +0000 (08:21 +0000)]
re PR libstdc++/12868 (basic_filebuf::imbue fails too easily)

2003-11-18  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/12868
* include/bits/fstream.tcc (imbue): For encodings != -1 it's
always ok to imbue a new locale, provided seekoff(0, cur, ...)
doesn't fail, of course.
(underflow): In order for the above to work, deal gracefully
with _M_codecvt->in returning codecvt_base::error while
(__ilen = __iend - this->eback()) > 0: it just means __ilen
correctly converted internal characters before an error.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: New.

From-SVN: r73697

20 years agojar.exp: Cleanup files and reset CLASSPATH.
Andreas Tobler [Tue, 18 Nov 2003 07:17:01 +0000 (08:17 +0100)]
jar.exp: Cleanup files and reset CLASSPATH.

2003-11-18  Andreas Tobler  <a.tobler@schweiz.ch>

* libjava.jar/jar.exp: Cleanup files and reset CLASSPATH.

From-SVN: r73696

20 years ago* libjava.compile/PR12857.java: New test case.
Jeff Sturm [Tue, 18 Nov 2003 04:19:24 +0000 (04:19 +0000)]
* libjava.compile/PR12857.java: New test case.

From-SVN: r73692

20 years agore PR java/12857 (Illegal method modifier when loading a generated .class)
Jeff Sturm [Tue, 18 Nov 2003 03:57:08 +0000 (03:57 +0000)]
re PR java/12857 (Illegal method modifier when loading a generated .class)

Fix PR java/12857.

decl.c (java_init_decl_processing): Don't initialize
class_not_found_type_node, no_class_def_found_type_node.

java-tree.h (JTI_CLASS_NOT_FOUND_TYPE_NODE,
JTI_NO_CLASS_DEF_FOUND_TYPE_NODE): Remove from java_tree_index.
(class_not_found_type_node, no_class_def_found_type_node):
Don't define.

parse.y (build_dot_class_method_invocation): Add this_class
argument.  Qualify method invocations to a different class.
(create_new_parser_context): Initialize saved_data_ctx to 0.
(java_parser_context_save_global): Initialize saved_data_ctx to 1.
(build_dot_class_method): Don't load classes.  Register
incomplete types.
(build_incomplete_class_ref): Special cases for interfaces
and inner classes.  Move build_dot_class_method call to here...
(patch_incomplete_class_ref): ...from here.  Pass current_class
to build_dot_class_method_invocation.
(build_assertion): Pass class_type to
build_dot_class_method_invocation.
(encapsulate_with_try_catch): Handle EXPR_WITH_FILE_LOCATION node.

From-SVN: r73691

20 years agore PR java/12739 (gcj emits dead bytecode)
Jeff Sturm [Tue, 18 Nov 2003 03:42:30 +0000 (03:42 +0000)]
re PR java/12739 (gcj emits dead bytecode)

Fix PR java/12739.
* java-tree.h (BLOCK_EMPTY_P): Define.
* parse.y (java_complete_lhs): Check for empty blocks
in TRY_FINALLY_EXPR case.

From-SVN: r73690

20 years agoexpr.c (convert_move): Use GET_MODE_PRECISION instead of bitsize when seeing if trunc...
Richard Kenner [Tue, 18 Nov 2003 02:05:29 +0000 (02:05 +0000)]
expr.c (convert_move): Use GET_MODE_PRECISION instead of bitsize when seeing if truncation or extension.

* expr.c (convert_move): Use GET_MODE_PRECISION instead of bitsize
when seeing if truncation or extension.

From-SVN: r73689

20 years agoBasicDefaults.java: Rewrite to spec.
Graydon Hoare [Tue, 18 Nov 2003 01:36:56 +0000 (01:36 +0000)]
BasicDefaults.java: Rewrite to spec.

2003-11-17  Graydon Hoare  <graydon@redhat.com>

* javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
* javax/swing/UIDefaults.java: Modify to reflect rewrite.

From-SVN: r73688

20 years agoreload1.c (reload): Fix previous change.
Eric Christopher [Tue, 18 Nov 2003 00:40:42 +0000 (00:40 +0000)]
reload1.c (reload): Fix previous change.

2003-11-17  Eric Christopher  <echristo@redhat.com>

        * reload1.c (reload): Fix previous change.

From-SVN: r73687

20 years agoDaily bump.
GCC Administrator [Tue, 18 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r73684

20 years agofix size_t
Jason Merrill [Mon, 17 Nov 2003 23:09:44 +0000 (18:09 -0500)]
fix size_t

From-SVN: r73680

20 years agoadd comment
Jason Merrill [Mon, 17 Nov 2003 19:41:00 +0000 (14:41 -0500)]
add comment

From-SVN: r73678

20 years agoinit.c (build_new_1): Preevaluate placement args.
Jason Merrill [Mon, 17 Nov 2003 19:39:46 +0000 (14:39 -0500)]
init.c (build_new_1): Preevaluate placement args.

        * init.c (build_new_1): Preevaluate placement args.
        * call.c (build_op_delete_call): Don't expose placement args to
        overload resolution.

From-SVN: r73677

20 years agore PR debug/11325 (nested class debug info missing)
Scott Snyder [Mon, 17 Nov 2003 17:48:59 +0000 (17:48 +0000)]
re PR debug/11325 (nested class debug info missing)

2003-11-17  Scott Snyder  <snyder@fnal.gov>

PR debug/11325
* dwarf2out.c (struct die_struct): Add die_definition field.
(add_AT_specification): New.
(gen_subprogram_die, gen_variable_die,
gen_struct_or_union_type_die): Use it.
(prune_unused_types_mark): If we're marking a forward declaration,
also mark the full definition, if it exists.

From-SVN: r73676

20 years agojava-tree.h (LOCAL_VAR_OUT_OF_SCOPE_P): New.
Andrew Haley [Mon, 17 Nov 2003 17:39:05 +0000 (17:39 +0000)]
java-tree.h (LOCAL_VAR_OUT_OF_SCOPE_P): New.

2003-09-12  Andrew Haley  <aph@redhat.com>

        * java-tree.h (LOCAL_VAR_OUT_OF_SCOPE_P): New.
        (struct lang_decl_var:freed): New variable.
        * decl.c (poplevel): Mark local vars that have gone out of scope.
        (push_jvm_slot): Don't use the RTL of a var that has gone out of
        scope.

From-SVN: r73675

20 years agore PR c++/11266 ([tree-ssa] ICE with placement new)
Jason Merrill [Mon, 17 Nov 2003 16:33:59 +0000 (11:33 -0500)]
re PR c++/11266 ([tree-ssa] ICE with placement new)

        PR c++/11266
        * gimplify.c (gimple_add_tmp_var): Also make sure
        seen_in_bind_expr isn't set.
        (mostly_copy_tree_r): Don't copy a TARGET_EXPR.
        (gimplify_target_expr): Only expand a TARGET_EXPR the first time
        we see it.

[[Split portion of a mixed commit.]]

From-SVN: r73674.2

20 years agoResync.
Arnaud Charlet [Mon, 17 Nov 2003 15:03:53 +0000 (16:03 +0100)]
Resync.

From-SVN: r73673

20 years ago[multiple changes]
Arnaud Charlet [Mon, 17 Nov 2003 14:58:17 +0000 (15:58 +0100)]
[multiple changes]

2003-11-17  Jerome Guitton  <guitton@act-europe.fr>

* 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
already called in System.Threads.

* 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
environment task, as it has been moved to System.Threads.Initialization.

2003-11-17  Arnaud Charlet  <charlet@act-europe.fr>

* adaint.c (__gnatlib_install_locks): Only reference
__gnat_install_locks on VMS, since other platforms can avoid using
--enable-threads=gnat

2003-11-17  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.

* decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
TYPE_PACKED_ARRAY_TYPE_P.
(validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.

Part of PR ada/12806
* utils.c (float_type_for_precision): Renamed from float_type_for_size.
Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.

2003-11-17  Vincent Celier  <celier@gnat.com>

* gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
to False.
Do not set exit status to Failure when Warning is True.
(Gnatchop): Make errors "no compilation units found" and
"no source files written" warnings only.

* make.adb (Gnatmake): When using a project file, set
Look_In_Primary_Dir to False.
(Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
and Local_Configuration_Pragmas in the project where they are declared
not an extending project which might have inherited them.

* osint.adb (Locate_File): If Name is already an absolute path, do not
look for a directory.

* par-ch10.adb (P_Compilation_Unit): If source contains no token, and
-gnats (Check_Syntax) is used, issue only a warning, not an error.

* prj.adb (Register_Default_Naming_Scheme): Add new component Project
in objects of type Variable_Value.

* prj.ads: (Variable_Value): New component Project

* prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
is in a project extended by Project.

* prj-proc.adb (Add_Attributes): New parameter Project. Set component
Project of Variable_Values to this new parameter value.
(Expression): Set component Project of Variable_Values.
(Process_Declarative_Items): Call Add_Attributes with parameter Project.
Set the component Project in array elements.

2003-11-17  Sergey Rybin  <rybin@act-europe.fr>

* errout.adb: (Initialize): Add initialization for error nodes.

* sem_ch12.adb (Initialize): Add missing initializations for
Exchanged_Views and Hidden_Entities.

2003-11-17  Ed Schonberg  <schonberg@gnat.com>

* sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
already instantiated tree for use in subsequent inlining.
(Analyze_Associations, Instantiate_Formal_Subprogram,
Instantiate_Object): improve error message for mismatch in
instantiations.

* sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
instantiations of subprograms declared in instances.

2003-11-17  Javier Miranda  <miranda@gnat.com>

* sem_ch4.adb (Analyze_Allocator): Previous modification must be
executed only under the Extensions_Allowed flag.

2003-11-17  Robert Dewar  <dewar@gnat.com>

* a-exexda.adb (Address_Image): Fix documentation to indicate leading
zeroes suppressed.
(Address_Image): Fix bug of returning 0x instead of 0x0
Minor reformatting (function specs).

* einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
(missed case of 33-63)

* freeze.adb, sem_ch13.adb: Properly check size of packed bit array

* s-thread.adb: Add comments for pragma Restriction

* exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting

2003-11-17  Ed Falis  <falis@gnat.com>

* s-thread.adb: Added No_Tasking restriction for this implementation.

2003-11-17  Emmanuel Briot  <briot@act-europe.fr>

* xref_lib.adb (Parse_Identifier_Info): Add handling of generic
instanciation references in the parent type description.

2003-11-17  GNAT Script  <nobody@gnat.com>

* Make-lang.in: Makefile automatically updated

From-SVN: r73672

20 years ago* MAINTAINERS: Add myself as iq2000 port maintainer.
Stan Cox [Mon, 17 Nov 2003 14:21:54 +0000 (14:21 +0000)]
* MAINTAINERS: Add myself as iq2000 port maintainer.

From-SVN: r73671

20 years agolocale_facets.tcc: Fix typo in comment.
Paolo Carlini [Mon, 17 Nov 2003 08:54:09 +0000 (08:54 +0000)]
locale_facets.tcc: Fix typo in comment.

2003-11-17  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc: Fix typo in comment.

From-SVN: r73667

20 years agoReplace use of poisoned BUILD_VA_LIST_TYPE macro with a target function.
Nick Clifton [Mon, 17 Nov 2003 08:42:59 +0000 (08:42 +0000)]
Replace use of poisoned BUILD_VA_LIST_TYPE macro with a target function.

From-SVN: r73666

20 years ago8.cc: New test, summarizing the discussion ensuing libstdc++/12988.
Paolo Carlini [Mon, 17 Nov 2003 08:39:57 +0000 (08:39 +0000)]
8.cc: New test, summarizing the discussion ensuing libstdc++/12988.

2003-11-17  Paolo Carlini  <pcarlini@suse.de>

* testsuite/22_locale/num_put/put/char/8.cc: New test,
summarizing the discussion ensuing libstdc++/12988.
* testsuite/22_locale/num_put/put/wchar_t/8.cc: Ditto.

From-SVN: r73665

20 years agoh8300-protos.h: Add the prototype for same_cmp_following_p.
Kazu Hirata [Mon, 17 Nov 2003 02:29:54 +0000 (02:29 +0000)]
h8300-protos.h: Add the prototype for same_cmp_following_p.

* config/h8300/h8300-protos.h: Add the prototype for
same_cmp_following_p.
* config/h8300/h8300.c (same_cmp_following_p): New.
* config/h8300/h8300.md (peephole2): Use it.

From-SVN: r73662

20 years agoh8300.md: Don't use REGNO when its operand is not guaranteed to be a REG.
Kazu Hirata [Mon, 17 Nov 2003 02:26:54 +0000 (02:26 +0000)]
h8300.md: Don't use REGNO when its operand is not guaranteed to be a REG.

* config/h8300/h8300.md: Don't use REGNO when its operand is
not guaranteed to be a REG.

From-SVN: r73661

20 years agoDaily bump.
GCC Administrator [Mon, 17 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r73658

20 years ago* gcc.dg/cpp/assert4.c: New test.
Kaveh R. Ghazi [Sun, 16 Nov 2003 21:27:39 +0000 (21:27 +0000)]
* gcc.dg/cpp/assert4.c: New test.

From-SVN: r73654

20 years agore PR libgcj/13062 (StreamTokenizer ignores commentChar)
Tom Tromey [Sun, 16 Nov 2003 21:15:55 +0000 (21:15 +0000)]
re PR libgcj/13062 (StreamTokenizer ignores commentChar)

PR libgcj/13062:
* java/io/StreamTokenizer.java (commentChar): Clear other
attributes for character.
(quoteChar): Likewise.

From-SVN: r73653

20 years agoMakefile.in (expr.o): Depend on $(TARGET_H).
Richard Sandiford [Sun, 16 Nov 2003 19:10:09 +0000 (19:10 +0000)]
Makefile.in (expr.o): Depend on $(TARGET_H).

* Makefile.in (expr.o): Depend on $(TARGET_H).
* target.h (return_in_msb): New target hook.
* target-def.h (TARGET_RETURN_IN_MSB): New macro.
(TARGET_CALLS): Include it.
* calls.c (shift_returned_value): New function.
(expand_call): Use it.
* expr.c: Include target.h.
(copy_blkmode_from_reg): Check targetm.calls.return_in_msb when
deciding what padding is needed.  Change the name of the local
padding variable from big_endian_correction to padding_correction.
* stmt.c (shift_return_value): New function.
(expand_return): Use it.  Adjust memory->register copy in the same
way as copy_blkmode_from_reg.  Only change the return register's
mode if it was originally BLKmode.
* doc/tm.texi (TARGET_RETURN_IN_MSB): Document.
* config/mips/mips.c (TARGET_RETURN_IN_MSB): Define.
(mips_fpr_return_fields): New, split out from mips_function_value.
(mips_return_in_msb, mips_return_fpr_pair): New functions.
(mips_function_value): Rework to use the functions above.
* config/mips/irix6-libc-compat.c: Delete.
* config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Undefine.

From-SVN: r73652

20 years ago* doc/install.texi (--enable-checking): Update valgrind's URL.
Kazu Hirata [Sun, 16 Nov 2003 18:13:56 +0000 (18:13 +0000)]
* doc/install.texi (--enable-checking): Update valgrind's URL.

From-SVN: r73651

20 years agoh8300.md: Fix warnings by replacing -2147483648 with -2147483647 - 1.
Kazu Hirata [Sun, 16 Nov 2003 13:55:19 +0000 (13:55 +0000)]
h8300.md: Fix warnings by replacing -2147483648 with -2147483647 - 1.

* config/h8300/h8300.md: Fix warnings by replacing -2147483648
with -2147483647 - 1.

From-SVN: r73647

20 years agoFix links in online manuals.
Gerald Pfeifer [Sun, 16 Nov 2003 11:24:56 +0000 (11:24 +0000)]
Fix links in online manuals.

* doc/invoke.texi (H8/300 Options): @xref to ld, not ld.info.
(Precompiled Headers): @pxref to cpp, not cpp.info.

From-SVN: r73646

20 years agoMakefile.in, [...]: Create TAGS.sub files in each directory and TAGS files that inclu...
Jason Merrill [Sun, 16 Nov 2003 06:17:21 +0000 (01:17 -0500)]
Makefile.in, [...]: Create TAGS.sub files in each directory and TAGS files that include them for...

        * Makefile.in, objc/Make-lang.in, ada/Make-lang.in, cp/Make-lang.in,
        java/Make-lang.in, f/Make-lang.in: Create TAGS.sub files in each
        directory and TAGS files that include them for each front end.

From-SVN: r73643

This page took 0.10541 seconds and 5 git commands to generate.