OSDN Git Service
nicola [Wed, 12 Dec 2001 10:41:48 +0000 (10:41 +0000)]
Fixed compilation of bitfields of enumerations in args and ivars
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47928
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 12 Dec 2001 10:32:03 +0000 (10:32 +0000)]
* doc/extend.texi (Deprecated Features): Deprecate implicit
typename. Document that named return and initializer lists are now
removed.
cp:
* decl.c (grokdeclarator): Deprecated implicit typename use.
testsuite:
* g++.old-deja/g++.brendan/crash56.C: Adjust implicit typename.
* g++.old-deja/g++.jason/2371.C: Likewise.
* g++.old-deja/g++.jason/template33.C: Likewise.
* g++.old-deja/g++.jason/template34.C: Likewise.
* g++.old-deja/g++.jason/template36.C: Likewise.
* g++.old-deja/g++.oliva/typename1.C: Likewise.
* g++.old-deja/g++.oliva/typename2.C: Likewise.
* g++.old-deja/g++.other/typename1.C: Likewise.
* g++.old-deja/g++.pt/inherit2.C: Likewise.
* g++.old-deja/g++.pt/nontype5.C: Likewise.
* g++.old-deja/g++.pt/typename11.C: Likewise.
* g++.old-deja/g++.pt/typename14.C: Likewise.
* g++.old-deja/g++.pt/typename16.C: Likewise.
* g++.old-deja/g++.pt/typename3.C: Likewise.
* g++.old-deja/g++.pt/typename4.C: Likewise.
* g++.old-deja/g++.pt/typename5.C: Likewise.
* g++.old-deja/g++.pt/typename7.C: Likewise.
* g++.old-deja/g++.robertl/eb9.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47927
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 12 Dec 2001 08:27:29 +0000 (08:27 +0000)]
2001-12-11 Roger Sayle <roger@eyesopen.com>
* except.c (reachable_next_level): Handle ERT_UNKNOWN to avoid
compiler warning about enumeration values not being handled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47926
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 12 Dec 2001 08:16:18 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47924
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 12 Dec 2001 06:59:23 +0000 (06:59 +0000)]
* config/fp-bit.c (pack_d): Cast to ``fractype'' for long long
shifts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47923
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 12 Dec 2001 06:40:27 +0000 (06:40 +0000)]
* config/alpha/alpha.h (TARGET_FIXUP_EV5_PREFETCH): New.
* config/alpha/linux.h (TARGET_FIXUP_EV5_PREFETCH): New.
* config/alpha/alpha.md (prefetch): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47922
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 12 Dec 2001 05:58:12 +0000 (05:58 +0000)]
* combine.c (simplify_and_const_int): Simplify (AND (PLUS X Y) C)
if C has only low bits set and doesn't intersect with X or Y.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47921
138bc75d-0d04-0410-961f-
82ee72b054a4
wehle [Wed, 12 Dec 2001 05:01:32 +0000 (05:01 +0000)]
* basic-block.h (flow_preorder_transversal_compute): Declare.
* cfganal.c (flow_preorder_transversal_compute): Implement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47920
138bc75d-0d04-0410-961f-
82ee72b054a4
wehle [Wed, 12 Dec 2001 04:56:30 +0000 (04:56 +0000)]
* cfganal.c (flow_depth_first_order_compute): Always
increment dfsnum.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47919
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 12 Dec 2001 03:22:25 +0000 (03:22 +0000)]
2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
* config/os/generic/bits/ctype_inline.h: Remove spaces.
* config/os/gnu-linux/bits/ctype_noninline.h: Same.
* include/bits/locale_facets.h (__num_base): Move double data
members to first in class.
* include/bits/locale_facets.tcc: Re-arrange, tweak.
* src/locale.cc: Clean.
*include/bits/stl_vector.h: Space typedefs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47918
138bc75d-0d04-0410-961f-
82ee72b054a4
alanm [Wed, 12 Dec 2001 03:20:14 +0000 (03:20 +0000)]
2001-11-30 Alan Matsuoka <alanm@redhat.com>
* combine.c (combine_simplify_rtx) : Can't simplify
cases that use mode class MODE_CC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47917
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 12 Dec 2001 03:00:01 +0000 (03:00 +0000)]
* expmed.c (expand_divmod): Ignore sdiv_pow2_cheap for modes in
which there is no divide expander.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47916
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 12 Dec 2001 02:58:23 +0000 (02:58 +0000)]
* except.c (sjlj_find_directly_reachable_regions): Don't
consider RNL_BLOCKED a directly reachable region.
(sjlj_assign_call_site_values): Trust directly_reachable.
(sjlj_emit_dispatch_table): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47915
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 12 Dec 2001 02:53:38 +0000 (02:53 +0000)]
* config/alpha/alpha.md (divmodsi_internal_er): Split, so that
we represent the address load's dependency on the gp.
(divmoddi_internal_er): Likewise.
(divmodsi_internal_er_1, divmoddi_internal_er_1): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47914
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 12 Dec 2001 02:47:55 +0000 (02:47 +0000)]
* emit-rtl.c (widen_memory_access): New.
* expr.h (widen_memory_access): Declare it.
* config/alpha/alpha.c (get_aligned_mem): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47913
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 12 Dec 2001 02:42:41 +0000 (02:42 +0000)]
* combine.c (simplify_shift_const): Move SHIFT_COUNT_TRUNCATED
simplification above out of range check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47912
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 12 Dec 2001 02:22:51 +0000 (02:22 +0000)]
* config/sparc/sparc.md (prefetch): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47911
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Wed, 12 Dec 2001 01:53:44 +0000 (01:53 +0000)]
2001-12-11 Aldy Hernandez <aldyh@redhat.com>
* output.h (regno_uninitialized): Make argument unsigned.
* flow.c (regno_uninitialized): Make regno unsigned.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47910
138bc75d-0d04-0410-961f-
82ee72b054a4
obrien [Wed, 12 Dec 2001 01:52:17 +0000 (01:52 +0000)]
2001-12-11 David O'Brien <obrien@FreeBSD.org>
* elfos.h (ENDFILE_SPEC, STARTFILE_SPEC): Do not define.
* config/cris/cris.h (ENDFILE_SPEC): Define.
* config/i386/i386elf.h ((ENDFILE_SPEC, STARTFILE_SPEC): Define.
* config/pa/elf.h: Likewise.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20011211153437.A24619@redhat.com>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47909
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 12 Dec 2001 01:40:58 +0000 (01:40 +0000)]
* objc/objc-act.c (build_string_class_template): New.
(build_objc_string_object): Call it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47908
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Tue, 11 Dec 2001 23:27:40 +0000 (23:27 +0000)]
* sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
that is the parent of other generics, the instance body replaces the
instance node. Retrieve the instance of the spec, which is the one
that is visible in clients and within the body.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47906
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Tue, 11 Dec 2001 23:14:07 +0000 (23:14 +0000)]
* gnatmain.adb: Initial version.
* gnatmain.ads: Initial version.
* prj-attr.adb (Initialisation_Data): Add package Gnatstub.
* snames.adb: Updated to match snames.ads.
* snames.ads: Added Gnatstub.
* prj-attr.adb (Initialization_Data): Change name from
Initialisation_Data.
* g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
+ and * applied to backslashed expressions like \r.
* g-os_lib.ads: String_List type added, Argument_List type is now
subtype of String_List.
* g-os_lib.ads: Change copyright to FSF
Add comments for String_List type
* g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
string to the buffer).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47905
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 11 Dec 2001 23:04:36 +0000 (23:04 +0000)]
2001-12-11 Steve Ellcey <sje@cup.hp.com>
* doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): New.
* defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): New.
* calls.c (store_unaligned_arguments_into_pseudos): Check
FUNCTION_ARG_REG_LITTLE_ENDIAN to see how structures
are passed/returned.
* expr.c (move_block_from_reg): Ditto.
(move_block_from_reg): Ditto.
(copy_blkmode_from_reg): Ditto.
* stmt.c (expand_return): Ditto.
* stor-layout.c (compute_record_mode): If
FUNCTION_ARG_REG_LITTLE_ENDIAN is set then check
MEMBER_TYPE_FORCES_BLK even if mode == VOIDmode.
* config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set to true
so that Structures of one field are still treated as structures.
(FUNCTION_ARG_REG_LITTLE_ENDIAN): New, set it to true.
(FUNCTION_ARG_PADDING): Set to ia64_hpux_function_arg_padding().
(PAD_VARARGS_DOWN): Modify from default to not pad structures down.
* config/ia64/ia64-protos.h (ia64_hpux_function_arg_padding): New.
* config/ia64/ia64.c (ia64_hpux_function_arg_padding): New function
to special case handling of structure padding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47904
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Tue, 11 Dec 2001 23:02:49 +0000 (23:02 +0000)]
Make-lang.in: JAVA_INSTALL_NAME, JAVA_CROSS_NAME: Remove whitespace
at end of line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47903
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Tue, 11 Dec 2001 23:01:00 +0000 (23:01 +0000)]
* freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
sem_attr.
* sem_attr.adb: Simplify previous fix for Address.
(Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
to avoid anomalies where the bound of the type appears to raise
constraint error.
* lib-xref.adb (Output_Refs): Make sure pointers are always properly
handled.
* sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
renamed unit before checking for recursive instantiations.
* prj.ads: Add comments for some of the fields.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47902
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Tue, 11 Dec 2001 22:50:45 +0000 (22:50 +0000)]
* lib-xref.adb (Output_Refs): Don't output type references outside
the main unit if they are not otherwise referenced.
* sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
code and diagnose additional illegal uses
* sem_util.adb (Is_Object_Reference): An indexed component is an
object only if the prefix is.
* g-diopit.adb: Initial version.
* g-diopit.ads: Initial version.
* g-dirope.adb:
(Expand_Path): Avoid use of Unbounded_String
(Find, Wildcard_Iterator): Moved to child package Iteration
* Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
* sem_attr.adb: Minor reformatting
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47901
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Tue, 11 Dec 2001 22:50:35 +0000 (22:50 +0000)]
2001-12-11 Daniel Berlin <dan@cgsoftware.com>
* sched-rgn.c (CONST_BASED_ADDRESS_P): CONST_INT -> CONSTANT_P.
(may_trap_exp): Stores only are risk if they trap, too, not just
if code == MEM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47900
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Tue, 11 Dec 2001 22:25:15 +0000 (22:25 +0000)]
* sem_ch3.adb: Clarify some ???.
* exp_util.adb (Must_Be_Aligned): Removed, replaced by
Exp_Pakd.Known_Aligned_Enough
* sem_ch13.adb (Check_Address_Alignment): Removed, extended
version is moved to Exp_Ch13.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47899
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Tue, 11 Dec 2001 22:11:45 +0000 (22:11 +0000)]
* einfo.ads: Minor reformatting
* exp_ch5.adb: Add comment for previous.change
* ali.adb: New interface for extended typeref stuff.
* ali.ads: New interface for typeref stuff.
* checks.adb (Apply_Alignment_Check): New procedure.
* debug.adb: Add -gnatdM for modified ALI output
* exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
* lib-xref.adb: Extend generation of <..> notation to cover
subtype/object types. Note that this is a complete rewrite,
getting rid of the very nasty quadratic algorithm previously
used for derived type output.
* lib-xref.ads: Extend description of <..> notation to cover
subtype/object types. Uses {..} for these other cases.
Also use (..) for pointer types.
* sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
* exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
(Known_Aligned_Enough): Replaces Must_Be_Aligned.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47896
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Tue, 11 Dec 2001 21:49:34 +0000 (21:49 +0000)]
* gnatcmd.adb:
Changed /COMPILE_ONLY to /ACTIONS=COMPILE
Changed /BIND_ONLY to /ACTIONS=BIND
Changed /LINK_ONLY to /ACTIONS=LINK
* sem_ch8.adb (Find_Selected_Component): improved search for a
candidate package in case of error.
* sem_ch12.adb (Inline_Instance_Body): place head of use_clause
chain back on scope stack before reinstalling use clauses.
* exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
is enabled, do not kill the code for the condition, to preserve
warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47895
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Tue, 11 Dec 2001 21:24:20 +0000 (21:24 +0000)]
* checks.adb (Insert_Valid_Check): Apply validity check to expression
of conversion, not to result of conversion.
* sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
before freezing parent. If the declarations are mutually recursive,
an access to the current record type may be frozen before the
derivation is complete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47894
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Tue, 11 Dec 2001 20:29:50 +0000 (20:29 +0000)]
2001-12-05 Martin v. L�wis <loewis@informatik.hu-berlin.de>
* es.po: Update to 3.0 template.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47893
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Tue, 11 Dec 2001 20:17:55 +0000 (20:17 +0000)]
2001-12-11 Aldy Hernandez <aldyh@redhat.com>
* flow.c (find_regno_partial): Indent properly. Add a default to
switch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47892
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 11 Dec 2001 20:11:34 +0000 (20:11 +0000)]
cp:
PR g++/51
* parse.y (frob_specs): Indicate it is a language linkage which
contained the extern.
* decl.c (grokdeclarator): Allow extern language linkage with
other specifiers.
testsuite:
* g++.dg/other/linkage1.C: New test.
* g++.old-deja/g++.brendan/err-msg2.C: Alter to avoid two
specifiers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47891
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 11 Dec 2001 19:42:34 +0000 (19:42 +0000)]
* c-common.c (combine_strings): Complain if concatenating
__FUNCTION__.
* c-parse.in (yylexname): Flag artificial strings.
* tree.h (TREE_ARTIFICIAL_STRING_P): New.
doc:
* extend.texi: Update.
testsuite:
* gcc.dg/concat.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47890
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Tue, 11 Dec 2001 19:33:39 +0000 (19:33 +0000)]
2001-12-10 Aldy Hernandez <aldyh@redhat.com>
* c-common.c (type_for_mode): Handle unsigned vectors.
(type_for_mode): Remove redundant calls to TYPE_MODE.
* tree.c (make_vector): New.
(build_common_tree_nodes_2): Use make_vector for vector types.
Add unsigned vector types.
* tree.h (tree_index): Add unsigned types for vectors.
(unsigned_V16QI_type_node): New.
(unsigned_V4SI_type_node): New.
(unsigned_V8QI_type_node): New.
(unsigned_V8HI_type_node): New.
(unsigned_V4HI_type_node): New.
(unsigned_V2SI_type_node): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47889
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Tue, 11 Dec 2001 19:04:58 +0000 (19:04 +0000)]
2001-12-11 Phil Edwards <pme@gcc.gnu.org>
* testsuite/ext/allocators.cc: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47888
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 11 Dec 2001 18:53:53 +0000 (18:53 +0000)]
Correct innacurate documentation of ADJUST_FIELD_ALIGN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47887
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Tue, 11 Dec 2001 18:24:17 +0000 (18:24 +0000)]
* objc/objc-act.c (finish_message_expr): Fix misplaced parens in a
test of class names.
* objc/compile: New test directory.
* objc/compile/compile.exp: New expect script.
* objc/compile/
20011211-1.m: New compile test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47886
138bc75d-0d04-0410-961f-
82ee72b054a4
obrien [Tue, 11 Dec 2001 18:21:04 +0000 (18:21 +0000)]
2001-12-11 David O'Brien <obrien@FreeBSD.org>
* config.gcc (m68020-*-elf*): Expand tm_file to include all needed
cpu configuration headers.
* config/h8300/elf.h: Include dbxelf.h.
* config/m68k/linux.h: Likewise.
* config/m68k/m68020-elf.h: Likewise.
* config/m68k/m68kv4.h: Likewise.
* config/sh/elf.h: Likewise.
* config/m68k/m68kemb.h: Add comment about the its purpose.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20011210155120.A23862@redhat.com>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47885
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 11 Dec 2001 18:07:01 +0000 (18:07 +0000)]
* objc/objc-act.c (build_constructor): Cast initializer values
to the proper field types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47884
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 11 Dec 2001 18:01:40 +0000 (18:01 +0000)]
* java/lang/String.java (String): New constructor.
* gnu/gcj/runtime/natStringBuffer.cc: New file.
* gnu/gcj/runtime/StringBuffer.java: New file.
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Added
gnu/gcj/runtime/StringBuffer.java.
(nat_source_files): Added gnu/gcj/runtime/natStringBuffer.cc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47883
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 11 Dec 2001 17:59:02 +0000 (17:59 +0000)]
* lex.c (java_init_lex): Define wfl_to_string as
gnu.gcj.runtime.StringBuffer unless generating bytecode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47882
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 11 Dec 2001 17:27:14 +0000 (17:27 +0000)]
* unwind-dw2.c (execute_cfa_program): Fix DW_CFA_restore handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47881
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Tue, 11 Dec 2001 17:15:22 +0000 (17:15 +0000)]
* class.c (make_method_value): Use null_pointer_node to
represent empty exception table.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47880
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 11 Dec 2001 15:48:11 +0000 (15:48 +0000)]
* include/bits/locale_facets.tcc (_M_extract_int): Avoid
uninitialized warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47877
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Tue, 11 Dec 2001 14:51:55 +0000 (14:51 +0000)]
* builtins.c (expand_builtin): Use a switch statement to list
those functions not expanded without optimizations, instead of a
series of equality tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47876
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 11 Dec 2001 14:18:34 +0000 (14:18 +0000)]
* lib/prune.exp (prune_gcc_output): Also handle "In member
function". So many permutations...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47875
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Dec 2001 13:29:26 +0000 (13:29 +0000)]
* config/alpha/vms.h (LIB_SPEC): Define.
* config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Don't set component field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47874
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Dec 2001 13:23:40 +0000 (13:23 +0000)]
* intl/localealias.c (strings.h): Include.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47873
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Dec 2001 13:18:18 +0000 (13:18 +0000)]
* libgcc2.c (_bb): Remove ctime declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47872
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Dec 2001 13:13:01 +0000 (13:13 +0000)]
* Makefile.in (stage[1234]-start): $(LN_S) utilities in a manner
that works if LN_S = cp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47871
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Dec 2001 13:06:16 +0000 (13:06 +0000)]
* config/alpha/x-vms (version): Change "." to "_".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47870
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Dec 2001 12:17:33 +0000 (12:17 +0000)]
* gcc/configure.in: Hardcode that vfork works on VMS host.
* gcc/configure: Regenerated.
* libiberty/configure.in: Hardcode that vfork works on VMS host.
* libiberty/configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47869
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Tue, 11 Dec 2001 09:41:40 +0000 (09:41 +0000)]
* config/cpu/sparc/sparc32/bits/atomicity.h
(__Atomicity_lock<0>::_S_atomicity_lock): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47867
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Tue, 11 Dec 2001 08:26:49 +0000 (08:26 +0000)]
MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47866
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 11 Dec 2001 08:17:58 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47865
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 11 Dec 2001 04:03:57 +0000 (04:03 +0000)]
For PR libgcj/1147:
* prims.cc (JvConvertArgv): Convert using current locale's
encoding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47862
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 11 Dec 2001 03:58:40 +0000 (03:58 +0000)]
Fix for PR libgcj/5064.
* java/lang/natClassLoader.cc: Don't include stdio.h.
(_Jv_RegisterClassHookDefault): Don't use snprintf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47861
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 11 Dec 2001 03:29:12 +0000 (03:29 +0000)]
* check-init.c (check_init) [SWITCH_EXPR]: Use SWITCH_HAS_DEFAULT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47860
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 10 Dec 2001 23:53:33 +0000 (23:53 +0000)]
* rs6000.c (processor_target_table): Add PPC405.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47858
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Dec 2001 23:46:00 +0000 (23:46 +0000)]
* gcc.c (convert_filename): Add do_obj parameter. Don't convert
unless do_obj true.
(process_command): Modify calls to convert_filename.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47857
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Mon, 10 Dec 2001 23:38:50 +0000 (23:38 +0000)]
* config/sparc/sol2-sld-64.h: Include dbxelf.h again.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47856
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 10 Dec 2001 22:52:26 +0000 (22:52 +0000)]
* combine.c (known_cond): Check mode of each operand to determine
if COND is comparing floating point values.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47855
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 10 Dec 2001 22:49:13 +0000 (22:49 +0000)]
cp:
PR g++/72
* decl.c (add_binding): Don't reject duplicate typedefs involving
template parameters.
testsuite:
* g++.dg/template/typedef1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47854
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 10 Dec 2001 22:46:15 +0000 (22:46 +0000)]
* rs6000.h (processor_type): Add PPC405.
(RTX_COSTS): Add PPC405. Correct rs64 and ppc630 multiply costs.
* rs6000.md: Add PPC405 information. Utilize imul2 and imul3 for
rios1, rs64, and ppc630 processors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47853
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 10 Dec 2001 22:21:03 +0000 (22:21 +0000)]
* config/alpha/alpha.md (unaligned_extendhidi): Call gen_lowpart
instead of hardcoding subregs into the _be and _le patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47852
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 10 Dec 2001 21:35:29 +0000 (21:35 +0000)]
* doc/install.texi (Final install): Request additional information
in mail about successful builds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47850
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 10 Dec 2001 20:08:59 +0000 (20:08 +0000)]
* c-lex.c, c-parse.in, c-typeck.c: Revert concatenation changes.
cp:
* parse.y, semantics.c: Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47848
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 10 Dec 2001 14:32:28 +0000 (14:32 +0000)]
2001-12-10 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
* include/bits/basic_string.h: Fix typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47847
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Dec 2001 14:30:11 +0000 (14:30 +0000)]
* config/i386/i386.md (leave, leave_rex64): Adjust pattern to match
what insn does.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47846
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 10 Dec 2001 13:55:22 +0000 (13:55 +0000)]
2001-12-10 Paolo Carlini <pcarlini@unitus.it>
* ChangeLog of the previous commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47845
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 10 Dec 2001 13:42:01 +0000 (13:42 +0000)]
2001-12-10 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
* include/bits/basic_string.tcc (_M_replace_safe): New function.
(_M_replace(input_iterator_tag), append members): Use it.
(_M_replace(forward_iterator_tag)): Remove.
* include/bits/basic_string.h: Adjust declarations.
* src/string-inst.cc: Adjust declarations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47844
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Dec 2001 12:04:24 +0000 (12:04 +0000)]
* Makefile.in: Add $(OUTPUT_OPTION) to compilation rules.
* intl/Makefile.in (OUTPUT_OPTION): Add configure variable.
(.c.o): Add $(OUTPUT_OPTION).
* java/Make-lang.in (jvspec.o): Add $(OUTPUT_OPTION).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47843
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 10 Dec 2001 11:27:01 +0000 (11:27 +0000)]
* doc/cpp.texi: Don't condition menus on @ifinfo. Condition the
copyright notice formerly conditioned on @ifinfo on @ifnottex
instead.
f:
* g77.texi: Don't condition menus on @ifinfo.
ch:
* chill.texi: Don't condition menus on @ifinfo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47842
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Dec 2001 11:22:17 +0000 (11:22 +0000)]
* vmsdbgout.c (lookup_filename): Remove warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47841
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Dec 2001 11:18:34 +0000 (11:18 +0000)]
* config.gcc (alpha*-dec-vms*): Change to alpha*-dec-*vms*
(exeext, target_alias, prefix, local_prefix): Define.
* config/alpha/x-vms (USE_COLLECT2): Make empty.
* config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Use Unix style
file specifications. Remove ".".
(GCC_INCLUDE_DIR): Remove redefinition (redundant).
* fixinc/mkfixinc.sh (alpha*-dec-vms*): Change to alpha*-dec-*vms*
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47840
138bc75d-0d04-0410-961f-
82ee72b054a4
turly [Mon, 10 Dec 2001 10:58:07 +0000 (10:58 +0000)]
Correct filename to "darwin-tramp.asm" in my last ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47839
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 10 Dec 2001 09:37:11 +0000 (09:37 +0000)]
* Makefile.in (.po.gmo): Use POSIXLY_CORRECT argument ordering.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47838
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 10 Dec 2001 08:41:03 +0000 (08:41 +0000)]
2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
Philip Martin <pmartin@uklinux.net>
* include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
(__num_base::_S_scale_oct): Add.
* src/locale.cc: Add definitions.
* testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
* testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47837
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 10 Dec 2001 08:16:45 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47836
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Mon, 10 Dec 2001 07:59:48 +0000 (07:59 +0000)]
* gnu/gcj/xlib/XImage.java (toString): Add missing initialization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47834
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Mon, 10 Dec 2001 04:28:28 +0000 (04:28 +0000)]
* check-init.c (current_switch_has_default): New static field.
(check_init): Case DEFAULT_EXPR: Set current_switch_has_default.
Case SWITCH_EXPR: Save/restore current_switch_has_default. If no
DEFAULT_EXPR seen, simulate a default alternative that copies state.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47833
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Dec 2001 03:27:49 +0000 (03:27 +0000)]
Trivial updates to last patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47832
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Dec 2001 03:07:23 +0000 (03:07 +0000)]
* config/alpha/t-vms (EXTRA_PARTS): Append $(VMS_EXTRA_PARTS)
Add rules for building [vp]crt0.o
* config/alpha/vms.h (START_FILE_SPEC): Define.
* config/alpha/x-vms (VMS_EXTRA_PARTS): Define
* config/alpha/vms-crt0.c, config/alpha/vms-psxcrt0.c: New files.
* doc/invoke.texi: Document special Alpha/VMS options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47831
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Dec 2001 01:56:37 +0000 (01:56 +0000)]
* hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.
* vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64,
not GNUC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47828
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Dec 2001 01:28:03 +0000 (01:28 +0000)]
* tree.c (append_random_char): Conditionalize INO for VMS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47827
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 10 Dec 2001 01:18:30 +0000 (01:18 +0000)]
* resolve.cc (_Jv_PrepareClass): Verify method here...
* defineclass.cc (handleMethodsEnd): ... not here.
* verify.cc (_Jv_BytecodeVerifier::initialize_stack): New method.
(_Jv_BytecodeVerifier::verify_instructions_0) [op_return]: Ensure
there are no uninitialized objects.
(_Jv_BytecodeVerifier::state::this_type): New field.
(_Jv_BytecodeVerifier::state::state): Initialize this_type.
(_Jv_BytecodeVerifier::state::copy): Copy this_type.
(_Jv_BytecodeVerifier::state::merge): Merge this_type.
(_Jv_BytecodeVerifier::state::check_no_uninitialized_objects):
Handle this_type.
(_Jv_BytecodeVerifier::state::check_this_initialized): New
method.
(_Jv_BytecodeVerifier::state::set_initialized): Handle this_type.
(_Jv_BytecodeVerifier::state::set_this_type): New method.
(_Jv_BytecodeVerifier::verify_instructions_0) [op_putfield]: Allow
assignment to fields of `this' before another initializer is run.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47826
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Mon, 10 Dec 2001 01:09:42 +0000 (01:09 +0000)]
* cfgcleanup.c (label_is_jump_target_p): New function.
(try_optimize_cfg): Use label_is_jump_target_p to check if label is
target of a JUMP_INSN from the preceding block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47825
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 10 Dec 2001 00:30:24 +0000 (00:30 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (gnu/gcj/runtime/VMClassLoader.h): Use `::java'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47824
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 9 Dec 2001 23:49:51 +0000 (23:49 +0000)]
* vmsdbgout.c (lookup_filename): Assign null string instead
of null pointer to fnam.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47823
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sun, 9 Dec 2001 23:49:29 +0000 (23:49 +0000)]
* libjava.lang/PR3731.out: Adjust output to reflect that
"instanceof" shouldn't trigger class initialization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47822
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 9 Dec 2001 23:43:19 +0000 (23:43 +0000)]
* check-init.c (check_init): Don't allow pre- or post- increment
or decrement of final variable.
(final_assign_error): Minor error message rewording.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47821
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 9 Dec 2001 21:54:23 +0000 (21:54 +0000)]
* config/alpha/alpha.c (alpha_align_insns): Suppress realignment
immediately after a call; insert nops before a call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47820
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 9 Dec 2001 21:47:49 +0000 (21:47 +0000)]
* config/alpha/alpha.c (alpha_align_insns): Use align_functions,
not FUNCTION_BOUNDARY.
* config/alpha/alpha.h (TRAMPOLINE_ALIGNMENT): New.
* config/alpha/alpha32.h, config/alpha/vms.h: Likewise.
* config/alpha/unicosmk.h (FUNCTION_BOUNDARY): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47819
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 9 Dec 2001 21:25:03 +0000 (21:25 +0000)]
* config/mmix/mmix.c (mmix_function_block_profiler,
mmix_block_profiler, mmix_function_block_profiler_exit): Delete
unused functions.
* config/mmix/mmix-protos.h (mmix_function_block_profiler,
mmix_block_profiler, mmix_function_block_profiler_exit): Delete
prototypes.
* config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
Delete obsoleted macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47818
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 9 Dec 2001 20:24:45 +0000 (20:24 +0000)]
Update my email address
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47817
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 9 Dec 2001 20:21:57 +0000 (20:21 +0000)]
* doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi,
doc/md.texi, doc/rtl.texi, doc/tm.texi: Use American spelling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47816
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 9 Dec 2001 20:13:19 +0000 (20:13 +0000)]
* ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c,
cfgbuild.c, expmed.c, expr.c, final.c, flow.c, fold-const.c,
function.c, config/alpha/alpha.md, config/alpha/vms-ld.c,
config/arm/arm.c, config/arm/arm.h, config/c4x/libgcc.S,
config/i370/i370.c, config/i386/i386.c,
config/i386/i386-interix.h, config/i386/i386.md,
config/i386/i386.h, config/i386/netbsd-elf.h, config/ia64/ia64.c,
config/m32r/m32r-protos.h, config/mcore/mcore.h,
config/rs6000/rs6000.h, config/sparc/linux64.h,
config/sparc/sparc.c, config/v850/v850-protos.h,
config/cris/cris.h, config/s390/s390.md, config/elfos.h: Fix
spelling errors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47815
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Sun, 9 Dec 2001 18:49:30 +0000 (18:49 +0000)]
2001-12-09 Daniel Berlin <dan@cgsoftware.com>
* config/rs6000/rs6000.h (enum rs6000_builtins): Add remaining
altivec builtins (VCF?X, VCT?XS, VSEL, V*EFP, VRFI*).
* config/rs6000/rs6000.c: Ditto.
* config/rs6000/rs6000.md: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47814
138bc75d-0d04-0410-961f-
82ee72b054a4