OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
charlet [Fri, 24 Oct 2003 14:39:55 +0000 (14:39 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72896 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-24 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 24 Oct 2003 14:24:00 +0000 (14:24 +0000)]
2003-10-24  Paolo Carlini  <pcarlini@suse.de>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72895 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/libgcc.texi: Document some more of the libgcc API.
sayle [Fri, 24 Oct 2003 14:15:45 +0000 (14:15 +0000)]
* doc/libgcc.texi: Document some more of the libgcc API.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72894 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * adadecode.c (ostrcpy): New function.
charlet [Fri, 24 Oct 2003 13:02:42 +0000 (13:02 +0000)]
* 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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72893 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-24 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 24 Oct 2003 12:21:18 +0000 (12:21 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72892 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoCorrect misapplied patch.
aph [Fri, 24 Oct 2003 12:13:18 +0000 (12:13 +0000)]
Correct misapplied patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72891 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-24 David S. Miller <davem@redhat.com>
davem [Fri, 24 Oct 2003 12:06:32 +0000 (12:06 +0000)]
2003-10-24  David S. Miller  <davem@redhat.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72890 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/c99-restrict-2.c: New test.
jsm28 [Fri, 24 Oct 2003 12:00:25 +0000 (12:00 +0000)]
* gcc.dg/c99-restrict-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72889 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-24 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 24 Oct 2003 11:20:55 +0000 (11:20 +0000)]
2003-10-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (money_get::do_get(...,
string_type&): Disregard the previous commit: doesn't hurt but
doesn't accomplish anything useful either. This is the right
one, speeding up greatly the function in case of early fail.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72888 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-24 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 24 Oct 2003 10:12:05 +0000 (10:12 +0000)]
2003-10-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (money_get::do_get(...,
string_type&): Move an if block, thus minimizing the amount
of code processed anyway when __tmp_units.size() == 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72887 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 Andrew Haley <aph@redhat.com>
aph [Fri, 24 Oct 2003 09:29:43 +0000 (09:29 +0000)]
2003-10-22  Andrew Haley  <aph@redhat.com>

        * lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New.
        (java_get_callee_fndecl): New.

        * jcf-parse.c (java_parse_file): Call emit_catch_table().

        * java-tree.h (ctable_decl): New.
        (catch_classes):  New.
        (java_tree_index): Add JTI_CTABLE_DECL, JTI_CATCH_CLASSES.

        * decl.c (java_init_decl_processing): Add catch_class_type.
        Add ctable_decl.
        Add catch_classes field.

        * class.c (build_indirect_class_ref): Break out from
        build_class_ref.
        (make_field_value): Check flag_indirect_dispatch.
        (make_class_data): Ditto.
        Tidy uses of PUSH_FIELD_VALUE.
        Add field catch_classes.
        (make_catch_class_record): New.

        * java-tree.h (PUSH_FIELD_VALUE): Tidy.

2003-10-22  Andrew Haley  <aph@redhat.com>

        * java/lang/natClass.cc (initializeClass): Call
        _Jv_linkExceptionClassTable.
        (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
        _Jv_Defer_Resolution on a method whose ncode is NULL.
        (_Jv_linkExceptionClassTable): New function.
        (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
        entry, look it up.
        * java/lang/Class.h (struct _Jv_CatchClass): New.
        (_Jv_linkExceptionClassTable): New friend.
        (_Jv_Defer_Resolution): New friend.
        (class Class.catch_classes): New field.
        * include/java-interp.h (Jv_Defer_Resolution): New method.
        (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
        (_Jv_MethodBase.deferred): New field.
        (_Jv_Defer_Resolution): New function.
        * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
        * exception.cc (get_ttype_entry): Change return type to void**.
        (PERSONALITY_FUNCTION): Remove all code related to using a
        Utf8Const* for a match type.  Change match type to be a pointer to
        a pointer, rather than a pointer to a Class.
        * defineclass.cc (handleCodeAttribute): Initialize
        method->deferred.
        (handleMethodsEnd): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72886 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* arm.c (arm_rtx_costs_1, case TARGET_THUMB): Adjust costs for
rearnsha [Fri, 24 Oct 2003 09:25:30 +0000 (09:25 +0000)]
* arm.c (arm_rtx_costs_1, case TARGET_THUMB): Adjust costs for
comparing a constant with small negative numbers and add costing
for constants in conjunction with AND.
(note_invalid_constants): Tidy previous change.
(thumb_cmp_operand): Tidy.
(thumb_cmpneg_operand): New function.
* arm.h (CONDITIONAL_REGISTER_USAGE): Don't use HI regs if optimizing
for size.
(FIRST_LO_REGNUM, FIRST_HI_REGNUM, LAST_HI_REGNUM): Define.
(PREDICATE_CODES): Add thumb_cmpneg_operand.
* arm.md (cbranchsi4): Convert to define_expand.  Handle comparison
with a negative constant.
(cbranchsi4_insn): Matcher for cbranchsi4.
(cbranchsi4_scratch): Similar, but a scratch is available for
handling negative constants.
(movsi_cbranchsi4): New pattern.
(tstsi3_cbranch): Renamed from andsi3_cbranch_scratch, remove scratch
and use the TST instruction.
(andsi3_cbranch, orrsi3_cbranch, xorsi3_cbranch, cbranchne_decr1)
(addsi3_cbranch, subsi3_cbranch): Ensure that register preferencing
cannot see high regs or memory alternatives.
(bicsi3_cbranch_scratch, bicsi3_cbranch): New patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72885 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-24 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 24 Oct 2003 09:19:07 +0000 (09:19 +0000)]
2003-10-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc
(time_get<>::_M_extract_via_format): Deal with case 'C' too,
equivalent to 'y'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72884 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* arm.c (note_invalid_constants): Try to extract the constant
rearnsha [Fri, 24 Oct 2003 08:47:18 +0000 (08:47 +0000)]
* arm.c (note_invalid_constants): Try to extract the constant
pool value using avoid_constant_pool_reference; only use
get_pool_constant if that returns the original reference.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72883 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agocp:
nathan [Fri, 24 Oct 2003 07:59:41 +0000 (07:59 +0000)]
cp:
PR c++/12698, c++/12699, c++/12700, c++/12566
* cp-tree.h (THUNK_ALIAS_P, THUNK_ALIAS): New.
(debug_class, debug_thunks): New.
* class.c (dump_class_hierarchy_1): New break out from ...
(dump_class_hierarchy): ... here.
(dump_thunk, debug_thunks, debug_class): New.
(update_vtable_entry_for_fn): Add ssizetype casts. Correct
continued search for primary binfo via virtual.
(build_vtbl_initializer): Follow covariant thunk alias.
* method.c (make_thunk): Clear DECL_THUNKS of the thunk.
(finish_thunk): Look for an alias of the covariant thunk and point
to it.
(use_thunk): We should never use an alias.
* semantics.c (emit_associated_thunks): Do not emit aliases.

PR c++/12566
* cp-tree.h (cp_fname_init): Add TYPE pointer param.
* decl.c (cp_fname_init): Add TYPE pointer param. Set it. Don't
create an ad-hoc ERROR_MARK.
(cp_make_fname_decl): Adjust.
* pt.c (tsubst_expr): Adjust.
testsuite:
PR c++/12698, c++/12699, c++/12700, c++/12566
* g++.dg/inherit/covariant9.C: New test.
* g++.dg/inherit/covariant10.C: New test.
* g++.dg/inherit/covariant11.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72882 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12624
hubicka [Fri, 24 Oct 2003 07:39:26 +0000 (07:39 +0000)]
PR c++/12624
* varasm.c (notice_global_symbol): Disqualify global registers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72880 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
neroden [Fri, 24 Oct 2003 02:28:37 +0000 (02:28 +0000)]
* adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
stringt.h: Convert to ISO C90 declarations and definitions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72877 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR middle-end/11414
sayle [Fri, 24 Oct 2003 00:53:05 +0000 (00:53 +0000)]
PR middle-end/11414
* loop.c (load_mems): Use redirect_jump to forward jumps from
the original loop end label to the new "loop sink" block's label.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72876 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Fri, 24 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72874 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
ro [Thu, 23 Oct 2003 21:48:36 +0000 (21:48 +0000)]
* java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
_Jv_MutexCheckMonitor instead of accessing mutex.owner directly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72872 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR middle-end/12705
sayle [Thu, 23 Oct 2003 21:37:52 +0000 (21:37 +0000)]
PR middle-end/12705
* optabs.c (expand_binop): When expanding complex operations
inline, always calculate result into a new temporary register.
Minor code clean-ups.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72871 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago libobjc:
ro [Thu, 23 Oct 2003 21:20:54 +0000 (21:20 +0000)]
libobjc:
* Makefile.in (runtime-info.h): Remove -Wp.

gcc:
* objc/lang-specs.h: Handle -print-objc-runtime-info.
* doc/invoke.texi (Objective-C Dialect Options): Document it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72870 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/i386/cygwin.asm. Add copyright notice. Add comment
dannysmith [Thu, 23 Oct 2003 20:53:02 +0000 (20:53 +0000)]
* config/i386/cygwin.asm. Add copyright notice. Add comment
on why this code is needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72869 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/old-style-asm-1.c: Also check for (set (pc) on lines
rakdver [Thu, 23 Oct 2003 20:48:53 +0000 (20:48 +0000)]
* gcc.dg/old-style-asm-1.c: Also check for (set (pc) on lines
following the jump_insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72868 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-23 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 23 Oct 2003 20:35:13 +0000 (20:35 +0000)]
2003-10-23  Benjamin Kosnik  <bkoz@redhat.com>

* docs/html/documentation.html: Add a pointer to the doxygen style
guide.
* docs/html/17_intro/TODO: Update.
* docs/html/test.html: Add instructions for running a subset of
tests, update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72867 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-23 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Thu, 23 Oct 2003 20:24:20 +0000 (20:24 +0000)]
2003-10-23  Andreas Tobler  <a.tobler@schweiz.ch>

        * src/java_raw_api.c (ffi_java_ptrarray_to_raw): Replace
        FFI_ASSERT(FALSE) with FFI_ASSERT(0).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72865 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/clzhi2.c: Fix warnings.
kazu [Thu, 23 Oct 2003 19:30:47 +0000 (19:30 +0000)]
* config/h8300/clzhi2.c: Fix warnings.
* config/h8300/ctzhi2.c: Likewise.
* config/h8300/fixunssfsi.c: Likewise.
* config/h8300/parityhi2.c: Likewise.
* config/h8300/popcounthi2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72864 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/clzhi2.c: Fix warnings.
kazu [Thu, 23 Oct 2003 19:29:27 +0000 (19:29 +0000)]
* config/h8300/clzhi2.c: Fix warnings.
* config/h8300/ctzhi2.c: Likewise.
* config/h8300/fixunssfsi.c: Likewise.
* config/h8300/parityhi2.c: Likewise.
* config/h8300/popcounthi2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72863 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix problem noticed while looking at PR 12564.
wilson [Thu, 23 Oct 2003 19:27:41 +0000 (19:27 +0000)]
Fix problem noticed while looking at PR 12564.
* gcc.c (option_map): Delete --target and --use-version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72862 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-23 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 23 Oct 2003 17:05:01 +0000 (17:05 +0000)]
2003-10-23  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (money_get<>::do_get(...,
string_type&)): Use find_first_not_of to strip leading
zeros; if __tmp_units == "0" never prefix it with '-';
always fail if __tmp_units is empty.
* testsuite/22_locale/money_get/get/char/10.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/10.cc: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72860 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.h (UNITS_PER_WORD): Use TARGET_32BIT, not
dje [Thu, 23 Oct 2003 14:36:23 +0000 (14:36 +0000)]
* config/rs6000/rs6000.h (UNITS_PER_WORD): Use TARGET_32BIT, not
TARGET_POWREPC64.
(UNITS_PER_GPR_WORD): Define.
(HARD_REGNO_NREGS): Use UNITS_PER_GPR_WORD.
(HARD_REGNO_CALL_PART_CLOBBERED): Define.
(HARD_REGNO_MODE_OK): Use UNITS_PER_GPR_WORD.
(CLASS_MAX_NREGS): Use UNITS_PER_GPR_WORD.
* config/rs6000/rs6000.c (function_arg): Generate PARALLEL for
DFmode and DImode in 32-bit ABI / 64-bit computation mode.
(rs6000_emit_prologue): Select reg_mode and reg_size using
TARGET_32BIT, not TARGET_POWERPC64.
(rs6000_function_value): Generate PARALLEL for DImode in 32-bit
ABI / 64-bit computation mode

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72851 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 Andrew Haley <aph@redhat.com>
aph [Thu, 23 Oct 2003 14:18:14 +0000 (14:18 +0000)]
2003-10-22  Andrew Haley  <aph@redhat.com>

* toplev.c (output_file_directive): Allow for null input_name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72847 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR ada/11978:
charlet [Thu, 23 Oct 2003 11:57:52 +0000 (11:57 +0000)]
PR ada/11978:
* exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
External_Tag attribute definition clauses.

PR ada/7613:
* exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
child unit, generate a fully qualified name to avoid spurious errors
when the context contains renamings of different child units with
the same simple name.

* exp_dbug.ads: Add documentation on name qualification for renamings
of child units.

* g-regpat.ads, g-regpat.adb: Minor reformatting

* Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.

* trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
Machine call.

* urealp.h: (Machine): Update to proper definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72843 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * init.c, adaint.c: Minor reformatting.
charlet [Thu, 23 Oct 2003 10:15:00 +0000 (10:15 +0000)]
* init.c, adaint.c: Minor reformatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72841 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * ada/adaint.c (w32_epoch_offset): Define static const at file
dannysmith [Thu, 23 Oct 2003 09:58:59 +0000 (09:58 +0000)]
* ada/adaint.c (w32_epoch_offset): Define static const at file
level.
(win32_filetime): Replace offset with w32_epoch_offset. Use NULL
rather than t_create, t_access in call to GetFileTime. Use union
to convert between FILETIME and  unsigned long long.
(__gnat_file_time_name): Test for invalid file handle.
(__gnat_set_filetime_name): Support win32 targets using
w32api SetFileTime.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72840 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 Waldek Hebisch <hebisch@math.uni.wroc.pl>
aj [Thu, 23 Oct 2003 08:03:13 +0000 (08:03 +0000)]
2003-10-22  Waldek Hebisch <hebisch@math.uni.wroc.pl>

* config/i386/i386.c (classify_argument): Handle SET_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72838 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12726
jason [Thu, 23 Oct 2003 06:41:31 +0000 (06:41 +0000)]
    PR c++/12726
        * tree.c (build_target_expr_with_type): Don't call force_rvalue
        for CONSTRUCTORs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72837 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 Chris Demetriou <cgd@broadcom.com>
cgd [Thu, 23 Oct 2003 05:37:44 +0000 (05:37 +0000)]
2003-10-22  Chris Demetriou  <cgd@broadcom.com>

        * configure.in: In --enable-generated-files-in-srcdir option
        handling, fix default case handling.
        * configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72836 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-23 Phil Edwards <phil@codesourcery.com>
pme [Thu, 23 Oct 2003 05:33:49 +0000 (05:33 +0000)]
2003-10-23  Phil Edwards  <phil@codesourcery.com>

* config/os/vxworks/ctype_noninline.h:  Adjust ctor to match
2003-10-21 change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72835 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 Phil Edwards <phil@codesourcery.com>
pme [Thu, 23 Oct 2003 05:16:56 +0000 (05:16 +0000)]
2003-10-22  Phil Edwards  <phil@codesourcery.com>

* config.gcc:  Update *-*-vxworks* generic hook and comments.
(arm-wrs-vxworks, i[4567]86-wrs-vxworks, mips-wrs-vxworks,
mips-wrs-windiss, sh-wrs-vxworks):  New stanzas.
* genmultilib:  Allow the MULTILIB_OSDIRNAMES to be mapped directly.
* config/svr4.h (SWITCH_TAKES_ARG):  Undefine it before redefining it.
* config/windiss.h:  New file.
* config/arm/t-vxworks:  New file.
* config/arm/vxworks.h:  New file.
* config/i386/t-vxworks:  New file.
* config/i386/vxworks.h:  New file.
* config/mips/t-vxworks:  New file.
* config/mips/vxworks.h:  New file.
* config/mips/windiss.h:  New file.
* config/sh/t-vxworks:  New file.
* config/sh/vxworks.h:  New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72834 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Thu, 23 Oct 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72831 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * call.c: Fix comment formatting.
kazu [Wed, 22 Oct 2003 23:42:47 +0000 (23:42 +0000)]
* call.c: Fix comment formatting.
* class.c: Likewise.
* cxx-pretty-print.c: Likewise.
* init.c: Likewise.
* parser.c: Likewise.
* pt.c: Likewise.
* semantics.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise.
* typeck2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72828 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/h8300.c (h8300_output_function_epilogue): Remove.
kazu [Wed, 22 Oct 2003 23:21:14 +0000 (23:21 +0000)]
* config/h8300/h8300.c (h8300_output_function_epilogue): Remove.
(h8300_saveall_function_p): New.
(h8300_insert_attributes): Insert the saveall attribute if
#pragma saveall is specified.
(h8300_attribute_table): Add saveall.
(TARGET_ASM_FUNCTION_EPILOGUE): Remove.
* doc/extend.texi: Mention the saveall attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72827 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoinclude:
jsm28 [Wed, 22 Oct 2003 22:28:39 +0000 (22:28 +0000)]
include:
* obstack.h: Merge the following change from gnulib:
2003-10-21  Paul Eggert  <eggert@twinsun.com>
* obstack.h (obstack_1grow_fast): Properly parenthesize arg.
(obstack_ptr_grow_fast, obstack_int_grow_fast):
Don't use lvalue casts, as GCC plans to remove support for them
in GCC 3.5.  Reported by Joseph S. Myers.  This bug
was also present in the non-GCC version, indicating that this
code had always been buggy and had never been widely used.
(obstack_1grow, obstack_ptr_grow, obstack_int_grow, obstack_blank):
Use the fast variant of each macro, rather than copying the
definiens of the fast variant; that way, we'll be more likely to
catch future bugs in the fast variants.

gcc:
* c-typeck.c (pedantic_lvalue_warning): Unconditionally warn of
deprecation of casts as lvalues.
* fixinc/inclhack.def (obstack_lvalue_cast): New fix.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/obstack.h: New test.

gcc/testsuite:
* gcc.dg/cast-lvalue-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72826 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 22 Oct 2003 21:53:21 +0000 (21:53 +0000)]
2003-10-22  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (__int_to_char): Remove
the const int parameter.
(_M_insert_int): Update caller.
* src/locale-inst.cc (__int_to_char): Update instantiations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72825 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
dannysmith [Wed, 22 Oct 2003 21:34:51 +0000 (21:34 +0000)]
* sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.

* ctrl_c.c (__gnat_int_handler): Remove declaration.

* decl.c (creat_concat_name):  Const-ify prefix.

* adaint.c: Include ctype.h if __MINGW32__.
(__gnat_readlink): Mark arguments as possibly unused.
(__gnat_symlink): Likewise.
(__gnat_is_symbolic_link): Likewise.
(__gnat_portable_spawn): Likewise.  Cast last arg of spawnvp to match
declaration
(__gnat_file_time_name): Don't declare struct stat statbuf when
not needed.
(__gnat_is_absolute_path): Add parenthesis around condition of
'if' statement to avoid warning.
(__gnat_plist_init): Specify void as parameter.
(plist_enter): Likewise.
(plist_leave): Likewise.
(remove_handle): Make static. Initialize prev.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72824 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR target/12676
schwab [Wed, 22 Oct 2003 21:27:27 +0000 (21:27 +0000)]
PR target/12676
* config/m68k/m68k.c (output_addsi3): Fix range check to work on
LP64 platforms.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72823 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * dwarf2out.c (dwarf2out_abstract_function): Use DW_AT to check presence of DW_AT_in...
hubicka [Wed, 22 Oct 2003 20:20:19 +0000 (20:20 +0000)]
* dwarf2out.c (dwarf2out_abstract_function): Use DW_AT to check presence of DW_AT_inline.
(gen_subprogram_die): Likewise; do not abort instead of emitting DW_AT_not_inline

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72821 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR libgcj/12416:
tromey [Wed, 22 Oct 2003 19:29:27 +0000 (19:29 +0000)]
PR libgcj/12416:
* java/lang/Class.h: Updated.
* java/lang/natClass.cc (_getFields): Removed.
(getFields): Likewise.
(getDeclaredFields): Added `public_only' parameter.
* java/lang/Class.java (getFields): Now implemented in java; from
Classpath.
(getDeclaredFields): Likewise.
(getDeclaredFields(boolean)): Declare.
(_getFields): Removed.
(internalGetFields): New method, from Classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72818 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR libgcj/12416:
tromey [Wed, 22 Oct 2003 19:28:15 +0000 (19:28 +0000)]
PR libgcj/12416:
* libjava.lang/PR12416.out: New file.
* libjava.lang/PR12416.java: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72817 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cgraph.c (cgraph_function_possibly_inlined_p): Be conservative when
hubicka [Wed, 22 Oct 2003 19:18:03 +0000 (19:18 +0000)]
* cgraph.c (cgraph_function_possibly_inlined_p): Be conservative when
global info is not ready.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72816 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 22 Oct 2003 18:58:35 +0000 (18:58 +0000)]
2003-10-22  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.h: Correct byname facets for "C"
locale.
* config/locale/generic/ctype_members.cc: Same.
* config/locale/generic/messages_members.h: Same.
* config/locale/gnu/ctype_members.cc: Same.
* config/locale/gnu/messages_members.h: Same.
* include/bits/codecvt.h: Same.
* src/ctype.cc: Same.
* testsuite/22_locale/codecvt_byname/1.cc: New.
* testsuite/22_locale/collate/1.cc: Edit.
* testsuite/22_locale/collate_byname/1.cc: Derivation tests, move to...
* testsuite/22_locale/collate_byname/named_equivalence.cc: ...here.
* testsuite/22_locale/ctype/1.cc: Derivation tests.
* testsuite/22_locale/ctype/11844.cc: Move...
* testsuite/22_locale/ctype_base/11844.cc: ...here.
* testsuite/22_locale/ctype_base/1.cc: Move mask bits here.
* testsuite/22_locale/ctype_byname/1.cc: Name.
* testsuite/22_locale/messages_byname/1.cc: New.
* testsuite/22_locale/messages_byname/named_equivalence.cc: New.
* testsuite/22_locale/moneypunct_byname/1.cc: Derivation test.
* testsuite/22_locale/moneypunct_byname/named_equivalence.cc: New.
* testsuite/22_locale/numpunct/1.cc: Edit.
* testsuite/22_locale/numpunct_byname/2.cc: Move...
* testsuite/22_locale/numpunct/members/char/3.cc: ...here.
* testsuite/22_locale/numpunct_byname/1.cc: Derivation tests.
* testsuite/22_locale/numpunct_byname/named_equivalence.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72814 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/extend.texi: Mention H8S wherever H8/300H is mentioned.
kazu [Wed, 22 Oct 2003 18:22:09 +0000 (18:22 +0000)]
* doc/extend.texi: Mention H8S wherever H8/300H is mentioned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72813 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * jcf-write.c: Follow spelling conventions.
kazu [Wed, 22 Oct 2003 18:06:38 +0000 (18:06 +0000)]
* jcf-write.c: Follow spelling conventions.
* parse.y: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72812 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR libgcj/12656:
tromey [Wed, 22 Oct 2003 18:05:57 +0000 (18:05 +0000)]
PR libgcj/12656:
* gnu/gcj/runtime/natFirstThread.cc (call_main): Use
_Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72811 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR libgcj/12656:
tromey [Wed, 22 Oct 2003 18:04:35 +0000 (18:04 +0000)]
PR libgcj/12656:
* libjava.lang/PR12656.java: New file.
* libjava.lang/PR12656.out: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72810 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * ChangeLog: Fix typos.
kazu [Wed, 22 Oct 2003 18:00:06 +0000 (18:00 +0000)]
* ChangeLog: Fix typos.
* expr.c: Fix comment typos.
* jcf-write.c: Likewise.
* lang.c: Likewise.
* lex.c: Likewise.
* mangle.c: Likewise.
* parse-scan.y: Likewise.
* parse.y: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72809 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 David Daney <ddaney@avtrex.com)
daney [Wed, 22 Oct 2003 16:35:17 +0000 (16:35 +0000)]
2003-10-22  David Daney  <ddaney@avtrex.com)

* include/mips-signal.h: New file.
* sysdep/dwarf2-backtrace.cc: New file.
* sysdep/mips: New directory.
* sysdep/mips/locks.h: New file.
* Makefile.am(extra_cc_files): New, to allow extra c++ files to be
added to libgcj.
(extra_cc_source_files): Ditto.
* configure.host(disable_dladdr):  New shell variable passed to
configure.
(mips*-*-linux*): sysdeps_dir=mips,
can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
(mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
* configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
(HAVE_DLADDR): Make it depend on setting of disable_dladdr.
(EXTRA_CC_FILES): New, to support conditional addition of
sysdep/dwarf2-backtrace.cc.
* configure: Regenerated.
* Makefile.in: Regenerated.
* gcj/Makefile.in: Regenerated.
* include/config.h.in: Regenerated.
* include/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72808 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/s390/s390.md ("movstr_short_64", "movstr_short_31"): Merge ...
uweigand [Wed, 22 Oct 2003 16:19:54 +0000 (16:19 +0000)]
* config/s390/s390.md ("movstr_short_64", "movstr_short_31"): Merge ...
("*movstr_short"): ... into this insn pattern.
("movstr_short"): New expander.
("*movstr_long_64"): Rename from "movstr_long_64", simplify.
("*movstr_long_31"): Rename from "movstr_long_31", simplify.
("movstr_long"): New expander.
("clrstr_short_64", "clrstr_short_31"): Merge ...
("*clrstr_short"): ... into this insn pattern.
("clrstr_short"): New expander.
("*clrstr_long_64"): Rename from "clrstr_long_64", simplify.
("*clrstr_long_31"): Rename from "clrstr_long_31", simplify.
("clrstr_long"): New expander.
("cmpmem_short_64", "cmpmem_short_31"): Merge ...
("*cmpmem_short"): ... into this insn pattern.
("cmpmem_short"): New expander.
("*cmpmem_long_64"): Rename from "cmpmem_long_64".
("*cmpmem_long_31"): Rename from "cmpmem_long_31".
("cmpmem_long"): New expander.
* config/s390/s390.c (s390_expand_movstr): Use new expanders.
(s390_expand_clrstr): Likewise.
(s390_expand_cmpmem): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72807 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 22 Oct 2003 15:51:55 +0000 (15:51 +0000)]
2003-10-22  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/8610
* acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro,
checking for the availability of int64_t.
(GLIBCXX_CHECK_LFS): New macro, checking for LFS support.
* configure.ac: Call here.
* acconfig.h: Add undef for the corresponding symbols.
* config/io/basic_file_stdio.cc (__basic_file<char>::open):
Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen.
(__basic_file<char>::seekoff): Likewise, call lseek64 when
available, otherwise lseek, checking the __off parameter.
* include/bits/postypes.h: Typedef __streamoff_base_type
to int64_t if available, otherwise long long.
* aclocal.m4: Regenerate.
* config.h.in: Likewise.
* configure: Likewise.

* acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV):
Use AC_TRY_LINK instead of AC_TRY_COMPILE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72806 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * expr.c (expand_byte_code): Only warn about dead bytecode when
tromey [Wed, 22 Oct 2003 15:44:52 +0000 (15:44 +0000)]
* expr.c (expand_byte_code): Only warn about dead bytecode when
extra_warnings is set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72805 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-pch.c (struct c_pch_validity): Add pch_init field.
mmitchel [Wed, 22 Oct 2003 15:44:44 +0000 (15:44 +0000)]
* c-pch.c (struct c_pch_validity): Add pch_init field.
(pch_init): Set it.
(c_common_valid_pch): Check it.
(get_ident): Bump the PCH version number.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72804 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 22 Oct 2003 15:44:19 +0000 (15:44 +0000)]
2003-10-22  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/12657
* include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
Implement resolution of DR 292 (WP).
* docs/html/ext/howto.html: Add entry for DR 292.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72803 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 David Daney <ddaney@avtrex.com>
daney [Wed, 22 Oct 2003 15:32:13 +0000 (15:32 +0000)]
2003-10-22  David Daney  <ddaney@avtrex.com>

* src/mips/ffitarget.h: Replace undefined UINT32 and friends with
__attribute__((__mode__(__SI__))) and friends.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72802 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in: Disable build of gnatpsta. PR ada/10110.
charlet [Wed, 22 Oct 2003 15:27:19 +0000 (15:27 +0000)]
* Makefile.in: Disable build of gnatpsta. PR ada/10110.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72801 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in: Disable build of gnatpa. PR ada/10110.
charlet [Wed, 22 Oct 2003 15:13:11 +0000 (15:13 +0000)]
* Makefile.in: Disable build of gnatpa. PR ada/10110.
* cstreams.c (__gnat_full_name): Minor improvements and clean up
of previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72800 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR debug/12500
jason [Wed, 22 Oct 2003 14:28:09 +0000 (14:28 +0000)]
    PR debug/12500
        * dbxout.c (dbxout_typedefs): Use COMPLETE_OR_VOID_TYPE_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72798 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * src/ia64/ffi.c: Replace FALSE/TRUE with false/true.
schwab [Wed, 22 Oct 2003 13:57:12 +0000 (13:57 +0000)]
* src/ia64/ffi.c: Replace FALSE/TRUE with false/true.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72797 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/alpha/alpha.c (function_value [ENABLE_CHECKING]): Don't call
kenner [Wed, 22 Oct 2003 12:12:15 +0000 (12:12 +0000)]
* config/alpha/alpha.c (function_value [ENABLE_CHECKING]): Don't call
alpha_return_in_memory if no VALTYPE specified.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72796 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR debug/12389
hubicka [Wed, 22 Oct 2003 11:58:10 +0000 (11:58 +0000)]
PR debug/12389
* Makefile.in (dwarf2out.o): Depend on cgraph.h.
* cgraph.c (cgraph_function_possibly_inlined_p): New function.
* cgraph.h (cgraph_function_possibly_inlined_p): Declare.
(cgraph_global_info): Add flag inlined
* dwarf2out.c (gen_subprogram_die, gen_decl_die): Use
cgraph_function_possibly_inded_p
* cgraphunit.c (mark_inline): Set inlined flag.
* toplev.c (rest_of_decl_compilation): Call outlining_inline_function
only for possibly inlined functions.
* c-decl.c (duplicate_decls): Never output abstract DIE representing old
body of function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72795 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * tracebak.c (MAX): Avoid redefinition warning.
ro [Wed, 22 Oct 2003 11:34:08 +0000 (11:34 +0000)]
* tracebak.c (MAX): Avoid redefinition warning.

* init.c [sgi] (__gnat_error_handler): Remove i, unused.
Change msg to const char *.
(__gnat_install_handler): Remove ss, unused.
[sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
to const char *.
* cstreams.c (__gnat_full_name): Declare p only when used.
(__gnat_full_name) [sgi] Return buffer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72794 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 Andrew Haley <aph@redhat.com>
aph [Wed, 22 Oct 2003 09:50:06 +0000 (09:50 +0000)]
2003-10-22  Andrew Haley  <aph@redhat.com>

* varasm.c (output_constructor): Make constructor annotation
conditional on ASM_COMMENT_START.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72793 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 Arnaud Charlet <charlet@act-europe.fr>
charlet [Wed, 22 Oct 2003 09:28:08 +0000 (09:28 +0000)]
2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>

* gnat_wrapper.adb: New file.

2003/10/22  Jerome Roussel  <roussel@act-europe.fr>

* g-regpat.ads, g-regpat.adb (Match): new function, to know if a
string match a pre compiled regular expression (the corresponding
version of the function working on a raw regular expression)
Fix typos in various comments
Update copyright notice in spec

2003/10/21  Gary Dismukes  <dismukes@gnat.com>

* exp_ch3.adb:
(Component_Needs_Simple_Initialization): Return False when the type is a
packed bit array. Revise spec comments to document this case.

* exp_prag.adb:
(Expand_Pragma_Import): Set any expression on the imported object to
empty to avoid initializing imported objects (in particular this
covers the case of zero-initialization of bit arrays).
Update copyright notice.

2003/10/21  Ed Schonberg  <schonberg@gnat.com>

* sem_ch12.adb:
(Load_Parent_Of_Generic): If parent is compilation unit, stop search,
a subunit is missing.
(Instantiate_Subprogram_Body): If body of function is missing, set type
of return expression explicitly in dummy body, to prevent cascaded
errors when a subunit is missing.
Fixes PR 5677.

* sem_ch3.adb:
(Access_Subprogram_Declaration): Verify that return type is valid.
Fixes PR 8693.

* sem_elab.adb:
(Check_Elab_Calls): Do not apply elaboration checks if the main unit is
generic.
Fixes PR 12318.

* sem_util.adb:
(Corresponding_Discriminant): If the scope of the discriminant is a
private type without discriminant, use its full view.
Fixes PR 8247.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72792 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 Sascha Brawer <brawer@dandelis.ch>
mkoch [Wed, 22 Oct 2003 08:54:19 +0000 (08:54 +0000)]
2003-10-22  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.

2003-10-22  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
* java/awt/geom/doc-files: New directory.
* java/awt/geom/doc-files/QuadCurve2D-1.png,
java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.

2003-10-22  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/geom/QuadCurve2D.java (subdivide): Implement.

2003-10-22  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72791 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 22 Oct 2003 08:47:12 +0000 (08:47 +0000)]
2003-10-22  Michael Koch  <konqueror@gmx.de>

* java/io/File.java
(equals): Removed redundant obj == null check.
(createTempFile): Merged comments from classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72790 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-22 Arnaud Charlet <charlet@act-europe.fr>
charlet [Wed, 22 Oct 2003 07:59:32 +0000 (07:59 +0000)]
2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>

* mingw32.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72789 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * tree.c (get_unwidened): Check TREE_UNSIGNED on the field's type.
jason [Wed, 22 Oct 2003 02:19:38 +0000 (02:19 +0000)]
    * tree.c (get_unwidened): Check TREE_UNSIGNED on the field's type.
        (get_narrower): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72787 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * stor-layout.c (layout_decl): Do packed field alignment for
jason [Wed, 22 Oct 2003 02:14:36 +0000 (02:14 +0000)]
    * stor-layout.c (layout_decl): Do packed field alignment for
        bit-fields, too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72786 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/11962
mmitchel [Wed, 22 Oct 2003 02:08:47 +0000 (02:08 +0000)]
PR c++/11962
* typeck.c (build_x_conditional_expr): Handle missing middle
operands in templates.
* mangle.c (write_expression): Issue errors about attempts to
mangle a non-existant middle operator to the ?: operator.

PR c++/11962
* g++.dg/template/cond2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72785 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
kcook [Wed, 22 Oct 2003 02:03:11 +0000 (02:03 +0000)]
* Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
(lex.o): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72784 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-21 Eric Christopher <echristo@redhat.com>
echristo [Wed, 22 Oct 2003 00:18:11 +0000 (00:18 +0000)]
2003-10-21  Eric Christopher  <echristo@redhat.com>

* expr.c (convert_move): Use FLOAT_EXTEND for extensions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72783 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Wed, 22 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72781 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago Fix for PR java/12586.
bryce [Tue, 21 Oct 2003 23:59:46 +0000 (23:59 +0000)]
    Fix for PR java/12586.
        * mangle.c (find_compression_record_match): Don't iterate through
        package namespace elements unless they all match compression_table
        entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72779 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Make-lang.in (parse.o): Honor $(parsedir).
kcook [Tue, 21 Oct 2003 23:58:31 +0000 (23:58 +0000)]
* Make-lang.in (parse.o): Honor $(parsedir).
(lex.o): Likewise.
(lex.c): Likewise
(parse.c, parse.h): Likewise.
($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
(dvi): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72778 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoCheck that asm specs are handled correctly in structure and class field declarations.
bowdidge [Tue, 21 Oct 2003 23:45:26 +0000 (23:45 +0000)]
Check that asm specs are handled correctly in structure and class field declarations.
Correct behavior is that these are permitted on static fields (because only one
instance exists) and are not permitted on non-static fields.  In the case of
static fields, check to make sure the assembler output shows the aliased name
somewhere.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72777 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Make-lang.in (f/g77.1): Honor $(docobjdir).
kcook [Tue, 21 Oct 2003 23:45:05 +0000 (23:45 +0000)]
* Make-lang.in (f/g77.1): Honor $(docobjdir).
($(docobjdir)/g77.info): Replace $(srcdir)/doc with $(docdir).
(f/g77.dvi): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72776 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* cp/decl.c (cp_finish_decl): Remove clause intended for asm
bowdidge [Tue, 21 Oct 2003 23:41:53 +0000 (23:41 +0000)]
* cp/decl.c (cp_finish_decl): Remove clause intended for asm
  directives in struct or class fields: this code is never executed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72775 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-pch.c: Add comments in various places.
geoffk [Tue, 21 Oct 2003 23:28:05 +0000 (23:28 +0000)]
* c-pch.c: Add comments in various places.
(struct c_pch_validity): Add the lengths of various strings.
(host_machine): New static.
(target_machine): New static.
(get_ident): Bump version number.
(pch_init): Write out version, host, target validity data.
(c_common_valid_pch): Check version, host, target.
* Makefile.in (c-pch.o): Add version.h; define HOST_MACHINE and
TARGET_MACHINE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72774 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * tree.h (IS_EXPR_CODE_CLASS): Use strchr.
jason [Tue, 21 Oct 2003 22:14:53 +0000 (22:14 +0000)]
    * tree.h (IS_EXPR_CODE_CLASS): Use strchr.
        (EXPR_P): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72773 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/ia64/ia64.md (cmpxchg_acq_si): Mark operand 3 as DImode.
zack [Tue, 21 Oct 2003 21:22:42 +0000 (21:22 +0000)]
* config/ia64/ia64.md (cmpxchg_acq_si): Mark operand 3 as DImode.
* config/ia64/ia64.c (ia64_expand_fetch_and_op,
ia64_expand_op_and_fetch): Make sure the REG for ar.ccv is
DImode.   Use convert_move to load ar.ccv.
(ia64_expand_compare_and_swap): Likewise.
If expand_expr doesn't put 'old' and 'new' in the proper
modes, run them through convert_to_mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72770 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-21 Eric Christopher <echristo@redhat.com>
echristo [Tue, 21 Oct 2003 20:22:49 +0000 (20:22 +0000)]
2003-10-21  Eric Christopher  <echristo@redhat.com>

* config/frv/frv.c (frv_adjust_field_align): Check DECL_ARTIFICIAL
for too large bitfields.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72769 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoremove unnecessary files.
andreast [Tue, 21 Oct 2003 19:08:55 +0000 (19:08 +0000)]
remove unnecessary files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72768 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agocommit missing adds.
andreast [Tue, 21 Oct 2003 19:07:52 +0000 (19:07 +0000)]
commit missing adds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72767 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-21 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Tue, 21 Oct 2003 19:01:58 +0000 (19:01 +0000)]
2003-10-21  Andreas Tobler  <a.tobler@schweiz.ch>

* configure.in: AC_LINK_FILES(ffitarget.h).
* configure: Regenerate.
* Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* fficonfig.h.in: Likewise.

2003-10-21  Paolo Bonzini  <bonzini@gnu.org>
    Richard Henderson  <rth@redhat.com>

Avoid that ffi.h includes fficonfig.h.

* Makefile.am (EXTRA_DIST): Include ffitarget.h files
(TARGET_SRC_MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
(TARGET_SRC_MIPS_SGI): Removed.
(MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
(MIPS_SGI): Removed.
(CLEANFILES): Removed.
(mostlyclean-am, clean-am, mostlyclean-sub, clean-sub): New
targets.
* acconfig.h: Removed.
* configure.in: Compute sizeofs only for double and long double.
Use them to define and subst HAVE_LONG_DOUBLE.  Include comments
into AC_DEFINE instead of using acconfig.h.  Create
include/ffitarget.h instead of include/fficonfig.h.  Rename
MIPS_GCC to MIPS_IRIX, drop MIPS_SGI since we are in gcc's tree.
AC_DEFINE EH_FRAME_FLAGS.
* include/Makefile.am (DISTCLEANFILES): New automake macro.
(hack_DATA): Add ffitarget.h.
* include/ffi.h.in: Remove all system specific definitions.
Declare raw API even if it is not installed, why bother?
Use limits.h instead of SIZEOF_* to define ffi_type_*.  Do
not define EH_FRAME_FLAGS, it is in fficonfig.h now.  Include
ffitarget.h instead of fficonfig.h.  Remove ALIGN macro.
(UINT_ARG, INT_ARG): Removed, use ffi_arg and ffi_sarg instead.
* include/ffi_common.h (bool): Do not define.
(ffi_assert): Accept failed assertion.
(ffi_type_test): Return void and accept file/line.
(FFI_ASSERT): Pass stringized failed assertion.
(FFI_ASSERT_AT): New macro.
(FFI_ASSERT_VALID_TYPE): New macro.
(UINT8, SINT8, UINT16, SINT16, UINT32, SINT32,
UINT64, SINT64): Define here with gcc's __attribute__ macro
instead of in ffi.h
(FLOAT32, ALIGN): Define here instead of in ffi.h
* include/ffi-mips.h: Removed.  Its content moved to
src/mips/ffitarget.h after separating assembly and C sections.
* src/alpha/ffi.c, src/alpha/ffi.c, src/java_raw_api.c
src/prep_cif.c, src/raw_api.c, src/ia64/ffi.c,
src/mips/ffi.c, src/mips/n32.S, src/mips/o32.S,
src/mips/ffitarget.h, src/sparc/ffi.c, src/x86/ffi64.c:
SIZEOF_ARG -> FFI_SIZEOF_ARG.
* src/ia64/ffi.c: Include stdbool.h (provided by GCC 2.95+).
* src/debug.c (ffi_assert): Accept stringized failed assertion.
(ffi_type_test): Rewritten.
* src/prep-cif.c (initialize_aggregate, ffi_prep_cif): Call
FFI_ASSERT_VALID_TYPE.
* src/alpha/ffitarget.h, src/arm/ffitarget.h,
src/ia64/ffitarget.h, src/m68k/ffitarget.h,
src/mips/ffitarget.h, src/powerpc/ffitarget.h,
src/s390/ffitarget.h, src/sh/ffitarget.h,
src/sh64/ffitarget.h, src/sparc/ffitarget.h,
src/x86/ffitarget.h: New files.
* src/alpha/osf.S, src/arm/sysv.S, src/ia64/unix.S,
src/m68k/sysv.S, src/mips/n32.S, src/mips/o32.S,
src/powerpc/aix.S, src/powerpc/darwin.S,
src/powerpc/ffi_darwin.c, src/powerpc/linux64.S,
src/powerpc/linux64_closure.S, src/powerpc/ppc_closure.S,
src/powerpc/sysv.S, src/s390/sysv.S, src/sh/sysv.S,
src/sh64/sysv.S, src/sparc/v8.S, src/sparc/v9.S,
src/x86/sysv.S, src/x86/unix64.S, src/x86/win32.S:
include fficonfig.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72766 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 21 Oct 2003 18:01:37 +0000 (18:01 +0000)]
2003-10-21  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/mt_allocator.h: Change include to gthr.h.
* include/ext/rope: Same. Add _Refcount_base definitions.
* include/ext/pool_allocator.h: Adjust namespaces.
* include/bits/stl_threads.h (_Refcount_base): Move.
Put remaining into namespace __gnu_cxx.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72763 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix typo in ChangeLog
mmitchel [Tue, 21 Oct 2003 17:36:59 +0000 (17:36 +0000)]
Fix typo in ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72762 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in ($(docobjdir)/%.info): Honor BUILD_INFO.
mmitchel [Tue, 21 Oct 2003 17:36:17 +0000 (17:36 +0000)]
* Makefile.in ($(docobjdir)/%.info): Honor BUILD_INFO.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72761 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * decl.c (start_decl): Exit if push_template_decl returns
lerdsuwa [Tue, 21 Oct 2003 17:05:47 +0000 (17:05 +0000)]
* decl.c (start_decl): Exit if push_template_decl returns
error_mark_node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72760 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-21 Andrew Haley <aph@redhat.com>
aph [Tue, 21 Oct 2003 15:32:27 +0000 (15:32 +0000)]
2003-10-21  Andrew Haley  <aph@redhat.com>

        * varasm.c (output_constructor): Annotate constructor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72759 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in ($(DESTDIR)$(infodir)/%.info): Conditionalize chmod
mmitchel [Tue, 21 Oct 2003 15:18:25 +0000 (15:18 +0000)]
* Makefile.in ($(DESTDIR)$(infodir)/%.info): Conditionalize chmod
on existence of destination file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72758 138bc75d-0d04-0410-961f-82ee72b054a4