]> gcc.gnu.org Git - gcc.git/log
gcc.git
24 years agostor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
Michael Hayes [Thu, 13 Jan 2000 10:43:35 +0000 (10:43 +0000)]
stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.

* stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
* tm.texi (FORCE_STRUCT_BLK): Document.
* config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.

From-SVN: r31385

24 years agons32k.md: Revert Jan 9 change.
Hans-Peter Nilsson [Thu, 13 Jan 2000 10:19:39 +0000 (10:19 +0000)]
ns32k.md: Revert Jan 9 change.

* config/ns32k/ns32k.md: Revert Jan 9 change.

* genrecog.c (maybe_both_true_2): Do not compare a predicate-test
to a mode-test, if the predicate is address_operand.

From-SVN: r31384

24 years agocombine.c (if_then_else_cond): Be careful about what kinds of RTL expressions are...
Jeffrey A Law [Thu, 13 Jan 2000 09:36:29 +0000 (09:36 +0000)]
combine.c (if_then_else_cond): Be careful about what kinds of RTL expressions are passed to operand_subword.

* combine.c (if_then_else_cond): Be careful about what kinds
of RTL expressions are passed to operand_subword.

From-SVN: r31383

24 years ago* gcc.c-torture/execute/20000113-1.c: New test.
Jeffrey A Law [Thu, 13 Jan 2000 09:30:08 +0000 (09:30 +0000)]
* gcc.c-torture/execute/20000113-1.c: New test.

From-SVN: r31382

24 years agoDaily bump.
Jeff Law [Thu, 13 Jan 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31381

24 years agoflow.c (split_edge): If we have to insert a new jump, make sure to associate it with...
Jeffrey A Law [Thu, 13 Jan 2000 05:41:44 +0000 (05:41 +0000)]
flow.c (split_edge): If we have to insert a new jump, make sure to associate it with a basic block.

* flow.c (split_edge): If we have to insert a new jump, make
sure to associate it with a basic block.

* flow.c (commit_one_edge_insertion): A block with one successor
can end in a JUMP_INSN that is not a simplejump.

From-SVN: r31380

24 years agosco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
Robert Lipe [Thu, 13 Jan 2000 03:36:00 +0000 (03:36 +0000)]
sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".

2000-01-12  Robert Lipe  <robertl@sco.com>

        * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
        (BUILD_VA_LIST_TYPE): Define.
        (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
        with crtstuff.c.

From-SVN: r31379

24 years ago* gcc.c-torture/execute/20000112-1.c: New test.
Jeffrey A Law [Thu, 13 Jan 2000 03:31:41 +0000 (03:31 +0000)]
* gcc.c-torture/execute/20000112-1.c: New test.

From-SVN: r31378

24 years agosco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
Robert Lipe [Thu, 13 Jan 2000 02:57:43 +0000 (02:57 +0000)]
sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".

2000-01-12  Robert Lipe  <robertl@sco.com>
        * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
        (BUILD_VA_LIST_TYPE): Define.
        (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact                  with crtstuff.c.

From-SVN: r31377

24 years ago* decl.c (start_cleanup_fn): Call pushdecl.
Mark Mitchell [Thu, 13 Jan 2000 02:04:25 +0000 (02:04 +0000)]
* decl.c (start_cleanup_fn): Call pushdecl.

From-SVN: r31376

24 years agoconfigure.in (*-*-beos*): Recognize.
Fred Fish [Thu, 13 Jan 2000 01:37:57 +0000 (01:37 +0000)]
configure.in (*-*-beos*): Recognize.

        * configure.in (*-*-beos*): Recognize.
        * config/beos.mt: New file.

From-SVN: r31374

24 years agoMakefile.in (SHOPT): New macro, flag to ld to create shared library.
Fred Fish [Thu, 13 Jan 2000 01:37:38 +0000 (01:37 +0000)]
Makefile.in (SHOPT): New macro, flag to ld to create shared library.

        * Makefile.in (SHOPT): New macro, flag to ld to create
        shared library.  Defaults to "-shared".
        (SHLIB): Use new SHOPT rather than hardcoded "-shared".
        * configure.in: While configuring for *-*-beos*, if
        --enable-shared is given, add beos.ml to list of makefile
        frags.
        * config/beos.ml: New file.

From-SVN: r31373

24 years ago* configure.in: Fix typo in last change.
Mark Mitchell [Thu, 13 Jan 2000 01:00:59 +0000 (01:00 +0000)]
* configure.in: Fix typo in last change.

From-SVN: r31372

24 years ago* cccp.c (do_pragma): Add cast to (char *).
Jason Merrill [Thu, 13 Jan 2000 00:49:57 +0000 (19:49 -0500)]
* cccp.c (do_pragma): Add cast to (char *).

From-SVN: r31371

24 years agoregenerate
Jason Merrill [Thu, 13 Jan 2000 00:48:27 +0000 (19:48 -0500)]
regenerate

From-SVN: r31370

24 years agoBeOS port
Jason Merrill [Thu, 13 Jan 2000 00:48:09 +0000 (19:48 -0500)]
BeOS port

From-SVN: r31369

24 years ago* configure.in: Don't build some bits for beos.
Richard Henderson [Thu, 13 Jan 2000 00:47:44 +0000 (16:47 -0800)]
* configure.in: Don't build some bits for beos.

From-SVN: r31368

24 years agoconfigure.in (i?86-*-beos{pe,elf,}*): Recognize.
Jason Merrill [Thu, 13 Jan 2000 00:37:06 +0000 (19:37 -0500)]
configure.in (i?86-*-beos{pe,elf,}*): Recognize.

        * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
        * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
        * i386/beos-elf.h, i386/beos-pe.h: New files.

        * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
        * cross-make (SYSTEM_HEADER_DIR): Define using
        CROSS_SYSTEM_HEADER_DIR.

        * gcc.c (LIBRARY_PATH_ENV): Provide default.
        (process_command): Use it.
        (main): Likewise.  Kill trailing = from env vars.
        (build_search_list): Put it back.
        * collect2.c (main): Use LIBRARY_PATH_ENV.

        * configure.in (GCC_NEED_DECLARATIONS): Add environ.
        * toplev.c: Use NEED_DECLARATION_ENVIRON.

        * tm.texi (Frame Layout): Document SMALL_STACK.
        * c-common.c (c_common_nodes_and_builtins): Check it.

        * system.h: Undef alloca after including glibc's <stdlib.h>,
        if USE_C_ALLOCA is defined.

        * gcc.c (set_input): New fn.
        (main): After all input files are compiled, reset the input file
        info to the first.

        * aclocal.m4 (rindex, index): If already defined, don't attempt
        to redefine.

        * ginclude/varargs.h: (__va_list__): Define ifndef.
        * ginclude/stdarg.h: Likewise.

        * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
        instead of unsigned char.

        * hash.h (true, false, boolean): Undef before enum.

From-SVN: r31366

24 years agodelete stray semicolon
Jason Merrill [Thu, 13 Jan 2000 00:35:38 +0000 (19:35 -0500)]
delete stray semicolon

From-SVN: r31365

24 years agosvr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
Kaveh R. Ghazi [Thu, 13 Jan 2000 00:17:33 +0000 (00:17 +0000)]
svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.

* svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.

* recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.

* regclass.c (choose_hard_reg_mode): Likewise.

* reload.c (find_valid_class, strict_memory_address_p): Likewise.

* reorg.c (optimize_skip): Wrap prototype in macro conditionals.

From-SVN: r31364

24 years agocall.c (convert_class_to_reference): Fix typos.
Mark Mitchell [Wed, 12 Jan 2000 23:27:46 +0000 (23:27 +0000)]
call.c (convert_class_to_reference): Fix typos.

* call.c (convert_class_to_reference): Fix typos.
(build_conditional_expr): Handle errors gracefully.
* class.c (push_nested_class): Likewise.
* cp-tree.h (VAR_FUNCTION_OR_PARM_DECL_CHECK): New macro.
(DECL_THIS_EXTERN): Use it.
(DECL_THIS_STATIC): Likewise.
* cvt.c (convert_to_void): Handle errors gracefully.
(build_expr_type_conversion): Likewise.
* decl.c (maybe_push_decl): Likewise.
(start_decl_1): Likewise.
(require_complete_types_for_parms): Likewise.
* parse.y (structsp): Likewise.
(base_class): Likewise.
* parse.c: Regenerated.
* pt.c (finish_member_template_decl): Likewise.

From-SVN: r31363

24 years agoc-common.c: PROTO -> PARAMS.
Kaveh R. Ghazi [Wed, 12 Jan 2000 22:47:13 +0000 (22:47 +0000)]
c-common.c: PROTO -> PARAMS.

        * c-common.c: PROTO -> PARAMS.
        * c-common.h: Likewise.
        * c-decl.c: Likewise.
        * c-iterate.c: Likewise.
        * c-lang.c: Likewise.
        * c-lex.c: Likewise.
        * c-lex.h: Likewise.
        * c-parse.in: Likewise.
        * c-pragma.c: Likewise.
        * c-pragma.h: Likewise.
        * c-tree.h: Likewise.
        * c-typeck.c: Likewise.
        * objc/objc-act.c: Likewise.
        * objc/objc-act.h: Likewise.

From-SVN: r31362

24 years agocp-tree.h (dfs_skip_vbases): New function.
Mark Mitchell [Wed, 12 Jan 2000 20:56:15 +0000 (20:56 +0000)]
cp-tree.h (dfs_skip_vbases): New function.

* cp-tree.h (dfs_skip_vbases): New function.
(find_vbase_instance): Likewise.
* class.c (determine_primary_base): Allow a nearly empty base to
serve as a primary base class under the new ABI.
(get_class_offset_1): Rename to ...
(dfs_get_class_offset): ... this.  Simplify.  Don't issue error
messages here.
(get_class_offset): Use it.  Issue error messages here.
(dfs_modify_vtables): Rely on dfs_unmarked_real_bases_queue_p to
find the right copies of virtual bases.
(fixup_vtable_deltas1): Rename to ...
(dfs_fixup_vtable_deltas): ... this.  Adjust to handle virtual
bases as primary bases.
(fixup_vtable_deltas): Remove.
(override_one_vtable): Handle virtual bases as primary bases.
(merge_overrides): Likewise.
(finish_struct_1): Likewise.
(dump_class_hierarchy): Dump primary-ness of bases as well.
* search.c (mark_primary_bases): Use a pre-order traversal to
handle primary virtual bases.
(dfs_skip_vbases): New fiunction.
(expand_upcast_fixups): Adjust to handle primary virtual bases.
(fixup_virtual_upcast_offsets): Likewise.
(fixup_all_virtual_upcast_offsets): Likewise.
(dfs_find_vbase_instances): New function.
(find_vbase_instance): Likewise.

From-SVN: r31360

24 years agom88k-protos.h: New file.
Kaveh R. Ghazi [Wed, 12 Jan 2000 19:50:19 +0000 (19:50 +0000)]
m88k-protos.h: New file.

        * m88k-protos.h: New file.

        * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
        time warnings.

        * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.

        * m88k.md: Likewise.

        * tekXD88.h: Likewise.

From-SVN: r31359

24 years agom68k-protos.h: New file.
Kaveh R. Ghazi [Wed, 12 Jan 2000 19:24:13 +0000 (19:24 +0000)]
m68k-protos.h: New file.

        * m68k-protos.h: New file.

        * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
        time warnings.

        * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.

        * mot3300.h: Likewise.

From-SVN: r31358

24 years agohaifa-sched.c (split_edges): Pass edgeset_size as second arg to extract_bitlst.
Richard Earnshaw [Wed, 12 Jan 2000 18:48:08 +0000 (18:48 +0000)]
haifa-sched.c (split_edges): Pass edgeset_size as second arg to extract_bitlst.

* haifa-sched.c (split_edges): Pass edgeset_size as second arg to
extract_bitlst.
(extract_bitlist): Declare bitlen.

From-SVN: r31357

24 years agoc-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the qualifiers don't match...
Zack Weinberg [Wed, 12 Jan 2000 17:35:41 +0000 (17:35 +0000)]
c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the qualifiers don't match at any level of...

* c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
qualifiers don't match at any level of pointerness.

From-SVN: r31356

24 years agocccp.c: Accept and ignore -lang-fortran.
Zack Weinberg [Wed, 12 Jan 2000 17:34:22 +0000 (17:34 +0000)]
cccp.c: Accept and ignore -lang-fortran.

* cccp.c: Accept and ignore -lang-fortran.
* f/lang-specs.h: Pass -lang-fortran to preprocessor.

From-SVN: r31355

24 years agosysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
Robert Lipe [Wed, 12 Jan 2000 16:32:57 +0000 (16:32 +0000)]
sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.

2000-01-12  Robert Lipe  <robertl@sco.com>

* i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.

From-SVN: r31354

24 years ago* sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
Robert Lipe [Wed, 12 Jan 2000 16:31:32 +0000 (16:31 +0000)]
* sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.

From-SVN: r31353

24 years agoFix suboptimal code generation bug in reload
Bernd Schmidt [Wed, 12 Jan 2000 12:40:49 +0000 (12:40 +0000)]
Fix suboptimal code generation bug in reload

From-SVN: r31352

24 years agoMakefile.in (CC_FOR_TARGET): Use newlib libraries as well as include files.
Joel Sherrill [Wed, 12 Jan 2000 11:01:26 +0000 (11:01 +0000)]
Makefile.in (CC_FOR_TARGET): Use newlib libraries as well as include files.

        * Makefile.in (CC_FOR_TARGET): Use newlib libraries as well
        as include files.

From-SVN: r31351

24 years agoAdd file missed during recent rtems changes.
Jeff Law [Wed, 12 Jan 2000 10:47:36 +0000 (03:47 -0700)]
Add file missed during recent rtems changes.

From-SVN: r31350

24 years agoreorg.c (fill_slots_from_thread): Check modified_in_p before replacing.
Toshiyasu Morita [Wed, 12 Jan 2000 10:30:33 +0000 (10:30 +0000)]
reorg.c (fill_slots_from_thread): Check modified_in_p before replacing.

        * reorg.c (fill_slots_from_thread): Check modified_in_p
        before replacing.

From-SVN: r31349

24 years agogcc.texi (Funding, [...]): Format these nodes even if INTERNALS is not set.
John Marshall [Wed, 12 Jan 2000 10:25:52 +0000 (10:25 +0000)]
gcc.texi (Funding, [...]): Format these nodes even if INTERNALS is not set.

        * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
        these nodes even if INTERNALS is not set.

From-SVN: r31348

24 years agogcse.c (delete_null_pointer_checks_1): Cope when get_condition cannot determine the...
Nick Burrett [Wed, 12 Jan 2000 10:16:04 +0000 (10:16 +0000)]
gcse.c (delete_null_pointer_checks_1): Cope when get_condition cannot determine the condition.

* gcse.c (delete_null_pointer_checks_1): Cope when
get_condition cannot determine the condition.

From-SVN: r31347

24 years agoDaily bump.
Jeff Law [Wed, 12 Jan 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31346

24 years agolex.c (DIR_SEPARATOR): Delete macro.
Mumit Khan [Wed, 12 Jan 2000 05:22:42 +0000 (05:22 +0000)]
lex.c (DIR_SEPARATOR): Delete macro.

2000-01-11  Mumit Khan  <khan@xraylith.wisc.edu>

* lex.c (DIR_SEPARATOR): Delete macro.

From-SVN: r31345

24 years agojcf-path.c: Delete PATH_SEPARATOR and DIR_SEPARATOR macros.
Mumit Khan [Wed, 12 Jan 2000 05:21:12 +0000 (05:21 +0000)]
jcf-path.c: Delete PATH_SEPARATOR and DIR_SEPARATOR macros.

2000-01-11  Mumit Khan  <khan@xraylith.wisc.edu>

* jcf-path.c: Delete PATH_SEPARATOR and DIR_SEPARATOR macros.
* jcf-write.c: Likewise.
* parse.y: Likewise.
* parse.c: Regenerate.

From-SVN: r31344

24 years ago2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
Gabriel Dos Reis [Wed, 12 Jan 2000 01:54:31 +0000 (01:54 +0000)]
2000-01-12  Gabriel Dos Reis <gdr@codesourcery.com>

         Implement automatic line wrapping mode in the g++ front-end.

From-SVN: r31343

24 years agocpplib.h (struct cpp_options): Change lang_asm to char.
Zack Weinberg [Wed, 12 Jan 2000 00:35:36 +0000 (00:35 +0000)]
cpplib.h (struct cpp_options): Change lang_asm to char.

2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>

* cpplib.h (struct cpp_options): Change lang_asm to char.
Add lang_fortran.
* cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
done in cpp_handle_option now.
(initialize_builtins): Take out special case code used only by
__STDC_VERSION__.
(cpp_handle_option): Turn off trigraphs and trigraph warnings
if -traditional.  Recognize -lang-fortran and set
lang_fortran, also turn off cplusplus_comments.
(print_help): Document -lang-fortran.
* cpplib.c (handle_directive): Ignore `# 123 "file"' if
lang_asm. Ignore all directives other than `# 123 "file"' if
CPP_PREPROCESSED.
(cpp_get_token): If -traditional, don't recognize directives
unless the # is in column 1.
(parse_string): If lang_fortran or lang_asm, silently
terminate strings ('' or "") at end of line.
Remove unnecessary braces.

From-SVN: r31342

24 years ago* Add self as cpplib maintainer, as requested by Jason
Zack Weinberg [Wed, 12 Jan 2000 00:14:46 +0000 (00:14 +0000)]
* Add self as cpplib maintainer, as requested by Jason
Merrill.  Correct my e-mail address.

From-SVN: r31341

24 years agoresource.c (mark_referenced_resources): Mark a set strict_low_part as used.
Alexandre Oliva [Tue, 11 Jan 2000 23:52:07 +0000 (23:52 +0000)]
resource.c (mark_referenced_resources): Mark a set strict_low_part as used.

* resource.c (mark_referenced_resources): Mark a set strict_low_part
as used.
* config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
strict_low_part when possible.

From-SVN: r31340

24 years ago* gcc.dg/20000111-1.c: New test.
Alexandre Oliva [Tue, 11 Jan 2000 23:28:38 +0000 (23:28 +0000)]
* gcc.dg/20000111-1.c: New test.

From-SVN: r31339

24 years agoalias.c: PROTO -> PARAMS.
Kaveh R. Ghazi [Tue, 11 Jan 2000 23:27:40 +0000 (23:27 +0000)]
alias.c: PROTO -> PARAMS.

* alias.c: PROTO -> PARAMS.
* basic-block.h: Likewise.
* bitmap.c: Likewise.
* bitmap.h: Likewise.
* builtins.c: Likewise.
* c-aux-info.c: Likewise.
* caller-save.c: Likewise.
* calls.c: Likewise.

From-SVN: r31338

24 years agoMakefile.in (toplev.o): Depend on regs.h.
Kaveh R. Ghazi [Tue, 11 Jan 2000 22:57:39 +0000 (22:57 +0000)]
Makefile.in (toplev.o): Depend on regs.h.

        * Makefile.in (toplev.o): Depend on regs.h.

        * output.h (tdesc_section): Prototype.

        * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.

        * sdbout.c: Include "tm_p.h".

        * toplev.c: Include "regs.h".

From-SVN: r31337

24 years agofix typos
Jason Merrill [Tue, 11 Jan 2000 21:23:49 +0000 (16:23 -0500)]
fix typos

From-SVN: r31336

24 years agotestcase for recent unroll.c fix
Mike Stump [Tue, 11 Jan 2000 20:10:46 +0000 (20:10 +0000)]
testcase for recent unroll.c fix

From-SVN: r31335

24 years ago* unroll.c (unroll_loop): Add EH support.
Mike Stump [Tue, 11 Jan 2000 19:51:20 +0000 (19:51 +0000)]
* unroll.c (unroll_loop): Add EH support.

From-SVN: r31334

24 years agoklass.out: New file.
Tom Tromey [Tue, 11 Jan 2000 18:58:49 +0000 (18:58 +0000)]
klass.out: New file.

* libjava.lang/klass.out: New file.
* libjava.lang/klass.java: New file.

From-SVN: r31333

24 years agonatSystem.cc (getpwuid_adaptor): New adaptor for HP/UX.
Tom Tromey [Tue, 11 Jan 2000 18:58:13 +0000 (18:58 +0000)]
natSystem.cc (getpwuid_adaptor): New adaptor for HP/UX.

* java/lang/natSystem.cc (getpwuid_adaptor): New adaptor for
HP/UX.  From David Scott Urban.

From-SVN: r31332

24 years agopa-protos.h: New file.
Kaveh R. Ghazi [Tue, 11 Jan 2000 18:37:11 +0000 (18:37 +0000)]
pa-protos.h: New file.

        * pa-protos.h: New file.

        * pa.c: Include recog.h and tm_p.h.
        (compute_zdepwi_operands, compute_movstrsi_length,
        remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
        find_addr_reg, import_milli): Add static prototypes.
        (pa_cpu_string, pa_arch_string): Constify a char*.
        (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
        (read_only_operand): Add argument `mode'.
        (singlemove_string, output_move_double, output_fp_move_double,
        output_block_move, output_and, output_ior, output_ascii,
        remove_useless_addtr_insns, milli_names, output_mul_insn,
        output_div_insn, output_mod_insn, output_arg_descriptor,
        output_cbranch, output_bb, output_bvb, output_dbra, ,
        output_millicode_call, output_call, hppa_encode_label,
        output_parallel_movb, output_parallel_addb): Constify a char*.
        (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
        (output_parallel_addb): Remove extra arg to `constrain_operands'

        * pa.h:  Move all prototypes to pa-protos.h.
        (pa_cpu_string, pa_arch_string): Constify a char*.
        (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.

        * pa.md: Call `function_label_operand' with mode argument.
        Likewise for `read_only_operand'.
        Fix nesting of parens in call to `symbolic_operand'.

From-SVN: r31331

24 years agoi860-protos.h: New file.
Kaveh R. Ghazi [Tue, 11 Jan 2000 18:19:22 +0000 (18:19 +0000)]
i860-protos.h: New file.

        * i860-protos.h: New file.

        * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
        time warnings.

        * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.

        * i860.md: Likewise.

From-SVN: r31330

24 years agoi386.md (movstrsi expander): Rewrite.
Jan Hubicka [Tue, 11 Jan 2000 18:01:35 +0000 (19:01 +0100)]
i386.md (movstrsi expander): Rewrite.

* i386.md (movstrsi expander): Rewrite.
(movstrsi_1 insn): Deleted.
(strmovhi, strmovqi expander): New expanders.
(movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
* i386.c (x86_single_stringop): New global variable.
* i386.h (x86_single_stringop): Declare.
(TARGET_SINGLE_STRINGOP): New macro.

From-SVN: r31329

24 years agomips.c (mips_va_arg): For EABI...
Clinton Popetz [Tue, 11 Jan 2000 17:42:30 +0000 (17:42 +0000)]
mips.c (mips_va_arg): For EABI...

        * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
        integer vararg POSTINCREMENT before the destination of the jump
        for the hard fp case.
        (function_arg_pass_by_reference): Pass a copy of CUM to
FUNCTION_ARG.

        * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
        for CONSTANT_ADDRESS_P above while loop for subreg.

From-SVN: r31328

24 years agoflow.c (propagate_block): When a prologue/epilogue insn is marked dead...
Clinton Popetz [Tue, 11 Jan 2000 17:26:28 +0000 (17:26 +0000)]
flow.c (propagate_block): When a prologue/epilogue insn is marked dead...

        * flow.c (propagate_block): When a prologue/epilogue insn
        is marked dead, unconditionally clear libcall_is_dead and
        insn_is_dead, and only dump rtl if warnings aren't being
        suppressed.

From-SVN: r31327

24 years agoi386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
Jan Hubicka [Tue, 11 Jan 2000 15:44:34 +0000 (16:44 +0100)]
i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.

* i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
* i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
(FIXED_REGISTERS): Set dirflag as fixed.
(CALL_USED_REGISTERS): Set dirflag as used.
(REG_ALLOC_ORDER): Set dirflag as last one.
(DIRFLAG_REG): New macro.
(MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
(HI_REGISTER_NAMES): Add dirflag.
(DEBUF_PRINT_REG): Handle dirflag.
* i386.md (type attribute): New cld and str types.
(length_opcode attribute): Set cld and str to 1.
(memory attribute): Set str to unknown - it is not clear from the
patterns.
(pent_np function unit): Prefixed string operations takes 12 cycles
minimally; cld takes 2 cycles.
(ppro_uops attribute): Str is "many" and cld is "few".
(ppro_p0 unit): Handle cld here.
(k6_alux unit): Handle cld and str types.
(k6_load unit): It is ocupied by str opcodes.
(k6_store unit): It is ocupied by str opcodes.
(athlon_decode): Str is vector decoded.
(athlon_ieu): Handle str and cld.
(cld pattern): New.
(movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
(movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
cmpstrsi_nz_1 insn): Do not output cld instruction

From-SVN: r31326

24 years agoi386.c (ix86_expand_setcc): Fix typo.
Jeffrey A Law [Tue, 11 Jan 2000 13:37:37 +0000 (13:37 +0000)]
i386.c (ix86_expand_setcc): Fix typo.

        * i386.c (ix86_expand_setcc): Fix typo.
        (ix86_expand_movcc): Similarly.

From-SVN: r31325

24 years agoCopyright date.
Jeff Law [Tue, 11 Jan 2000 13:24:58 +0000 (06:24 -0700)]
Copyright date.

From-SVN: r31324

24 years agogcc.texi (G++ and GCC): Add Java and Chill.
David Starner [Tue, 11 Jan 2000 13:23:59 +0000 (13:23 +0000)]
gcc.texi (G++ and GCC): Add Java and Chill.

        * gcc.texi (G++ and GCC): Add Java and Chill.
        (Bug Critera): Don't list languages.

        * gcc.texi (Incompatibilities): No longer claim most C compilers
        are K&R.

        * gcc.texi (G++ and GCC): Update other front-ends list.

From-SVN: r31323

24 years ago* Band-aid until haifa's bitset implementation is nuked.
Jeffrey A Law [Tue, 11 Jan 2000 12:50:18 +0000 (12:50 +0000)]
* Band-aid until haifa's bitset implementation is nuked.

        * haifa-sched.c (extract_bitlst): New parameter for size of the
        bitset in bits.  All callers changed.  Avoid looking at undefined
        bits in the bitset.
        (edgeset_bitsize): New variable.
        (schedule_region): Initialize edgeset_bitsize.

From-SVN: r31322

24 years agofriend.c (do_friend): Don't resolve scopes when processing template declarations...
Mark Mitchell [Tue, 11 Jan 2000 08:54:28 +0000 (08:54 +0000)]
friend.c (do_friend): Don't resolve scopes when processing template declarations...

* friend.c (do_friend): Don't resolve scopes when processing
template declarations, even if the qualifying scope doesn't
involve template parameters.

From-SVN: r31321

24 years agoDaily bump.
Jeff Law [Tue, 11 Jan 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31320

24 years agoclass.c (dfs_modify_vtables_queue_p): Remove.
Mark Mitchell [Tue, 11 Jan 2000 06:50:19 +0000 (06:50 +0000)]
class.c (dfs_modify_vtables_queue_p): Remove.

* class.c (dfs_modify_vtables_queue_p): Remove.
(modify_all_vtables): Use dfs_unmarked_real_bases_queue_p
and dfs_marked_real_bases_queue_p instead of
dfs_modify_vtables_queue_p.

From-SVN: r31319

24 years agoNew test - apostrophes, Hollerith constants, and cpp
Zack Weinberg [Tue, 11 Jan 2000 06:06:11 +0000 (06:06 +0000)]
New test - apostrophes, Hollerith constants, and cpp

From-SVN: r31318

24 years agoFix typos in previous change
Mark Mitchell [Tue, 11 Jan 2000 04:18:25 +0000 (04:18 +0000)]
Fix typos in previous change

From-SVN: r31317

24 years agoclass.c (build_vbase_path): Simplify.
Mark Mitchell [Tue, 11 Jan 2000 04:13:27 +0000 (04:13 +0000)]
class.c (build_vbase_path): Simplify.

* class.c (build_vbase_path): Simplify.
(dfs_propagate_binfo_offsets): New function.
(propagate_binfo_offsets): Use it.
(remove_base_field): Simplify.
(dfs_set_offset_for_vbases): Remove.
(dfs_set_offset_for_shared_vbases): New function.
(dfs_set_offset_for_unshared_vbases): Likewise.
(layout_virtual_bases): Use them.
(layout_basetypes): Don't call propagate_binfo_offsets.
* search.c (dfs_get_vbase_types): Clone completely fresh binfos
for the vbases.

From-SVN: r31316

24 years agoclass.c (build_base_field): New function, split out from ...
Mark Mitchell [Tue, 11 Jan 2000 03:15:32 +0000 (03:15 +0000)]
class.c (build_base_field): New function, split out from ...

* class.c (build_base_field): New function, split out from ...
(build_base_fields): ... here.  Use it.  Allocate primary bases
first, under the new ABI.
(get_vtable_entry): Remove.
(remove_base_field): New function, split out from ...
(remove_base_fields): ... here.  Adjust since primary bases come
first under the new ABI.

From-SVN: r31315

24 years agocp-tree.h (expand_direct_vtbls_init): Remove declaration.
Mark Mitchell [Tue, 11 Jan 2000 02:43:00 +0000 (02:43 +0000)]
cp-tree.h (expand_direct_vtbls_init): Remove declaration.

* cp-tree.h (expand_direct_vtbls_init): Remove declaration.
(initialize_vtbl_ptrs): New function.
(expand_indirect_vtbls_init): Change prototype.
(convert_pointer_to_vbase): Declare.
* init.c (expand_direct_vtbls_init): Remove.
(dfs_initialize_vtbl_ptrs): New function.
(initialize_vtbl_ptrs): Likewise.
(emit_base_init): Use initialize_vtbl_ptrs.
* search.c (convert_pointer_to_vbase): Make it global.
(expand_indirect_vtbls_init): Remove vtable initialization code.
* semantics.c (setup_vtbl_ptr): Use initialize_vtbl_ptrs.

From-SVN: r31314

24 years agoclass.c (dfs_finish_vtbls): New function.
Mark Mitchell [Tue, 11 Jan 2000 02:28:01 +0000 (02:28 +0000)]
class.c (dfs_finish_vtbls): New function.

* class.c (dfs_finish_vtbls): New function.
(finish_vtbls): Use it.
(dump_class_hierarchy): New function.

From-SVN: r31313

24 years agocp-tree.h (BINFO_PRIMARY_MARKED_P): Change definition.
Mark Mitchell [Tue, 11 Jan 2000 01:55:37 +0000 (01:55 +0000)]
cp-tree.h (BINFO_PRIMARY_MARKED_P): Change definition.

* cp-tree.h (BINFO_PRIMARY_MARKED_P): Change definition.
(BINFO_VBASE_PRIMARY_P): New macro.
(BINFO_VIRTUALS): Add to documentation.
(SET_BINFO_PRIMARY_MARKED_P): Remove.
(CLEAR_BINFO_PRIMARY_MARKED_P): Likewise.
(dfs_mark_primary_bases_queue_p): Likewise.
(dfs_unmarked_real_bases_queue_p): New function.
(dfs_marked_real_bases_queue_p): Likewise.
* search.c (dfs_mark_primary_bases): Adjust.
(mark_primary_bases): Likewise.
(get_shared_vbase_if_not_primary): New function.
(dfs_unmarked_real_bases_queue_p): Likewise.
(dfs_marked_real_bases_queue_p): Likewise.
(dfs_get_pure_virtuals): Simplify.
(get_pure_virtuals): Likewise.

From-SVN: r31312

24 years ago990628-1.c: Tweak to work on targets with 16 bit integers.
Jeffrey A Law [Tue, 11 Jan 2000 01:18:53 +0000 (01:18 +0000)]
990628-1.c: Tweak to work on targets with 16 bit integers.

* gcc.c-torture/execute/990628-1.c: Tweak to work on targets
with 16 bit integers.

From-SVN: r31311

24 years agoUpdate copyrights for last checkin.
Kaveh Ghazi [Tue, 11 Jan 2000 00:12:38 +0000 (00:12 +0000)]
Update copyrights for last checkin.

From-SVN: r31309

24 years agoMakefile.in (optabs.o): Depend on real.h
Kaveh R. Ghazi [Mon, 10 Jan 2000 23:48:03 +0000 (23:48 +0000)]
Makefile.in (optabs.o): Depend on real.h

* Makefile.in (optabs.o): Depend on real.h
(resource.o): Depend on insn-attr.h

* builtins.c (result_vector): Wrap prototype in macro conditions
governing definition and use.

* c-common.c: Include tm_p.h.

* c-lex.c: Likewise.

* elfos.h: Constify a char*.

* final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
(get_attr_length, shorten_branches, profile_after_prologue): Mark
parameter with ATTRIBUTE_UNUSED.

* fold-const.c (exact_real_inverse): Wrap variable `i' in
CHECK_FLOAT_VALUE.

* haifa-sched.c (schedule_insns): Mark parameter with
ATTRIBUTE_UNUSED.

* optabs.c: Include real.h.

* real.h (ereal_atof): Add prototype arguments.

* resource.c: Include insn-attr.h.

* sdbout.c (sdbout_queue_anonymous_type,
sdbout_dequeue_anonymous_types): Wrap in macro
SDB_ALLOW_FORWARD_REFERENCES.
(sdbout_init, sdbout_start_new_source_file): Mark parameter with
ATTRIBUTE_UNUSED.

* stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.

* stupid.c: Include tm_p.h.

* tree.c (real_value_from_int_cst): Mark parameter with
ATTRIBUTE_UNUSED.

cp:
* lex.c: Include tm_p.h.

ch:
* lex.c: Include tm_p.h.

From-SVN: r31308

24 years agoi960-protos.h: New file.
Kaveh R. Ghazi [Mon, 10 Jan 2000 23:22:37 +0000 (23:22 +0000)]
i960-protos.h: New file.

* i960-protos.h: New file.

* i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
time warnings.

* i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.

From-SVN: r31307

24 years agoMissed toplevel Changelog in my previous commit.
Geoffrey Keating [Mon, 10 Jan 2000 20:54:02 +0000 (20:54 +0000)]
Missed toplevel Changelog in my previous commit.

From-SVN: r31306

24 years agonatMath.cc (pow): Cast args to `double', not `jdouble'.
Jeff Sturm [Mon, 10 Jan 2000 20:02:47 +0000 (20:02 +0000)]
natMath.cc (pow): Cast args to `double', not `jdouble'.

2000-01-10  Jeff Sturm  <jsturm@sigma6.com>

* java/lang/natMath.cc (pow): Cast args to `double', not
`jdouble'.
(atan2): Likewise.
(IEEEremainder): Likewise.
* java/lang/mprec.h: Don't wrap includes in `extern "C"'.
* java/lang/fdlibm.h: Don't wrap includes in `extern "C"'.

From-SVN: r31305

24 years agocombine.c (expand_field_assignment): Do not discard SUBREGs while computing nonzero_bits.
Alexandre Oliva [Mon, 10 Jan 2000 19:56:15 +0000 (19:56 +0000)]
combine.c (expand_field_assignment): Do not discard SUBREGs while computing nonzero_bits.

* combine.c (expand_field_assignment): Do not discard SUBREGs
while computing nonzero_bits.

From-SVN: r31304

24 years agoconfigure.in: Use mt-aix43 to handle *_TARGET defs, not mh-aix43.
Geoff Keating [Mon, 10 Jan 2000 18:33:55 +0000 (18:33 +0000)]
configure.in: Use mt-aix43 to handle *_TARGET defs, not mh-aix43.

* configure.in: Use mt-aix43 to handle *_TARGET defs,
not mh-aix43.
* config/mh-aix43: Delete, move to mt-aix43.
* config/mt-aix43: New file.

From-SVN: r31303

24 years agoDaily bump.
Jeff Law [Mon, 10 Jan 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31302

24 years agojcf-write.c (generate_bytecode_insns): Emit invokeinterface bytecodes in the correct...
Anthony Green [Mon, 10 Jan 2000 01:26:27 +0000 (01:26 +0000)]
jcf-write.c (generate_bytecode_insns): Emit invokeinterface bytecodes in the correct order.

* jcf-write.c (generate_bytecode_insns): Emit invokeinterface
bytecodes in the correct order.

From-SVN: r31301

24 years agonatString.cc (init): Test for overflow condition during out of bounds check.
Anthony Green [Sun, 9 Jan 2000 22:25:54 +0000 (22:25 +0000)]
natString.cc (init): Test for overflow condition during out of bounds check.

2000-01-09  Anthony Green  <green@cygnus.com>

* java/lang/natString.cc (init): Test for overflow condition
during out of bounds check.
(getChars): Throw StringIndexOutOfBoundsException, not
ArrayIndexOutOfBoundsException.
(getBytes): Ditto.
(regionMatches): Obey case option during string comparison.

* configure.host (ligcj_interpreter): New variable.  Enable
interpreter by default on IA-32.
* configure.in:  Examine libgcj_interpreter.
* configure: Rebuilt.

From-SVN: r31300

24 years ago(CLEAR_INSN_CACHE): Say that R0 is clobbered.
Philip Blundell [Sun, 9 Jan 2000 20:28:55 +0000 (20:28 +0000)]
(CLEAR_INSN_CACHE): Say that R0 is clobbered.

From-SVN: r31299

24 years agoFix compile time warnings about signed vs unsigned constants
Nick Clifton [Sun, 9 Jan 2000 20:03:01 +0000 (20:03 +0000)]
Fix compile time warnings about signed vs unsigned constants

From-SVN: r31298

24 years agoApply patch from Phillip Blundel to use single STR/LDR when...
Philip Blundell [Sun, 9 Jan 2000 19:42:57 +0000 (19:42 +0000)]
Apply patch from Phillip Blundel to use single STR/LDR when...

Apply patch from Phillip Blundel to use single STR/LDR when only loading
storing a single register in a function prologue/epilogue.

From-SVN: r31296

24 years agons32k.md (load or push effective address): Operand 1 must have SImode.
Hans-Peter Nilsson [Sun, 9 Jan 2000 16:18:57 +0000 (16:18 +0000)]
ns32k.md (load or push effective address): Operand 1 must have SImode.

* config/ns32k/ns32k.md (load or push effective address): Operand 1
must have SImode.

From-SVN: r31295

24 years ago* Makefile.in (jcf-dump, gcjh): Move ../errors.o before $(LIBS).
Kaveh R. Ghazi [Sun, 9 Jan 2000 14:30:28 +0000 (14:30 +0000)]
* Makefile.in (jcf-dump, gcjh): Move ../errors.o before $(LIBS).

From-SVN: r31294

24 years agoelfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around assignment used as truth...
Kaveh R. Ghazi [Sun, 9 Jan 2000 14:23:35 +0000 (14:23 +0000)]
elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around assignment used as truth value.

* elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
assignment used as truth value.

* function.c (assign_temp): Mark parameter `dont_promote' with
ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
PROMOTE_FOR_CALL_ONLY.

* genrecog.c (write_subroutine): Mark variable `operands' with
ATTRIBUTE_UNUSED.

* optabs.c (prepare_cmp_insn): Mark parameter `align' with
ATTRIBUTE_UNUSED.

* sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
(sdbout_begin_block, sdbout_end_block): Likewise for `file'.

* toplev.c (note_deferral_of_defined_inline_function): Likewise
for `decl'.

From-SVN: r31293

24 years agoc4x.h: Tidy up comments.
Michael Hayes [Sun, 9 Jan 2000 09:09:51 +0000 (09:09 +0000)]
c4x.h: Tidy up comments.

* config/c4x.h: Tidy up comments.
* config/c4x.c: Likewise.

From-SVN: r31292

24 years agoDaily bump.
Jeff Law [Sun, 9 Jan 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31291

24 years agoDon't fall off the end of main
Zack Weinberg [Sun, 9 Jan 2000 07:14:03 +0000 (07:14 +0000)]
Don't fall off the end of main

From-SVN: r31290

24 years agofold-const.c (lshift_double, [...]): Handle shifting by 2 * HOST_BITS_PER_WIDE_INT...
John Wehle [Sun, 9 Jan 2000 06:03:45 +0000 (06:03 +0000)]
fold-const.c (lshift_double, [...]): Handle shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.

* fold-const.c (lshift_double, rshift_double): Handle
shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.

From-SVN: r31289

24 years agotoplev.c (rest_of_compilation): Initialize cse_not_expected as in prepare_function_st...
Alexandre Oliva [Sat, 8 Jan 2000 20:30:18 +0000 (20:30 +0000)]
toplev.c (rest_of_compilation): Initialize cse_not_expected as in prepare_function_start().

* toplev.c (rest_of_compilation): Initialize cse_not_expected as
in prepare_function_start().

From-SVN: r31288

24 years agoFix bug restoring stack from interrupt handler.
Nick Clifton [Sat, 8 Jan 2000 20:15:56 +0000 (20:15 +0000)]
Fix bug restoring stack from interrupt handler.

From-SVN: r31287

24 years ago* gcc.dg/20000108-1.c: New test.
Alexandre Oliva [Sat, 8 Jan 2000 19:53:48 +0000 (19:53 +0000)]
* gcc.dg/20000108-1.c: New test.

From-SVN: r31286

24 years agoDaily bump.
Jeff Law [Sat, 8 Jan 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31285

24 years agoexpr.c (java_lang_expand_expr): Switch to permanent obstack before calling expand_eh_...
Alexandre Petit-Bianco [Sat, 8 Jan 2000 01:59:33 +0000 (01:59 +0000)]
expr.c (java_lang_expand_expr): Switch to permanent obstack before calling expand_eh_region_start and...

Wed Dec  8 15:33:26 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * expr.c (java_lang_expand_expr): Switch to permanent obstack
        before calling expand_eh_region_start and expand_start_all_catch.
        * except.c (expand_start_java_handler): Switch to permanent
        obstack before calling expand_eh_region_start.
        (expand_end_java_handler): Switch to permanent obstack before
        calling expand_start_all_catch.

From-SVN: r31284

24 years agoexpr.c (java_lang_expand_expr): Switch to permanent obstack before building constant...
Anthony Green [Fri, 7 Jan 2000 23:07:52 +0000 (23:07 +0000)]
expr.c (java_lang_expand_expr): Switch to permanent obstack before building constant array decl.

Thu Jan  6 16:31:28 2000  Anthony Green  <green@cygnus.com>

        * expr.c (java_lang_expand_expr): Switch to permanent obstack
        before building constant array decl.

From-SVN: r31283

24 years ago* config/c4x/c4x.md (*subqf3_set): Fix typo.
Michael Hayes [Fri, 7 Jan 2000 22:51:21 +0000 (22:51 +0000)]
* config/c4x/c4x.md (*subqf3_set): Fix typo.

From-SVN: r31282

24 years ago* config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
Michael Hayes [Fri, 7 Jan 2000 22:48:54 +0000 (22:48 +0000)]
* config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.

From-SVN: r31281

This page took 0.099151 seconds and 5 git commands to generate.