OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 5 Dec 2001 22:07:36 +0000 (22:07 +0000)]
2001-12-05  Benjamin Kosnik  <bkoz@redhat.com>

DR/282
* include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
grouping to floating point types.
* testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.

2001-12-04  Paolo Carlini <pcarlini@unitus.it>

        libstdc++/4402
        * testsuite/27_io/ostream_inserter_arith.cc (test02): add testcase
from the PR.
        * include/bits/locale_facets.tcc (num_put::_M_convert_float):
        Deal properly with long ios_base::fixed floats.
        (num_put::_M_widen_float): use
__len in __builtin_alloca call.

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

22 years ago * Makefile.in (STMP_FIXPROTO, STMP_FIXINC): Use substituted values
schwab [Wed, 5 Dec 2001 22:06:28 +0000 (22:06 +0000)]
* Makefile.in (STMP_FIXPROTO, STMP_FIXINC): Use substituted values
from autoconf.

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

22 years ago * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
bosch [Wed, 5 Dec 2001 21:25:25 +0000 (21:25 +0000)]
* gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
-c /COMPILE_ONLY, -l /LINK_ONLY

* opt.ads:
(Bind_Only): New Flag
(Link_Only): New flag

* switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
and -l (Link_Only)

* makeusg.adb: Add new switches -b and -l. Update Copyright notice.

* make.adb:
(Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
(Gnatmake): Set the step flags. Only perform a step if the
corresponding step flag is True.
(Scan_Make_Arg): Reset the bind and link step flags when -u
or -gnatc has been specified.

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

22 years agoInclude arm/xscale-coff.h before arm/arm.h.
nickc [Wed, 5 Dec 2001 21:19:14 +0000 (21:19 +0000)]
Include arm/xscale-coff.h before arm/arm.h.

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

22 years ago * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
bosch [Wed, 5 Dec 2001 21:13:00 +0000 (21:13 +0000)]
* sem_eval.adb (Eval_Concatenation): If left operand is a null string,
get bounds from right operand.

* sem_eval.adb: Minor reformatting

* exp_util.adb (Make_Literal_Range): use bound of literal rather
than Index'First, its lower bound may be different from 1.

* exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
and C48009J

* prj-nmsc.adb Minor reformatting

* prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
set and libraries are not supported.

* sem_ch3.adb (Build_Derived_Private_Type): set Public status of
private view explicitly, so the back-end can treat as a global
when appropriate.

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

22 years ago * ChangeLog: Repair from previous update.
bosch [Wed, 5 Dec 2001 20:41:24 +0000 (20:41 +0000)]
* ChangeLog: Repair from previous update.

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

22 years ago * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
bosch [Wed, 5 Dec 2001 20:34:43 +0000 (20:34 +0000)]
* sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
 unit, always replace instance node with new body, for ASIS use.

* prj-nmsc.adb (Language_Independent_Check): Issue a warning if
libraries are not supported and both attributes Library_Name and
Library_Dir are specified.

* prj-proc.adb (Expression): Set location of Result to location of
first term.

* Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
(prj-nmsc is now importing MLib.Tgt)

* prj-proc.adb: Put the change indicated above that was forgotten.

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

22 years ago2001-12-05 William Cohen <wcohen@redhat.com>
wcohen [Wed, 5 Dec 2001 20:32:08 +0000 (20:32 +0000)]
2001-12-05  William Cohen  <wcohen@redhat.com>

* config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in
instruction.

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

22 years ago * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
bosch [Wed, 5 Dec 2001 20:08:20 +0000 (20:08 +0000)]
* Makefile.in: Add dependencies for System.IO for GNAT.Regexp

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

22 years ago * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
bosch [Wed, 5 Dec 2001 20:00:50 +0000 (20:00 +0000)]
* sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
constraint, introduce explicit subtype declaration and derive from it.

* sem_ch3.adb: Minor reformatting

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

22 years ago * checks.adb (Determine_Range): Increase cache size for checks.
bosch [Wed, 5 Dec 2001 19:54:31 +0000 (19:54 +0000)]
* checks.adb (Determine_Range): Increase cache size for checks.
Minor reformatting

* exp_ch6.adb: Minor reformatting
(Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
a parameter whose root type is System.Address, since treating such
subprograms as pure in the code generator is almost surely a mistake
that will lead to unexpected results.

* exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
change handling of conversions.

* g-regexp.adb: Use System.IO instead of Ada.Text_IO.

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

22 years ago * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
bosch [Wed, 5 Dec 2001 19:34:44 +0000 (19:34 +0000)]
* sem_ch3.adb (Analyze_Object_Declaration): If expression is an
aggregate with static wrong size, attach generated Raise node to
declaration.

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

22 years ago * defineclass.cc (character): Removed.
tromey [Wed, 5 Dec 2001 19:28:16 +0000 (19:28 +0000)]
* defineclass.cc (character): Removed.
(prepare_character): Removed.
(is_identifier_start): Use Character, not character.
(is_identifier_part): Likewise.

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

22 years ago * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
bosch [Wed, 5 Dec 2001 19:13:59 +0000 (19:13 +0000)]
* sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
Fixes compilation abandoned bomb in B24009B.

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

22 years ago * sem_ch12.adb:
bosch [Wed, 5 Dec 2001 18:59:43 +0000 (18:59 +0000)]
* sem_ch12.adb:
Document use of Associated_Node on Selected_Components.
(Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
to clarify use of untyped descendant fields.

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

22 years ago2001-12-05 Daniel Berlin <dan@cgsoftware.com>
dberlin [Wed, 5 Dec 2001 18:00:54 +0000 (18:00 +0000)]
2001-12-05  Daniel Berlin  <dan@cgsoftware.com>

* config/rs6000/rs6000.h (enum rs6000_builtins): Add more altivec
builtins.

* config/rs6000/rs6000.md: Modeling of 7450 altivec changed to
better reflect reality (change from Apple's tree).
Add more of altivec instructions.
Add ftruncv4sf2 pattern.
Remove more unspecs (vector merge instructions, etc).

* config/rs6000/rs6000.c (bdesc_3arg): New, for 3 argument altivec
builtins.
(bdesc_1arg): New, for 1 argument altivec builtins.
(altivec_expand_builtin): Handle unary and ternary ops.
(altivec_init_builtins): Ditto.

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

22 years ago * prj-dect.ads: Add ??? comment
bosch [Wed, 5 Dec 2001 17:42:08 +0000 (17:42 +0000)]
* prj-dect.ads: Add ??? comment
Add 2001 to copyright notice (was not done in after all)

* prj-part.adb: Minor reformatting. Reword one awkward error message.

* prj.ads: Minor reformatting throughout, and add some ??? comments

* snames.ads: Minor reformatting

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

22 years ago * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
bosch [Wed, 5 Dec 2001 17:33:31 +0000 (17:33 +0000)]
* prj-dect.adb (Parse): Rename parameter Modifying to Extends.

* prj-dect.ads (Parse): Rename parameter Modifying to Extends.

* prj-env.adb: Minor comment changes (modifying -> extends).

* prj-nmsc.adb: Minor comment changes (modifying -> extends).

* prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
Tok_Extends.

* prj.adb (Initialize): Change Modifying to Extends.

* scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.

* prj.ads: Minor comment change (Modifying -> extending).

* snames.ads: Change modifying to extends.

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

22 years ago * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
bosch [Wed, 5 Dec 2001 17:24:58 +0000 (17:24 +0000)]
* prj-dect.adb (Parse): Rename parameter Modifying to Extends.

* prj-dect.ads (Parse): Rename parameter Modifying to Extends.

* prj-env.adb: Minor comment changes (modifying -> extends).

* prj-nmsc.adb: Minor comment changes (modifying -> extends).

* prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
Tok_Extends.

* prj.adb (Initialize): Change Modifying to Extends.

* scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.

* prj.ads: Minor comment change (Modifying -> extending).

* snames.ads: Change modifying to extends.

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

22 years ago * sem_warn.adb: Remove stuff for conditionals, we are not going to
bosch [Wed, 5 Dec 2001 16:10:43 +0000 (16:10 +0000)]
* sem_warn.adb: Remove stuff for conditionals, we are not going to
do this after all.

* sem_warn.ads: Remove stuff for conditionals, we are not going to
do this after all.  Add 2001 to copyright notice

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

22 years ago * config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
kenner [Wed, 5 Dec 2001 14:41:47 +0000 (14:41 +0000)]
* config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
* doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it.

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

22 years ago * gcse.c (store_killed_in_insn): Consider pure calls
jakub [Wed, 5 Dec 2001 14:17:49 +0000 (14:17 +0000)]
* gcse.c (store_killed_in_insn): Consider pure calls
as potential store killers in addition to normal calls.

* gcc.c-torture/execute/20011024-1.c: New test.

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

22 years ago * expr.c (expand_expr): When checking promoted value, use
jakub [Wed, 5 Dec 2001 14:15:37 +0000 (14:15 +0000)]
* expr.c (expand_expr): When checking promoted value, use
DECL_MODE (exp) and not mode.

* g++.dg/other/anon-union.C: New test.

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

22 years ago * c-typeck.c (output_init_element): Call digest_init
jakub [Wed, 5 Dec 2001 14:14:01 +0000 (14:14 +0000)]
* c-typeck.c (output_init_element): Call digest_init
just once, not in each if branch and check its return value for
error_mark_node.

* gcc.dg/noncompile/20011025-1.c: New test.

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

22 years agoDuh.
jakub [Wed, 5 Dec 2001 14:11:14 +0000 (14:11 +0000)]
Duh.

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

22 years ago * c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
jakub [Wed, 5 Dec 2001 14:09:56 +0000 (14:09 +0000)]
* c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof.
(finish_struct): Break the loop if n_incomplete went to 0.
For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too.

* gcc.c-torture/compile/20011130-1.c: New test.

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

22 years ago * config/alpha/alpha.c (alpha_va_start): Update VMS case.
kenner [Wed, 5 Dec 2001 12:48:34 +0000 (12:48 +0000)]
* config/alpha/alpha.c (alpha_va_start): Update VMS case.

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

22 years ago * configure, configure.in: Use temp file for long sed commands.
kenner [Wed, 5 Dec 2001 12:40:39 +0000 (12:40 +0000)]
* configure, configure.in: Use temp file for long sed commands.

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

22 years ago * vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
kenner [Wed, 5 Dec 2001 12:36:48 +0000 (12:36 +0000)]
* vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
* doc/invoke.texi: Add -gvms.
* doc/passes.texi: Add mention of vmsdbgout.c.
* doc/tm.texi: Document VMS debugging output.

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

22 years ago * f/com.c (ffecom_1): Properly handle TREE_READONLY for INDIRECT_REF.
kenner [Wed, 5 Dec 2001 11:56:22 +0000 (11:56 +0000)]
* f/com.c (ffecom_1): Properly handle TREE_READONLY for INDIRECT_REF.

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

22 years agoFix line wrap in copyright notice.
kenner [Wed, 5 Dec 2001 11:54:04 +0000 (11:54 +0000)]
Fix line wrap in copyright notice.

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

22 years ago * function.h (tree, rtx): Remove no-longer-needed definitions.
kenner [Wed, 5 Dec 2001 11:52:49 +0000 (11:52 +0000)]
* function.h (tree, rtx): Remove no-longer-needed definitions.

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

22 years ago * function.c (keep_stack_depressed): Refine check for register
kenner [Wed, 5 Dec 2001 11:49:24 +0000 (11:49 +0000)]
* function.c (keep_stack_depressed): Refine check for register
clobbered over call.

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

22 years ago * expr.c (store_expr): When copying string constant into array,
kenner [Wed, 5 Dec 2001 11:44:37 +0000 (11:44 +0000)]
* expr.c (store_expr): When copying string constant into array,
use functions that update memrefs instead of computations on
addresses to better track MEMs.  Also properly handle 32/64 pointers.
(expand_expr): Use TARGET even if not reg for multi-word CONSTRUCTOR.
(expand_expr, case CONSTRUCTOR): Fix errors in parms to assign_temp.

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

22 years ago * emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl
kenner [Wed, 5 Dec 2001 11:33:28 +0000 (11:33 +0000)]
* emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl
underneath COMPONENT_REFs.
(set_mem_attributes): Also strip VIEW_CONVERT_EXPR.

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

22 years agoDaily bump.
gccadmin [Wed, 5 Dec 2001 08:16:14 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * toplev.c (display_target_options): Don't print twice.
neil [Wed, 5 Dec 2001 07:46:42 +0000 (07:46 +0000)]
* toplev.c (display_target_options): Don't print twice.

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

22 years ago * emit-rtl.c (set_unique_reg_note): Don't set
wehle [Wed, 5 Dec 2001 05:47:36 +0000 (05:47 +0000)]
* emit-rtl.c (set_unique_reg_note): Don't set
a REG_EQUAL or REG_EQUIV note if multiple sets
are present.

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

22 years ago * cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
danglin [Wed, 5 Dec 2001 03:54:51 +0000 (03:54 +0000)]
* cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
CASE_DROPS_THROUGH.

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

22 years ago * einfo.h, sinfo.h, treeprs.ads: Regenerate.
bosch [Wed, 5 Dec 2001 03:25:10 +0000 (03:25 +0000)]
*  einfo.h, sinfo.h, treeprs.ads: Regenerate.

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

22 years ago * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
bosch [Wed, 5 Dec 2001 02:45:14 +0000 (02:45 +0000)]
* errout.adb (Error_Msg): Ignore attempt to put error msg at junk
location if we already have errors. Stops some cases of cascaded
errors.

* errout.adb: Improve comment.

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

22 years ago * sem_ch12.adb:
bosch [Wed, 5 Dec 2001 02:36:13 +0000 (02:36 +0000)]
* sem_ch12.adb:
(Analyze_Formal_Type_Definition): Defend against Error.
(Analyze_Formal_Subprogram): Defend against Error.

* par-ch12.adb (F_Formal_Type_Declaration): In case of error,
remove following semicolon if present. Removes cascaded error.

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

22 years ago * bindgen.adb:
bosch [Wed, 5 Dec 2001 02:27:24 +0000 (02:27 +0000)]
* bindgen.adb:
(Gen_Exception_Table_Ada): Write "begin" and then return if Num
 exceptions equals 0.
(Gen_Exception_Table_C): Return if Num exceptions equals 0.
Fixes PIWG E tests (which have to be run with -gnatL).

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

22 years ago * einfo.ads: Minor reformatting
bosch [Wed, 5 Dec 2001 02:09:02 +0000 (02:09 +0000)]
* einfo.ads: Minor reformatting

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

22 years ago * einfo.ads: Block_Node points to the identifier of the block, not to
bosch [Wed, 5 Dec 2001 02:07:10 +0000 (02:07 +0000)]
* einfo.ads: Block_Node points to the identifier of the block, not to
the block node itself, to preserve the link when the block is
rewritten, e.g. within an if-statement with a static condition.

* inline.adb (Cleanup_Scopes): recover block statement from block
entity using new meaning of Block_Node.

* sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
identifier of block node, rather than to node itself.

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

22 years ago * layout.adb:
bosch [Wed, 5 Dec 2001 02:00:43 +0000 (02:00 +0000)]
* layout.adb:
(Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
(Discrimify): Go back to setting the Etypes of the selected component
because the Vname component does not exist at this point and will
fail name resolution. Also set Analyzed.
Remove with and use of Sem_Res.

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

22 years ago * Makefile.in: (HIE_SOURCES): add s-fat*.
bosch [Wed, 5 Dec 2001 01:54:49 +0000 (01:54 +0000)]
* Makefile.in: (HIE_SOURCES): add s-fat*.

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

22 years ago * sem_attr.adb:
bosch [Wed, 5 Dec 2001 01:48:56 +0000 (01:48 +0000)]
* sem_attr.adb:
(Compile_Time_Known_Attribute): New procedure.
(Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
 proper range check.

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

22 years ago * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
bosch [Wed, 5 Dec 2001 01:43:31 +0000 (01:43 +0000)]
* sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
processing discriminants to diagnose illegal default values.

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

22 years ago2001-12-04 Andrew MacLeod <amacleod@redhat.com>
amacleod [Wed, 5 Dec 2001 01:39:41 +0000 (01:39 +0000)]
2001-12-04  Andrew MacLeod  <amacleod@redhat.com>

* rtl.h (initialize_uninitialized_subregs): New prototype.
* toplev.c (rest_of_compilation): Call initialize_uninitialized_subregs
when optimization is on.
* flow.c (find_regno_partial): Find subregs within an expression.
(initialize_uninitialized_subregs): Initialize live on entry registers
which are used in subreg expressions.

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

22 years ago * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
bosch [Wed, 5 Dec 2001 01:38:41 +0000 (01:38 +0000)]
* sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
access discriminant within a type extension that constrains its
parent discriminants.

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

22 years ago * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
bosch [Wed, 5 Dec 2001 01:21:50 +0000 (01:21 +0000)]
* sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
is malformed, use instance of Any_Id to allow analysis to proceed.

* par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
type definition is illegal.
(P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
misplaced.

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

22 years ago * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
bosch [Wed, 5 Dec 2001 01:18:06 +0000 (01:18 +0000)]
* sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
constants.

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

22 years ago * errout.adb: Minor reformatting
bosch [Wed, 5 Dec 2001 01:10:00 +0000 (01:10 +0000)]
* errout.adb: Minor reformatting

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

22 years ago * exp_util.adb: Minor reformatting from last change
bosch [Wed, 5 Dec 2001 01:06:25 +0000 (01:06 +0000)]
* exp_util.adb: Minor reformatting from last change

* errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
which is a rewriting of an expression, traverse the original
expression to remove warnings that may have been posted on it.

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

22 years ago * exp_util.adb (Must_Be_Aligned): Return false for a component of a
bosch [Wed, 5 Dec 2001 00:56:39 +0000 (00:56 +0000)]
* exp_util.adb (Must_Be_Aligned): Return false for a component of a
record that has other packed components.

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

22 years ago * adaint.c: Minor cleanups.
bosch [Wed, 5 Dec 2001 00:48:27 +0000 (00:48 +0000)]
* adaint.c: Minor cleanups.

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

22 years ago * adaint.c: Do not use utime.h on vxworks.
bosch [Wed, 5 Dec 2001 00:33:05 +0000 (00:33 +0000)]
* adaint.c: Do not use utime.h on vxworks.

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

22 years ago2001-12-05 Martin v. L�wis <loewis@informatik.hu-berlin.de>
loewis [Wed, 5 Dec 2001 00:09:14 +0000 (00:09 +0000)]
2001-12-05  Martin v. L�wis  <loewis@informatik.hu-berlin.de>

* da.po, es.po, fr.po, ja.po: New files.

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

22 years ago * verify.cc (_Jv_BytecodeVerifier::linked_utf8): New structure.
tromey [Tue, 4 Dec 2001 23:54:43 +0000 (23:54 +0000)]
* verify.cc (_Jv_BytecodeVerifier::linked_utf8): New structure.
(_Jv_BytecodeVerifier::utf8_list): New field.
(_Jv_BytecodeVerifier::_Jv_BytecodeVerifier): Initialize it.
(_Jv_BytecodeVerifier::~_Jv_BytecodeVerifier): Free it.
(_Jv_BytecodeVerifier::make_utf8_const): New method.
(_Jv_BytecodeVerifier::get_one_type): Use it.
(_Jv_BytecodeVerifier::type::merge): When using local semantics,
if the destination type is already unsuitable then we didn't
change.

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

22 years ago2001-12-04 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 4 Dec 2001 23:42:45 +0000 (23:42 +0000)]
2001-12-04  Phil Edwards  <pme@gcc.gnu.org>

* Makefile.in:  Add INSTALL_SCRIPT using INSTALL definition.

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

22 years ago* fixinc/fixincl.c (initialize): Avoid problemsome macro
dj [Tue, 4 Dec 2001 23:29:42 +0000 (23:29 +0000)]
* fixinc/fixincl.c (initialize): Avoid problemsome macro
parameter names (PR 3388).

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

22 years ago * config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
amodra [Tue, 4 Dec 2001 23:23:19 +0000 (23:23 +0000)]
* config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
* config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too.

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

22 years ago * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
bosch [Tue, 4 Dec 2001 23:13:07 +0000 (23:13 +0000)]
* Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
more confusion than it solves.

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

22 years ago * c-common.def (COMPOUND_LITERAL_EXPR): New.
jsm28 [Tue, 4 Dec 2001 22:55:40 +0000 (22:55 +0000)]
* c-common.def (COMPOUND_LITERAL_EXPR): New.
* c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
(c_staticp): New function.
* c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
(c_staticp): Declare.
* c-typeck.c (default_function_array_conversion, build_unary_op):
Don't handle CONSTRUCTOR specially.
(lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
* c-decl.c (build_compound_literal): New function.
* c-tree.h (build_compound_literal): Declare.
* c-parse.in (primary): Use build_compound_literal.
* c-lang.c (LANG_HOOKS_STATICP): Define.
* objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
* doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
* doc/extend.texi: Update documentation of compound literals.
Fixes PR c/4787.

testsuite:
* gcc.c-torture/execute/20000722-1.x,
gcc.c-torture/execute/20010123-1.x: Remove.
* gcc.c-torture/compile/init-3.c: Don't use a compound literal.
* gcc.dg/c90-complit-1.c, gcc.dg/c99-complit-1.c,
gcc.dg/c99-complit-2.c: New tests.

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

22 years ago * langhooks.h (struct lang_hooks): Add staticp.
jsm28 [Tue, 4 Dec 2001 22:49:20 +0000 (22:49 +0000)]
* langhooks.h (struct lang_hooks): Add staticp.
* langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
(LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
* langhooks.c (lhd_staticp): New function.
* tree.c (staticp): Call lang_hooks.staticp for language-specific
tree codes.

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

22 years ago * cppspec.c (lang_specific_driver): Set is_cpp_driver.
neil [Tue, 4 Dec 2001 22:26:16 +0000 (22:26 +0000)]
* cppspec.c (lang_specific_driver): Set is_cpp_driver.
* gcc.c (process_command): Ensure the cpp driver sees
--help and --target-help, and that the help is printed
exactly once.

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

22 years ago * einfo.h, nmake.adb, nmake.ads, sinfo.h, treeprs.ads: Regenerate.
bosch [Tue, 4 Dec 2001 21:28:25 +0000 (21:28 +0000)]
* einfo.h, nmake.adb, nmake.ads, sinfo.h, treeprs.ads: Regenerate.

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

22 years ago * Makefile.in (update-sources): New target.
bosch [Tue, 4 Dec 2001 21:10:34 +0000 (21:10 +0000)]
* Makefile.in (update-sources): New target.
For use by gcc_release script.

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

22 years ago * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
bosch [Tue, 4 Dec 2001 21:00:26 +0000 (21:00 +0000)]
* sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
a configuration pragma, it is now legal wherever a pragma can appear.

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

22 years ago * defineclass.cc (read_one_method_attribute): `end_pc' for an
tromey [Tue, 4 Dec 2001 20:18:35 +0000 (20:18 +0000)]
* defineclass.cc (read_one_method_attribute): `end_pc' for an
exception can be equal to code length.
* verify.cc (_Jv_BytecodeVerifier::verify_instructions_0): Removed
`start_PC' from error invocation where it didn't make sense, and
updated error message.  Use `copy' to copy a state.  Only try to
merge current state with saved state when we've fallen through
from the previous instruction.
(_Jv_BytecodeVerifier::pop_ref_or_return): New method.
(_Jv_BytecodeVerifier::verify_instructions_0) [op_astore_0]: Use
pop_ref_or_return.
(_Jv_BytecodeVerifier::verify_instructions_0) [op_astore]:
Likewise.
(_Jv_BytecodeVerifier::push_jump_merge): Pass max_locals, not
max_stack, to merge.
(_Jv_BytecodeVerifier::verify_instructions_0): Likewise.
(_Jv_BytecodeVerifier::push_jump_merge): Merge from new state into
state at branch target, not vice versa.
(_Jv_BytecodeVerifier::branch_prepass): Allow end of exception to
be equal to code length.  Removed redundant test to see if
exception start is after exception end.
(_Jv_BytecodeVerifier::verify_instructions_0): Type of argument to
`finally' is Throwable.

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

22 years ago2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 4 Dec 2001 20:13:41 +0000 (20:13 +0000)]
2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>

* src/Makefile.am (sources): Add ext-inst.cc.
* src/Makefile.in: Regenerate.
* src/ext-inst.cc: New file.
* include/bits/stl_threads.h: Format.
* src/globals.cc: Add instantiation for _S_swap_lock.

* testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
instantiation.

2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>

* testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
* testsuite/26_numerics/complex_inserters_extractors.cc: Provide
for explicit instantiation of class std::basic_string<char,
gnu_char_traits, std::allocator<char> >.

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

22 years ago * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
dje [Tue, 4 Dec 2001 19:38:45 +0000 (19:38 +0000)]
    * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.

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

22 years ago * check-init.c: Handle definite unassignment to finals in addition
bothner [Tue, 4 Dec 2001 19:30:13 +0000 (19:30 +0000)]
* check-init.c:   Handle definite unassignment to finals in addition
to definite assignment. [see ChangeLog]

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

22 years ago * config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
hp [Tue, 4 Dec 2001 18:42:24 +0000 (18:42 +0000)]
* config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
flag_strict_aliasing.  Use separate assignment statements.

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

22 years ago * build-make, cross-make: Delete file.
zack [Tue, 4 Dec 2001 18:02:50 +0000 (18:02 +0000)]
* build-make, cross-make: Delete file.
* configure.in: Set and substitute CROSS, ALL,
SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
whether build == host and host == target.  Do not
AC_SUBST_FILE build_overrides or cross_overrides.  Do not
AC_SUBST cross_defines or extra_c_flags.
* Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
(SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
partially or completely with autoconf-substituted @variable@
notation.
(INSTALL_TARGET, @cross_defines@, @cross_overrides@,
@build_overrides@, @extra_c_flags@, all.build, install-build,
install-cross-rest, install-float-h-cross): Deleted.
(install-normal): Rename to install.  Delete old "install"
indirection rule.
* ada/Makefile.in, ch/Makefile.in: Don't set ALL.  Delete
@cross_defines@, @cross_overrides@, @build_overrides@ stanzas.
INTERNAL_CFLAGS is now @CROSS@ -DIN_GCC; update comment.

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

22 years ago2001-12-04 Andrew MacLeod <amacleod@redhat.com>
amacleod [Tue, 4 Dec 2001 17:37:23 +0000 (17:37 +0000)]
2001-12-04  Andrew MacLeod  <amacleod@redhat.com>

* stmt.c (expand_return): Clear destination instead of clobbering it
when setting a return value via bitsets.

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

22 years ago* tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
aoliva [Tue, 4 Dec 2001 17:11:05 +0000 (17:11 +0000)]
* tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
it has DECL_SAVED_TREE.

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

22 years ago * einfo.adb (Has_Pragma_Pure_Function): New flag.
bosch [Tue, 4 Dec 2001 16:55:48 +0000 (16:55 +0000)]
* einfo.adb (Has_Pragma_Pure_Function): New flag.
Fix problem that stopped ceinfo from working

* einfo.ads (Has_Pragma_Pure_Function): New flag.

* sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.

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

22 years ago * gnatchop.adb:
bosch [Tue, 4 Dec 2001 16:37:55 +0000 (16:37 +0000)]
* gnatchop.adb:
(File_Time_Stamp): New procedure.
(Preserve_Mode): New boolean.
(Write_Unit): Pass time stamp.
Implement -p switch (preserve time stamps).

* gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).

* gnatchop.adb: Do usage info for -p switch

* adaint.h (__gnat_set_file_time_name): New function

* adaint.c (__gnat_set_file_time_name): Implement

* adaint.h: Fix typo

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

22 years agoRevert previous patch
aoliva [Tue, 4 Dec 2001 15:10:16 +0000 (15:10 +0000)]
Revert previous patch

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

22 years ago * trans.c (tree_transform): Adjust call of expand_start_stmt_expr.
aj [Tue, 4 Dec 2001 13:25:32 +0000 (13:25 +0000)]
* trans.c (tree_transform): Adjust call of expand_start_stmt_expr.

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

22 years ago* c-decl.c (duplicate_decls): Revert rth's patch. If newdecl
aoliva [Tue, 4 Dec 2001 10:34:40 +0000 (10:34 +0000)]
* c-decl.c (duplicate_decls): Revert rth's patch.  If newdecl
is in a different binding level, get its abstract origin to be
olddecl.
* tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
check earlier.
* tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
DECL_INITIAL is NULL.

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

22 years ago* com.c (ffecom_expr_power_integer_): Adjust
aoliva [Tue, 4 Dec 2001 10:31:27 +0000 (10:31 +0000)]
* com.c (ffecom_expr_power_integer_): Adjust
expand_start_stmt_expr() invocation.

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

22 years ago* semantics.c (begin_global_stmt_expr): Adjust
aoliva [Tue, 4 Dec 2001 10:30:47 +0000 (10:30 +0000)]
* semantics.c (begin_global_stmt_expr): Adjust
expand_start_stmt_expr invocation.

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

22 years ago* stmt.c (expand_expr_stmt): Keep last_expr_value non-NULL iff
aoliva [Tue, 4 Dec 2001 10:30:04 +0000 (10:30 +0000)]
* stmt.c (expand_expr_stmt): Keep last_expr_value non-NULL iff
we're interested in the result.  Use it to tell whether to
ignore results of enclosed expressions.
(expand_start_stmt_expr): Added new argument, and initialize
last_expr_value accordingly.
* tree.h (expand_start_stmt_expr): Adjusted declaration.
* c-common.c (c_expand_expr): Adjust call.
* expr.c (expand_expr) [EXPR_WFL]: Pass const0_rtx down if
ignoring the result.

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

22 years ago* Makefile.in ($(LIBG2C)): Fix -rpath argument to libtool.
aoliva [Tue, 4 Dec 2001 10:02:51 +0000 (10:02 +0000)]
* Makefile.in ($(LIBG2C)): Fix -rpath argument to libtool.

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

22 years ago* Makefile.in (AR, RANLIB): Add, for substitutions.
aoliva [Tue, 4 Dec 2001 09:53:18 +0000 (09:53 +0000)]
* Makefile.in (AR, RANLIB): Add, for substitutions.
(all-unilib, $(LIBG2C)): Depend on object lists, not
convenience libraries.
(s-libe77): Renamed from libE77.la; build object list.
(install): Do not move libraries to libdir.
(mostlyclean, clean): Adjust.
* libF77/Makefile.in (RANLIB): Add.
(LINK): Remove.
(../s-libf77): Renamed from ../libF77.la; build object list.
(../libfrtbegin.a): Remove target first.  Don't use $<.
(all, clean, distclean): Adjust.
* libF77/configure.in: Substitute RANLIB.
* libF77/configure: Rebuilt.
* libI77/Makefile.in (LINK): Delete.
(../s-libi77): Renamed from ../libI77.la; build object list.
(all, clean, distclean): Adjust.
* libU77/Makefile.in: Likewise.

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

22 years agocp:
nathan [Tue, 4 Dec 2001 09:51:18 +0000 (09:51 +0000)]
cp:
* pt.c (end_template_parm_list): Clear TREE_CHAIN of each parm.

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

22 years agocp:
nathan [Tue, 4 Dec 2001 09:48:53 +0000 (09:48 +0000)]
cp:
PR g++/164
* init.c (sort_base_init): Allow binfos to be directly specified.
* method.c (do_build_copy_constructor): Explicitly convert to the
base instance.
(do_build_assign_ref): Likewise.
testsuite:
* g++.dg/inherit/base1.C: New test.

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

22 years ago * flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
jakub [Tue, 4 Dec 2001 09:33:17 +0000 (09:33 +0000)]
* flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
Return correct value if one of the subexpressions was optimized to
0 resp. 1.  Optimize (x | A) | x and (x & A) | x.
(and_reg_cond): Similarly.

* gcc.c-torture/compile/20011130-2.c: New test.

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

22 years ago * function.c (assign_parms): Set last_named only for last named
jakub [Tue, 4 Dec 2001 09:29:54 +0000 (09:29 +0000)]
* function.c (assign_parms): Set last_named only for last named
argument.

* g++.dg/other/stdarg1.C: New test.

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

22 years agoFix date on last entry.
jsm28 [Tue, 4 Dec 2001 09:23:37 +0000 (09:23 +0000)]
Fix date on last entry.

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

22 years ago * doc/install.texi: Use the GFDL. Include years from old install
jsm28 [Tue, 4 Dec 2001 09:21:56 +0000 (09:21 +0000)]
* doc/install.texi: Use the GFDL.  Include years from old install
manual in copyright notice.  Include copyright and GFDL notice on
HTML index page.  Include usual footer on testing.html.
* doc/install.texi2html: Build gfdl.html.  Use -I
$SOURCEDIR/include.
* doc/include/fdl.texi: Adapt for use in the install manual.

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

22 years ago * doc/install.texi: Document that installed native compiler for
jsm28 [Tue, 4 Dec 2001 08:19:41 +0000 (08:19 +0000)]
* doc/install.texi: Document that installed native compiler for
building cross compilers should be GCC 2.95 or later.

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

22 years agoDaily bump.
gccadmin [Tue, 4 Dec 2001 08:16:23 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * Makefile.in: Rebuilt with automake-gcj.
bryce [Tue, 4 Dec 2001 07:21:25 +0000 (07:21 +0000)]
* Makefile.in: Rebuilt with automake-gcj.

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

22 years ago2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 4 Dec 2001 07:15:01 +0000 (07:15 +0000)]
2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/collate.cc: Compile-only.
* testsuite/22_locale/time_get.cc: Same.
* testsuite/22_locale/time_put.cc: Same.
* testsuite/22_locale/numpunct.cc: Same.
* testsuite/22_locale/num_put.cc: Same.
* testsuite/22_locale/num_get.cc: Same.
* testsuite/22_locale/moneypunct.cc: Same.
* testsuite/22_locale/money_get.cc: Same.
* testsuite/22_locale/messages.cc: Same.
* testsuite/22_locale/ctype.cc: Same.

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

22 years ago * defineclass.cc (handleMethodsEnd): Invoke verifier here...
tromey [Tue, 4 Dec 2001 06:37:53 +0000 (06:37 +0000)]
* defineclass.cc (handleMethodsEnd): Invoke verifier here...
(handleCodeAttribute): ... not here.
* verify.cc (_Jv_BytecodeVerifier::state::state): Use `copy', not
structure assignment.

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

22 years ago2001-12-03 Eric Christopher <echristo@redhat.com>
echristo [Tue, 4 Dec 2001 06:30:02 +0000 (06:30 +0000)]
2001-12-03  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
* config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
patterns.

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