OSDN Git Service
gccadmin [Thu, 20 Dec 2001 08:16:14 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48196
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Thu, 20 Dec 2001 06:22:43 +0000 (06:22 +0000)]
* bindgen.adb: Minor reformatting
* cstand.adb: Minor reformatting
* fmap.adb: Minor reformatting
Change name from Add for Add_To_File_Map (Add is much too generic)
Change Path_Name_Of to Mapped_Path_Name
Change File_Name_Of to Mapped_File_Name
Fix copyright dates in header
* fmap.ads:
Change name from Add for Add_To_File_Map (Add is much too generic)
Change Path_Name_Of to Mapped_Path_Name
Change File_Name_Of to Mapped_File_Name
Fix copyright dates in header
* fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
Add use clause for Fmap.
* make.adb: Minor reformatting
* osint.adb: Minor reformatting. Change of names in Fmap.
Add use clause for Fmap.
* prj-env.adb: Minor reformatting
* prj-env.ads: Minor reformatting
* switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
error found (there were odd exceptions to this general rule in
-gnatec/-gnatem processing)
* raise.c (__gnat_eh_personality): Exception handling personality
routine for Ada. Still in rough state, inspired from the C++ version
and still containing a bunch of debugging artifacts.
(parse_lsda_header, get_ttype_entry): Local (static) helpers, also
inspired from the C++ library.
* raise.c (eh_personality): Add comments. Part of work for the GCC 3
exception handling integration.
* Makefile.in: Remove use of 5smastop.adb which is obsolete.
(HIE_SOURCES): Add s-secsta.ad{s,b}.
(HIE_OBJS): Add s-fat*.o
(RAVEN_SOURCES): Remove files that are no longer required. Add
interrupt handling files.
(RAVEN_MOD): Removed, no longer needed.
* a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
Add 2001 to copyright date
* g-regpat.adb: Change pragma Inline_Always to Inline. There is no
need to force universal inlining for these cases.
* s-taprob.adb: Minor clean ups so that this unit can be used in
Ravenscar HI.
* exp_ch7.adb: Allow use of secondary stack in HI mode.
Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
* prj-tree.ads (Project_Node_Record): Add comments for components
Pkg_Id and Case_Insensitive.
* g-socket.adb: Minor reformatting. Found while reading code.
* prj-tree.ads: Minor reformatting
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48195
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Thu, 20 Dec 2001 04:42:23 +0000 (04:42 +0000)]
2001-12-19 Aldy Hernandez <aldyh@redhat.com>
* doc/install.texi: Add documentation for --enable-altivec.
* config.gcc: Add support for --enable-altivec.
* config/rs6000/altivec.h: New.
* config/rs6000/linuxaltivec.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
Define. Fix typo.
* config/rs6000/rs6000.c (vrsave_operation): Change unspec to
unspec_volatile.
(generate_set_vrsave): Generate the unspec here instead of calling
an .md pattern.
(generate_set_vrsave): Use gen_rtvec.
(rs6000_emit_prologue): Replace call to gen_get_vrsave with
gen_rtx_SET.
* config/rs6000/rs6000.md ("*movsi_internal1"): Add constraints
for setting special registers.
("*set_vrsave_internal"): Use unspec_volatile.
("set_vrsave"): Remove.
("get_vrsave"): Remove.
* config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Add vrsave to
SPECIAL_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48194
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Thu, 20 Dec 2001 04:09:40 +0000 (04:09 +0000)]
accommodate __STDC__ == 0 tests in UW 2.1.2
Remove all the fix suppression "fixes"
adjust sample results for changes in fixes
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48193
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 20 Dec 2001 00:32:08 +0000 (00:32 +0000)]
PR c/5147
* gcc.dg/special/ecos.exp: wkali-1.c unsupported if
target does not support weak symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48191
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 20 Dec 2001 00:26:12 +0000 (00:26 +0000)]
* po/gcc.pot: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48190
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 20 Dec 2001 00:20:47 +0000 (00:20 +0000)]
* configure.in (all_diff_excludes, diff_excludes): Remove.
* configure: Regenerate.
* Makefile.in (LANG_DIFF_EXCLUDES): Remove.
* objc/config-lang.in (diff_excludes): Remove.
ada:
* config-lang.in (diff_excludes): Remove.
ch:
* config-lang.in (diff_excludes): Remove.
cp:
* config-lang.in (diff_excludes): Remove.
f:
* config-lang.in (diff_excludes): Remove.
java:
* config-lang.in (diff_excludes): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48189
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 19 Dec 2001 23:00:39 +0000 (23:00 +0000)]
* config/sparc/sparc.md (ldd peephole2s): For load peepholes pass
the destination register as a parameter to mems_ok_for_ldd_peep.
For store peepholes pass NULL_RTX. Move all volatile checks ...
* config/sparc/sparc.c (mems_ok_for_ldd_peep): ... here. Add a
register parameter, check it's not the same as base for an address.
* config/sparc/sparc-protos.h (mems_ok_for_ldd_peep): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48188
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 19 Dec 2001 22:09:04 +0000 (22:09 +0000)]
* config/ia64/ia64.c (ia64_single_set): Return first set for
prologue_allocate_stack and epilogue_deallocate_stack instructions.
* gcc.c-torture/compile/
20011219-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48187
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Wed, 19 Dec 2001 21:57:43 +0000 (21:57 +0000)]
2001-12-19 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/Intro.3: New 'Allocators' module.
* docs/doxygen/TODO: Update.
* docs/doxygen/doxygroups.cc: Update.
* docs/doxygen/run_doxygen: Update.
* include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
* include/bits/std_memory.h: Doxygenate.
* include/bits/stl_iterator_base_types.h: Likewise.
* include/bits/stl_raw_storage_iter.h: Likewise.
* include/bits/stl_tempbuf.h: Likewise.
(get_temporary_buffer): Remove unused nonstandard overload.
* include/bits/stl_uninitialized.h: Likewise.
* include/bits/stl_iterator_base_types.h (input_iterator,
output_iterator, forward_iterator, bidirectional_iterator,
random_access_iterator): Move old names...
* include/backward/iterator.h: ...to here.
* include/bits/stl_bvector.h: Update.
* include/ext/stl_rope.h: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48185
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Wed, 19 Dec 2001 21:36:33 +0000 (21:36 +0000)]
2001-12-19 Phil Edwards <pme@gcc.gnu.org>
* docs/html/configopts.html: Describe recent options.
* docs/html/documentation.html: Point to new doxygen tarballs.
* docs/html/install.html: Brief updates.
* docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
* docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
* docs/html/faq/index.html: Update for 3.0.95.
* docs/html/faq/index.txt: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48184
138bc75d-0d04-0410-961f-
82ee72b054a4
fw [Wed, 19 Dec 2001 20:03:35 +0000 (20:03 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48183
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 19 Dec 2001 19:38:25 +0000 (19:38 +0000)]
* java/awt/FlowLayout.java (FlowLayout(), FlowLayout(int)): Set
gaps to 5.
(FlowLayout(int,int,int)): Use methods to set fields.
(getSize): Skip invisible components.
(layoutContainer): Skip invisible components.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48182
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Wed, 19 Dec 2001 18:06:38 +0000 (18:06 +0000)]
* config/rs6000/rs6000.h: LEGITIMIZE_RELOAD_ADDRESS:
redefine in terms of rs6000_legitimize_reload_address().
* config/rs6000/rs6000-protos.h: Add this function.
* config/rs6000/rs6000.c: Add this function. Includes
handling for Darwin FP constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48181
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 Dec 2001 17:59:05 +0000 (17:59 +0000)]
* config/pa/t-hpux-shlib: New file.
* config.gcc (hpux10, hpux11): Include t-hpux-shlib in tmake_file
for 32bit hpux10 & hpux11 configurations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48180
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 19 Dec 2001 15:27:22 +0000 (15:27 +0000)]
Pass -mno-fpu onto gas unless -mhard-float is specified.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48179
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 19 Dec 2001 15:23:16 +0000 (15:23 +0000)]
Remove definition: EXTRA_MULTILIB_PARTS
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48178
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 19 Dec 2001 15:18:26 +0000 (15:18 +0000)]
Define SUPPORTS_INIT_PRIORITY
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48177
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 19 Dec 2001 11:52:59 +0000 (11:52 +0000)]
cp:
PR c++/90
* typeck.c (build_function_call_real): Use original function
expression for errors.
testsuite:
* g++.dg/other/error1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48176
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 19 Dec 2001 11:21:29 +0000 (11:21 +0000)]
* dwarf2out.c (add_name_and_src_coords_attributes): Fix VMS procedure
descriptor output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48175
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 19 Dec 2001 08:16:11 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48173
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Wed, 19 Dec 2001 03:38:45 +0000 (03:38 +0000)]
* rs6000.h (LOCAL_ALIGNMENT): Fix parens.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48172
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Wed, 19 Dec 2001 03:02:58 +0000 (03:02 +0000)]
forced commit
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48171
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Wed, 19 Dec 2001 02:45:20 +0000 (02:45 +0000)]
* boehm.cc (_Jv_BuildGCDescr): Define unconditionally.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48170
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Wed, 19 Dec 2001 01:59:28 +0000 (01:59 +0000)]
* include/jvm.h (_Jv_BuildGCDescr): Declare unconditionally.
* nogc.cc (_Jv_BuildGCDescr): Define unconditionally.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48169
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Wed, 19 Dec 2001 00:31:42 +0000 (00:31 +0000)]
* sem_res.adb (Resolve_Selected_Component): do not generate a
discriminant check if the selected component is a component of
the argument of an initialization procedure.
* trans.c (tree_transform, case of arithmetic operators): If result
type is private, the gnu_type is the base type of the full view,
given that the full view itself may be a subtype.
* sem_res.adb: Minor reformatting
* trans.c (tree_transform, case N_Real_Literal): Add missing third
parameter in call to Machine (unknown horrible effects from this
omission).
* urealp.h: Add definition of Round_Even for call to Machine
Add third parameter for Machine
* sem_warn.adb (Check_One_Unit): Suppress warnings completely on
predefined units in No_Run_Time mode.
* misc.c (insn-codes.h): Now include.
* a-except.adb: Preparation work for future integration of the GCC 3
exception handling mechanism
(Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
to factorize previous code sequences and make them externally callable,
e.g. for the Ada personality routine when the GCC 3 mechanism is used.
(Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
Use the new notification routines.
* prj-tree.ads (First_Choice_Of): Document the when others case
* bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
HI-E mode, in order to support Ravenscar profile properly.
* cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
mode on 32 bits targets.
* fmap.adb: Initial version.
* fmap.ads: Initial version.
* fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
If search is successfully done, add to mapping.
* frontend.adb: Initialize the mapping if a -gnatem switch was used.
* make.adb:
(Gnatmake): Add new local variable Mapping_File_Name.
Create mapping file when using project file(s).
Delete mapping file before exiting.
* opt.ads (Mapping_File_Name): New variable
* osint.adb (Find_File): Use path name found in mapping, if any.
* prj-env.adb (Create_Mapping_File): New procedure
* prj-env.ads (Create_Mapping_File): New procedure.
* switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
(Mapping_File)
* usage.adb: Add entry for new switch -gnatem.
* Makefile.in: Add dependencies for fmap.o.
* sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
is a package instantiation rewritten as a package body.
(Install_Withed_Unit): Undo previous change, now redundant.
* layout.adb:
(Compute_Length): Move conversion to Unsigned to callers.
(Get_Max_Size): Convert Len expression to Unsigned after calls to
Compute_Length and Determine_Range.
(Layout_Array_Type): Convert Len expression to Unsigned after calls to
Compute_Length and Determine_Range.
Above changes fix problem with length computation for supernull arrays
where Max (Len, 0) wasn't getting applied due to the Unsigned
conversion used by Compute_Length.
* rtsfind.ads:
(OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
System.Secondary_Stack.
(OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
in HI-E mode.
Remove unused entity RE_Exception_Data.
* rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
* rident.ads (No_Secondary_Stack): New restriction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48168
138bc75d-0d04-0410-961f-
82ee72b054a4
billingd [Tue, 18 Dec 2001 23:34:06 +0000 (23:34 +0000)]
2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
libstdc++-v3/5148
* testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
executable filenames
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48167
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 18 Dec 2001 22:15:46 +0000 (22:15 +0000)]
* emit-rtl.c (widen_memory_access): Only call compare_tree_int
on an INTEGER_CST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48166
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 18 Dec 2001 22:01:20 +0000 (22:01 +0000)]
2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/17_intro/TODO: Update.
* docs/html/17_intro/RELEASE-NOTES: Edits, update.
* README: Edit for clarity, update to reflect current directory
structure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48165
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 18 Dec 2001 22:00:06 +0000 (22:00 +0000)]
* rs6000.c (rs6000_override_options): Only use DI ops when
TARGET_64BIT. Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48164
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 18 Dec 2001 21:12:23 +0000 (21:12 +0000)]
2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
enabling gnu model.
* aclocal.m4: Rebuild.
* configure: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48163
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 18 Dec 2001 17:27:43 +0000 (17:27 +0000)]
* java/text/CollationElementIterator.java (secondaryOrder): Cast
result to `short'.
(tertiaryOrder): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48162
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 18 Dec 2001 16:36:40 +0000 (16:36 +0000)]
For PR java/3417:
* libjava.compile/PR3417.xfail: New file.
* libjava.compile/PR3417.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48161
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 18 Dec 2001 15:41:30 +0000 (15:41 +0000)]
* att.h (ASM_FILE_START): Use asm_dialect.
* linux.h (ASM_FILE_START): Likewise.
* gas.h (ASM_FILE_START): Likewise.
* i386.c (ix86_debug_arg_string, ix86_debug_addr_string,
ix86_asm_string, ix86_asm_dialect): New.
(override_options): Set asm_dialect.
* i386.h (MASK_MIX_SSE_I387, MASK_INTEL_SYNTAX, MASK_DEBUG_ARG,
MASK_DEBUG_ADDR): Kill.
(MASK_64BIT, MASK_NO_RED_ZONE): renumber.
(TARGET_DEBUG_ADDR, TARGET_DEBUG_ARG): Use string.
(ASSEMBLER_DIALECT): Use asm_dialect.
(TARGET_SWITCHES): Undocument deprecated items; deprecate intel-syntax;
remove debug-addr and debug-arg.
(TARGET_OPTIONS): Add debug-arg, debug-addr, asm.
(asm_dialect): New enum.
(ix86_debug_arg_string, ix86_debug_addr_string,
ix86_asm_string, ix86_asm_dialect): Declare.
* invoke.texi (-mintel-syntax): Remove.
(-masm): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48160
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 18 Dec 2001 15:38:40 +0000 (15:38 +0000)]
* libgcc2.c (__bb_exit_func): Kill -ax dumping code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48159
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 18 Dec 2001 15:25:43 +0000 (15:25 +0000)]
* class.c (add_method): Do compare 'this' quals when trying to match a
used function. Don't defer to another used function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48158
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 18 Dec 2001 15:18:20 +0000 (15:18 +0000)]
* class.c (add_method): Do compare 'this' quals when trying to match a
used function. Don't defer to another used function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48157
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 18 Dec 2001 14:50:37 +0000 (14:50 +0000)]
remove xfail
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48156
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 18 Dec 2001 14:13:46 +0000 (14:13 +0000)]
* pt.c (instantiate_clone): Remove, fold into ...
(instantiate_template): ... here. Simplify by removing mutual
recursion.
* typeck2.c (build_m_component_ref): Don't cv qualify the function
pointed to by a pointer to function.
* class.c (delete_duplicate_fields_1): Typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48155
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 18 Dec 2001 13:30:30 +0000 (13:30 +0000)]
C++ ABI change: destroy value arguments in caller.
* calls.c (initialize_argument_information): Pass the address of
the TARGET_EXPR temporary rather than storing it into another.
* semantics.c (genrtl_start_function, genrtl_finish_function): Don't
create an extra binding level for the parameters.
* decl.c (store_parm_decls): Don't do parameter cleanups.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48154
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 18 Dec 2001 12:16:41 +0000 (12:16 +0000)]
Fix spelling error
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48153
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 18 Dec 2001 12:15:41 +0000 (12:15 +0000)]
* config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Add /gnu/include.
* config/alpha/vms.h (STACK_CHECK_BUILTIN): #define 0 for VMS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48152
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 18 Dec 2001 12:06:01 +0000 (12:06 +0000)]
2001-12-18 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
* include/bits/basic_string.h (assign(__str, __pos, __n)):
Call assign(__s, __n).
(assign(__s, __n)): Terminate the string with _S_terminal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48151
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 18 Dec 2001 11:51:05 +0000 (11:51 +0000)]
* call.c (build_new_method_call): Use '%#V'.
* error.c (cv_to_string): Use V parameter to determine padding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48150
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 18 Dec 2001 10:42:32 +0000 (10:42 +0000)]
* config/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
* config/sparc/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
* config/sparc/linux64.h (PREFERRED_DEBUGGING_TYPE): Remove.
(CC1_SPEC): Don't default to -gstabs+ if -m32.
* elfos.h (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48149
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 18 Dec 2001 09:36:02 +0000 (09:36 +0000)]
* po/gcc.pot: Regenerate.
cp:
* call.c, decl2.c, init.c: Use "built-in" and "bit-field"
spellings in messages.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48148
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 18 Dec 2001 08:16:44 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48147
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 18 Dec 2001 06:57:28 +0000 (06:57 +0000)]
2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
Set to true, like float and double.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48145
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 18 Dec 2001 05:18:38 +0000 (05:18 +0000)]
* libjava.lang/PR3731.xfail: Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48144
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 18 Dec 2001 05:12:29 +0000 (05:12 +0000)]
* config/h8300/h8300.c: Fix comment typos.
* config/h8300/h8300.h: Fix comment formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48143
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 18 Dec 2001 04:59:18 +0000 (04:59 +0000)]
Inspired by PR java/5057:
* libjava.lang/PR5057_2.java: New file.
* libjava.lang/PR5057_2.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48142
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 18 Dec 2001 04:38:04 +0000 (04:38 +0000)]
For PR java/5057:
* libjava.lang/PR5057.out: New file.
* libjava.lang/PR5057.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48141
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 18 Dec 2001 03:35:42 +0000 (03:35 +0000)]
* cp-tree.h: Delete #defines for cp_error, cp_warning,
cp_pedwarn, and cp_compiler_error.
* call.c, class.c, cp-tree.h, cvt.c, decl.c, decl2.c, error.c,
except.c, friend.c, init.c, lex.c, method.c, parse.y, pt.c,
rtti.c, search.c, semantics.c, spew.c, tree.c, typeck.c,
typeck2.c: Change calls to the above macros to use their
language-independent equivalents: error, warning, pedwarn, and
internal_error respectively.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48140
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 18 Dec 2001 02:37:06 +0000 (02:37 +0000)]
* machmode.h (mode_name, mode_class, mode_size, mode_unit_size,
mode_bitsize, mode_mask_array, mode_wider_mode): Set array size in
declaration to NUM_MACHINE_MODES.
(mode_size, mode_unit_size): Set array type to unsigned char.
(mode_bitsize): Set array type to unsigned short.
* rtl.c (rtx_length): Set array type to unsigned char.
(rtx_length, rtx_name, rtx_format, rtx_class): Set array size to
NUM_RTX_CODE.
(mode_bitsize): Set array type to unsigned short.
(mode_size, mode_unit_size): Set array type to unsigned char.
(mode_name, mode_class, mode_bitsize, mode_size, mode_unit_size,
mode_wider_mode, mode_mask_array): Set array size to
NUM_MACHINE_MODES.
* rtl.h (rtx_length, rtx_name, rtx_format, rtx_class): Set array
size in declaration to NUM_RTX_CODE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48139
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 18 Dec 2001 00:26:56 +0000 (00:26 +0000)]
* config/alpha/alpha.md (unop): Encode RB as $sp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48137
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Tue, 18 Dec 2001 00:03:38 +0000 (00:03 +0000)]
* gnat_rm.texi: Fix minor typos. Found while reading the section
regarding "Bit_Order Clauses" that was sent to a customer.
Very interesting documentation!
* sem_case.adb (Choice_Image): Avoid creating improper character
literal names by using the routine Set_Character_Literal_Name. This
fixes bombs in certain error message cases.
* a-reatim.adb: Minor reformatting.
* sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
case where the formal is an extension of another formal in the current
unit or in a parent generic unit.
* s-tposen.adb: Update comments. Minor reformatting.
Minor code clean up.
* s-tarest.adb: Update comments. Minor code reorganization.
* exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
when Java_VM.
* exp_attr.adb: Minor reformatting
* sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
derivations nested within a child unit: verify that the parent
type is declared in an outer scope.
* sem_ch12.adb: Minor reformatting
* sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
warning if current unit is a predefined one, from which bodies may
have been deleted.
* eval_fat.ads: Add comment that Round_Even is referenced in Ada code
Fix header format. Add 2001 to copyright date.
* exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
which caused CE during compilation if checks were enabled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48136
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Mon, 17 Dec 2001 23:36:51 +0000 (23:36 +0000)]
* einfo.h, nmake.adb, nmake.ads, sinfo.h, treeprs.ads: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48135
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 17 Dec 2001 22:43:55 +0000 (22:43 +0000)]
* Makefile.in: Update dependencies.
* c-lang.c: Remove unnecessary includes.
(deferred_fns, start_cdtor, finish_cdtor, defer_fn): Move to
c-objc-common.c.
(finish_file): Move body to c_common_finish_file.
* c-objc-common.c: Include varray.h and ggc.h.
(deferred_fns, start_cdtor, finish_cdtor, defer_fn,
expand_deferred_fns, c_objc_common_finish_file): Moved from c-lang.c.
(c_objc_common_init): Initialize deferred function array.
* c-tree.h (c_objc_common_finish_file,
static_ctors, static_dtors): New.
objc:
* Make-lang.in: Update dependencies.
* objc/objc-act.c: Don't include varray.h.
(defer_fn, deferred_fns): Move to c-objc-common.c.
(objc_init): Similarly for initialization of it.
(finish_file): Move some to c-objc-common.c, use
c_objc_common_finish_file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48134
138bc75d-0d04-0410-961f-
82ee72b054a4
billingd [Mon, 17 Dec 2001 22:39:00 +0000 (22:39 +0000)]
2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
libstdc++/5136
* testsuite/lib/prune.exp: New file
* testsuite/lib/libstdc++-v3-dg.exp: Use it
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48133
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Mon, 17 Dec 2001 22:33:39 +0000 (22:33 +0000)]
2001-12-17 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c: Remove is_gpr_return_reg prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48132
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 17 Dec 2001 21:57:16 +0000 (21:57 +0000)]
* doc/cppinternals.texi: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48130
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 Dec 2001 21:29:28 +0000 (21:29 +0000)]
* gcc.c-torture/execute/
20011217-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48129
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 Dec 2001 21:20:03 +0000 (21:20 +0000)]
* expmed.c (emit_store_flag): Extract updated comparison code
from the return value of compare_from_rtx.
* expr.c (do_store_flag): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48128
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Mon, 17 Dec 2001 21:19:32 +0000 (21:19 +0000)]
* make.adb:
(Switches_Of): New function
(Test_If_Relative_Path): New procedure
(Add_Switches): Use new function Switches_Of
(Collect_Arguments_And_Compile): Use new function Switches_Of.
When using a project file, test if there are any relative
search path. Fail if there are any.
(Gnatmake): Only add switches for the primary directory when not using
a project file. When using a project file, change directory to the
object directory of the main project file. When using a project file,
test if there are any relative search path. Fail if there are any.
When using a project file, fail if specified executable is relative
path with directory information, and prepend executable, if not
specified as an absolute path, with the exec directory. Make sure
that only one -o switch is transmitted to the linker.
* prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
* prj-nmsc.adb:
(Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
when using a non standard naming scheme.
(Check_Ada_Naming_Scheme): Make sure that error messages
do not raise exceptions.
(Is_Illegal_Append): Return True if there is no dot in the suffix.
(Language_Independent_Check): Check the exec directory.
* prj.adb (Project_Empty): Add new component Exec_Directory
* prj.ads:
(Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
(Project_Data): Add component Exec_Directory
* snames.adb: Updated to match snames.ads revision 1.215
* snames.ads: Added Exec_Dir
* make.adb: Minor reformatting
* prj-nmsc.adb: Minor reformatting
* snames.adb: Updated to match snames.ads
* snames.ads: Alphebetize entries for project file
* trans.c (process_freeze_entity): Do nothing if the entity is a
subprogram that was already elaborated.
* decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
and Esize if object is referenced via pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48127
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Mon, 17 Dec 2001 21:07:05 +0000 (21:07 +0000)]
* sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
is discrete before analyzing choices.
* bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
containing the name of the Ada Main Program. This string is mainly
intended for the debugger.
(Gen_Output_File_C): Do the equivalent change when generating a C file.
* ali.adb: Set new Dummy_Entry field in dependency entry
* ali.ads: Add Dummy_Entry field to source dependency table
* bcheck.adb (Check_Consistency): Ignore dummy D lines
* lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
* lib-writ.ads: Document dummy D lines for missing files.
* types.ads: (Dummy_Time_Stamp): New value for non-existant files
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48126
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Mon, 17 Dec 2001 21:00:59 +0000 (21:00 +0000)]
* ali.adb: Type reference does not reset current file.
* ali.adb: Recognize and scan renaming reference
* ali.ads: Add spec for storing renaming references.
* lib-xref.ads: Add documentation for handling of renaming references
* lib-xref.adb: Implement output of renaming reference.
* checks.adb:
(Determine_Range): Document local variables
(Determine_Range): Make sure Hbound is initialized. It looks as though
there could be a real problem here with an uninitialized reference
to Hbound, but no actual example of failure has been found.
* g-socket.ads:
Fix comment of Shutdown_Socket and Close_Socket. These functions
should not fail silently because if they are called twice, this
probably means that there is a race condition in the user program.
Anyway, this behaviour is consistent with the rest of this unit.
When an error occurs, an exception is raised with the error message
as exception message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48125
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Mon, 17 Dec 2001 20:51:30 +0000 (20:51 +0000)]
* frontend.adb: Move call to Check_Unused_Withs from Frontend, so
that it happens before modification of Sloc values for -gnatD.
* gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
so that it happens before modification of Sloc values for -gnatD.
* switch.adb: Minor reformatting
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48124
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Mon, 17 Dec 2001 20:50:03 +0000 (20:50 +0000)]
* prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
Default_Ada_...
* prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
Remove functions.
(Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
* prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
Remove functions.
(Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48123
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 17 Dec 2001 20:02:02 +0000 (20:02 +0000)]
oops - omitted from previous delta.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48122
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 17 Dec 2001 19:42:57 +0000 (19:42 +0000)]
* doc/install.texi2html: Use -I $SOURCEDIR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48121
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 17 Dec 2001 19:39:22 +0000 (19:39 +0000)]
* update_web_docs: Use makeinfo --html instead of texi2html.
Remove support for pre-3.1 GCC versions. Build online docs for
gccint manual.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48120
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 17 Dec 2001 19:20:05 +0000 (19:20 +0000)]
Separate user and internals manuals.
* Makefile.in (info, $(docdir)/gcc.info, dvi, gcc.dvi): Update
dependencies.
($(docdir)/gccint.info, gccint.dvi): New targets.
(maintainer-clean, install-info, uninstall): Update.
* doc/.cvsignore: Add gccint.info*.
* doc/include/gcc-common.texi: New file.
* doc/gcc.texi: Use it. Adjust to be a user-only manual. Put
copyright notice in a macro. Don't include ISBN unless FSFPRINT
is defined.
* doc/gccint.texi: New file.
* doc/configfiles.texi, doc/extend.texi, doc/invoke.texi,
doc/md.texi, doc/passes.texi, doc/tm.texi, doc/trouble.texi:
Update for separate user and internals manuals.
f:
* g77.texi, invoke.texi: Update links to GCC manual.
java:
* gcj.texi: Update link to GCC manual.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48119
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 17 Dec 2001 19:14:07 +0000 (19:14 +0000)]
* parse.y (link_nested_class_to_enclosing): Removed useless
statement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48118
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Mon, 17 Dec 2001 19:11:13 +0000 (19:11 +0000)]
* config/rs6000/rs6000.h: CPP_CPU_SPEC: add mcpu=7400.
ASM_CPU_SPEC: Ditto.
RTX_COSTS: Fix timing info for 7450 multiply.
* config/rs6000/rs6000.md: Fix timing info for 7450 imul.
Allow floats to be kept in int regs in movsf_low,
movsf_low_st (Darwin only)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48117
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Mon, 17 Dec 2001 19:05:43 +0000 (19:05 +0000)]
2001-12-17 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (vrsave_operation): Recognize SETs in
parallel.
(is_gpr_return_reg): New.
(rs6000_emit_prologue): Call generate_set_vrsave with additional
argument. Save only registers in the mask. Attach
REG_FRAME_RELATED_EXPR note to altivec offsets. Do not call
rs6000_frame_related when saving VRSAVE.
(rs6000_emit_epilogue): Call generate_set_vrsave with additional
argument. Restore only registers in the mask. Restore altivec
registers after we restore CR.
(generate_set_vrsave): New parameter epiloguep. Generate unspec
sets instead of clobbers for call saved registers.
(altivec_frame_fixup): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48116
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 17 Dec 2001 18:40:10 +0000 (18:40 +0000)]
* config/sparc/sparc.md (movdi_zero): Remove.
(movdi_insn_sp32_v9): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48115
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 17 Dec 2001 18:21:36 +0000 (18:21 +0000)]
* cfgcleanup.c (outgoing_edges_match): Check for insn match with
a single outgoing edge too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48114
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 17 Dec 2001 17:56:04 +0000 (17:56 +0000)]
* cfgrtl.c (redirect_edge_and_branch): Do simplify abnormal
edges resulting from computed jump
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48113
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 17 Dec 2001 17:35:01 +0000 (17:35 +0000)]
* update_web_docs_old: Copy from update_web_docs. Add comment
that this is for GCC 3.0.x and earlier versions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48112
138bc75d-0d04-0410-961f-
82ee72b054a4
nicola [Mon, 17 Dec 2001 17:27:08 +0000 (17:27 +0000)]
New test for loading unclaimed categories in Objective-C
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48111
138bc75d-0d04-0410-961f-
82ee72b054a4
nicola [Mon, 17 Dec 2001 17:23:09 +0000 (17:23 +0000)]
Fixed bug in loading of categories under certain special circumstances
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48110
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 17 Dec 2001 17:10:34 +0000 (17:10 +0000)]
* Makefile.in (cfgcleanup.o): Add cselib.h dependancy.
* basic-block.h (CLEANUP_THREADING): New constant.
* cfgcleanup.c: Include cselib.h
(thread_jump, mark_effect): New functions.
(try_forward_edges): Do jump threading when asked for.
* jump.c (mark_modified_reg, save_regs, num_same_regs, modified_regs,
modified_mem, thread_jumps, rtx_equal_for-thread_p): Kill.
* rtl.h (thread_jumps, rtx_equal_for_thread_p): Kill.
* toplev.c (rest_of_compilation): Do now call thread_jumps; use
CLEANUP_THREAD instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48108
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Mon, 17 Dec 2001 17:08:57 +0000 (17:08 +0000)]
2001-12-17 Phil Edwards <pme@gcc.gnu.org>
* include/bits/basic_file.h (__basic_file::fd): New function.
* config/io/basic_file_stdio.h (__basic_file::fd): Define.
* include/bits/std_fstream.h (basic_filebuf::fd): New function.
* include/bits/fstream.tcc (basic_filebuf::fd): Define.
* testsuite/27_io/filebuf_members.cc (test_02): New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48107
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 17 Dec 2001 17:01:35 +0000 (17:01 +0000)]
* Makefile.in (cfgcleanup.o): Add cselib.h dependancy.
* basic-block.h (CLEANUP_THREADING): New constant.
* cfgcleanup.c: Include cselib.h
(thread_jump, mark_effect): New functions.
(try_forward_edges): Do jump threading when asked for.
* jump.c (mark_modified_reg, save_regs, num_same_regs, modified_regs,
modified_mem, thread_jumps, rtx_equal_for-thread_p): Kill.
* rtl.h (thread_jumps, rtx_equal_for_thread_p): Kill.
* toplev.c (rest_of_compilation): Do now call thread_jumps; use
CLEANUP_THREAD instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48106
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 17 Dec 2001 16:52:28 +0000 (16:52 +0000)]
* MAINTAINERS: Add self as docs co-maintainer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48105
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 17 Dec 2001 16:46:11 +0000 (16:46 +0000)]
Implement MODE_BASE_REG_CLASS
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48104
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 17 Dec 2001 16:32:19 +0000 (16:32 +0000)]
* sparc/linux.h (STARTFILE_SPEC): Fix typo in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48103
138bc75d-0d04-0410-961f-
82ee72b054a4
trix [Mon, 17 Dec 2001 16:25:12 +0000 (16:25 +0000)]
Fix for -maix64 and medium sized struct passing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48102
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 17 Dec 2001 15:05:40 +0000 (15:05 +0000)]
* target.h (asm_out.byte_op, asm_out.aligned_op, asm_out.unaligned_op,
asm_out.integer): New fields.
* target-def.h (TARGET_ASM_BYTE_OP, TARGET_ASM_ALIGNED_[HSDT]I_OP,
TARGET_ASM_UNALIGNED_[HSDT]I_OP, TARGET_ASM_INTEGER): New initialisers.
(TARGET_ASM_ALIGNED_INT_OP, TARGET_ASM_UNALIGNED_INT_OP): Collect
the individual initialisers together.
(TARGET_ASM_OUT): Add the new initialisers.
* output.h (assemble_integer): Return bool.
(integer_asm_op): Declare.
(default_assemble_integer): Declare.
(assemble_aligned_integer): New interface to assemble_integer.
* varasm.c (integer_asm_op): New function to select pseudo-op.
(default_assemble_integer): Default implementation of asm_out.integer.
(assemble_integer): Use the new target hook. Split objects into
words or bytes if the target hook fails. Return bool.
* doc/tm.texi (ASM_OUTPUT_CHAR, ASM_OUTPUT_BYTE, ASM_OUTPUT_SHORT,
ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_OUTPUT_QUADRUPLE_INT,
UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
UNALIGNED_DOUBLE_INT_ASM_OP): Undocument.
Document new target hooks.
* defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Use integer_asm_op.
* dwarf2asm.c (unaligned_integer_asm_op): Remove.
(dw2_assemble_integer): New.
(dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
dw2_asm_output_pcrel, dw2_asm_output_addr, dw2_asm_output_addr_rtx,
dw2_asm_output_encoded_addr_rtx): Use it.
(dw2_asm_output_nstring): Use assemble_integer for the null terminator.
(dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128): Use
integer_asm_op to get the byte pseudo-op. Use assemble_integer
if it returns NULL.
* dwarf2asm.h (dw2_assemble_integer): Declare.
* dwarfout.c: Include dwarf2asm.h. Use dwarf2 functions for the
default implementation of most macros.
(output_unsigned_leb128): Use dw2_asm_output_data.
(output_signed_leb128, dwarfout_source_line): Likewise.
(output_reg_number): Use dw2_assemble_integer.
(generate_macinfo_entry): Separate the type and offset arguments.
Use assemble_integer to write the value.
(dwarfout_start_source_file): Update generate_macinfo_entry usage.
(dwarfout_end_source_file, dwarfout_define, dwarfout_undef): Likewise.
* final.c (output_addr_const): Don't put brackets round a subtracted
symbol value or ".".
* halfpic.c (half_pic_finish): Use assemble_aligned_integer.
* config/1750a/1750a.c (assemble_integer_1750a): New,
* config/alpha/alpha.h (literal_section): Avoid ASM_OUTPUT_INT.
* config/arc/arc.c (arc_assemble_integer): New.
* config/arc/arc.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
* config/arm/arm.c (arm_poke_function_name): Likewise.
(arm_assemble_integer): New, extracted from...
* config/arm/arm.h (OUTPUT_INT_ADDR_CONST): ...here, now removed.
(ARM_TRAMPOLINE_TEMPLATE, ARM_FUNCTION_PROFILER): Avoid ASM_OUTPUT_INT.
(ARM_FUNCTION_PROFILER): Likewise.
* config/avr/avr-protos.h (asm_output_byte): Remove.
(asm_output_char, asm_output_short): Remove.
* config/avr/avr.c (avr_assemble_integer): New.
(asm_output_byte, asm_output_char, asm_output_short): Remove.
* config/clipper/clipper.h (ASM_LONG): Remove.
* config/dsp16xx/dsp16xx-protos.h (asm_output_long): Remove.
* config/dsp16xx/dsp16xx.c (asm_output_long): Remove.
* config/elxsi/elxsi.c (elxsi_assemble_integer): New.
* config/i370/i370.c (i370_hlasm_assemble_integer): New.
* config/i370/i370.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_SHORT.
(ASM_BYTE, ASM_SHORT, ASM_LONG): Delete.
* config/i386/att.h, (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
* config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Use
ASM_LONG instead of UNALIGNED_INT_ASM_OP.
* config/i386/sco5.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise.
(ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
* config/i386/sysv4.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Use
ASM_LONG instead of UNALIGNED_INT_ASM_OP.
* config/i860/fx2800.h (ASM_FILE_END): Avoid ASM_LONG.
* config/i860/i860.c (i860_output_function_epilogue): Likewise.
* config/i860/i860.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
(ASM_SHORT, ASM_LONG): Undefine.
* config/i860/paragon.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
* config/i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
* config/i960/i960.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
* config/ia64/ia64.c (ia64_assemble_integer): New.
* config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Use integer_asm_op.
(ASM_OUTPUT_DWARF_PCREL): Likewise.
* config/m68hc11/m68hc11.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
ASM_OUTPUT_ADDR_DIFF_ELT, ASM_OUTPUT_ADDR_VEC_ELT): Avoid ASM_LONG.
(ASM_SHORT, ASM_LONG): Remove.
* config/m68k/m68k.h (INT_OP_GROUP): New macro.
(INT_OP_STANDARD, INT_OP_DOT_WORD, INT_OP_NO_DOT, INT_OP_DC): New
macros, the allowed values for INT_OP_GROUP.
* config/m68k/amix.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP
* config/m68k/atari.h (ASM_OUTPUT_ASCII): Likewise
* config/m68k/m68kelf.h (ASM_OUTPUT_ASCII): Likewise
* config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP): Remove.
(INT_OP_GROUP): Define to INT_OP_NO_DOT.
* config/m68k/dpx2.h (ASM_LONG): Undefine.
(INT_OP_GROUP): Define to INT_OP_DC.
* config/m68k/dpx2g.h (ASM_LONG): Undefine.
* config/m68k/hp320.h (INT_OP_GROUP): Define to INT_OP_NO_DOT.
* config/m68k/lynx.h (ASM_LONG): Undefine.
* config/m68k/dpx2g.h (ASM_LONG): Undefine.
* config/m68k/m68kelf.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
* config/m68k/m68kv4.h (ASM_OUTPUT_ASCII): Likewise.
(TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_*.
* config/m68k/mot3300.h (INT_OP_GROUP): Define to INT_OP_STANDARD
for GAS and INT_OP_NO_DOT otherwise.
(ASM_CHAR, ASM_BYTE, ASM_SHORT, ASM_LONG): Remove.
(ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Avoid ASM_LONG.
(ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
* config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP): Remove.
(INT_OP_GROUP): Define to INT_OP_STANDARD.
(ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Avoid LONG_ASM_OP.
(ASM_OUTPUT_ASCII): Avoid BYTE_ASM_OP.
* config/m68k/tower-as.h (ASM_LONG): Remove.
(INT_OP_GROUP): Define to INT_OP_NO_DOT.
* config/m88k/m88k.c (output_tdesc): Avoid ASM_LONG.
* config/m88k/m88k.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Avoid ASM_LONG.
* config/mips/iris5.h (TARGET_IRIX5): Define.
* config/mips/mips.c (mips_assemble_integer): New.
* config/mips/sni-svr4.h (ASM_LONG): Undefine.
* config/mmix/mmix-protos.h (mmix_asm_output_double_int): Remove.
* config/mmix/mmix.c (mmix_assemble_integer): New.
(mmix_asm_output_double_int): Remove.
(mmix_print_operand): Call mmix_output_octa directly.
* config/mmix/mmix.h (ASM_LONG): Remove.
* config/ns32k/ns32k.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
* config/pa/pa.c (pa_assemble_integer): New.
(pa_override_options): Only use aligned DI ops on 64-bit targets.
Only use the unaligned ops if TARGET_GAS.
* config/pdp11/pdp11.c (pdp11_assemble_integer): New.
* config/pdp11/pdp11.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_SHORT.
* config/pj/pj.h (ASM_LONG): Undefine.
* config/rs6000/linux64.h (RELOCATABLE_NEEDS_FIXUP): Undefine.
* config/rs6000/rs6000.c (rs6000_assemble_integer): New, mostly
extracted from ASM_OUTPUT_INT in sysv4.h. Use in_text_section()
and in_toc_section() rather than the in_section variable.
(rs6000_override_options): Only use DI ops when TARGET_POWERPC64.
* config/rs6000/sysv4.h (TOC_SECTION_FUNCTION): Add in_toc_section().
(RELOCATABLE_NEEDS_FIXUP): Define.
* config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Change space to tab.
* config/s390/linux.h (ASM_SHORT, ASM_LONG, ASM_QUAD): Remove.
(ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Use integer_asm_op
to get the word directive.
(ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
* config/s390/s390.c (s390_assemble_integer): New.
* config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Use
integer_asm_op to get the word directive.
* config/sparc/sol2.h (ASM_SHORT, ASM_LONG): Remove.
* config/sparc/sparc-protos.h (output_double_int): Remove.
* config/sparc/sparc.c (output_double_int): Move to...
(sparc_assemble_integer): ...this new function.
(sparc_override_options): Only use .uaxword if TARGET_ARCH64.
* config/sparc/sparc.h (ASM_SHORT, ASM_LONG, ASM_LONGLONG): Remove.
* config/sparc/sysv4.h (ASM_LONG): Remove.
(ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Avoid
ASM_LONG.
* config/vax/vax.h (TRAMPOLINE_TEMPLATE): Use assemble_aligned_integer.
* config/we32k/we32k.h (TRAMPOLINE_TEMPLATE): Likewise.
* config/1750a/1750a.c, config/a29k/a29k.c, config/alpha/alpha.c,
config/arc/arc.c, config/arm/arm.c, config/avr/avr.c, config/c4x/c4x.c,
config/clipper/clipper.c, config/convex/convex.c, config/cris/cris.c,
config/d30v/d30v.c, config/dsp16xx/dsp16xx.c, config/elxsi/elxsi.c,
config/fr30/fr30.c, config/h8300/h8300.c, config/i370/i370.c,
config/i386/i386.c, config/i860/i860.c, config/i960/i960.c,
config/ia64/ia64.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
config/m68k/m68k.c, config/m88k/m88k.c, config/mips/mips.c,
config/mmix/mmix.c, config/mn10200/mn10200.c, config/mn10300/mn10300.c,
config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c,
config/sh/sh.c, config/sparc/sparc.c, config/stormy16/stormy16.c,
config/v850/v850.c, config/vax/vax.c, config/we32k/we32k.c
(TARGET_ASM_BYTE_OP, TARGET_ASM_ALIGNED_HI_OP,
TARGET_ASM_ALIGNED_SI_OP, TARGET_ASM_ALIGNED_DI_OP,
TARGET_ASM_UNALIGNED_HI_OP, TARGET_ASM_UNALIGNED_SI_OP,
TARGET_ASM_UNALIGNED_DI_OP, TARGET_ASM_INTEGER): Redefine as
appropriate.
* config/defaults.h, config/darwin.h, config/elfos.h, config/svr3.h,
config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, config/c4x/c4x.h,
config/clipper/clipper.h, config/convex/convex.h, config/cris/cris.h,
config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
config/i386/bsd.h, config/i386/djgpp.h, config/i386/i386.h,
config/i386/sco5.h, config/i386/sol2.h, config/i386/sun386.h,
config/i860/i860.h, config/i960/i960.h, config/ia64/ia64.h,
config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/auxas.h,
config/m68k/dpx2.h, config/m68k/hp320.h, config/m68k/m68k.h,
config/m68k/mot3300.h, config/m68k/sgs.h, config/m68k/tower-as.h,
config/m88k/m88k.h, config/mcore/mcore-elf.h, config/mcore/mcore.h,
config/mips/iris5.h, config/mips/iris6.h, config/mips/mips.h,
config/mmix/mmix.h, config/mn10200/mn10200.h, config/mn10300/mn10300.h
config/ns32k/encore.h, config/ns32k/ns32k.h, config/pa/pa-64.h,
config/pa/pa.h, config/pdp11/pdp11.h, config/pj/pj.h,
config/romp/romp.h, config/rs6000/linux64.h, config/rs6000/rs6000.h,
config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/linux.h,
config/sh/sh.h, config/sparc/linux64.h, config/sparc/sol2.h,
config/sparc/sp64-elf.h, config/sparc/sparc.h, config/sparc/sysv4.h,
config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
config/we32k/we32k.h (ASM_OUTPUT_CHAR, ASM_OUTPUT_BYTE, ASM_BYTE_OP,
ASM_BYTE, ASM_OUTPUT_SHORT, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT,
UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
UNALIGNED_DOUBLE_INT_ASM_OP): Undefine, where defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48101
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Mon, 17 Dec 2001 14:57:57 +0000 (14:57 +0000)]
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
(STACK_BOUNDARY): Remove definition.
(CPP_PREDEFINES): Define __POWERPC__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48100
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Mon, 17 Dec 2001 13:08:51 +0000 (13:08 +0000)]
* doc/c-tree.texi (Trees): Only refer to GCC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48099
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 17 Dec 2001 09:19:04 +0000 (09:19 +0000)]
* po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
* po/Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48098
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Mon, 17 Dec 2001 08:24:30 +0000 (08:24 +0000)]
* gcc.c-torture/compile/
20011217-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48097
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Mon, 17 Dec 2001 08:22:50 +0000 (08:22 +0000)]
* c-common.def: Fix typo in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48096
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 17 Dec 2001 08:16:12 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48094
138bc75d-0d04-0410-961f-
82ee72b054a4
obrien [Mon, 17 Dec 2001 07:33:07 +0000 (07:33 +0000)]
2001-12-16 David O'Brien <obrien@FreeBSD.org>
* config.gcc (sparc64-*-freebsd*): Add target.
* config/sparc/freebsd.h: New file.
* config/sparc/sparc.h (LIB_SPEC, LINK_SPEC): Don't define.
* config/sparc/sunos4.h (LIB_SPEC, LINK_SPEC): Define.
* config/sparc/sysv4.h (CPP_PREDEFINES): Undefine before defining.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20011215175143.A8758@redhat.com>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48093
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Mon, 17 Dec 2001 06:52:09 +0000 (06:52 +0000)]
fix spaces
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48092
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Mon, 17 Dec 2001 06:41:56 +0000 (06:41 +0000)]
* config/rs6000/rs6000.c (rs6000_legitimize_address): Force both
PLUS operands into registers for altivec mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48091
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Mon, 17 Dec 2001 06:12:34 +0000 (06:12 +0000)]
* builtins.c (apply_args_size): Change regno to unsigned.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48090
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Mon, 17 Dec 2001 05:37:05 +0000 (05:37 +0000)]
2001-12-16 Aldy Hernandez <aldyh@redhat.com>
* rs6000.h (FUNCTION_ARG_REGNO_P): Change ALTIVEC_ARG_MAX_REG to
ALTIVEC_ARG_NUM_REG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48089
138bc75d-0d04-0410-961f-
82ee72b054a4