Kazu Hirata [Sat, 22 Dec 2001 02:41:38 +0000 (02:41 +0000)]
* config/h8300/h8300.h: Fix comment formatting.
From-SVN: r48262
Richard Henderson [Sat, 22 Dec 2001 00:52:30 +0000 (16:52 -0800)]
boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): Merge into ..
* boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): Merge into ..
(get_boehm_type_descriptor): ... here. Arrange for the
TREE_TYPE to get set properly.
From-SVN: r48261
Jeff Law [Sat, 22 Dec 2001 00:42:46 +0000 (17:42 -0700)]
os_defines.h: Include <sys/_inttypes.h.
* config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
Define strtoll and strtoull. Provide prototypes for
__strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
unconditionally.
From-SVN: r48260
Jeff Law [Sat, 22 Dec 2001 00:39:43 +0000 (17:39 -0700)]
* src/locale-inst.cc: Include <bits/std_cstdlib.h>
From-SVN: r48259
Jeff Law [Sat, 22 Dec 2001 00:32:47 +0000 (17:32 -0700)]
* configure.target: Fix typo in hpux case.
From-SVN: r48258
Jeff Law [Sat, 22 Dec 2001 00:28:16 +0000 (17:28 -0700)]
pa.h (CPP_SPEC): If not in ANSI mode, define _INCLUDE_LONGLONG.
* pa.h (CPP_SPEC): If not in ANSI mode, define _INCLUDE_LONGLONG.
(CPLUSPLUS_CPP_SPEC): Define _INCLUDE_LONGLONG.
From-SVN: r48257
Tom Tromey [Fri, 21 Dec 2001 22:51:41 +0000 (22:51 +0000)]
ObjectInputStream.java (enableResolveObject): Use correct security check.
* java/io/ObjectInputStream.java (enableResolveObject): Use
correct security check.
* java/io/ObjectOutputStream.java (enableReplaceObject): Use
correct security check.
From-SVN: r48256
Tom Tromey [Fri, 21 Dec 2001 21:59:27 +0000 (21:59 +0000)]
re PR java/5165 (Loading class fields with a ConstantValue attribute)
Fix for PR java/5165:
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
Convert any constant string field to a String; not just final
fields.
From-SVN: r48255
Robert Lipe [Fri, 21 Dec 2001 20:54:21 +0000 (20:54 +0000)]
* system.h (PREFETCH): Explictly undefine.
From-SVN: r48254
Tom Tromey [Fri, 21 Dec 2001 19:47:50 +0000 (19:47 +0000)]
re PR libgcj/2428 (Classloader is not set)
Fix for PR libgcj/2428:
* java/lang/natClass.cc: Include RuntimePermission.h.
(getClassLoader): Define.
* java/lang/Class.h (Class.getClassLoader): Only declare.
From-SVN: r48253
Richard Henderson [Fri, 21 Dec 2001 19:44:06 +0000 (11:44 -0800)]
class.c (compile_resource_file): Set TREE_PUBLIC on the constructor only if the target requires collect2.
* class.c (compile_resource_file): Set TREE_PUBLIC on the constructor
only if the target requires collect2.
From-SVN: r48252
Richard Henderson [Fri, 21 Dec 2001 19:26:08 +0000 (11:26 -0800)]
* class.c (build_class_ref): Mark _Jv_fooClass DECL_EXTERNAL.
From-SVN: r48251
Tom Tromey [Fri, 21 Dec 2001 19:18:52 +0000 (19:18 +0000)]
reverted erroneous checking -- sorry about that
From-SVN: r48250
Tom Tromey [Fri, 21 Dec 2001 19:15:36 +0000 (19:15 +0000)]
For PR java/4509:
* parse.y (java_complete_lhs) [COMPOUND_EXPR]: Correctly compute
CAN_COMPLETE_NORMALLY for the node.
* jcf-write.c (generate_bytecode_insns) [COMPOUND_EXPR]: Don't
generate code for second branch if first branch can't complete
normally.
(generate_bytecode_insns) [LOOP_EXPR]: Don't generate `goto' to
the loop head if the loop body can't complete normally.
From-SVN: r48249
Richard Henderson [Fri, 21 Dec 2001 19:14:46 +0000 (11:14 -0800)]
wtr-aggr-init-1.c: Test that __extension__ disables then re-enables the warning.
* gcc.dg/wtr-aggr-init-1.c: Test that __extension__ disables then
re-enables the warning.
From-SVN: r48248
Richard Henderson [Fri, 21 Dec 2001 18:31:11 +0000 (10:31 -0800)]
c-parse.in (SAVE_WARN_FLAGS): Save warn_traditional.
* c-parse.in (SAVE_WARN_FLAGS): Save warn_traditional.
(RESTORE_WARN_FLAGS): Restore it.
(extension): Zero warn_traditional.
From-SVN: r48247
Richard Henderson [Fri, 21 Dec 2001 18:03:25 +0000 (10:03 -0800)]
* g++.old-deja/g++.eh/badalloc1.C (malloc): Fix typo.
From-SVN: r48246
Kazu Hirata [Fri, 21 Dec 2001 16:19:14 +0000 (16:19 +0000)]
* doc/passes.texi: Fix a typo.
From-SVN: r48245
Kazu Hirata [Fri, 21 Dec 2001 16:15:38 +0000 (16:15 +0000)]
* config/h8300/h8300.h: Fix a comment typo.
From-SVN: r48244
Paolo Carlini [Fri, 21 Dec 2001 13:08:35 +0000 (14:08 +0100)]
stl_rope.h (_Rope_iterator): Add local typedef to fix implicit typename problems.
2001-12-21 Paolo Carlini <pcarlini@unitus.it>
* include/ext/stl_rope.h (_Rope_iterator):
Add local typedef to fix implicit typename problems.
From-SVN: r48242
Nick Clifton [Fri, 21 Dec 2001 11:46:01 +0000 (11:46 +0000)]
Add missing URL for message that prompted this new test
From-SVN: r48241
Jakub Jelinek [Fri, 21 Dec 2001 11:30:47 +0000 (12:30 +0100)]
* gcc.c-torture/compile/
20011218-1.c: New test.
From-SVN: r48240
Jakub Jelinek [Fri, 21 Dec 2001 11:07:59 +0000 (12:07 +0100)]
combine.c (nonzero_bits): If using reg_nonzero_bits, we don't know anything about bits outside of X mode.
* combine.c (nonzero_bits): If using reg_nonzero_bits,
we don't know anything about bits outside of X mode.
(num_sign_bit_copies): Likewise.
From-SVN: r48239
Turly O'Connor [Fri, 21 Dec 2001 10:44:50 +0000 (10:44 +0000)]
darwin.c (machopic_classify_ident): Handle "stale" section- encoded name problem to avoid generating illegal stubs.
* darwin.c (machopic_classify_ident): Handle "stale" section-
encoded name problem to avoid generating illegal stubs.
(func_name_maybe_scoped): Remove, not needed for gcc3.
(machopic_indirect_call_target): Don't use it.
(darwin_encode_section_info): Call only one of update_stubs()
or update_non_lazy_ptrs() as DECL cannot be both.
(machopic_output_possible_stub_label): New.
* darwin.h (ASM_DECLARE_FUNCTION_NAME): Use it.
* darwin-protos.h (machopic_output_possible_stub_label): Declare.
From-SVN: r48238
Nick Clifton [Fri, 21 Dec 2001 09:31:37 +0000 (09:31 +0000)]
Use 'a' operand code for prefetch instruction.
From-SVN: r48237
Nick Clifton [Fri, 21 Dec 2001 08:46:23 +0000 (08:46 +0000)]
oops - accidentally omitted from previous delta
From-SVN: r48236
GCC Administrator [Fri, 21 Dec 2001 08:16:13 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48234
Tom Tromey [Fri, 21 Dec 2001 05:28:27 +0000 (05:28 +0000)]
For PR java/4509:
* parse.y (java_complete_lhs) [COMPOUND_EXPR]: Correctly compute
CAN_COMPLETE_NORMALLY for the node.
* jcf-write.c (generate_bytecode_insns) [COMPOUND_EXPR]: Don't
generate code for second branch if first branch can't complete
normally.
(generate_bytecode_insns) [LOOP_EXPR]: Don't generate `goto' to
the loop head if the loop body can't complete normally.
From-SVN: r48233
Tom Tromey [Fri, 21 Dec 2001 05:13:43 +0000 (05:13 +0000)]
For PR java/4766:
* jcf-write.c (generate_bytecode_insns) [TRY_FINALLY_EXPR]: Handle
case where `finally' clause can't complete normally.
From-SVN: r48232
Tom Tromey [Fri, 21 Dec 2001 04:37:24 +0000 (04:37 +0000)]
re PR java/5057 (gcj -C erroneously omits <clinit>)
Fixes PR java/5057:
* parse.y (analyze_clinit_body): Added this_class parameter.
Check for more cases where we must keep <clinit>.
(maybe_yank_clinit): Cleaned up flow control.
From-SVN: r48231
Kaveh R. Ghazi [Fri, 21 Dec 2001 02:46:09 +0000 (02:46 +0000)]
aclocal.m4 (gcc_AC_PROG_GNAT): Run prospective ada drivers in subshells.
* aclocal.m4 (gcc_AC_PROG_GNAT): Run prospective ada drivers in
subshells.
* configure.in: Likewise for perl Pod::Man.
* configure: Regenerated.
From-SVN: r48230
Kaveh R. Ghazi [Fri, 21 Dec 2001 02:36:37 +0000 (02:36 +0000)]
builtin-attrs.def (__builtin_printf_unlocked, [...]): Mark with the __printf__ attribute.
* builtin-attrs.def (__builtin_printf_unlocked,
__builtin_fprintf_unlocked, printf_unlocked, fprintf_unlocked):
Mark with the __printf__ attribute.
* builtins.c (expand_builtin_fputs): Add an `unlocked' parameter
and set the replacement function depending on it.
(expand_builtin): Skip BUILT_IN_*_UNLOCKED when not optimizing.
Handle BUILT_IN_*_UNLOCKED when optimizing.
* builtins.def (DEF_EXT_FALLBACK_BUILTIN,
DEF_EXT_FRONT_END_LIB_BUILTIN): New macros.
Declare the "unlocked" stdio functions.
* c-common.c (c_expand_builtin_printf, c_expand_builtin_fprintf):
Add an `unlocked' parameter and set the replacement function
depending on it.
(c_expand_builtin): Handle BUILT_IN_PRINTF_UNLOCKED and
BUILT_IN_FPRINTF_UNLOCKED.
* doc/extend.texi (printf_unlocked, fprintf_unlocked,
fputs_unlocked): Document.
testsuite:
* gcc.dg/format/builtin-1.c: Test unlocked stdio.
* gcc.dg/format/c90-printf-3.c: Likewise.
* gcc.dg/format/c99-printf-3.c: Likewise.
* gcc.dg/format/ext-1.c: Likewise.
* gcc.dg/format/ext-6.c: Likewise.
* gcc.dg/format/format.h: Prototype unlocked stdio.
From-SVN: r48229
Richard Henderson [Fri, 21 Dec 2001 02:07:09 +0000 (18:07 -0800)]
New test.
From-SVN: r48228
Josef Zlomek [Fri, 21 Dec 2001 01:50:10 +0000 (02:50 +0100)]
cfgloop.c (flow_loops_find): Use the information of the depth first search order of the CFG correctly when...
* cfgloop.c (flow_loops_find): Use the information of the depth
first search order of the CFG correctly when finding natural loops.
From-SVN: r48227
Richard Henderson [Fri, 21 Dec 2001 00:33:29 +0000 (16:33 -0800)]
* config/alpha/alpha.md (prologue_mcount): Update for explicit relocs.
From-SVN: r48226
Richard Henderson [Fri, 21 Dec 2001 00:22:39 +0000 (16:22 -0800)]
alpha.c (call_operand): Accept pseudos.
* config/alpha/alpha.c (call_operand) [OSF]: Accept pseudos.
* config/alpha/alpha.md (call_osf, call_value_osf): Don't force
operand into $27.
From-SVN: r48225
Richard Henderson [Fri, 21 Dec 2001 00:18:26 +0000 (16:18 -0800)]
badalloc1.C (arena_size): New.
* g++.old-deja/g++.eh/badalloc1.C (arena_size): New.
(arena): Use it.
(malloc): Correct allocation logic. Abort if we fill up the
arena before initialization complete.
(realloc): Correct allocation logic.
From-SVN: r48224
Joseph Myers [Thu, 20 Dec 2001 23:35:42 +0000 (23:35 +0000)]
configure.in (all_headers, [...]): Remove.
* configure.in (all_headers, all_lib2funcs): Remove.
* configure: Regenerate.
* Makefile.in (LANG_EXTRA_HEADERS): Remove.
(USER_H): Don't include $(LANG_EXTRA_HEADERS).
* config/alpha/t-interix (USER_H): Don't include
$(LANG_EXTRA_HEADERS).
* config/i386/t-interix: Likewise.
* config/t-openbsd: Likewise.
From-SVN: r48222
Bryce McKinlay [Thu, 20 Dec 2001 22:50:21 +0000 (22:50 +0000)]
decl.c (java_init_decl_processing): Don't initialize finit_leg_identifier_node.
* decl.c (java_init_decl_processing): Don't initialize
finit_leg_identifier_node.
* java-tree.h (java_tree_index): Remove JTI_FINIT_LEG_IDENTIFIER_NODE.
(finit_leg_identifier_node): Remove.
(ID_FINIT_P): Don't check for JTI_FINIT_LEG_IDENTIFIER_NODE.
From-SVN: r48221
Bryce McKinlay [Thu, 20 Dec 2001 22:48:52 +0000 (22:48 +0000)]
mangle.c (mangle_member_name): Don't special-case for NO_DOLLAR_IN_LABEL.
* mangle.c (mangle_member_name): Don't special-case for
NO_DOLLAR_IN_LABEL.
* mangle_name.c (unicode_mangling_length): Likewise.
(append_unicode_mangled_name): Likewise.
* parse.y (make_nested_class_name): Remove dead NO_DOLLAR_IN_LABEL
code.
From-SVN: r48220
Bryce McKinlay [Thu, 20 Dec 2001 22:47:39 +0000 (22:47 +0000)]
expr.c (build_java_array_length_access): Don't force null pointer check unless flag_check_references is set.
* expr.c (build_java_array_length_access): Don't force null pointer
check unless flag_check_references is set.
From-SVN: r48219
Andreas Jaeger [Thu, 20 Dec 2001 20:02:43 +0000 (21:02 +0100)]
libgcc2.c (__bb_exit_func): Remove unused variable.
* libgcc2.c (__bb_exit_func): Remove unused variable.
(num_digits): Remove unused function.
From-SVN: r48215
Nick Clifton [Thu, 20 Dec 2001 19:03:37 +0000 (19:03 +0000)]
Fix prologue/epilogue generation for ARM ISR routines.
Add test case to catch bugs reported in prologue/epilogue generation for ARM ISR routines.
From-SVN: r48210
Tom Tromey [Thu, 20 Dec 2001 18:05:20 +0000 (18:05 +0000)]
For PR java/4766:
* libjava.compile/PR4766.java: New file.
From-SVN: r48209
Tom Tromey [Thu, 20 Dec 2001 17:45:41 +0000 (17:45 +0000)]
re PR java/3417 (Downcast on integral types.)
Fix for PR java/3417:
* parse.y (patch_assignment): Added special processing for
`return'.
(patch_return): Don't convert booleans to integers, and don't
special-case `null'.
From-SVN: r48208
Richard Henderson [Thu, 20 Dec 2001 17:36:39 +0000 (09:36 -0800)]
varasm.c (assemble_real): Use REAL_VALUE_TO_x and assemble_integer to emit floating point values.
* varasm.c (assemble_real): Use REAL_VALUE_TO_x and assemble_integer
to emit floating point values.
(assemble_real_1): Remove.
* 1750a/1750a.c (real_value_to_target_single): New.
(real_value_to_target_double): New.
* 1750a/1750a.h (TARGET_FLOAT_FORMAT): New.
(REAL_VALUE_TO_TARGET_SINGLE): New.
(REAL_VALUE_TO_TARGET_DOUBLE): New.
* 1750a/1750a-protos.h: Update.
* 1750a/1750a.h, a29k/a29k.h, alpha/alpha.h, alpha/unicosmk.h,
alpha/vms.h, arc/arc.h, arm/aof.h, arm/aout.h, avr/avr.c,
avr/avr.h, c4x/c4x.h, clipper/clix.h, convex/convex.h, cris/cris.h,
d30v/d30v.h, dsp16xx/dsp16xx.c, dsp16xx/dsp16xx.h, elxsi/elxsi.h,
fr30/fr30.h, h8300/h8300.h, i370/i370.h, i386/i386.h, i386/i386elf.h,
i386/next.h, i386/ptx4-i.h, i386/sysv4.h, i860/fx2800.h, i860/i860.h,
i860/paragon.h, i860/sysv4.h, i960/i960-protos.h, i960/i960.c,
i960/i960.h, ia64/ia64.h, m32r/m32r.h, m68hc11/m68hc11.c,
m68hc11/m68hc11.h, m68k/3b1.h, m68k/altos3068.h, m68k/crds.h,
m68k/dpx2.h, m68k/hp320.h, m68k/m68k.h, m68k/mot3300.h, m68k/news.h,
m68k/next.h, m68k/next21.h, m68k/sgs.h, m68k/sun2o4.h, m68k/sun3.h,
m68k/tower-as.h, m88k/m88k.h, mcore/mcore.h, mips/mips-protos.h,
mips/mips.c, mips/mips.h, mmix/mmix-protos.h, mmix/mmix.c,
mmix/mmix.h, mn10200/mn10200.h, mn10300/mn10300.h, ns32k/encore.h,
ns32k/ns32k.h, pa/long_double.h, pa/pa.h, pdp11/pdp11.h, pj/pj.h,
romp/romp.c, romp/romp.h, rs6000/rs6000.h, s390/linux.h, sh/sh.h,
sparc/sparc.h, stormy16/stormy16.h, v850/v850.h, vax/vax.h,
vax/vaxv.h, we32k/we32k.h, doc/tm.texi: Remove ASM_OUTPUT_FLOAT,
ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE_FLOAT,
ASM_OUTPUT_SHORT_FLOAT, ASM_OUTPUT_THREE_QUARTER_FLOAT, and all
associated support routines.
From-SVN: r48207
Jan Hubicka [Thu, 20 Dec 2001 17:01:26 +0000 (18:01 +0100)]
cfgcleanup.c (flow_find_cross_jump): Avoid incrementing of ninsns if one of block does not contain jump.
* cfgcleanup.c (flow_find_cross_jump): Avoid incrementing of ninsns
if one of block does not contain jump.
(outgoing_edge_math): Revert last path; require edges to be noncomplex
nonfake to match single exit edge; require conditional jumps to not
have side effect.
From-SVN: r48203
Turly O'Connor [Thu, 20 Dec 2001 14:39:53 +0000 (14:39 +0000)]
tm.texi (ASM_OUTPUT_OPERAND): Change documentation references to "recog_operand" to "recog_data.operand".
* tm.texi (ASM_OUTPUT_OPERAND): Change documentation references to
"recog_operand" to "recog_data.operand".
* rtl.def: Likewise.
From-SVN: r48202
Andrew Haley [Thu, 20 Dec 2001 14:09:03 +0000 (14:09 +0000)]
FileHandleGcTest.out: New file.
2001-12-20 Andrew Haley <aph@redhat.com>
* libjava.lang/FileHandleGcTest.out: New file.
* libjava.lang/FileHandleGcTest.java: New file.
* libjava.lang/Array_3.out: New file.
* libjava.lang/Array_3.java: New file.
From-SVN: r48201
Jakub Jelinek [Thu, 20 Dec 2001 08:28:05 +0000 (09:28 +0100)]
Fix comment typo in last change.
From-SVN: r48200
Jakub Jelinek [Thu, 20 Dec 2001 08:26:20 +0000 (09:26 +0100)]
simplify-rtx.c (simplifi_binary_operation): If DIV has narrower mode than op0, only return the bits in DIV's mode.
* simplify-rtx.c (simplifi_binary_operation) [DIV]: If DIV has
narrower mode than op0, only return the bits in DIV's mode.
* gcc.c-torture/compile/
20011219-2.c: New test.
From-SVN: r48199
Jakub Jelinek [Thu, 20 Dec 2001 08:23:42 +0000 (09:23 +0100)]
combine.c (distribute_notes): Avoid adding REG_LABEL notes to JUMP_INSNs with JUMP_LABEL.
* combine.c (distribute_notes): Avoid adding REG_LABEL notes
to JUMP_INSNs with JUMP_LABEL.
* gcc.c-torture/execute/
20011219-1.c: New test.
From-SVN: r48198
GCC Administrator [Thu, 20 Dec 2001 08:16:14 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48196
Geert Bosch [Thu, 20 Dec 2001 06:22:43 +0000 (07:22 +0100)]
bindgen.adb: Minor reformatting
* 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
From-SVN: r48195
Aldy Hernandez [Thu, 20 Dec 2001 04:42:23 +0000 (04:42 +0000)]
install.texi: Add documentation for --enable-altivec.
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.
From-SVN: r48194
Bruce Korb [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...
accommodate __STDC__ == 0 tests in UW 2.1.2
Remove all the fix suppression "fixes"
adjust sample results for changes in fixes
From-SVN: r48193
David Billinghurst [Thu, 20 Dec 2001 00:32:08 +0000 (00:32 +0000)]
re PR c/5147 ([cygwin] Failure of test gcc.dg/special/wkali-1.c)
PR c/5147
* gcc.dg/special/ecos.exp: wkali-1.c unsupported if
target does not support weak symbols.
From-SVN: r48191
Joseph Myers [Thu, 20 Dec 2001 00:26:12 +0000 (00:26 +0000)]
* po/gcc.pot: Regenerate.
From-SVN: r48190
Joseph Myers [Thu, 20 Dec 2001 00:20:47 +0000 (00:20 +0000)]
configure.in (all_diff_excludes, [...]): Remove.
* 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.
From-SVN: r48189
Dan Nicolaescu [Wed, 19 Dec 2001 23:00:39 +0000 (15:00 -0800)]
sparc.md (ldd peephole2s): For load peepholes pass the destination register as a parameter to...
* 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.
From-SVN: r48188
Jakub Jelinek [Wed, 19 Dec 2001 22:09:04 +0000 (23:09 +0100)]
ia64.c (ia64_single_set): Return first set for prologue_allocate_stack and epilogue_deallocate_stack...
* 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.
From-SVN: r48187
Phil Edwards [Wed, 19 Dec 2001 21:57:43 +0000 (21:57 +0000)]
Intro.3: New 'Allocators' module.
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.
From-SVN: r48185
Phil Edwards [Wed, 19 Dec 2001 21:36:33 +0000 (21:36 +0000)]
configopts.html: Describe recent options.
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.
From-SVN: r48184
Florian Weimer [Wed, 19 Dec 2001 20:03:35 +0000 (21:03 +0100)]
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r48183
Tom Tromey [Wed, 19 Dec 2001 19:38:25 +0000 (19:38 +0000)]
FlowLayout.java (FlowLayout(), [...]): Set gaps to 5.
* 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.
From-SVN: r48182
Dale Johannesen [Wed, 19 Dec 2001 18:06:38 +0000 (18:06 +0000)]
rs6000.h: LEGITIMIZE_RELOAD_ADDRESS: redefine in terms of rs6000_legitimize_reload_address().
* 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.
From-SVN: r48181
Jeff Law [Wed, 19 Dec 2001 17:59:05 +0000 (10:59 -0700)]
t-hpux-shlib: New file.
* config/pa/t-hpux-shlib: New file.
* config.gcc (hpux10, hpux11): Include t-hpux-shlib in tmake_file
for 32bit hpux10 & hpux11 configurations.
From-SVN: r48180
Nick Clifton [Wed, 19 Dec 2001 15:27:22 +0000 (15:27 +0000)]
Pass -mno-fpu onto gas unless -mhard-float is specified.
From-SVN: r48179
Nick Clifton [Wed, 19 Dec 2001 15:23:16 +0000 (15:23 +0000)]
Remove definition: EXTRA_MULTILIB_PARTS
From-SVN: r48178
Nick Clifton [Wed, 19 Dec 2001 15:18:26 +0000 (15:18 +0000)]
Define SUPPORTS_INIT_PRIORITY
From-SVN: r48177
Nathan Sidwell [Wed, 19 Dec 2001 11:52:59 +0000 (11:52 +0000)]
re PR c++/90 (funny syntactical error message)
cp:
PR c++/90
* typeck.c (build_function_call_real): Use original function
expression for errors.
testsuite:
* g++.dg/other/error1.C: New test.
From-SVN: r48176
Douglas B Rupp [Wed, 19 Dec 2001 11:21:29 +0000 (06:21 -0500)]
dwarf2out.c (add_name_and_src_coords_attributes): Fix VMS procedure descriptor output.
* dwarf2out.c (add_name_and_src_coords_attributes): Fix VMS procedure
descriptor output.
From-SVN: r48175
GCC Administrator [Wed, 19 Dec 2001 08:16:11 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48173
Stan Shebs [Wed, 19 Dec 2001 03:38:45 +0000 (03:38 +0000)]
* rs6000.h (LOCAL_ALIGNMENT): Fix parens.
From-SVN: r48172
Bryce McKinlay [Wed, 19 Dec 2001 02:45:20 +0000 (02:45 +0000)]
* boehm.cc (_Jv_BuildGCDescr): Define unconditionally.
From-SVN: r48170
Bryce McKinlay [Wed, 19 Dec 2001 01:59:28 +0000 (01:59 +0000)]
jvm.h (_Jv_BuildGCDescr): Declare unconditionally.
* include/jvm.h (_Jv_BuildGCDescr): Declare unconditionally.
* nogc.cc (_Jv_BuildGCDescr): Define unconditionally.
From-SVN: r48169
Geert Bosch [Wed, 19 Dec 2001 00:31:42 +0000 (01:31 +0100)]
sem_res.adb (Resolve_Selected_Component): do not generate a discriminant check if the selected component is a component...
* 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.
From-SVN: r48168
David Billinghurst [Tue, 18 Dec 2001 23:34:06 +0000 (23:34 +0000)]
libstdc++-v3-dg.exp: Append .exe to executable filenames
2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
libstdc++-v3/5148
* testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
executable filenames
From-SVN: r48167
Richard 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.
* emit-rtl.c (widen_memory_access): Only call compare_tree_int
on an INTEGER_CST.
From-SVN: r48166
Benjamin Kosnik [Tue, 18 Dec 2001 22:01:20 +0000 (22:01 +0000)]
TODO: Update.
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.
From-SVN: r48165
David Edelsohn [Tue, 18 Dec 2001 22:00:06 +0000 (22:00 +0000)]
rs6000.c (rs6000_override_options): Only use DI ops when TARGET_64BIT.
* rs6000.c (rs6000_override_options): Only use DI ops when
TARGET_64BIT. Fix typo.
From-SVN: r48164
Benjamin Kosnik [Tue, 18 Dec 2001 21:12:23 +0000 (21:12 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before enabling gnu model.
2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
enabling gnu model.
* aclocal.m4: Rebuild.
* configure: Rebuild.
From-SVN: r48163
Tom Tromey [Tue, 18 Dec 2001 17:27:43 +0000 (17:27 +0000)]
CollationElementIterator.java (secondaryOrder): Cast result to `short'.
* java/text/CollationElementIterator.java (secondaryOrder): Cast
result to `short'.
(tertiaryOrder): Likewise.
From-SVN: r48162
Tom 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.
From-SVN: r48161
Jan Hubicka [Tue, 18 Dec 2001 15:41:30 +0000 (16:41 +0100)]
att.h (ASM_FILE_START): Use asm_dialect.
* 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.
From-SVN: r48160
Jan Hubicka [Tue, 18 Dec 2001 15:38:40 +0000 (16:38 +0100)]
* libgcc2.c (__bb_exit_func): Kill -ax dumping code.
From-SVN: r48159
Jason Merrill [Tue, 18 Dec 2001 15:25:43 +0000 (10:25 -0500)]
class.c (add_method): Do compare 'this' quals when trying to match a used function.
* class.c (add_method): Do compare 'this' quals when trying to match a
used function. Don't defer to another used function.
From-SVN: r48158
Jason Merrill [Tue, 18 Dec 2001 15:18:20 +0000 (10:18 -0500)]
class.c (add_method): Do compare 'this' quals when trying to match a used function.
* class.c (add_method): Do compare 'this' quals when trying to match a
used function. Don't defer to another used function.
From-SVN: r48157
Jason Merrill [Tue, 18 Dec 2001 14:50:37 +0000 (09:50 -0500)]
remove xfail
From-SVN: r48156
Nathan Sidwell [Tue, 18 Dec 2001 14:13:46 +0000 (14:13 +0000)]
pt.c (instantiate_clone): Remove, fold into ...
* 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.
From-SVN: r48155
Jason Merrill [Tue, 18 Dec 2001 13:30:30 +0000 (08:30 -0500)]
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.
From-SVN: r48154
Richard Kenner [Tue, 18 Dec 2001 12:16:41 +0000 (07:16 -0500)]
Fix spelling error
From-SVN: r48153
Douglas B Rupp [Tue, 18 Dec 2001 12:15:41 +0000 (07:15 -0500)]
xm-vms.h (INCLUDE_DEFAULTS): Add /gnu/include.
* config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Add /gnu/include.
* config/alpha/vms.h (STACK_CHECK_BUILTIN): #define 0 for VMS.
From-SVN: r48152
Paolo Carlini [Tue, 18 Dec 2001 12:06:01 +0000 (13:06 +0100)]
basic_string.h (assign(__str, __pos, __n)): Call assign(__s, __n).
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.
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r48151
Nathan Sidwell [Tue, 18 Dec 2001 11:51:05 +0000 (11:51 +0000)]
call.c (build_new_method_call): Use '%#V'.
* call.c (build_new_method_call): Use '%#V'.
* error.c (cv_to_string): Use V parameter to determine padding.
From-SVN: r48150
Jakub Jelinek [Tue, 18 Dec 2001 10:42:32 +0000 (11:42 +0100)]
linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
* 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.
From-SVN: r48149
Joseph Myers [Tue, 18 Dec 2001 09:36:02 +0000 (09:36 +0000)]
gcc.pot: Regenerate.
* po/gcc.pot: Regenerate.
cp:
* call.c, decl2.c, init.c: Use "built-in" and "bit-field"
spellings in messages.
From-SVN: r48148
GCC Administrator [Tue, 18 Dec 2001 08:16:44 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48147
Benjamin Kosnik [Tue, 18 Dec 2001 06:57:28 +0000 (06:57 +0000)]
std_limits.h (__glibcpp_long_double_is_bounded): Set to true, like float and double.
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.
From-SVN: r48145
Tom Tromey [Tue, 18 Dec 2001 05:18:38 +0000 (05:18 +0000)]
* libjava.lang/PR3731.xfail: Removed.
From-SVN: r48144