]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
22 years agoMakefile.in (tm_defines): New configuration variable.
John David Anglin [Sat, 15 Jun 2002 17:31:32 +0000 (17:31 +0000)] 
Makefile.in (tm_defines): New configuration variable.

* Makefile.in (tm_defines): New configuration variable.
(cs-config.h, cs-hconfig.h, cs-tconfig.h): Rename DEFINES to XM_DEFINES.
Pass tm_defines in TM_DEFINES.
(cs-tm_p.h): Rename DEFINES to XM_DEFINES.  Pass TM_DEFINES.
* config.gcc (tm_defines): New configuration variable.
(hppa*-*-* | parisc*-*-*): Use tm_defines instead of pa-700.h and
pa-7100.h headers.  Change hppa1* scheduling default to 7100LC.
* configure.in: Substitute tm_defines.
* configure: Rebuilt.
* mkconfig.sh: Rename DEFINES to XM_DEFINES.  Output TM_DEFINES.
* doc/install.texi: Update.
* pa/pa-700.h: Delete file.
* pa/pa-7100.h: Delete file.

From-SVN: r54648

22 years agofold-const.c (comparison_to_compcode): New function to convert an comparison TREE...
Roger Sayle [Sat, 15 Jun 2002 16:55:24 +0000 (16:55 +0000)] 
fold-const.c (comparison_to_compcode): New function to convert an comparison TREE CODE into a bit-based representation.

* fold-const.c (comparison_to_compcode): New function to convert
an comparison TREE CODE into a bit-based representation.
(compcode_to_comparison): New function to convert from this bit
based representation back to a comparison TREE CODE.
(fold_truthop): Simplify (x<y) && (x==y) and related composite
comparisons.

* gcc.c-tortuture/execute/compare-1.c: New test case.
* gcc.c-tortuture/execute/compare-2.c: New test case.
* gcc.c-tortuture/execute/compare-3.c: New test case.

From-SVN: r54647

22 years agocp-tree.h (compiler_error): Remove declaration.
Gabriel Dos Reis [Sat, 15 Jun 2002 12:38:04 +0000 (12:38 +0000)] 
cp-tree.h (compiler_error): Remove declaration.

        * cp-tree.h (compiler_error): Remove declaration.
        * lex.c (compiler_error): Remove definition.

From-SVN: r54644

22 years agotm.texi (MEMBER_TYPE_FORCES_BLK): Document MODE argument.
Aldy Hernandez [Sat, 15 Jun 2002 09:41:13 +0000 (09:41 +0000)] 
tm.texi (MEMBER_TYPE_FORCES_BLK): Document MODE argument.

2002-06-15  Aldy Hernandez  <aldyh@redhat.com>

        * tm.texi (MEMBER_TYPE_FORCES_BLK): Document MODE argument.

        * stor-layout.c (compute_record_mode): Remove check for
        FUNCTION_ARG_REG_LITTLE_ENDIAN and VOIDmode when checking for
        MEMBER_TYPE_FORCES_BLK.  Pass new mode field to
        MEMBER_TYPE_FORCES_BLK.

        * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Same.

        * config/c4x/c4x.h (MEMBER_TYPE_FORCES_BLK): Same.

From-SVN: r54643

22 years agoDaily bump.
GCC Administrator [Sat, 15 Jun 2002 07:17:26 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r54642

22 years ago* config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.
Jeff Sturm [Sat, 15 Jun 2002 01:20:03 +0000 (01:20 +0000)] 
* config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.

From-SVN: r54637

22 years agoconfigure.in (USE_UNWIND_EXCEPTIONS): Add support to set USE_UNWIND_EXCEPTIONS if...
Steve Ellcey [Sat, 15 Jun 2002 01:16:28 +0000 (01:16 +0000)] 
configure.in (USE_UNWIND_EXCEPTIONS): Add support to set USE_UNWIND_EXCEPTIONS if --enable-libunwind-exceptions is set.

        * configure.in (USE_UNWIND_EXCEPTIONS): Add support to set
        USE_UNWIND_EXCEPTIONS if --enable-libunwind-exceptions is set.
        * configure, config.in: Regenerate.

        * g++spec.c (LIBUNWIND): New.
        (lang_specific_driver): Add it if USE_UNWIND_EXCEPTIONS is set.

From-SVN: r54636

22 years agoloop.c (check_final_value): Use v->always_executed instead of v->always_computable.
Eric Botcazou [Sat, 15 Jun 2002 01:10:49 +0000 (01:10 +0000)] 
loop.c (check_final_value): Use v->always_executed instead of v->always_computable.

* loop.c (check_final_value): Use v->always_executed
instead of v->always_computable.
* unroll.c (final_giv_value): Don't calculate the final
value as a function of the biv if the giv is not computed
for every loop iteration.

From-SVN: r54634

22 years ago* loop.c (for_each_insn_in_loop): Fix formatting and comments.
Eric Botcazou [Sat, 15 Jun 2002 00:47:53 +0000 (00:47 +0000)] 
* loop.c (for_each_insn_in_loop): Fix formatting and comments.

From-SVN: r54633

22 years agoNew.
Richard Henderson [Sat, 15 Jun 2002 00:43:20 +0000 (17:43 -0700)] 
New.

From-SVN: r54630

22 years agoMark pr last change.
Richard Henderson [Sat, 15 Jun 2002 00:42:52 +0000 (17:42 -0700)] 
Mark pr last change.

From-SVN: r54629

22 years agoconvert.c (convert_to_integer): Don't pass the truncation down when the target type...
Eric Botcazou [Sat, 15 Jun 2002 00:40:49 +0000 (00:40 +0000)] 
convert.c (convert_to_integer): Don't pass the truncation down when the target type is signed.

* convert.c (convert_to_integer) [LSHIFT_EXPR]: Don't pass
the truncation down when the target type is signed.
[trunc1]: Use unsigned arithmetic for LSHIFT_EXPR.
* fold-const.c (extract_muldiv) [NOP_EXPR]: Don't pass through
the conversion if the target type is a smaller type.

From-SVN: r54627

22 years agofold-const.c (fold): Move X>=C / X<C transfomation earlier.
Richard Henderson [Sat, 15 Jun 2002 00:06:18 +0000 (17:06 -0700)] 
fold-const.c (fold): Move X>=C / X<C transfomation earlier.

        * fold-const.c (fold) [compare ops]: Move X>=C / X<C transfomation
        earlier.  Re-factor comparisons vs extrema.

From-SVN: r54626

22 years ago* config/alpha/alpha.md (builtin_zapnot): Fix op2 mode.
Richard Henderson [Fri, 14 Jun 2002 20:26:23 +0000 (13:26 -0700)] 
* config/alpha/alpha.md (builtin_zapnot): Fix op2 mode.

From-SVN: r54625

22 years agoRemove bogus ChangeLog entry that snuck in during last commit:
Eric Christopher [Fri, 14 Jun 2002 19:12:54 +0000 (19:12 +0000)] 
Remove bogus ChangeLog entry that snuck in during last commit:

2002-06-12  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.md (prefetch, prefetch_di, prefetch_si): New
patterns.
* config/mips/mips.h (RTX_COSTS): Fix formatting.

From-SVN: r54623

22 years agortl.h (SCHED_GROUP_P): Disallow CODE_LABEL, BARRIER and NOTE.
Franz Sirl [Fri, 14 Jun 2002 18:58:10 +0000 (18:58 +0000)] 
rtl.h (SCHED_GROUP_P): Disallow CODE_LABEL, BARRIER and NOTE.

2002-06-14  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* rtl.h (SCHED_GROUP_P): Disallow CODE_LABEL, BARRIER and NOTE.
* sched-deps.c (add_dependence): Likewise.
(group_leader): Likewise.
* sched-rgn.c (init_ready_list): Likewise.
* doc/rtl.texi: Adjust accordingly.

From-SVN: r54622

22 years agoconfigure.in (target_alias): Fix.
J.T. Conklin [Fri, 14 Jun 2002 18:21:24 +0000 (18:21 +0000)] 
configure.in (target_alias): Fix.

2002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>

* configure.in (target_alias): Fix.
* configure: Regenerate.
* aclocal.m4: Regenerate.

From-SVN: r54618

22 years agogcse.c (delete_null_pointer_checks_1): Inform caller if any null pointer checks were...
Jeff Law [Fri, 14 Jun 2002 16:25:36 +0000 (10:25 -0600)] 
gcse.c (delete_null_pointer_checks_1): Inform caller if any null pointer checks were eliminated.

        * gcse.c (delete_null_pointer_checks_1): Inform caller if any
        null pointer checks were eliminated.  Update prototype.
        (delete_null_pointer_checks): Similarly.
        * rtl.h (delete_null_pointer_checks): Update prototype.
        * toplev.c (rest_of_compilation): Only run cleanup_cfg if
        delete_null_pointer_checks deletes one or more null
        pointer checks.  Do not run cleanup_cfg before gcse, the
        CFG is accurate and optimized at that point..

From-SVN: r54617

22 years agors6000.c (rs6000_frame_related): Avoid unwanted sharing of hard registers.
Jeff Law [Fri, 14 Jun 2002 14:44:33 +0000 (08:44 -0600)] 
rs6000.c (rs6000_frame_related): Avoid unwanted sharing of hard registers.

        * rs6000.c (rs6000_frame_related): Avoid unwanted sharing
        of hard registers.

From-SVN: r54615

22 years ago* Makefile.in (libgcc.mk): Depend on specs.
Ulrich Weigand [Fri, 14 Jun 2002 14:37:26 +0000 (14:37 +0000)] 
* Makefile.in (libgcc.mk): Depend on specs.

From-SVN: r54614

22 years ago* sh.md (mulsi3): Update way how to find insns in a sequence.
J"orn Rennecke [Fri, 14 Jun 2002 11:20:39 +0000 (11:20 +0000)] 
* sh.md (mulsi3): Update way how to find insns in a sequence.

From-SVN: r54613

22 years agosh.h: Define HARD_REGNO_RENAME_OK
Dhananjay R. Deshpande [Fri, 14 Jun 2002 11:06:38 +0000 (11:06 +0000)] 
sh.h: Define HARD_REGNO_RENAME_OK

Fri Jun 14 12:04:02 2002  Dhananjay R. Deshpande <dhananjayd@kpit.com>

* sh.h: Define HARD_REGNO_RENAME_OK
* sh.c: sh_hard_regno_rename_ok: New. If current function has
interrupt_handler attribute, only registers saved on stack are OK.
* sh-protos.h: Declare sh_hard_regno_rename_ok.

From-SVN: r54612

22 years agosh.md (jump): Emit jump insn.
Kaz Kojima [Fri, 14 Jun 2002 09:49:18 +0000 (09:49 +0000)] 
sh.md (jump): Emit jump insn.

* config/sh/sh.md (jump): Emit jump insn.
(call_pcrel): Get pattern of the result of gen_call_site.
(call_value_pcrel, sibcall_pcrel, GOTaddr2picreg): Likewise.

From-SVN: r54611

22 years agoDaily bump.
GCC Administrator [Fri, 14 Jun 2002 07:17:41 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r54610

22 years agocpphash.h (struct cpp_buffer): Remove saved_line_base.
Neil Booth [Fri, 14 Jun 2002 05:43:13 +0000 (05:43 +0000)] 
cpphash.h (struct cpp_buffer): Remove saved_line_base.

* cpphash.h (struct cpp_buffer): Remove saved_line_base.
* cpptrad.c: Update comments.
(skip_whitespace, copy_comment): Take a new parameter.
(skip_escaped_newlines): Don't duplicate escaped newline test.
(copy_comment): Different location for CUR, decide here how
to copy / replace the comment.
(skip_whitespace): Copy whitespace.
(_cpp_overlay_buffer, _cpp_remove_overlay): Don't play with line_base.
(scan_out_logical_line): Let copy comment handle keeping or
replacing comments.
(scan_parameters, _cpp_create_trad_definition): Update.

From-SVN: r54605

22 years agopass MEM reference to find_reloads_address
Alan Lehotsky [Fri, 14 Jun 2002 01:41:53 +0000 (21:41 -0400)] 
pass MEM reference to find_reloads_address

From-SVN: r54604

22 years agodefaults.h (TARGET_VTABLE_ENTRY_ALIGN): New.
Richard Henderson [Fri, 14 Jun 2002 00:50:34 +0000 (17:50 -0700)] 
defaults.h (TARGET_VTABLE_ENTRY_ALIGN): New.

        * defaults.h (TARGET_VTABLE_ENTRY_ALIGN): New.
        (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New.
        * doc/tm.texi: Document them.
        * config/ia64/ia64.h (TARGET_VTABLE_ENTRY_ALIGN): New.
        (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New.
        (TARGET_VTABLE_USES_DESCRIPTORS): 4 word descriptors for 32-bit mode.
        (ASM_OUTPUT_FDESC): Likewise.

        * class.c (build_vtable): Use TARGET_VTABLE_ENTRY_ALIGN.
        (build_vtbl_initializer): Honor TARGET_VTABLE_DATA_ENTRY_DISTANCE.
        (build_vbase_offset_vtbl_entries): Likewise.
        * rtti.c (build_headof): Likewise.
        (get_tinfo_decl_dynamic): Likewise.
        (create_pseudo_type_info): Likewise.

        * g++.old-deja/g++.abi/vtable2.C (INC_VDATA): New.  Define for
        ia64 ilp32.

From-SVN: r54603

22 years agodiagnostic.c (output_format): Fix thinko.
Eric Christopher [Thu, 13 Jun 2002 23:31:56 +0000 (23:31 +0000)] 
diagnostic.c (output_format): Fix thinko.

2002-06-13  Eric Christopher  <echristo@redhat.com>

* diagnostic.c (output_format): Fix thinko.

From-SVN: r54602

22 years agocoff.h (HAS_INIT_SECTION, [...]): Don't define.
J"orn Rennecke [Thu, 13 Jun 2002 21:36:32 +0000 (21:36 +0000)] 
coff.h (HAS_INIT_SECTION, [...]): Don't define.

* config/sh/coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Don't define.
(DWARF2_UNWIND_INFO): Define to 0.

From-SVN: r54601

22 years agosh.c (calc_live_regs): Don't use initial_value optimization for PR_MEDIA_REG.
J"orn Rennecke [Thu, 13 Jun 2002 21:31:58 +0000 (21:31 +0000)] 
sh.c (calc_live_regs): Don't use initial_value optimization for PR_MEDIA_REG.

* config/sh/sh.c (calc_live_regs): Don't use initial_value
optimization for PR_MEDIA_REG.

From-SVN: r54600

22 years agocpphash.h (_cpp_lex_identifier_trad): Remove.
Neil Booth [Thu, 13 Jun 2002 21:16:00 +0000 (21:16 +0000)] 
cpphash.h (_cpp_lex_identifier_trad): Remove.

* cpphash.h (_cpp_lex_identifier_trad): Remove.
* cpplib.c (end_directive): Don't skip, always remove overlay
apart from #define.
(prepare_directive_trad): Handle NULL pfile->directive.
(_cpp_handle_directive): Always call prepare_directive_trad
if traditional.
* cppmain.c (check_multiline_token): Rename account_for_newlines,
generalize inputs.
(scan_translation_unit_trad): Use it.
* cpptrad.c (skip_comment): Rename copy_comment, copy comment to
output, get escaped newline in comment close correct.
(check_output_buffer, skip_whitespace): Update.
(_cpp_lex_identifier_trad): Remove.
(scan_out_logical_line): Handle -C and comments in directives
properly.

From-SVN: r54599

22 years agoIndividual processor configurations for sh-elf / sh-linux:
J"orn Rennecke [Thu, 13 Jun 2002 19:23:28 +0000 (19:23 +0000)] 
Individual processor configurations for sh-elf / sh-linux:

gcc:
* config.gcc: Add support for sh[234]*-*-elf*, sh[2346lbe]*-*-linux*.
* config/sh/linux.h (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
* sh.h (SELECT_SH1, SELECT_SH2, SELECT_SH3, SELECT_SH3E): New macros.
(SELECT_SH4_NOFPU, SELECT_SH4_SINGLE_ONLY, SELECT_SH4): Likewise.
(SELECT_SH4_SINGLE, SELECT_SH5_64, SELECT_SH5_64_NOFPU): Likewise.
(SELECT_SH5_32, SELECT_SH5_32_NOFPU, SELECT_SH5_COMPACT): Likewise.
(SELECT_SH5_COMPACT_NOFPU): Likewise.
(TARGET_SWITCHES): Use them.
(TARGET_CPU_DEFAULT): Define if not already defined.
(TARGET_DEFAULT): Use it.
(LINK_DEFAULT_CPU_EMUL): Value now depends on TARGET_CPU_DEFAULT.
* config/sh/t-linux (MULTILIB_OPTIONS): Use MULTILIB_ENDIAN.
* config/sh/t-monolib: New file.

bfd:
config.bfd: Add support for sh[1234]l*-*-elf* | sh3el*-*-elf*,
sh[1234]*-elf*.

ld:
* configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.

Still outstanding:
config.sub:
* config.sub: Add support for sh[12], sh3e, sh[1234]le, sh3ele,
shle, sh[1234]le, sh3ele, sh64le.

From-SVN: r54598

22 years agonatString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0.
Tom Tromey [Thu, 13 Jun 2002 18:16:26 +0000 (18:16 +0000)] 
natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0.

* java/lang/natString.cc (init): Handle case where DONT_COPY is
true and OFFSET!=0.
* java/lang/String.java (String(char[],int,int,boolean): New
constructor.
* java/lang/Long.java: Imported new version from Classpath.
* java/lang/Number.java: Likewise.
* java/lang/Integer.java: Likewise.
* java/lang/Long.java: Likewise.
* java/lang/Float.java: Likewise.
* java/lang/Boolean.java: Likewise.
* java/lang/Double.java: Likewise.
* java/lang/Void.java: Likewise.

From-SVN: r54595

22 years agore PR java/6865 (gcj: segmentation fault on incorrect input)
Tom Tromey [Thu, 13 Jun 2002 17:34:49 +0000 (17:34 +0000)] 
re PR java/6865 (gcj: segmentation fault on incorrect input)

* lib/libjava.exp (test_libjava): Fixed typo.
* libjava.compile/PR6865.xfail: New file.

From-SVN: r54594

22 years agotoplev.c (rest_of_compilation): Simplify (and correct) the logic of the first delete...
Roger Sayle [Thu, 13 Jun 2002 17:20:01 +0000 (17:20 +0000)] 
toplev.c (rest_of_compilation): Simplify (and correct) the logic of the first delete-null-pointer-checks pass.

* toplev.c (rest_of_compilation): Simplify (and correct) the
logic of the first delete-null-pointer-checks pass.

From-SVN: r54593

22 years agoparse.y (class_declaration, [...]): Make sure all their rules have an action...
Akim Demaille [Thu, 13 Jun 2002 16:46:01 +0000 (18:46 +0200)] 
parse.y (class_declaration, [...]): Make sure all their rules have an action...

2002-06-13  Akim Demaille  <akim@epita.fr>

* parse.y (class_declaration, interface_declaration): Make sure
all their rules have an action, in order to avoid meaningless `$$
= $1' and their type clashes.

From-SVN: r54592

22 years ago* i386.c (ix86_expand_movstr): Fix pasto.
Jan Hubicka [Thu, 13 Jun 2002 16:25:51 +0000 (18:25 +0200)] 
* i386.c (ix86_expand_movstr):  Fix pasto.

From-SVN: r54590

22 years ago* reload.c (find_valid_class): Fix thinko in my previous patch.
Jan Hubicka [Thu, 13 Jun 2002 16:20:02 +0000 (18:20 +0200)] 
* reload.c (find_valid_class):  Fix thinko in my previous patch.

From-SVN: r54589

22 years agoemit-rtl.c (static_regno_reg_rtx): Define.
Jeff Law [Thu, 13 Jun 2002 16:14:55 +0000 (10:14 -0600)] 
emit-rtl.c (static_regno_reg_rtx): Define.

        * emit-rtl.c (static_regno_reg_rtx): Define.
        (init_emit_once): Initialize static_regno_reg_rtx.
        (init_emit): Copy static_regno_reg_rtx into regno_reg_rtx instead
        of building new hard reg objects once per function.
        (gen_rtx_REG): Try to share hard regs.
* regclass.c (init_fake_stack_mems): New function broken out from
init_regs.
* rtl.h (init_fake_stack_mems): Declare.
* toplev.c (lang_independent_init): Call init_regs before
init_emit_once.  Call init_fake_stack_mems after init_emit_once.

From-SVN: r54588

22 years agos390.h (TARGET_CPU_CPP_BUILTINS): New macro.
Ulrich Weigand [Thu, 13 Jun 2002 15:55:10 +0000 (15:55 +0000)] 
s390.h (TARGET_CPU_CPP_BUILTINS): New macro.

* config/s390/s390.h (TARGET_CPU_CPP_BUILTINS): New macro.
* config/s390/linux.h (TARGET_OS_CPP_BUILTINS): New macro.
(CPP_PREDEFINES, CPP_SPEC, CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): Remove.
(EXTRA_SPECS): Remove cpp_arch31 and cpp_arch64.

From-SVN: r54586

22 years agotree-inline.c (expand_call_inline): Don' mess with _DECL fields.
Gabriel Dos Reis [Thu, 13 Jun 2002 15:32:40 +0000 (15:32 +0000)] 
tree-inline.c (expand_call_inline): Don' mess with _DECL fields.

        * tree-inline.c (expand_call_inline): Don' mess with _DECL
        fields.

From-SVN: r54585

22 years agodiagnostic.c (output_format): Recognize "%H" as a format specifier for a location_t.
Gabriel Dos Reis [Thu, 13 Jun 2002 12:40:54 +0000 (12:40 +0000)] 
diagnostic.c (output_format): Recognize "%H" as a format specifier for a location_t.

* diagnostic.c (output_format): Recognize "%H" as a format
specifier for a location_t.
(text_specifies_location): New function.
(diagnostic_set_info): Use it.

From-SVN: r54584

22 years ago* i386.md (extenddfxf2, extenddftf2): Fix typo/thinko.
Jeff Law [Thu, 13 Jun 2002 12:27:50 +0000 (06:27 -0600)] 
* i386.md (extenddfxf2, extenddftf2): Fix typo/thinko.

From-SVN: r54583

22 years agoalias.c (argument_registers): Remove.
Jeff Law [Thu, 13 Jun 2002 12:24:00 +0000 (06:24 -0600)] 
alias.c (argument_registers): Remove.

* alias.c (argument_registers): Remove.
(init_alias_once): Initialize static_reg_base_value here.  Remove
initialization of argument_registers.
(init_alias_once_per_function): Remove.
(init_alias_analysis): Copy all the entries from static_reg_base_value
into new_reg_base_value all at once.
* rtl.h (init_alias_once_per_function): Remove declaration.
* function.c (prepare_function_start): Do not call
init_alias_once_per_function.

* caller-save.c (init_caller_save): Use gen_rtx_INSN instead of
starting a sequence and emitting an INSN.

From-SVN: r54582

22 years ago* config/mips/r3900.h (MIPS_CPU_STRING_DEFAULT): Make lower case.
Richard Sandiford [Thu, 13 Jun 2002 10:14:12 +0000 (10:14 +0000)] 
* config/mips/r3900.h (MIPS_CPU_STRING_DEFAULT): Make lower case.

From-SVN: r54581

22 years agoexpmed.c (init_expmed): Remove duplicate init of 'reg'.
David S. Miller [Thu, 13 Jun 2002 09:37:19 +0000 (02:37 -0700)] 
expmed.c (init_expmed): Remove duplicate init of 'reg'.

2002-06-13  David S. Miller  <davem@redhat.com>

* expmed.c (init_expmed): Remove duplicate init of 'reg'.

From-SVN: r54580

22 years agoDaily bump.
GCC Administrator [Thu, 13 Jun 2002 07:17:30 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r54578

22 years agocpplib.c (end_directive): Handle line skipping.
Neil Booth [Thu, 13 Jun 2002 06:25:28 +0000 (06:25 +0000)] 
cpplib.c (end_directive): Handle line skipping.

* cpplib.c (end_directive): Handle line skipping.  Only remove
the rest of the line if the directive was valid.
* cppmacro.c (_cpp_push_text_context): Set NODE_DISABLED when
expanding a traditional macro.
* cpptrad.c (recursive_macro): New.
(read_logical_line_trad): Handle skipping.
(scan_out_logical_line): Continue after a successful directive.
Don't expand macros whilst skipping, or if recursing.
(_cpp_create_trad_definition): scan_out_logical_line now sets
the output current position.

From-SVN: r54573

22 years agompw-config.in: Remove file, no longer used.
Stan Shebs [Thu, 13 Jun 2002 04:58:57 +0000 (04:58 +0000)] 
mpw-config.in: Remove file, no longer used.

        * mpw-config.in: Remove file, no longer used.
        * mpw-make.sed: Ditto.

From-SVN: r54572

22 years ago2002-06-12 Eric Christopher <echristo@redhat.com>
Eric Christopher [Wed, 12 Jun 2002 23:26:44 +0000 (23:26 +0000)] 
2002-06-12  Eric Christopher  <echristo@redhat.com>

From Chris Demetriou  <cgd@broadcom.com>
* config/mips/mips.h (ISA_HAS_FP4): Add ISA_MIPS64 and fix
comment.
(ISA_HAS_MADD_MSUB): Ditto.
(ISA_HAS_NMADD_NMSUB): Ditto.

From-SVN: r54569

22 years agoMissed a file from previous check-in.
Eric Christopher [Wed, 12 Jun 2002 23:24:04 +0000 (23:24 +0000)] 
Missed a file from previous check-in.

From-SVN: r54568

22 years agoconfig.gcc: Consolidate little endian handling and little/big endian targets.
Eric Christopher [Wed, 12 Jun 2002 23:12:25 +0000 (23:12 +0000)] 
config.gcc: Consolidate little endian handling and little/big endian targets.

2002-06-12  Eric Christopher  <echristo@redhat.com>

* config.gcc: Consolidate little endian handling and
little/big endian targets.
* config/mips/elfl.h: Remove file.
* config/mips/elfl64.h: Ditto.
* config/mips/ecoffl.h: Ditto.
* config/mips/r3900.h (SUBTARGET_CPP_SPEC): Remove.

From-SVN: r54567

22 years agogengtype.h (xvasprintf): New prototype.
Geoffrey Keating [Wed, 12 Jun 2002 22:57:45 +0000 (22:57 +0000)] 
gengtype.h (xvasprintf): New prototype.

* gengtype.h (xvasprintf): New prototype.
(xasprintf): New prototype.
(struct outf): New.
(get_output_file): Return an outf_p.
(header_file): Is now an outf_p.
(base_files): Now are outf_p.
(oprintf): New.
* gengtype.c: Replace all output FILE * with outf_p; use oprintf
rather than stdio operations.  Use xasprintf in a few places,
when appropriate.
(xvasprintf): New.
(xasprintf): New.
(struct filemap): Delete.
(files): Delete.
(output_files): New.
(oprintf): New.
(create_file): Create an outf_p.  Add parameter to indicate output
file name, change all callers.
(open_base_files): Create gtype-desc.c here.
(get_output_file_with_visibility): Rewrite.
(get_output_file_name): Just look at 'name' field in struct outf.
(close_output_files): Rewrite.

From-SVN: r54566

22 years agoMakefile.am: Add new files.
Phil Edwards [Wed, 12 Jun 2002 22:07:53 +0000 (22:07 +0000)] 
Makefile.am: Add new files.

2002-06-12  Phil Edwards  <pme@gcc.gnu.org>

* include/Makefile.am:  Add new files.
* include/Makefile.in:  Regenerate.

* include/bits/stl_deque.h, include/bits/stl_list.h,
include/bits/stl_vector.h:  Clean up, reformat.  Move definitions...
* include/bits/deque.tcc, include/bits/list.tcc,
include/bits/vector.tcc:  ...to here.  New files.

* include/ext/stl_hashtable.h:  Inclide correct full headers.
* include/std/std_deque.h:  Include .tcc files for now.
* include/std/std_list.h:  Likewise.
* include/std/std_vector.h:  Likewise.

From-SVN: r54562

22 years ago* config/vax/vax.h (MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)
Jason Thorpe [Wed, 12 Jun 2002 18:17:53 +0000 (18:17 +0000)] 
* config/vax/vax.h (MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)
(MASK_G_FLOAT): Define.
(TARGET_UNIX_ASM, TARGET_VAXC_ALIGNMENT, TARGET_G_FLOAT): Use them.
(TARGET_SWITCHES): Likewise.
(TARGET_DEFAULT): Likewise.

From-SVN: r54561

22 years agoelf.h (DWARF2_DEBUG_INFO): Define.
Daniel Jacobowitz [Wed, 12 Jun 2002 18:07:32 +0000 (11:07 -0700)] 
elf.h (DWARF2_DEBUG_INFO): Define.

        * config/mips/elf.h (DWARF2_DEBUG_INFO): Define.
        * config/mips/mips.c (mips_output_filename): Don't print a
        ".file" directive if we are using DWARF-2.
        (mips_output_function_prologue): Do not emit source file
        name for TARGET_GAS.

From-SVN: r54560

22 years agore PR libgcj/6652 (new java.io.File("").getCanonicalFile() throws exception)
Tom Tromey [Wed, 12 Jun 2002 17:01:02 +0000 (17:01 +0000)] 
re PR libgcj/6652 (new java.io.File("").getCanonicalFile() throws exception)

* java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
Fixes PR libgcj/6652.

From-SVN: r54558

22 years ago* g++.dg/template/typename2.C: Update error message.
Kriang Lerdsuwanakij [Wed, 12 Jun 2002 15:36:55 +0000 (15:36 +0000)] 
* g++.dg/template/typename2.C: Update error message.

From-SVN: r54553

22 years agoi386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to decide whether...
Jan Hubicka [Wed, 12 Jun 2002 14:51:09 +0000 (16:51 +0200)] 
i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to decide whether emit the short opcode.

* i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to
decide whether emit the short opcode.
* i386.h (x86_shift1): Declare.
(TARGET_SHIFT1): New macro.
* i386.c (x86_shift1): New global variable.

* toplev.c (rest_of_compilation): Call find_basic_block pre-loop unconditionally;
make loop to rebuild CFG; kill unnecesary find_basic_block calls;
kill compute_bb_for_insn call.
* cfgbuild.c (find_basic_blocks): Kill compute_bb_for_insn call.
* haifa-sched.c (sched_init): Likewise.
* ssa-ccp.c (ssa_const_prop): Likewise.
* ssa-dce.c (ssa_eliminate_dead_code): Likewise.

From-SVN: r54552

22 years agoMakefile.am: Add FLAGS_TO_PASS.
Daniel Jacobowitz [Wed, 12 Jun 2002 11:29:14 +0000 (11:29 +0000)] 
Makefile.am: Add FLAGS_TO_PASS.

* Makefile.am: Add FLAGS_TO_PASS.
* Makefile.in: Regenerated.

From-SVN: r54551

22 years agoDaily bump.
GCC Administrator [Wed, 12 Jun 2002 07:18:32 +0000 (07:18 +0000)] 
Daily bump.

From-SVN: r54550

22 years agoemit-rtl.c (emit_*_scope): Only access INSN_SCOPE if active_insn_p.
David S. Miller [Wed, 12 Jun 2002 06:14:03 +0000 (23:14 -0700)] 
emit-rtl.c (emit_*_scope): Only access INSN_SCOPE if active_insn_p.

2002-06-11  David S. Miller  <davem@redhat.com>

* emit-rtl.c (emit_*_scope): Only access INSN_SCOPE if
active_insn_p.

From-SVN: r54545

22 years agoc-common.c (builtin_define_type_max): New.
Richard Henderson [Wed, 12 Jun 2002 03:06:30 +0000 (20:06 -0700)] 
c-common.c (builtin_define_type_max): New.

        * c-common.c (builtin_define_type_max): New.
        (cb_register_builtins): Define __SCHAR_MAX__, __SHRT_MAX__,
        __INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__, __CHAR_BIT__.

        From Joseph S. Myers:
        * glimits.h: Rewrite to expect the double underscore definitions
        from the compiler.

        * config/alpha/unicosmk.h, config/avr/avr.h, config/h8300/h8300.h,
        config/i386/linux64.h, config/ia64/aix.h, config/ia64/hpux.h,
        config/ia64/ia64.h, config/m68hc11/m68hc11.h, config/m68hc11/m68hc12.h,
        config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
        config/pa/pa.h, config/rs6000/aix43.h, config/rs6000/aix51.h,
        config/rs6000/linux64.h, config/s390/linux.h, config/sh/sh.h,
        config/stormy16/stormy16.h: Don't define any of __SHRT_MAX__,
        __INT_MAX__, __LONG_MAX__, or __LONG_LONG_MAX__.

From-SVN: r54544

22 years agoalpha.c (ALPHA_BUILTIN_THREAD_POINTER): New.
Richard Henderson [Wed, 12 Jun 2002 02:57:02 +0000 (19:57 -0700)] 
alpha.c (ALPHA_BUILTIN_THREAD_POINTER): New.

        * config/alpha/alpha.c (ALPHA_BUILTIN_THREAD_POINTER): New.
        (ALPHA_BUILTIN_SET_THREAD_POINTER): New.
        (code_for_builtns): Update.
        (alpha_init_builtins): Add __builtin_thread_pointer and
        __builtin_set_thread_pointer.
        (alpha_expand_builtin): Handle void builtins.
        * doc/extend.texi (Alpha Built-in Functions): Update.

From-SVN: r54543

22 years agore PR target/6997 (CRIS: compare result incorrect -- sleu pattern in cris.md at fault)
Hans-Peter Nilsson [Wed, 12 Jun 2002 02:04:52 +0000 (02:04 +0000)] 
re PR target/6997 (CRIS: compare result incorrect -- sleu pattern in cris.md at fault)

PR target/6997
* config/cris/cris.md ("sleu"): Set attribute "cc" to "none".

From-SVN: r54542

22 years ago* gcc.c-torture/execute/20020611-1.c: New test.
Hans-Peter Nilsson [Wed, 12 Jun 2002 01:59:00 +0000 (01:59 +0000)] 
* gcc.c-torture/execute/20020611-1.c: New test.

From-SVN: r54541

22 years agoconfig.gcc: Make the name of the extra-modes file adjustable by target stanzas.
Zack Weinberg [Wed, 12 Jun 2002 01:36:13 +0000 (01:36 +0000)] 
config.gcc: Make the name of the extra-modes file adjustable by target stanzas.

* config.gcc: Make the name of the extra-modes file adjustable
by target stanzas.
(s390x, strongarm, xscale stanzas): Use this facility.
* configure.in: Update to match.
* configure: Regenerate.

From-SVN: r54540

22 years agors6000.c (rs6000_emit_minmax): Treat unsigned max/mins as unsigned GE compares.
Aldy Hernandez [Wed, 12 Jun 2002 00:27:03 +0000 (00:27 +0000)] 
rs6000.c (rs6000_emit_minmax): Treat unsigned max/mins as unsigned GE compares.

2002-06-11  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_emit_minmax): Treat unsigned
        max/mins as unsigned GE compares.

From-SVN: r54539

22 years agoconfig.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}.
Jason Thorpe [Wed, 12 Jun 2002 00:02:07 +0000 (00:02 +0000)] 
config.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}.

* config.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}.
* config/vax/bsd.h: New file.
* config/vax/netbsd.h: Add missing notice.
(CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): Define.
(CPP_SPEC): Use NETBSD_CPP_SPEC.
* config/vax/openbsd.h: Update copyright years.
(CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): Define.
* config/vax/ultrix.h: Likewise.
* config/vax/vaxv.h: Likewise.
* config/vax/vms.h: Likewise.
* config/vax/vax.h (TARGET_CPU_CPP_BUILTINS): Define.
(CPP_PREDEFINES, CPP_SPEC): Remove.

From-SVN: r54538

22 years ago* i386.md (addqi_1_slp, subqi_1_slp
Jan Hubicka [Tue, 11 Jun 2002 23:57:10 +0000 (01:57 +0200)] 
* i386.md (addqi_1_slp, subqi_1_slp
(andqi_ext0, testqi_ext0): Remove unnecesary check.
(addhi*, addqi*): Simplify "dec" condition.
(testsi to testqi splitters): Remove TARGET_PROMOTE_QImode check.
(and, or, xor to QImode splitters): New.
(iorqi_ext*): New.
(xorqi_ext_0): New.
(xorqi_ext_1): Rename to xorqi_ext_2; bring to sync with and versions.
(andqi_ext_1_rex64): New.
(ashrqi*_slp): New.
(ashlqi*_slp): New.
(lshlqi*_slp): New.
(rotrqi3*_slp): New.
(rotlqi3*_slp): New.

From-SVN: r54537

22 years ago* Makefile.in (CFLAGS_FOR_TARGET): Add -O2.
Kaveh R. Ghazi [Tue, 11 Jun 2002 23:53:11 +0000 (23:53 +0000)] 
* Makefile.in (CFLAGS_FOR_TARGET): Add -O2.

From-SVN: r54536

22 years agoemit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the last insn created...
Jeff Law [Tue, 11 Jun 2002 23:51:24 +0000 (17:51 -0600)] 
emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the last insn created by the splitter.

        * emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the
        last insn created by the splitter.

From-SVN: r54535

22 years agoconfig.gcc (powerpc*-*-*, [...]): Don't bother including softfloat.h.
Geoffrey Keating [Tue, 11 Jun 2002 23:14:47 +0000 (23:14 +0000)] 
config.gcc (powerpc*-*-*, [...]): Don't bother including softfloat.h.

* config.gcc (powerpc*-*-*, rs6000-*-*-*): Don't bother including
softfloat.h.
* config/rs6000/vxppc.h (CPP_ENDIAN_BIG_SPEC): Delete.
(CPP_ENDIAN_LITTLE_SPEC): Delete.
* config/rs6000/sysv4le.h (CPP_ENDIAN_DEFAULT_SPEC): Delete.
* config/rs6000/sysv4.h (CPP_SYSV_SPEC): Delete _SOFT_FLOAT setting,
__LONG_DOUBLE_128__ setting, _CALL_* setting.
(CPP_DEFAULT_SPEC): Delete.
(CPP_FLOAT_DEFAULT_SPEC): Delete.
(CPP_LONGDOUBLE_DEFAULT_SPEC): Delete.
(CPP_SYSV_DEFAULT_SPEC): Delete.
(CPP_ENDIAN_BIG_SPEC): Delete.
(CPP_ENDIAN_LITTLE_SPEC): Delete.
(CPP_ENDIAN_SPEC): Delete.
(CPP_SPEC): Don't include cpp_endian, cpp_cpu.
(SUBTARGET_EXTRA_SPECS): Delete cpp_sysv_default, cpp_endian_default,
cpp_endian, cpp_endian_big, cpp_endian_little, cpp_float_default,
cpp_longdouble_default.
* config/rs6000/softfloat.h: Delete.
* config/rs6000/rs6000.h (CPP_CPU_SPEC): Delete.
(EXTRA_SPECS): Delete cpp_cpu.
(TARGET_CPU_CPP_BUILTINS): New.
* config/rs6000/rs6000-protos.h (rs6000_cpu_cpp_builtins): New
prototype.
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): New.
* config/rs6000/linux64.h (CPP_PREDEFINES): Remove endianness defines.
(CPP_DEFAULT_SPEC): Delete.
* config/rs6000/eabiaix.h (CPP_SYSV_DEFAULT_SPEC): Delete.
* config/rs6000/darwin.h (CPP_PREDEFINES): Don't define __BIG_ENDIAN__.
* config/rs6000/beos.h (CPP_SPEC): Remove cpp_cpu.
(CPP_DEFAULT_SPEC): Delete.
* config/rs6000/aix51.h (CPP_SPEC): Remove cpp_cpu, -D_ARCH_PPC.
(CPLUSPLUS_CPP_SPEC): Likewise.
(CPP_CPU_SPEC): Delete.
(CPP_DEFAULT_SPEC): Delete.
* config/rs6000/aix43.h (CPP_SPEC): Remove cpp_cpu, -D_ARCH_PPC.
(CPLUSPLUS_CPP_SPEC): Likewise.
(CPP_CPU_SPEC): Delete.
(CPP_DEFAULT_SPEC): Delete.
* config/rs6000/aix41.h (CPP_SPEC): Remove cpp_cpu.
(CPP_DEFAULT_SPEC): Delete.
* config/rs6000/aix.h (CPP_SPEC): Remove cpp_cpu.
(CPP_DEFAULT_SPEC): Delete.

From-SVN: r54534

22 years ago* doc/gty.texi: Small updates.
Geoffrey Keating [Tue, 11 Jun 2002 23:13:20 +0000 (23:13 +0000)] 
* doc/gty.texi: Small updates.

From-SVN: r54533

22 years agoobjc-act.c (warn_with_ivar): Adjust calls to diagnostic_count_error.
Gabriel Dos Reis [Tue, 11 Jun 2002 23:11:34 +0000 (23:11 +0000)] 
objc-act.c (warn_with_ivar): Adjust calls to diagnostic_count_error.

* objc/objc-act.c (warn_with_ivar): Adjust calls to
diagnostic_count_error.
(warn_with_method): Likewise.

* diagnostic.h (warnings_are_errors_message): New field of
diagnostic_context.
(diagnostic_count_error): Rename to
diagnostic_count_diagnostic to
match semantics.
* diagnostic.c: Adjust calls to diagnostic_count_error through
out.
(diagnostic_count_diagnostic): Make aware of other kinds of
diagnostics.
(diagnostic_initialize): Initialize
warnings_are_errors_message field.

f/
2002-06-12  Gabriel Dos Reis  <gdr@codesourcery.com>

    * bad.c (ffebad_start_): Adjust calls to
              diagnostic_count_error.

From-SVN: r54532

22 years agocaller-save.c (init_caller_save): Move creation of SAVEINSN and RESTINSN into into...
Jeff Law [Tue, 11 Jun 2002 23:04:15 +0000 (17:04 -0600)] 
caller-save.c (init_caller_save): Move creation of SAVEINSN and RESTINSN into into the scope of the sequence.

        * caller-save.c (init_caller_save): Move creation of SAVEINSN
        and RESTINSN into into the scope of the sequence.

From-SVN: r54530

22 years agoFor PR java/6520:
Tom Tromey [Tue, 11 Jun 2002 22:36:53 +0000 (22:36 +0000)] 
For PR java/6520:

* fold-const.c (fold_convert): Don't modify existing tree's type.

From-SVN: r54529

22 years ago* config/rs6000/ppc-asm.h: Remove some Windows NT leftovers.
Geoffrey Keating [Tue, 11 Jun 2002 22:24:49 +0000 (22:24 +0000)] 
* config/rs6000/ppc-asm.h: Remove some Windows NT leftovers.

From-SVN: r54528

22 years ago* caller-save.c (init_caller_save): Clear INSN_CODE each iteration.
Richard Henderson [Tue, 11 Jun 2002 22:16:51 +0000 (15:16 -0700)] 
* caller-save.c (init_caller_save): Clear INSN_CODE each iteration.

From-SVN: r54527

22 years agodefaults.h (EH_FRAME_SECTION_NAME): Don't define if DWARF2_UNWIND_INFO is false.
Richard Henderson [Tue, 11 Jun 2002 21:34:30 +0000 (14:34 -0700)] 
defaults.h (EH_FRAME_SECTION_NAME): Don't define if DWARF2_UNWIND_INFO is false.

        * defaults.h (EH_FRAME_SECTION_NAME): Don't define if
        DWARF2_UNWIND_INFO is false.

From-SVN: r54526

22 years ago* config/xtensa/t-xtensa (LIBGCC1_TEST, CROSS_LIBGCC1): Delete.
Bob Wilson [Tue, 11 Jun 2002 20:56:48 +0000 (20:56 +0000)] 
* config/xtensa/t-xtensa (LIBGCC1_TEST, CROSS_LIBGCC1): Delete.

From-SVN: r54525

22 years agomips.c (mips_expand_prologue): Use emit_jump_insn for trivial RETURN insns.
Jeff Law [Tue, 11 Jun 2002 20:25:27 +0000 (14:25 -0600)] 
mips.c (mips_expand_prologue): Use emit_jump_insn for trivial RETURN insns.

* mips.c (mips_expand_prologue): Use emit_jump_insn for trivial
RETURN insns.

From-SVN: r54524

22 years agos390.c (emit_prologue): gen_store_multiple returns an insn now, not a pattern.
Ulrich Weigand [Tue, 11 Jun 2002 20:15:31 +0000 (20:15 +0000)] 
s390.c (emit_prologue): gen_store_multiple returns an insn now, not a pattern.

* config/s390/s390.c (emit_prologue): gen_store_multiple
returns an insn now, not a pattern.

From-SVN: r54523

22 years agoMakefile.in (gccinstall.dvi): Pass absolute pathnames to $(TEXI2DVI) -o.
Rainer Orth [Tue, 11 Jun 2002 20:06:04 +0000 (20:06 +0000)] 
Makefile.in (gccinstall.dvi): Pass absolute pathnames to $(TEXI2DVI) -o.

* Makefile.in (gccinstall.dvi): Pass absolute pathnames to
$(TEXI2DVI) -o.

From-SVN: r54522

22 years agoi386.c (x86_promote_QImode): Set for Athlon
Jan Hubicka [Tue, 11 Jun 2002 19:58:12 +0000 (21:58 +0200)] 
i386.c (x86_promote_QImode): Set for Athlon

* i386.c (x86_promote_QImode): Set for Athlon
(x86_fast_prefix): New global variable.
(x86_arch_always_fancy_math_387): Fix formating.
* i386.h (x86_fast_prefix): Declare
(TARGET_FAST_PREFIX): define.
* i386.md (and to strict_low_part, HI to SI
promoting splitter): Use new macro.

* i386.h (RTX_COSTS): float_extend is not for free for SSE.

From-SVN: r54521

22 years agoconfigure.target: Set os_include_dir to config/os/qnx/qnx6.1 under *-qnx6.[12]*.
J.T. Conklin [Tue, 11 Jun 2002 17:54:27 +0000 (17:54 +0000)] 
configure.target: Set os_include_dir to config/os/qnx/qnx6.1 under *-qnx6.[12]*.

2002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
            Benjamin Kosnik  <bkoz@redhat.com>

* configure.target: Set os_include_dir to config/os/qnx/qnx6.1
under *-qnx6.[12]*.
* configure.in: Add support for *-qnx6.[12]*.
* configure: Regenerate.

* config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
New directories.
* config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
ctype_noninline.h, os_defines.h: New files.

Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r54518

22 years agoClass.h (Class::desiredAssertionStatus): Declare.
Tom Tromey [Tue, 11 Jun 2002 17:33:22 +0000 (17:33 +0000)] 
Class.h (Class::desiredAssertionStatus): Declare.

* java/lang/Class.h (Class::desiredAssertionStatus): Declare.
(Class::getPackagePortion): Likewise.
* java/lang/Class.java (desiredAssertionStatus): New method from
Classpath.
(getPackagePortion): Likewise.
* java/lang/VMClassLoader.java (defaultAssertionStatus,
packageAssertionStatus, classAssertionStatus): New methods from
Classpath.
* java/lang/ClassLoader.java (defaultAssertionStatus,
systemPackageAssertionStatus, packageAssertionStatus,
systemClassAssertionStatus, classAssertionStatus): New fields from
Classpath.
(setDefaultAssertionStatus, setPackageAssertionStatus,
setClassAssertionStatus, clearAssertionStatus): New methods from
Classpath.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added AssertionError.java.
* java/lang/AssertionError.java: New from Classpath.

From-SVN: r54517

22 years agojcf-write.c (generate_classfile): Use FIELD_SYNTHETIC.
Tom Tromey [Tue, 11 Jun 2002 17:31:11 +0000 (17:31 +0000)] 
jcf-write.c (generate_classfile): Use FIELD_SYNTHETIC.

* jcf-write.c (generate_classfile): Use FIELD_SYNTHETIC.
* parse-scan.y (statement_without_trailing_substatement): Added
assert_statement.
(assert_statement): New rule.
* java-tree.h (struct lang_type) [assertions]: New field.
(TYPE_USES_ASSERTIONS): New macro.
(CLASS_USES_ASSERTIONS): Likewise.
(FIELD_SYNTHETIC): New define.
* lex.c (java_lval;): Added ASSERT_TK.
* parse.y (ASSERT_TK): Added.
(statement_without_trailing_substatement): Added assert_statement.
(assert_statement): New rule.
(build_assertion): New function.
(maybe_generate_pre_expand_clinit): Create and initialize
$assertionsDisabled.
(lookup_package_type): Removed decl.
* keyword.h: Rebuilt.
* keyword.gperf (assert): New token.

From-SVN: r54516

22 years agostatic11.C: Add xtensa-*-elf* to the list of targets to skip.
Bob Wilson [Tue, 11 Jun 2002 16:59:00 +0000 (16:59 +0000)] 
static11.C: Add xtensa-*-elf* to the list of targets to skip.

        * g++.old-deja/g++.pt/static11.C: Add xtensa-*-elf* to the
        list of targets to skip.

From-SVN: r54514

22 years ago* loop.c (loop_regs_scan): Avoid useless generation of REG objects.
Jeff Law [Tue, 11 Jun 2002 16:49:14 +0000 (10:49 -0600)] 
* loop.c (loop_regs_scan): Avoid useless generation of REG objects.

From-SVN: r54513

22 years agoMakefile.in (distclean): Delete junk left in testsuite directory, too.
Zack Weinberg [Tue, 11 Jun 2002 16:42:36 +0000 (16:42 +0000)] 
Makefile.in (distclean): Delete junk left in testsuite directory, too.

* Makefile.in (distclean): Delete junk left in testsuite
directory, too.

From-SVN: r54512

22 years agomips.c (function_arg_advance): gen_ashldi3 returns an INSN now, not the pattern.
Jeff Law [Tue, 11 Jun 2002 16:14:54 +0000 (10:14 -0600)] 
mips.c (function_arg_advance): gen_ashldi3 returns an INSN now, not the pattern.

        * mips.c (function_arg_advance): gen_ashldi3 returns an INSN now,
        not the pattern.  So extract the pattern from the insn.

From-SVN: r54511

22 years ago2002-06-10 Akim Demaille <akim@epita.fr>
Akim Demaille [Tue, 11 Jun 2002 15:32:44 +0000 (17:32 +0200)] 
2002-06-10  Akim Demaille  <akim@epita.fr>

* parse.y (interface_type_list, class_member_declaration)
(unary_expression_not_plus_minus): Remove duplicate %type.
Whitespace changes.

From-SVN: r54510

22 years ago* mips.c (embedded_pic_fnaddr_reg): Fix typo.
Jeff Law [Tue, 11 Jun 2002 15:04:39 +0000 (09:04 -0600)] 
* mips.c (embedded_pic_fnaddr_reg): Fix typo.

From-SVN: r54509

22 years ago* Make-lang.in (java/lang.o): Use LANGHOOKS_DEF_H.
Tom Tromey [Tue, 11 Jun 2002 14:58:09 +0000 (14:58 +0000)] 
* Make-lang.in (java/lang.o): Use LANGHOOKS_DEF_H.

From-SVN: r54508

22 years agos390.md (movsi): Only use floating point register alternatives when operands are...
Ulrich Weigand [Tue, 11 Jun 2002 14:47:04 +0000 (14:47 +0000)] 
s390.md (movsi): Only use floating point register alternatives when operands are already fprs.

* config/s390/s390.md (movsi): Only use floating point
register alternatives when operands are already fprs.
(movdi_31, movdi_64): Likewise.

From-SVN: r54506

22 years ago* libjava.compile/PR6865.java: New file. For PR java/6865.
Tom Tromey [Tue, 11 Jun 2002 14:46:11 +0000 (14:46 +0000)] 
* libjava.compile/PR6865.java: New file.  For PR java/6865.

From-SVN: r54505

22 years agore PR java/6865 (gcj: segmentation fault on incorrect input)
Tom Tromey [Tue, 11 Jun 2002 14:43:54 +0000 (14:43 +0000)] 
re PR java/6865 (gcj: segmentation fault on incorrect input)

* parse.y (method_header): Give error message in all cases.
Fixes PR java/6865.

From-SVN: r54504

22 years ago* libjava.lang/PR6520.java: Fixed typo.
Tom Tromey [Tue, 11 Jun 2002 14:38:44 +0000 (14:38 +0000)] 
* libjava.lang/PR6520.java: Fixed typo.

From-SVN: r54503

22 years agoemit-rtl.c (try_split): Do not abort on non-INSN_P.
David S. Miller [Tue, 11 Jun 2002 14:24:45 +0000 (07:24 -0700)] 
emit-rtl.c (try_split): Do not abort on non-INSN_P.

2002-06-11  David S. Miller  <davem@redhat.com>

* emit-rtl.c (try_split): Do not abort on non-INSN_P.
Only run RTX equality checks on INSN_P rtl.

From-SVN: r54502