OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * langhooks.c: Include langhooks.h.
rth [Thu, 11 Oct 2001 06:50:50 +0000 (06:50 +0000)]
    * langhooks.c: Include langhooks.h.
        * Makefile.in (langhooks.o): Depend on it.

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

22 years ago * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
ljrittle [Thu, 11 Oct 2001 06:07:50 +0000 (06:07 +0000)]
    * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
        * docs/html/23_containers/howto.html (Containers and multithreading):
        Update.

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

22 years ago * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
wehle [Thu, 11 Oct 2001 03:51:24 +0000 (03:51 +0000)]
* rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
should not be considered as a no-op.
* flow.c (delete_noop_moves): Handle REG_LIBCALL notes.

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

22 years ago2001-10-10 Stan Shebs <shebs@apple.com>
shebs [Thu, 11 Oct 2001 03:16:15 +0000 (03:16 +0000)]
2001-10-10  Stan Shebs  <shebs@apple.com>

        * alias.c: Remove uses of "register" specifier in declarations
        of arguments and local variables.
        * c-common.c: Ditto.
        * c-convert.c: Ditto.
        * c-decl.c: Ditto.
        * c-format.c: Ditto.
        * c-semantics.c: Ditto.
        * c-typeck.c: Ditto.
        * caller-save.c: Ditto.
        * calls.c: Ditto.
        * cfg.c: Ditto.
        * cfgbuild.c: Ditto.
        * cfgrtl.c: Ditto.
        * collect2.c: Ditto.
        * combine.c: Ditto.
        * convert.c: Ditto.
        * cppexp.c: Ditto.
        * cppfiles.c: Ditto.
        * cse.c: Ditto.
        * dbxout.c: Ditto.
        * defaults.h: Ditto.
        * df.c: Ditto.
        * dwarf2out.c: Ditto.
        * dwarfout.c: Ditto.
        * emit-rtl.c: Ditto.
        * explow.c: Ditto.
        * expmed.c: Ditto.
        * expr.c: Ditto.
        * final.c: Ditto.
        * fix-header.c: Ditto.
        * floatlib.c: Ditto.
        * flow.c: Ditto.
        * fold-const.c: Ditto.
        * function.c: Ditto.
        * gcc.c: Ditto.
        * gcse.c: Ditto.
        * gen-protos.c: Ditto.
        * genattrtab.c: Ditto.
        * gencheck.c: Ditto.
        * genconfig.c: Ditto.
        * genemit.c: Ditto.
        * genextract.c: Ditto.
        * genflags.c: Ditto.
        * gengenrtl.c: Ditto.
        * genoutput.c: Ditto.
        * genpeep.c: Ditto.
        * genrecog.c: Ditto.
        * gensupport.c: Ditto.
        * global.c: Ditto.
        * gmon.c: Ditto.
        * graph.c: Ditto.
        * haifa-sched.c: Ditto.
        * hard-reg-set.h: Ditto.
        * hash.c: Ditto.
        * integrate.c: Ditto.
        * jump.c: Ditto.
        * lists.c: Ditto.
        * local-alloc.c: Ditto.
        * loop.c: Ditto.
        * mips-tdump.c: Ditto.
        * mips-tfile.c: Ditto.
        * optabs.c: Ditto.
        * prefix.c: Ditto.
        * print-rtl.c: Ditto.
        * read-rtl.c: Ditto.
        * real.c: Ditto.
        * recog.c: Ditto.
        * reg-stack.c: Ditto.
        * regclass.c: Ditto.
        * regmove.c: Ditto.
        * reload.c: Ditto.
        * reload1.c: Ditto.
        * reorg.c: Ditto.
        * resource.c: Ditto.
        * rtl.c: Ditto.
        * rtlanal.c: Ditto.
        * scan.c: Ditto.
        * sched-deps.c: Ditto.
        * sched-rgn.c: Ditto.
        * sdbout.c: Ditto.
        * simplify-rtx.c: Ditto.
        * stmt.c: Ditto.
        * stor-layout.c: Ditto.
        * toplev.c: Ditto.
        * tradcif.y: Ditto.
        * tradcpp.c: Ditto.
        * tree.c: Ditto.
        * unroll.c: Ditto.
        * varasm.c: Ditto.
        * xcoffout.c: Ditto.

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

22 years ago * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
bosch [Thu, 11 Oct 2001 01:24:00 +0000 (01:24 +0000)]
* einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
is Flag174.

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

22 years ago * snames.ads: Add new names for project facility.
bosch [Thu, 11 Oct 2001 01:14:10 +0000 (01:14 +0000)]
* snames.ads: Add new names for project facility.

* snames.adb: Update to reflect snames.ads changes.

* snames.h: Update to reflect snames.ads changes.

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

22 years ago * rtl.h (can_reverse_comparison_p): Remove.
rth [Thu, 11 Oct 2001 01:09:45 +0000 (01:09 +0000)]
    * rtl.h (can_reverse_comparison_p): Remove.

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

22 years ago * make.adb:
bosch [Thu, 11 Oct 2001 01:02:03 +0000 (01:02 +0000)]
* make.adb:
(Add_Switches): reflect the changes for the switches attributes
Default_Switches indexed by the programming language,
Switches indexed by the file name.
(Collect_Arguments_And_Compile): Idem.
Reflect the attribute name changes.

* prj-attr.adb:
(Initialisation_Data): Change the names of some packages and
attributes.
(Initialize): process case insensitive associative arrays.

* prj-attr.ads:
(Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.

* prj-dect.adb:
(Parse_Attribute_Declaration): For case insensitive associative
 arrays, set the index string to lower case.

* prj-env.adb:
Reflect the changes of the project attributes.

* prj-nmsc.adb:
Replace Check_Naming_Scheme by Ada_Check and
Language_Independent_Check.

* prj-nmsc.ads:
Replaced Check_Naming_Scheme by 2 procedures:
Ada_Check and Language_Independent_Check.

* prj-proc.adb:
(Process_Declarative_Items): For case-insensitive associative
arrays, set the index string to lower case.
(Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
Prj.Nmsc.Check_Naming_Scheme.

* prj-tree.adb:
(Case_Insensitive): New function
(Set_Case_Insensitive): New procedure

* prj-tree.ads:
(Case_Insensitive): New function
(Set_Case_Insensitive): New procedure
(Project_Node_Record): New flag Case_Insensitive.

* prj-util.adb:
(Value_Of): new function to get the string value of a single
string variable or attribute.

* prj-util.ads:
(Value_Of): new function to get the string value of a single
string variable or attribute.

* prj.adb:
(Ada_Default_Spec_Suffix): New function
(Ada_Default_Impl_Suffix): New function
Change definitions of several constants to reflect
new components of record types.

* prj.ads:
(Naming_Data): Change several components to reflect new
elements of naming schemes.
(Project_Data): New flags Sources_Present and
Language_Independent_Checked.
(Ada_Default_Spec_Suffix): New function.
(Ada_Default_Impl_Suffix): New function.

* snames.ads:
Modification of predefined names for project manager: added
Implementation, Specification_Exceptions, Implementation_Exceptions,
Specification_Suffix, Implementation_Suffix, Separate_Suffix,
Default_Switches, _Languages, Builder, Cross_Reference,
Finder. Removed Body_Part, Specification_Append, Body_Append,
Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
Gnatlink.

* prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
Add comments.

* prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
not that it is Nil_Variable_Value.

* prj.ads: Add ??? for uncommented declarations

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

22 years ago * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
bosch [Thu, 11 Oct 2001 00:19:12 +0000 (00:19 +0000)]
* sem_prag.adb: (Analyze_Pragma, case External): If entity is a
constant, do not indicate possible modification, so that gigi can
treat it as a bona fide constant.

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

22 years ago * sem_prag.adb: Add processing for pragma External.
bosch [Thu, 11 Oct 2001 00:00:06 +0000 (00:00 +0000)]
* sem_prag.adb: Add processing for pragma External.

* snames.ads: Add entry for pragma External.

* par-prag.adb: Add pragma External.

* snames.adb: Updated to match snames.ads.

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

22 years ago * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
bosch [Wed, 10 Oct 2001 23:03:17 +0000 (23:03 +0000)]
* exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
a dynamic task if the allocator appears in an indexed assignment
or selected component assignment.

* exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
For a dynamic task in an assignment statement, use target of
assignment to generate meaningful name.

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

22 years ago * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
bosch [Wed, 10 Oct 2001 22:46:39 +0000 (22:46 +0000)]
* einfo.adb (Write_Field19_Name): Body_Entity is also defined for
a generic package.

* einfo.ads: Body_Entity is also defined for generic package.
Documentation change only

* exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
others_choice for a discriminated component initialization,
convert discriminant references into the corresponding discriminals.

* exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
only if original type is private and expression has to be wrapped
in a conversion.

* checks.adb:
(Apply_Constraint_Check): Do not perform length check
if expression is an aggregate with only an others_choice.
(Length_N_Cond): two references to the same in_parameter
(typically the discriminal in an init_proc) denote the same value.
Two useful optimization uncovered by bugfixes above.

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

22 years ago * xeinfo.adb: Change int to char in translation of enumeration types.
bosch [Wed, 10 Oct 2001 22:27:31 +0000 (22:27 +0000)]
* xeinfo.adb: Change int to char in translation of enumeration types.
This fixes a problem in the C representation of component alignment.
Add 2001 to copyright notice

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

22 years ago * gnu/gcj/runtime/natFinalizerThread.cc: New file.
tromey [Wed, 10 Oct 2001 22:25:43 +0000 (22:25 +0000)]
* gnu/gcj/runtime/natFinalizerThread.cc: New file.
* java/lang/natRuntime.cc: Include FinalizerThread.h.
(runFinalization): Call finalizerReady.
* nogc.cc (_Jv_GCInitializeFinalizers): New function.
* prims.cc: Include VirtualMachineError.h, FinalizerThread.h.
(_Jv_CreateJavaVM): Start the finalizer thread.
* no-threads.cc: Include InternalError.h.
(_Jv_ThreadStart): Throw InternalError.
(_Jv_ThreadInitData): Don't throw error if this is not the first
thread.
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Added
FinalizerThread.java.
(nat_source_files): Added natFinalizerThread.cc.
* include/jvm.h (_Jv_GCInitializeFinalizers): Declare.
* boehm.cc (_Jv_GCInitializeFinalizers): New function.
* gnu/gcj/runtime/FirstThread.java (run): Start finalizer thread.
* gnu/gcj/runtime/FinalizerThread.java: New file.

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

22 years ago * decl.c: (validate_size): Do check size of object of integral type
bosch [Wed, 10 Oct 2001 22:01:14 +0000 (22:01 +0000)]
* decl.c: (validate_size): Do check size of object of integral type
if it is a packed array type.

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

22 years ago* config/i386/cygwin.h: Avoid adding include files if -nostdinc is used.
cgf [Wed, 10 Oct 2001 21:57:20 +0000 (21:57 +0000)]
* config/i386/cygwin.h: Avoid adding include files if -nostdinc is used.
* config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
(Thanks to Chris Faylor for suggesting macro name).
(CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more WIN32
defines.
(STANDARD_INCLUDE_DIR): Remove i386- from directory name.
(STANDARD_INCLUDE_COMPONENT): Change to MINGW.
(MATH_LIBRARY): Undef before definition.
(OUTPUT_QUOTED_STRING): Likewise.
* config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.

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

22 years ago * decl.c: (gnat_to_gnu_entity, case object): Also materialize
bosch [Wed, 10 Oct 2001 21:48:38 +0000 (21:48 +0000)]
* decl.c: (gnat_to_gnu_entity, case object): Also materialize
VAR_DECL for constant if not Is_Public but -O0.

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

22 years ago * misc.c (struct lang_hooks): Add new initializer to match GCC change.
bosch [Wed, 10 Oct 2001 21:18:43 +0000 (21:18 +0000)]
* misc.c (struct lang_hooks): Add new initializer to match GCC change.

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

22 years ago * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
rth [Wed, 10 Oct 2001 19:53:29 +0000 (19:53 +0000)]
    * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
        (fde_unencoded_compare): Likewise.  Don't use subtraction to get
        a tristate comparison value.
        (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.

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

22 years ago 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Wed, 10 Oct 2001 19:04:09 +0000 (19:04 +0000)]
2001-10-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR c++/4512
* unroll.c (loop_iterations): Ignore insns generated by loop
unrolling.

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

22 years ago 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Wed, 10 Oct 2001 18:36:46 +0000 (18:36 +0000)]
2001-10-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* gcc.c-torture/compile/20011010-1.c: New.

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

22 years ago 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Wed, 10 Oct 2001 16:50:19 +0000 (16:50 +0000)]
2001-10-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config.gcc (mips*-*-gnu*): Delete support.
* config/mips/gnu.h: Remove.

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

22 years ago * MAINTAINERS (Various maintainers: Ada front end):
bosch [Wed, 10 Oct 2001 16:45:44 +0000 (16:45 +0000)]
* MAINTAINERS (Various maintainers: Ada front end):
Added Robert Dewar.

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

22 years ago Oops, committed early version of the testcase.
sirl [Wed, 10 Oct 2001 16:35:56 +0000 (16:35 +0000)]
Oops, committed early version of the testcase.

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

22 years ago * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
bosch [Wed, 10 Oct 2001 14:48:53 +0000 (14:48 +0000)]
* xnmake.adb (XNmake): Fix handling of -s/-b options.  No longer
use '/' as switch character, allowing for absolute file names.

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

22 years ago * calls.c: Fix formatting.
kazu [Wed, 10 Oct 2001 11:33:39 +0000 (11:33 +0000)]
* calls.c: Fix formatting.
* c-decl.c: Likewise.
* cfgcleanup.c: Likewise.
* combine.c: Likewise.
* cppfiles.c: Likewise.
* cpplib.c: Likewise.
* cppmacro.c: Likewise.
* crtstuff.c: Likewise.
* cse.c: Likewise.
* dwarf2out.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* fold-const.c: Likewise.
* function.c: Likewise.
* gcse.c: Likewise.
* genattrtab.c: Likewise.
* ggc-page.c: Likewise.
* integrate.c: Likewise.
* libgcc2.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
* profile.c: Likewise.
* protoize.c: Likewise.
* real.c: Likewise.
* recog.c: Likewise.
* reload1.c: Likewise.
* reload.c: Likewise.
* reorg.c: Likewise.
* resource.c: Likewise.
* sched-rgn.c: Likewise.
* sdbout.c: Likewise.
* stmt.c: Likewise.
* toplev.c: Likewise.
* varasm.c: Likewise.

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

22 years agoDaily bump.
gccadmin [Wed, 10 Oct 2001 07:16:18 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago* langhooks.c: Include rtl.h, insn-config.h and integrate.h.
aoliva [Wed, 10 Oct 2001 07:02:22 +0000 (07:02 +0000)]
* langhooks.c: Include rtl.h, insn-config.h and integrate.h.
* Makefile.in (langhooks.o): Add dependencies.

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

22 years ago * rs6000.c (rs6000_emit_load_toc_table): Don't
wehle [Wed, 10 Oct 2001 04:43:56 +0000 (04:43 +0000)]
* rs6000.c (rs6000_emit_load_toc_table): Don't
strdup the toc label.
(create_TOC_reference): Likewise.

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

22 years ago* config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
dj [Wed, 10 Oct 2001 00:27:21 +0000 (00:27 +0000)]
* config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
version default.

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

22 years ago* config/i386/i386.c (ix86_attribute_table): Correct
dj [Wed, 10 Oct 2001 00:20:11 +0000 (00:20 +0000)]
* config/i386/i386.c (ix86_attribute_table): Correct
min_len, max_len fields for dllimport, dllexport and shared.

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

22 years ago * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
jsm28 [Tue, 9 Oct 2001 23:33:57 +0000 (23:33 +0000)]
* bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
* strtod.c: Use "ISO C" instead of "ANSI C".
* functions.texi: Regenerate.

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

22 years ago * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
jsm28 [Tue, 9 Oct 2001 23:11:55 +0000 (23:11 +0000)]
* doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
Consistently use "nonzero" instead of "non-zero".

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

22 years ago2001-10-09 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Tue, 9 Oct 2001 22:55:35 +0000 (22:55 +0000)]
2001-10-09  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (patch_cast): Call patch_string on the first operand of
the incoming node, update it if necessary. Fixes java/4510.

2001-10-05  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (register_incomplete_type): Set JDEP_SUPER to be given
a NULL enclosing context if appropriate. Fixes java/4466.

2001-09-17  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (patch_method_invocation): Inner class creation context
check not enforced within constructors. Fixes PR java/1873.

( http://gcc.gnu.org/ml/gcc-patches/2001-10/msg00397.html )

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

22 years ago * strtod.c (_strtod_r): Logic to check for missing digits
bothner [Tue, 9 Oct 2001 22:54:26 +0000 (22:54 +0000)]
* strtod.c (_strtod_r):  Logic to check for missing digits
after exponent had 'else' attached to wrong 'if'.

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

22 years ago * acconfig.h: Fix comment formatting.
kazu [Tue, 9 Oct 2001 22:40:12 +0000 (22:40 +0000)]
* acconfig.h: Fix comment formatting.
* c-dump.h: Likewise.
* c-tree.h: Likewise.
* conditions.h: Likewise.
* expr.h: Likewise.
* function.h: Likewise.
* gthr.h: Likewise.
* hwint.h: Likewise.
* integrate.h: Likewise.
* intl.h: Likewise.
* loop.h: Likewise.
* optabs.h: Likewise.

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

22 years ago2001-10-09 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 9 Oct 2001 22:23:52 +0000 (22:23 +0000)]
2001-10-09  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/17_intro/howto.html:  Tweak markup and value type.
* docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
nonzero arguments, add new note on threading.
* docs/html/faq/index.html:  Update.
* docs/html/faq/index.txt:  Regenerate.

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

22 years ago * java/net/SocketImpl.java: Merge with Classpath
mark [Tue, 9 Oct 2001 21:44:54 +0000 (21:44 +0000)]
* java/net/SocketImpl.java: Merge with Classpath

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

22 years ago2001-10-09 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 9 Oct 2001 20:18:14 +0000 (20:18 +0000)]
2001-10-09  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
* docs/html/documentation.html:  Likewise.
* docs/html/explanations.html:  Likewise.
* docs/html/install.html:  Likewise.
* docs/html/17_intro/howto.html:  Likewise.
* docs/html/17_intro/license.html:  Likewise.  Tighten up language.
* docs/html/18_support/howto.html:  Likewise.
* docs/html/19_diagnostics/howto.html:  Likewise.
* docs/html/20_util/howto.html:  Likewise.
* docs/html/21_strings/howto.html:  Likewise.
* docs/html/22_locale/howto.html:  Likewise.
* docs/html/23_containers/howto.html:  Likewise.
* docs/html/24_iterators/howto.html:  Likewise.
* docs/html/25_algorithms/howto.html:  Likewise.
* docs/html/26_numerics/howto.html:  Likewise.
* docs/html/27_io/howto.html:  Likewise.
* docs/html/ext/howto.html:  Likewise.
* docs/html/ext/sgiexts.html:  Likewise.
* docs/html/faq/index.html:  Likewise.  Not so many absolute links.
* docs/html/faq/index.txt:  Regenerate.

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

22 years ago * java/net/DatagramSocketImpl.java: Merge with Classpath
mark [Tue, 9 Oct 2001 17:40:13 +0000 (17:40 +0000)]
* java/net/DatagramSocketImpl.java: Merge with Classpath

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

22 years agofix dates
jason [Tue, 9 Oct 2001 15:55:12 +0000 (15:55 +0000)]
fix dates

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

22 years agoreorganize
jason [Tue, 9 Oct 2001 15:44:25 +0000 (15:44 +0000)]
reorganize

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

22 years ago * spew.c (end_input): No longer static.
jason [Tue, 9 Oct 2001 15:44:17 +0000 (15:44 +0000)]
    * spew.c (end_input): No longer static.
        * cp-tree.h: Declare it.
        * parse.y (datadef): Add "error END_OF_SAVED_INPUT" expansion.

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

22 years ago * call.c (standard_conversion): Add bad conversion between
jason [Tue, 9 Oct 2001 15:42:44 +0000 (15:42 +0000)]
    * call.c (standard_conversion): Add bad conversion between
        integers and pointers.
        (convert_like_real): Don't use convert_for_initialization for bad
        conversions; complain here and use cp_convert.
        (build_over_call): Don't handle bad conversions specially.
        (perform_implicit_conversion): Allow bad conversions.
        (can_convert_arg_bad): New fn.
        * cp-tree.h: Declare it.
        * typeck.c (convert_for_assignment): Use it.
        (ptr_reasonably_similar): Any target type is similar to void.

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

22 years ago * c-common.h: Fix comment formatting.
kazu [Tue, 9 Oct 2001 14:03:13 +0000 (14:03 +0000)]
* c-common.h: Fix comment formatting.
* c-dump.c: Likewise.
* cfg.c: Likewise.
* diagnostic.h: Likewise.
* except.c: Likewise.
* gcc.h: Likewise.
* gcov-io.h: Likewise.
* genattrtab.c: Likewise.
* output.h: Likewise.
* predict.h: Likewise.
* reload1.c: Likewise.
* reload.h: Likewise.
* resource.h: Likewise.
* scan.h: Likewise.
* system.h: Likewise.
* tree.h: Likewise.
* tree-inline.c: Likewise.
* tsystem.h: Likewise.
* varasm.c: Likewise.
* xcoffout.h: Likewise.

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

22 years ago * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
jsm28 [Tue, 9 Oct 2001 11:44:31 +0000 (11:44 +0000)]
* doc/gcc.texi: Document preference for "nonzero" over "non-zero".

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

22 years ago * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
jsm28 [Tue, 9 Oct 2001 10:16:27 +0000 (10:16 +0000)]
* config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
config/i386/i386elf.h, config/i386/netbsd-elf.h,
config/i386/netware.h, config/mcore/gfloat.h,
config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
config/netware.h, gccbug.in: Update FSF address.

ada:
* 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
FSF address.

testsuite:
* consistency.vlad/vlad.exp, g++.old-deja/g++.mike/p784.C,
g++.old-deja/old-deja.exp, g77.f-torture/compile/compile.exp,
g77.f-torture/execute/execute.exp,
g77.f-torture/noncompile/noncompile.exp,
gcc.c-torture/compile/compile.exp,
gcc.c-torture/execute/execute.exp,
gcc.c-torture/execute/ieee/ieee.exp,
gcc.c-torture/execute/memcheck/memcheck.exp,
gcc.c-torture/unsorted/unsorted.exp, gcc.misc-tests/linkage.exp,
objc/execute/execute.exp: Update FSF address.

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

22 years agoDaily bump.
gccadmin [Tue, 9 Oct 2001 07:16:11 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * gcc.dg/cpp/cmdlne-C.c: Update.
neil [Tue, 9 Oct 2001 06:16:25 +0000 (06:16 +0000)]
* gcc.dg/cpp/cmdlne-C.c: Update.
* gcc.dg/cpp/cmdlne-C2.c: New.

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

22 years ago * c-common.c: Fix comment typos.
kazu [Tue, 9 Oct 2001 06:03:16 +0000 (06:03 +0000)]
* c-common.c: Fix comment typos.
* cfgrtl.c: Likewise.
* collect2.c: Likewise.
* cpplex.c: Likewise.
* doloop.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* expr.c: Likewise.
* fold-const.c: Likewise.
* gcc.c: Likewise.
* gcov.c: Likewise.
* gcse.c: Likewise.
* global.c: Likewise.
* ifcvt.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
* protoize.c: Likewise.
* regclass.c: Likewise.
* reorg.c: Likewise.
* rtl.h: Likewise.
* stmt.c: Likewise.
* tree.h: Likewise.
* doc/cpp.texi: Likewise.
* doc/c-tree.texi: Likewise.
* doc/extend.texi: Likewise.
* doc/invoke.texi: Likewise.
* doc/objc.texi: Likewise.
* doc/tm.texi: Likewise.

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

22 years ago * parse.y (find_as_inner_class): Don't disregard the enclosing scope
bryce [Tue, 9 Oct 2001 05:40:35 +0000 (05:40 +0000)]
    * parse.y (find_as_inner_class): Don't disregard the enclosing scope
        when name qualifier matches a package name.

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

22 years ago2001-10-09 John Hornkvist <john@toastedmarshmallow.com>
bryce [Tue, 9 Oct 2001 05:32:16 +0000 (05:32 +0000)]
2001-10-09  John Hornkvist  <john@toastedmarshmallow.com>

        Implement Darwin PowerPC ABI.
        * configure.in: Handle powerpc-*-darwin*.
        * Makefile.am: Set source files for POWERPC_DARWIN.
        * configure: Rebuilt.
        * Makefile.in: Rebuilt.
        * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
        POWERPC_DARWIN.
        * src/powerpc/darwin.S: New file.
        * src/powerpc/ffi_darwin.c: New file.

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

22 years ago * varasm.c (set_named_section_flags): Initialize "declared".
rth [Tue, 9 Oct 2001 04:45:18 +0000 (04:45 +0000)]
    * varasm.c (set_named_section_flags): Initialize "declared".

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

22 years ago2001-10-08 Geert Bosch <bosch@gnat.com>
bosch [Mon, 8 Oct 2001 23:46:22 +0000 (23:46 +0000)]
2001-10-08  Geert Bosch  <bosch@gnat.com>

* Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
Automatically build utilities when files need to be regenerated.

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

22 years ago * xsnames.adb: New utility for updating snames.ads and snames.adb
bosch [Mon, 8 Oct 2001 23:39:37 +0000 (23:39 +0000)]
* xsnames.adb: New utility for updating snames.ads and snames.adb

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

22 years ago * varasm.c (struct in_named_entry): Add declared.
robertl [Mon, 8 Oct 2001 22:41:55 +0000 (22:41 +0000)]
* varasm.c  (struct in_named_entry): Add declared.
(named_section_first_declaration): New function.
(default_elf_asm_named_section): Use it.
* output.h (named_section_first_declaration): New.

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

22 years ago * i386.md (movsi_xor): Export.
rth [Mon, 8 Oct 2001 22:38:45 +0000 (22:38 +0000)]
    * i386.md (movsi_xor): Export.
        (setcc peep2): Use it when available; add an alternative to
        match zero_extendhisi2_and.

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

22 years ago * romp-protos.h (romp_initialize_trampoline): New function.
ghazi [Mon, 8 Oct 2001 21:55:05 +0000 (21:55 +0000)]
* romp-protos.h (romp_initialize_trampoline): New function.
* romp.c (romp_initialize_trampoline): Likewise.
* romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
romp_initialize_trampoline.

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

22 years ago * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
ghazi [Mon, 8 Oct 2001 21:23:52 +0000 (21:23 +0000)]
* m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
* m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.

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

22 years ago 2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Mon, 8 Oct 2001 21:20:43 +0000 (21:20 +0000)]
2001-10-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* unroll.c (loop_iterations): Extend check for multiple back edges.

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

22 years ago * java/net/URLDecoder.java: Remerge with Classpath
mark [Mon, 8 Oct 2001 21:03:34 +0000 (21:03 +0000)]
* java/net/URLDecoder.java: Remerge with Classpath
* java/net/URLEncoder.java: Merge with Classpath

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

22 years ago 2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Mon, 8 Oct 2001 21:01:03 +0000 (21:01 +0000)]
2001-10-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* gcc.c-torture/execute/20011008-3.c: New.

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

22 years ago* langhooks.h: New file.
aoliva [Mon, 8 Oct 2001 20:54:07 +0000 (20:54 +0000)]
* langhooks.h: New file.
* Makefile.in (OBJS): Added langhooks.o.
(c-lang.o): Depend on langhooks.h.
(c-common.o): Don't depend on tree-inline.h.
(tree-inline.o): Depend on toplev.h.
(langhooks.o): New rule.
* c-common.c: Don't include tree-inline.h.
(c_mark_lang_decl): Mark argument c as unused.
(c_common_lang_init): Don't initialize hooks here.
* c-lang.c: Include langhooks.h, then override some macros.
(lang_hooks): Initialize with macros in langhooks.h.
(c_init): Don't initialize hooks here.
* toplev.c (struct lang_hooks_for_tree_inlining): New struct.
(struct lang_hooks): Add tree_inlining.  Refer to langhooks.h.
* tree-inline.c: Include toplev.h.  Don't define hook variables.
* tree-inline.h: Don't define hook types nor declare hook
variables.  Move macros to...
* langhooks.c: ... new file, as functions.  Adjust all callers.

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

22 years ago* Make-lang.in (CXX_OBJS): Added cp-lang.o.
aoliva [Mon, 8 Oct 2001 20:53:41 +0000 (20:53 +0000)]
* Make-lang.in (CXX_OBJS): Added cp-lang.o.
(cp/cp-lang.o): New rule.
* cp-tree.h: Declare hooks.
* tree.c: Make hooks non-static.
(init_tree): Don't initialize hooks here.
* lex.c: Likewise.  Move definition of lang_hooks to...
* cp-lang.c: ... new file.

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

22 years ago* POTFILES.in: Add newly-added files.
aoliva [Mon, 8 Oct 2001 20:53:26 +0000 (20:53 +0000)]
* POTFILES.in: Add newly-added files.

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

22 years ago Fix for PR libgcj/4481:
tromey [Mon, 8 Oct 2001 20:42:13 +0000 (20:42 +0000)]
Fix for PR libgcj/4481:
* java/io/File.java (getParent): Handle case where path is "/".
(normalizePath): Use correct string for UNC leader.

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

22 years ago Fix for PR java/4489:
tromey [Mon, 8 Oct 2001 20:35:03 +0000 (20:35 +0000)]
Fix for PR java/4489:
* jcf-write.c (generate_bytecode_insns) [SWITCH_EXPR]: Always
force a new label when computing `body_block'.

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

22 years ago * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
mmitchel [Mon, 8 Oct 2001 20:24:55 +0000 (20:24 +0000)]
* sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
purge_mem_unchanging_flag on all instructions, not just on those
before NOTE_INSN_FUNCTION_BEG.

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

22 years ago * cppmacro.c (_cpp_create_definition): Leave comments off.
neil [Mon, 8 Oct 2001 20:05:36 +0000 (20:05 +0000)]
* cppmacro.c (_cpp_create_definition): Leave comments off.

* doc/cpp.texi: Update.

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

22 years ago* c-decl.c (grokfield): Make sure the only unnamed fields
dj [Mon, 8 Oct 2001 19:44:53 +0000 (19:44 +0000)]
* c-decl.c (grokfield): Make sure the only unnamed fields
we're allowing are either structs or unions.
* doc/extend.texi: Add documentation for the unnamed field
extension.

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

22 years ago* gcc.dg/20011008-1.c: New.
dj [Mon, 8 Oct 2001 19:42:40 +0000 (19:42 +0000)]
* gcc.dg/20011008-1.c: New.
* gcc.dg/20011008-2.c: New.

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

22 years ago * java/io/BufferedInputStream.java: Merge with Classpath
mark [Mon, 8 Oct 2001 18:53:49 +0000 (18:53 +0000)]
* java/io/BufferedInputStream.java: Merge with Classpath

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

22 years agotop:
zack [Mon, 8 Oct 2001 17:58:31 +0000 (17:58 +0000)]
top:
* aclocal.m4 (gcc_AC_PROG_GNAT): New.
* configure.in: Use it.
* configure: Regenerated.
* config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
ada:
* Make-lang.in (ADAFLAGS): Add -W -Wall.
(ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
(gnat1): Also depend on attribs.o.
(gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
* Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
(ADAC): Set to @ADAC@ in stage1, $(CC) later.
(ADAFLAGS): Add -W -Wall.
(ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
take out CFLAGS.

(.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
Use $(ADAC), not $(CC), as compilation command.

(gnattools): Depend directly on tools to build, don't use
recursive make.
(gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.

* einfo.h, sinfo.h: New files (autogenerated).

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

22 years ago * cppfiles.c (open_file): Don't mark zero-length files
neil [Mon, 8 Oct 2001 17:54:15 +0000 (17:54 +0000)]
* cppfiles.c (open_file): Don't mark zero-length files
never-reread here.  Don't output diagnostics here either.
(stack_include_file): Mark them never-reread here.
(_cpp_read_file): Update.

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

22 years ago * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
rth [Mon, 8 Oct 2001 17:39:53 +0000 (17:39 +0000)]
    * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.

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

22 years ago * comperr.adb (Abort_In_Progress): New.
rth [Mon, 8 Oct 2001 17:09:23 +0000 (17:09 +0000)]
    * comperr.adb (Abort_In_Progress): New.
        (Compiler_Abort): Use it to prevent recursion.

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

22 years ago * expr.c (store_expr): When converting a CONST_INT for storage
rth [Mon, 8 Oct 2001 16:54:45 +0000 (16:54 +0000)]
    * expr.c (store_expr): When converting a CONST_INT for storage
        in a SUBREG, convert it to both SUBREG modes before stripping
        the SUBREG.

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

22 years ago * varasm.c (restore_varasm_status): New.
rth [Mon, 8 Oct 2001 16:46:24 +0000 (16:46 +0000)]
    * varasm.c (restore_varasm_status): New.
        * function.h: Declare it.
        * function.c (pop_function_context_from): Call it.

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

22 years ago * c-common.h (struct c_lang_decl): Add declared_inline.
rth [Mon, 8 Oct 2001 16:37:06 +0000 (16:37 +0000)]
    * c-common.h (struct c_lang_decl): Add declared_inline.
        * c-tree.h (DECL_DECLARED_INLINE_P): New.
        * c-lang.c (c_disregard_inline_limits): Use it.
        * c-decl.c (duplicate_decls): Likewise.
        (pushdecl, redeclaration_error_message): Likewise.
        (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
        (grokdeclarator): Likewise.  Set DECL_DECLARED_INLINE_P.
        Set DECL_INLINE if -finline-functions.
        (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.

        * cp-tree.h (struct lang_decl_flags): Remove declared_inline.
        (DECL_DECLARED_INLINE_P): Use the bit in struct c_lang_decl.

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

22 years agomaintainer-scripts:
jsm28 [Mon, 8 Oct 2001 16:16:56 +0000 (16:16 +0000)]
maintainer-scripts:
* crontab: Build weekly snapshots.

contrib:
* snapshot: Remove.

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

22 years ago * atree.adb: Set Error_Posted in Error node, helps error recovery.
bosch [Mon, 8 Oct 2001 16:15:06 +0000 (16:15 +0000)]
* atree.adb: Set Error_Posted in Error node, helps error recovery.

* par-endh.adb (Output_End_Expected): We should also not test
Error_Posted on the Error node, since now it is always set.

* cstand.adb (Create_Standard): Set Etype of Error to Any_Type
to help error recovery. Part of general work on 9407-004.

* par.adb: Add ??? for misuse of error

* sem_res.adb:
(Resolve): Defend against Error, fixes 9407-003.
(Resolve_Discrete_Subtype_Indication): Defend against Error.

* sinfo.ads (N_Error): Now has Etype field (which will be set
to Any_Type to help error recovery).

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

22 years ago * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
bosch [Mon, 8 Oct 2001 14:06:05 +0000 (14:06 +0000)]
* misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
Consistently set MEM attributes from expression; fixes
bootstrap failure on x86.

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

22 years ago * 5oosinte.adb: Add 2001 to copyright notice.
bosch [Mon, 8 Oct 2001 13:42:41 +0000 (13:42 +0000)]
* 5oosinte.adb: Add 2001 to copyright notice.

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

22 years ago2001-10-08 Geert Bosch (bosch@gnat.com)
bosch [Mon, 8 Oct 2001 13:24:19 +0000 (13:24 +0000)]
2001-10-08  Geert Bosch  (bosch@gnat.com)

* ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].

* csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].

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

22 years ago * gcc_release: Copy from 3.0 branch. Add support for building the
jsm28 [Mon, 8 Oct 2001 07:58:43 +0000 (07:58 +0000)]
* gcc_release: Copy from 3.0 branch.  Add support for building the
weekly snapshots on gcc.gnu.org.

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

22 years agoDaily bump.
gccadmin [Mon, 8 Oct 2001 07:35:10 +0000 (07:35 +0000)]
Daily bump.

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

22 years ago * cppmacro.c (funlike_invocation_p): Move some logic to caller
neil [Mon, 8 Oct 2001 06:15:14 +0000 (06:15 +0000)]
* cppmacro.c (funlike_invocation_p): Move some logic to caller
in enter_macro_context.  Create a padding token in its own context
if necessary when the search for '(' fails.
(enter_macro_context): Update.

* gcc.dg/cpp/spacing1.c: Update test.

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

22 years ago * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
jsm28 [Sun, 7 Oct 2001 21:53:31 +0000 (21:53 +0000)]
* alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting.  Fix
spelling.  Give names to function arguments in documentation.  Use
(void) prototypes in documentation.
* functions.texi: Regenerate.

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

22 years agoconfig:
jsm28 [Sun, 7 Oct 2001 18:02:46 +0000 (18:02 +0000)]
config:
* acinclude.m4: Fix spelling error of "separate" as "seperate".

gcc:
* ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
genmultilib, toplev.c: Fix spelling errors of "separate" as
"seperate", and corresponding spelling errors of related words.

gcc/ada:
* 5oosinte.adb: Fix spelling error of "separate" as "seperate".

gcc/testsuite:
* gcc.c-torture/unsorted/unsorted.exp, lib/file-format.exp: Fix
spelling errors of "separate" as "seperate".

libffi:
* src/x86/ffi.c: Fix spelling error of "separate" as "seperate".

libjava:
* defineclass.cc, java/awt/image/ColorModel.java,
java/awt/image/SampleModel.java, java/lang/Package.java,
java/security/cert/X509Extension.java: Fix spelling errors of
"separate" as "seperate", and corresponding spelling errors of
related words.

libstdc++-v3:
* docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
spelling errors of "separate" as "seperate", and corresponding
spelling errors of related words.
* docs/html/faq/index.txt: Regenerate.

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

22 years ago * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
ghazi [Sun, 7 Oct 2001 16:51:11 +0000 (16:51 +0000)]
* builtins.c (expand_builtin_setjmp_receiver): Const-ify.
* c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
Likewise.
* c-dump.c (dump_option_value_info): Likewise.
* c-format.c (format_length_info, format_char_info,
format_flag_spec, format_flag_pair, format_kind_info): Likewise.
* collect2.c (names): Likewise.
* cppdefault.h (default_include): Likewise.
* cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
* flow.c (life_analysis): Likewise.
* gcc.c (dir_separator_str, modify_target, option_map,
target_option_translations, spec_list_1, extra_specs_1,
init_spec): Likewise.
* gcov.c (gcov_version_string): Likewise.
* genattr.c (write_units): Likewise.
* genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
* gengenrtl.c (rtx_definition, defs): Likewise.
* genrecog.c (pred_table): Likewise.
* global.c (global_alloc): Likewise.
* lcm.c (optimize_mode_switching): Likewise.
* local-alloc.c (find_free_reg): Likewise.
* params.h (param_info): Likewise.
* predict.c (predictor_info): Likewise.
* protoize.c (unexpansion_struct): Likewise.
* real.c (bmask): Likewise.
* recog.h (insn_operand_data, insn_data): Likewise.
* regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
* stmt.c (expand_nl_goto_receiver): Likewise.
* toplev.c (da, debug_args, lang_opt, documented_lang_options,
target_switches, target_options): Likewise.
* tradcif.y (token, tokentab2, yylex): Likewise.
* tree.h (attribute_spec): Likewise.

* alpha.c (override_options, alpha_lookup_xfloating_lib_func):
Likewise.
* arc.c (arc_output_function_epilogue): Likewise.
* arm.c (processors, all_cores, all_architectures,
arm_override_options, isr_attribute_arg, isr_attribute_args,
arm_isr_value): Likewise.
* avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
Likewise.
* c4x.c (c4x_int_reglist): Likewise.
* d30v.c (override_options): Likewise.
* h8300.c (shift_insn): Likewise.
* i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
* i386.h (processor_costs, ix86_cost): Likewise.
* m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
* m68hc11.h (processor_costs, m68hc11_cost): Likewise.
* m68k.c (codes_68881, codes_FPA): Likewise.
* m88k.c (mode_from_align, max_from_align, all_from_align,
best_from_align, m_options): Likewise.
* m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
* mcore.c (mode_from_align): Likewise.
* mips/elf64.h (UNIQUE_SECTION): Likewise.
* mips/iris6gld.h (UNIQUE_SECTION): Likewise.
* mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
* mips.h (mips_regno_to_class): Likewise.
* ns32k.c (scales): Likewise.
* pa.c (import_string, magic_milli): Likewise.
* rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
* sparc.c (leaf_reg_remap, sparc_override_options,
reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
Likewise.
* sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.

cp:
* class.c (build_vtable_entry_ref): Const-ify.
* decl.c (predefined_identifier,
initialize_predefined_identifiers): Likewise.
* init.c (build_new_1): Likewise.
* lex.c (cplus_tree_code_type, cplus_tree_code_length, resword):
Likewise.

f:
* bad.c (_ffebad_message_, ffebad_messages_): Const-ify.
* bld.c (ffebld_arity_op_): Likewise.
* bld.h (ffebld_arity_op_): Likewise.
* com.c (ffecom_init_0): Likewise.
* intdoc.c (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
_ffeintrin_imp_, names, gens, imps, specs, cc_pair,
cc_descriptions, cc_summaries): Likewise.
* intrin.c (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
_ffeintrin_imp_, ffeintrin_names_, ffeintrin_gens_,
ffeintrin_imps_, ffeintrin_specs_): Likewise.

java:
* jcf-io.c (format_uint): Const-ify.
* lang.c (java_tree_code_type, java_tree_code_length): Likewise.
* lex.c (java_get_line_col): Likewise.
* parse.y (build_incdec): Likewise.

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

22 years agoFix reload conflict testing to take correct order of output reloads into account.
bernds [Sun, 7 Oct 2001 15:05:20 +0000 (15:05 +0000)]
Fix reload conflict testing to take correct order of output reloads into account.

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

22 years agoinclude:
ghazi [Sun, 7 Oct 2001 14:45:04 +0000 (14:45 +0000)]
include:
* demangle.h (demangler_engine): Const-ify.
* libiberty.h (buildargv): Likewise.

libiberty:
* argv.c (buildargv, tests, main): Const-ify.
* cp-demangle.c (operator_code): Likewise.
* cplus-dem.c (optable, libiberty_demanglers,
cplus_demangle_set_style, cplus_demangle_name_to_style,
print_demangler_list): Likewise.
* hashtab.c (higher_prime_number): Likewise.
* strcasecmp.c (charmap): Likewise.
* strerror.c (error_info, strerror, main): Likewise.
* strncasecmp.c (charmap): Likewise.
* strsignal.c (signal_info): Likewise.

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

22 years ago * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
jsm28 [Sun, 7 Oct 2001 11:05:45 +0000 (11:05 +0000)]
* doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
NULL_TREE inside @code.

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

22 years ago * doc/gcc.texi: Document consistent style of "32-bit",
jsm28 [Sun, 7 Oct 2001 10:36:17 +0000 (10:36 +0000)]
* doc/gcc.texi: Document consistent style of "32-bit",
"Objective-C", and "@code{NULL}".

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

22 years agoDaily bump.
gccadmin [Sun, 7 Oct 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * cpplex.c (enum spell_type): Add SPELL_NUMBER.
zack [Sat, 6 Oct 2001 23:11:27 +0000 (23:11 +0000)]
* cpplex.c (enum spell_type): Add SPELL_NUMBER.
(cpp_token_len, cpp_spell_token, cpp_output_token,
_cpp_equiv_tokens): Handle it.
* cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
* cppexp.c (_cpp_parse_expr): Use the correct operator code in
error messages.

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

22 years ago * gcc.c (default_compilers): Remove .ada.
kenner [Sat, 6 Oct 2001 11:48:02 +0000 (11:48 +0000)]
* gcc.c (default_compilers): Remove .ada.

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

22 years ago * doc/cppinternals.texi: Update.
neil [Sat, 6 Oct 2001 11:29:51 +0000 (11:29 +0000)]
* doc/cppinternals.texi: Update.

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

22 years ago * gcc.c (main): Set this_file_error if the appropriate
zack [Sat, 6 Oct 2001 08:01:50 +0000 (08:01 +0000)]
* gcc.c (main): Set this_file_error if the appropriate
compiler for a language has not been installed.

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

22 years agoDaily bump.
gccadmin [Sat, 6 Oct 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

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