Commit Graph

53898 Commits

Author SHA1 Message Date
Andreas Jaeger
8870499634 mmintrin.h (_mm_set1_pi8): Fix comment.
2003-10-26  Ottavio Campana <ottavio@campana.vi.it>

	* config/i386/mmintrin.h (_mm_set1_pi8): Fix comment.

From-SVN: r72956
2003-10-26 17:18:31 +01:00
Gunther Nikl
97c5509198 m68k.c (m68k_output_function_prologue): Move front comment from here to...
* config/m68k/m68k.c (m68k_output_function_prologue): Move front
	comment from here to...
	(m68k_save_reg): ...here. Fix comment formatting.
	(m68k_output_function_prologue): Fix comment formatting.
	(m68k_output_function_epilogue): Likewise.
	(const_method): Likewise.

From-SVN: r72954
2003-10-26 17:03:21 +01:00
Kazu Hirata
b36c208a36 toplev.c (default_get_pch_validity): Guard the use of target_options with #ifdef TARGET_OPTIONS.
* toplev.c (default_get_pch_validity): Guard the use of
	target_options with #ifdef TARGET_OPTIONS.
	(default_pch_valid_p): Likewise.

From-SVN: r72953
2003-10-26 15:40:14 +00:00
Andreas Jaeger
b6b3c13865 * Makefile.in: Remove duplicated lines.
From-SVN: r72952
2003-10-26 15:53:53 +01:00
Joseph Myers
43a936179e * nl.po: Update.
From-SVN: r72951
2003-10-26 11:19:49 +00:00
Kriang Lerdsuwanakij
58e1d54ce9 re PR c++/10371 (misleading error message for illegal member access)
PR c++/10371
	* semantics.c (finish_non_static_data_member): Handle when
	both processing_template_decl and qualifying_scope are true.

	* g++.dg/lookup/scoped8.C: New test.

From-SVN: r72950
2003-10-26 11:04:36 +00:00
Paolo Carlini
f883c8dce3 1.cc: Clean up.
2003-10-26  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/22_locale/money_put/put/char/1.cc: Clean up.
	* testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto.

From-SVN: r72949
2003-10-26 10:33:30 +00:00
Andreas Jaeger
38f9cd4cac dwarf2out.c (output_cfi): Use HOST_WIDE_INT_PRINT.
2003-10-26  Andreas Jaeger  <aj@suse.de>
	    Zack Weinberg  <zack@codesourcery.com>
	    Andreas Tobler <toa@pop.agri.ch>

	* dwarf2out.c (output_cfi): Use HOST_WIDE_INT_PRINT.
	(output_die): Likewise.
	(print_die): Likewise.

Co-Authored-By: Andreas Tobler <toa@pop.agri.ch>
Co-Authored-By: Zack Weinberg <zack@codesourcery.com>

From-SVN: r72948
2003-10-26 11:17:38 +01:00
Andreas Jaeger
0ab5b679d9 tree.h (dwarf2out_def_cfa, [...]): Update prototypes for recent dwarf2out.c change.
* tree.h (dwarf2out_def_cfa, dwarf2out_args_size,
	dwarf2out_reg_save, new_loc_descr): Update prototypes for recent
	dwarf2out.c change.

From-SVN: r72946
2003-10-26 09:31:11 +01:00
Andreas Jaeger
d7d4cd78a1 * toplev.c (default_pch_valid_p): Fix warning.
From-SVN: r72945
2003-10-26 07:47:17 +01:00
Bryce McKinlay
12afcb31e5 * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
From-SVN: r72944
2003-10-26 02:48:31 +00:00
Bryce McKinlay
e0f23fcd49 AccessibleObject.java (secureSetAccessible): Don't check for AccessibleObject.
* java/lang/reflect/AccessibleObject.java (secureSetAccessible):
	Don't check for AccessibleObject. Update javadocs.

From-SVN: r72943
2003-10-26 02:28:45 +00:00
Bryce McKinlay
b9b5672b49 Constructor.java (toString): Avoid extra whitespace on constructor with no modifiers.
2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>

	* java/lang/reflect/Constructor.java (toString): Avoid extra
	whitespace on constructor with no modifiers.
	* java/lang/reflect/natConstructor.java (newInstance): Look up
	caller and perform accessibility check only if constructor is
	non-public and accessible flag is not set.

2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>

	* jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
	_Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
	use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with
	is_virtual_call argument.
	* include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from
	natClass.cc.
	* java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
	_Jv_isVirtualMethod.
	* java/lang/reflect/natMethod.cc (invoke): Don't use
	_Jv_LookupDeclaredMethod.
	(_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
	look up method in target object's vtable.

From-SVN: r72942
2003-10-26 02:25:42 +00:00
Roger Sayle
077a148bf5 simplify-rtx.c (simplify_replace_rtx): Avoid allocating duplicate RTL nodes.
* simplify-rtx.c (simplify_replace_rtx): Avoid allocating duplicate
	RTL nodes.  If an operator's operands are unchanged, return the
	original argument unchanged.

From-SVN: r72941
2003-10-26 01:31:02 +00:00
GCC Administrator
6cadb6e375 Daily bump.
From-SVN: r72939
2003-10-26 00:16:07 +00:00
Graham Stott
81bfdfbee7 Fix bootstrap failure.
* expmed.c (store_bit_field): Don't compare bitsize against
       modes with zero bit-size.

       (extract_bit_field): Likewise

From-SVN: r72937
2003-10-25 23:14:14 +00:00
Joseph Myers
b97e55dac0 be.po, [...]: Update.
* be.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po, sv.po,
	tr.po: Update.
	* gcc.pot: Regenerate.

From-SVN: r72936
2003-10-25 22:41:53 +01:00
Jan Hubicka
799f628aea dwarf2out.c (dw_cfi_oprnd_struct): Offset is HOST_WIDE_INT.
* dwarf2out.c (dw_cfi_oprnd_struct): Offset is HOST_WIDE_INT.
	(cfa_loc): Likewise.
	(reg_save, stack_adjust_offset, queue_reg_save): Replace long by
	HOST_WIDE_INT.
	(args_size, old_args_size): change type to HOST_WIDE_INT.
	(dwarf2out_def_cfa, dwarf2out_args_size,
	dwarf2out_reg_save, new_loc_descr): offset is HOST_WIDE_INT.
	(dw_val_struct): integers, unsigneds and offsets are HOST_WIDE_INT.
	(add_AT_int, add_AT_unsigned, att_AT_offset, AT_int, AT_unsigned,
	AT_offset): Use HOST_WIDE_INT.
	(based_loc_descr): offset is HOST_WIDE_INT.
	(add_data_member): Likewise.
	(add_const_value_attribute): Simplify.

From-SVN: r72935
2003-10-25 21:32:02 +00:00
Richard Henderson
fe9f516f68 i386.c (ix86_eax_live_at_start_p): New.
* config/i386/i386.c (ix86_eax_live_at_start_p): New.
        (ix86_expand_prologue): Save and restore eax around stack probe
        if it's live.

From-SVN: r72933
2003-10-25 12:42:39 -07:00
Bruce Korb
e54918abd4 Results are re-alphabetized, too
From-SVN: r72932
2003-10-25 18:45:39 +00:00
Graydon Hoare
c4bcf1418f ClasspathToolkit.java: New abstract class.
2003-10-14  Graydon Hoare  <graydon@redhat.com>

	* gnu/java/awt/ClasspathToolkit.java: New abstract class.
	* gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
	* gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
	New concrete implementation of ClasspathFontPeer, with native part.
	* gnu/java/awt/peer/gtk/GdkGlyphVector.java,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
	New class, with native part.
	* gnu/java/awt/peer/gtk/GdkGraphics2D.java,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
	implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.

From-SVN: r72931
2003-10-25 18:41:45 +00:00
Bruce Korb
11f9a0ed8f snprintf alphabetically precedes uint
From-SVN: r72928
2003-10-25 17:43:13 +00:00
Jan Hubicka
bd18496b13 * cppcharset.c (one_utf8_to_utf32): Initialize 's' to silence warning.
From-SVN: r72927
2003-10-25 15:12:01 +00:00
Eric Botcazou
b3cd99cdbd re PR target/12712 (ICE on short legit C++ code fragment with gcc 3.3.2)
PR target/12712
	* reg-stack.c (convert_regs_1): Create an arbitrary input stack
	if the block has no predecessors.
	(convert_regs_2): Document the problem with successors whose
	only predecessor is the block to be processed.
	(convert_regs): Don't create the arbitrary input stack here.

From-SVN: r72923
2003-10-25 12:55:18 +00:00
Paolo Carlini
999bf60f6a locale_facets.tcc (num_get::_M_extract_int): __pos in only incremented, never used its value, remove it.
2003-10-25  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (num_get::_M_extract_int):
	__pos in only incremented, never used its value, remove it.

From-SVN: r72922
2003-10-25 09:28:39 +00:00
Bryce McKinlay
8822f4aaf9 Method.java (toString): Avoid extra whitespace on method with no modifiers.
* java/lang/reflect/Method.java (toString): Avoid extra whitespace
	on method with no modifiers.

From-SVN: r72919
2003-10-25 07:55:21 +01:00
Bryce McKinlay
a10fd35601 re PR libgcj/11780 (Method.invoke() is slow)
PR libgcj/11780:
	* java/lang/reflect/natMethod.cc (invoke): Look up caller and
	perform accessibility check only if target is non-public and
	accessible flag is not set.
	* java/lang/reflect/natField.cc (getAddr): Likewise.

From-SVN: r72918
2003-10-25 07:49:20 +01:00
Robert Millan
b2398b4947 acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu and knetbsd*-gnu.
2003-10-24  Robert Millan  <robertmh@gnu.org>

	* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu
	and knetbsd*-gnu.
	* aclocal.m4:  Regenerated.
	* configure:  Regenerated.

From-SVN: r72917
2003-10-25 02:48:34 +00:00
Zack Weinberg
02befdf47f genmodes.c (struct mode_data): Add contained and next_cont fields.
* genmodes.c (struct mode_data): Add contained and next_cont
	fields.
	(complete_mode): Maintain linked list of modes that have a
	given component.
	(emit_mode_unit_size): Delete.
	(emit_mode_nunits): New.
	(emit_insn_modes_c): Update to match.
	(emit_mode_adjustments): Propagate size and alignment
	adjustments from component modes to their containers.
	* machmode.h (mode_unit_size): Delete.
	(mode_nunits): New.
	(GET_MODE_NUNITS): Just return the value in the table.
	(GET_MODE_UNIT_SIZE): Compute using GET_MODE_INNER and
	GET_MODE_SIZE.
	* expmed.c (store_bit_field, extract_bit_field): Can use a
	plain move instruction if bitsize >= GET_MODE_BITSIZE of
	destination/source mode, respectively.
	* varasm.c (assemble_real): Write out the full size of the
	constant, not just its bitsize.
	(output_constant): Honor TYPE_MODE of TREE_REAL_CSTs.

	* config/ia64/ia64-modes.def: Define XFmode as well as TFmode.
	Use ADJUST_BYTESIZE and ADJUST_ALIGNMENT to set size and
	alignment of XF and TF modes in compliance with ia64 ABIs.
	Can now hardwire the format of both modes.
	* config/ia64/ia64.c: Change TFmode to XFmode wherever appropriate.
	(general_tfmode_operand, destination_tfmode_operand)
	(tfreg_or_fp01_operand, spill_tfmode_operand): Rename to
	general_xfmode_operand, destination_xfmode_operand,
	xfreg_or_fp01_operand, spill_xfmode_operand respectively.
	(ia64_init_builtins): Make TYPE_PRECISION of fpreg_type
	and float80_type be 96 so they get XFmode.  Use !TARGET_HPUX,
	not INTEL_EXTENDED_IEEE_FORMAT, to decide how to define
	__float128.
	* config/ia64/ia64.h: Default TARGET_HPUX to 0.
	Change TFmode to XFmode wherever appropriate.  Remove all
	references to INTEL_EXTENDED_IEEE_FORMAT.
	(LONG_DOUBLE_TYPE_SIZE): Varies with TARGET_HPUX.
	(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define (always 96).
	(PREDICATE_CODES): Update to match function renames.
	* config/ia64/ia64.md: Change TF to XF throughout; rename all
	patterns to match.  Remove all references to
	INTEL_EXTENDED_IEEE_FORMAT.  Update predicate calls to match
	function renames.
	* config/ia64/ia64-protos.c: Update all prototypes to match
	renamed functions.
	* config/ia64/hpux.h: Redefine TARGET_HPUX to 1.
	Remove all references to INTEL_EXTENDED_IEEE_FORMAT.
	* config/ia64/lib1funcs.asm: Add __divxf3 as new name for
	__divtf3; keep old name for backward compatibility.
	(L__compat): New section providing forwarding stubs for
	__fixtfti, __fixunstfti, __floattitf.
	* config/ia64/t-ia64: Add __compat to LIB1ASMFUNCS.

From-SVN: r72916
2003-10-25 02:03:40 +00:00
GCC Administrator
569827c9b6 Daily bump.
From-SVN: r72914
2003-10-25 00:16:05 +00:00
Paolo Carlini
761faeec31 locale_facets.tcc (money_get::do_get(..., long double&): Properly size the temporary buffer.
2003-10-24  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (money_get::do_get(...,
	long double&): Properly size the temporary buffer.
	* testsuite/22_locale/money_get/get/char/11.cc: New.
	* testsuite/22_locale/money_get/get/wchar_t/11.cc: Ditto.

	* include/bits/locale_facets.tcc (num_put::_M_group_int,
	num_put::_M_group_float, money_put::do_put(..., const
	string_type&), collate::do_compare, collate::do_transform):
	Prefer basic_string::data() to c_str() when the '\0'
	terminator is not really needed.

From-SVN: r72911
2003-10-24 22:51:15 +00:00
Geoffrey Keating
7bb1ad9314 re PR pch/10757 (Adding -fpic/-fPIC causes crash with PCH created without -fpic/-fPIC)
PR 10757
	* c-pch.c: Include target.h.  Improve comments.
	(struct c_pch_validity): Add target_data_length.
	(pch_init): Add target's validity data.
	(c_common_valid_pch): Check target's validity data.
	* target-def.h (TARGET_GET_PCH_VALIDITY): New.
	(TARGET_PCH_VALID_P): New.
	(TARGET_INITIALIZER): Add new fields.
	* target.h: Include tm.h.
	(struct gcc_target): Add get_pch_validity, pch_valid_p.
	* toplev.h (default_get_pch_validity): New prototype.
	(default_pch_valid_p): New prototype.
	* toplev.c (default_get_pch_validity): New routine.
	(default_pch_valid_p): New routine.
	* Makefile.in (TARGET_H): Add TM_H.  Replace all users of
	target.h with $(TARGET_H).
	(c-pch.o): Add TARGET_H.
	* doc/tm.texi (PCH Target): New node.
	(TARGET_GET_PCH_VALIDITY): Document.
	(TARGET_PCH_VALID_P): Document.

From-SVN: r72909
2003-10-24 21:28:13 +00:00
Paolo Carlini
eebf21ef99 locale_facets.tcc (__verify_grouping): Prefer '=' to an unnecessary '&='.
2003-10-24  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (__verify_grouping):
	Prefer '=' to an unnecessary '&='.

From-SVN: r72908
2003-10-24 20:21:48 +00:00
Thomas Fitzsimmons
f2d0e05d4e GtkDialogPeer.java (handleEvent): Remove method.
2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
	Remove method.
	* gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
	New method.
	* java/awt/Window.java (Window(Window,GraphicsConfiguration),
	show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
	(dispose): Post WINDOW_CLOSED event.
	(addWindowFocusListener, addWindowStateListener): Assign result
	of multicaster add back to window listener.
	(removeWindowFocusListener, removeWindowStateListener): Assign
	result of multicaster remove back to window listener.
	(dispatchEventImpl): Add null checks for focus and state
	listeners.
	(processWindowEvent): Handle case where windowListener is null
	but state or focus listeners exist.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
	glue for postWindowEvent.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
	(window_delete_cb, window_destroy_cb, window_show_cb,
	window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
	window_get_new_state): New functions.
	* jni/gtk-peer/gtkpeer.h: Define window event and frame state
	macros.  Declare postWindowEventID.

From-SVN: r72906
2003-10-24 19:40:30 +00:00
Kelley Cook
6545596245 Makefile.in: Define a vpath for %.texi.
2003-10-24  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.in: Define a vpath for %.texi.  Remove explicit $(docdir)
	and $(docdir)/include from any *.texi dependencies.
	($(docobjdir)/%.dvi): Depend on stmp-docobjdir.
	($(docobjdir)/%.1): Depend on .pod instead of .texi.
	($(docobjdir)/%.7): Likewise.
	(%.pod): New implicit rule.
	(cpp.pod): New dependency only rule.
	(gcc.pod): New intermediate rule with dependencies and commands.
	(gfdl.pod): Likewise.
	(fsf-funding.pod): Likewise.

From-SVN: r72905
2003-10-24 19:34:50 +00:00
Kelley Cook
e9b3872d54 gcc_release (build_sources): Use --enable-generated-files-in-srcdir.
2003-10-23  Kelley Cook  <kcook@gcc.gnu.org>

	* gcc_release (build_sources): Use --enable-generated-files-in-srcdir.

From-SVN: r72904
2003-10-24 19:32:02 +00:00
Anthony Green
fe8738988d Obvious fix for systems with no interpreter.
From-SVN: r72903
2003-10-24 18:27:29 +00:00
Nathanael Nerode
7a24bb87d5 mkfixinc.sh: Remove special cases for svr4 and ptx, and related code.
* fixinc/mkfixinc.sh: Remove special cases for svr4 and ptx, and
	related code.
	* fixinc/fixinc.ptx: Remove.
	* fixinc/fixinc.svr4: Remove.

From-SVN: r72902
2003-10-24 17:47:51 +00:00
Ulrich Weigand
c19ec8f909 s390.c (load_multiple_operation): Allow both SImode and DImode if word_mode is DImode.
* config/s390/s390.c (load_multiple_operation): Allow both SImode
	and DImode if word_mode is DImode.
	(store_multiple_operation): Likewise.
	* config/s390/s390.md ("load_multiple", "store_multiple"): Likewise.
	("*load_multiple_di"): Allow only if word_mode == DImode.
	("movqi"): Use LLGC whenever TARGET_ZARCH.
	("fix_truncdfsi2"): Fix incorrect temporary size.
	("fix_truncsfsi2"): Likewise.
	("*bras_r", "*brasl_r", "*basr_r"): Remove predicate and constraint
	string for function return value operand.
	("*bras_tls", "*brasl_tls", "*basr_tls"): Likewise.

From-SVN: r72901
2003-10-24 17:30:34 +00:00
Joseph Myers
88682ff62d re PR c/11943 (Accepts invalid declaration "int x[2, 3];" in C99 mode)
* c-parse.in (array_declarator): Use expr_no_commas.
	Fixes PR c/11943.

testsuite:
	* gcc.dg/c99-arraydecl-2.c: New test.  PR c/11943.

From-SVN: r72900
2003-10-24 16:30:37 +01:00
Richard Sandiford
3d39f00757 linux.h: Wrap MD_FALLBACK_FRAME_STATE_FOR and associated includes in #ifndef inhibit_libc.
* config/mips/linux.h: Wrap MD_FALLBACK_FRAME_STATE_FOR and
	associated includes in #ifndef inhibit_libc.

From-SVN: r72898
2003-10-24 15:06:07 +00:00
Kriang Lerdsuwanakij
d9a5030180 re PR c++/11076 (ICE with invalid base class)
PR c++/11076
	* class.c (handle_using_decl): Swap arguments of error_not_base_type.
	* parser.c (cp_parser_direct_declarator): Only resolve typename for
	namespace scope declarations.

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

From-SVN: r72897
2003-10-24 14:45:52 +00:00
Arnaud Charlet
b6d8393123 gnatvsn.ads (Gnat_Static_Version_String): New constant, used to minimize the differences with ACT tree.
* gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
	minimize the differences with ACT tree.

	* gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
	gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
	Gnatvsn.Gnat_Static_Version_String to reduce differences between
	ACT and FSF trees.

From-SVN: r72896
2003-10-24 16:39:55 +02:00
Paolo Carlini
ebaeca8b55 basic_ios.tcc (copyfmt(const basic_ios&)): Tweak my fix for libstdc++/12657.
2003-10-24  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
	Tweak my fix for libstdc++/12657.

From-SVN: r72895
2003-10-24 14:24:00 +00:00
Roger Sayle
f922579438 * doc/libgcc.texi: Document some more of the libgcc API.
From-SVN: r72894
2003-10-24 14:15:45 +00:00
Arnaud Charlet
b0f26df5db re PR ada/12014 (strcpy used with overlapping arguments)
* adadecode.c (ostrcpy): New function.
	(__gnat_decode): Use ostrcpy of strcpy.
	(has_prefix): Set first parameter a const.
	(has_suffix): Set first parameter a const.
	Update copyright notice. Fix source name in header.
	Removes a trailing space.
	PR ada/12014.

	* exp_disp.adb:
	Remove the test against being in No_Run_Time_Mode before generating a
	call to Register_Tag. It is redundant with the test against the
	availability of the function Register_Tag.

	* g-catiio.adb: (Month_Name): Correct spelling of February

	* make.adb: (Mains): New package
	(Initialize): Call Mains.Delete
	(Gnatmake): Check that each main on the command line is a source of a
	project file and, if there are several mains, each of them is a source
	of the same project file.
	(Gnatmake): When a foreign language is specified in attribute Languages,
	no main is specified on the command line and attribute Mains is not
	empty, only build the Ada main. If there is no Ada main, just compile
	the Ada sources and their closure.
	(Gnatmake): If a main is specified on the command line with directory
	information, check that the source exists and, if it does, that the path
	is the actual path of a source of a project.

	* prj-env.adb:
	(File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
	Full_Path is True, return the full path instead of the simple file name.
	(Project_Of): New function

	* prj-env.ads:
	(File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
	defaulted to False.
	(Project_Of): New function

	* Makefile.generic:
	Ensure objects of main project are always checked and rebuilt if needed.
	Set CC to gcc by default.
	Prepare new handling of link by creating a global archive (not activated
	yet).

	* adadecode.h, atree.h, elists.h, nlists.h, raise.h,
	stringt.h: Update copyright notice. Remove trailing blanks.
	Fix source name in header.

	* sem_ch12.adb: Minor reformatting

	* sem_ch3.adb:
	Minor reformatting (including new function return style throughout)

	* sem_ch3.ads:
	Minor reformatting (including new function return style throughout)

	* Make-lang.in: Makefile automatically updated

From-SVN: r72893
2003-10-24 15:02:42 +02:00
Paolo Carlini
bf22935f99 locale_facets.tcc (money_get::do_get(..., string_type&): Minor tweak to the previous commit.
2003-10-24  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (money_get::do_get(...,
	string_type&): Minor tweak to the previous commit.

From-SVN: r72892
2003-10-24 12:21:18 +00:00
Andrew Haley
e194201cb6 Correct misapplied patch.
From-SVN: r72891
2003-10-24 12:13:18 +00:00
David S. Miller
7b8af2b5de jcf-parse.c (jcf_parse): Fix args to fatal_error().
2003-10-24  David S. Miller  <davem@redhat.com>

	* jcf-parse.c (jcf_parse): Fix args to fatal_error().

From-SVN: r72890
2003-10-24 05:06:32 -07:00
Joseph Myers
349dfad90e * gcc.dg/c99-restrict-2.c: New test.
From-SVN: r72889
2003-10-24 13:00:25 +01:00