platform/upstream/gcc.git
25 years agoDaily bump.
Jeff Law [Fri, 2 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22736

25 years agoMakefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
Robert Lipe [Thu, 1 Oct 1998 21:35:22 +0000 (21:35 +0000)]
Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.

        * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
        (FLAGS_TO_PASS): Added.
        (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
        * archive.c: Change config.h to tconfig.h.
        * configure.in: Find gcc's object directory even for multilibs.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r22725

25 years agoregmove.c (regmove_optimize): Add variable old_max_uid.
Bernd Schmidt [Thu, 1 Oct 1998 19:00:52 +0000 (13:00 -0600)]
regmove.c (regmove_optimize): Add variable old_max_uid.

        * regmove.c (regmove_optimize): Add variable old_max_uid.
        At the end of the function, update basic_block_end.

From-SVN: r22724

25 years ago981001-2.c: New test.
Jeffrey A Law [Thu, 1 Oct 1998 18:06:54 +0000 (18:06 +0000)]
981001-2.c: New test.

        * gcc.c-torture/compile/981001-2.c: New test.
        * gcc.c-torture/compile/981001-3.c: New test.

From-SVN: r22723

25 years agodwarf2out.c (expand_builtin_dwarf_reg_size): Use FIRST_PSEUDO_REGISTER as upper bound...
David S. Miller [Thu, 1 Oct 1998 18:02:50 +0000 (18:02 +0000)]
dwarf2out.c (expand_builtin_dwarf_reg_size): Use FIRST_PSEUDO_REGISTER as upper bound for last_end, not an arbitrary constant.

* dwarf2out.c (expand_builtin_dwarf_reg_size): Use
FIRST_PSEUDO_REGISTER as upper bound for last_end, not an
arbitrary constant.

From-SVN: r22722

25 years agoImport some interworking support code from devo.
Nick Clifton [Thu, 1 Oct 1998 17:58:46 +0000 (17:58 +0000)]
Import some interworking support code from devo.

From-SVN: r22721

25 years agoreload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was copied from reload_...
J"orn Rennecke [Thu, 1 Oct 1998 17:45:59 +0000 (17:45 +0000)]
reload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was copied from reload_out[r] .


        * reload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was
        copied from reload_out[r] .

From-SVN: r22720

25 years agoNew test from PR 17544
Nick Clifton [Thu, 1 Oct 1998 17:34:45 +0000 (17:34 +0000)]
New test from PR 17544

From-SVN: r22719

25 years agoNew test from PR 17547
Nick Clifton [Thu, 1 Oct 1998 17:18:07 +0000 (17:18 +0000)]
New test from PR 17547

From-SVN: r22718

25 years agodwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work with more than three size...
John Carr [Thu, 1 Oct 1998 16:47:41 +0000 (16:47 +0000)]
dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work with more than three size ranges.

* dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work
with more than three size ranges.
* flow.c (sbitmap_copy): Use bcopy to copy bitmap.
* rtl.c (mode_name): Add a null string at the end of the array.
(mode_wider_mode): Change type to unsigned char.
(mode_mask_array): New variable.
  (init_rtl): Update for mode_wider_mode type change.
* rtl.h (mode_wider_mode): Change type to unsigned char.
(mode_mask_array): Declare.
(GET_MODE_MASK): Use mode_mask_array.

From-SVN: r22717

25 years agoAdd support for v850 special data areas.
Nick Clifton [Thu, 1 Oct 1998 15:11:18 +0000 (15:11 +0000)]
Add support for v850 special data areas.

From-SVN: r22716

25 years agoRegenerate with autoconf-2.12.1
Kaveh Ghazi [Thu, 1 Oct 1998 14:17:34 +0000 (14:17 +0000)]
Regenerate with autoconf-2.12.1

From-SVN: r22715

25 years agocalls.c (expand_call): Encapsulate code into copy_blkmode_from_reg.
Gavin Romig-Koch [Thu, 1 Oct 1998 13:00:21 +0000 (13:00 +0000)]
calls.c (expand_call): Encapsulate code into copy_blkmode_from_reg.

* calls.c (expand_call) : Encapsulate code into
copy_blkmode_from_reg.
* expr.c (copy_blkmode_from_reg): New function.
* expr.h (copy_blkmode_from_reg): New function.
* integrate.c (function_cannot_inline_p): We can inline
these now.
(expand_inline_function): Use copy_blkmode_from_reg
if needed.  Avoid creating BLKmode REGs.
(copy_rtx_and_substitute): Don't try to SUBREG a BLKmode
object.

From-SVN: r22714

25 years agocp-tree.h (FORMAT_VBASE_NAME): New macro.
Jason Merrill [Thu, 1 Oct 1998 12:31:22 +0000 (12:31 +0000)]
cp-tree.h (FORMAT_VBASE_NAME): New macro.

* cp-tree.h (FORMAT_VBASE_NAME): New macro.
* class.c (build_vbase_pointer): Use it.
* rtti.c (expand_class_desc): Likewise.
* tree.c (build_vbase_pointer_fields): Likewise.

From-SVN: r22713

25 years agoReplace occurances of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS.
Nick Clifton [Thu, 1 Oct 1998 10:53:39 +0000 (10:53 +0000)]
Replace occurances of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS.

handle_generic_pragma() New function: Parse generic pragmas.

From-SVN: r22712

25 years agoReplace occurances of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS.
Nick Clifton [Thu, 1 Oct 1998 10:52:36 +0000 (10:52 +0000)]
Replace occurances of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS.

From-SVN: r22711

25 years agoAdd support for #pragma pack(push,<n>) and #pragma pack(pop).
Nick Clifton [Thu, 1 Oct 1998 10:50:15 +0000 (10:50 +0000)]
Add support for #pragma pack(push,<n>) and #pragma pack(pop).

From-SVN: r22710

25 years agoAdd invocation of SET_DEFAULT_DECL_ATTRIBUTES, if defined.
Nick Clifton [Thu, 1 Oct 1998 10:44:46 +0000 (10:44 +0000)]
Add invocation of SET_DEFAULT_DECL_ATTRIBUTES, if defined.

From-SVN: r22709

25 years agoobjc.exp (objc_target_compile): Add -L during compiles for multilibbed hosts.
Robert Lipe [Thu, 1 Oct 1998 07:45:56 +0000 (07:45 +0000)]
objc.exp (objc_target_compile): Add -L during compiles for multilibbed hosts.

* lib/objc.exp (objc_target_compile): Add -L during compiles for
multilibbed hosts.   Idea grafted from g77.exp.

From-SVN: r22708

25 years agoAdd robertl as maintainer of sco udk target.
Robert Lipe [Thu, 1 Oct 1998 07:38:06 +0000 (07:38 +0000)]
Add robertl as maintainer of sco udk target.

From-SVN: r22707

25 years agoDaily bump.
Jeff Law [Thu, 1 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22706

25 years agoOh, my.
Robert Lipe [Wed, 30 Sep 1998 21:05:19 +0000 (21:05 +0000)]
Oh, my.

Oh, my.   That'll teach me to rebuild generated files on a 'trusted'
host like egcs.cygnus.com.

From-SVN: r22705

25 years agoRegenerate
Robert Lipe [Wed, 30 Sep 1998 20:44:26 +0000 (20:44 +0000)]
Regenerate

From-SVN: r22703

25 years agoconfig.sub: Recognize i[34567]86-pc-udk as new target.
Robert Lipe [Wed, 30 Sep 1998 20:35:10 +0000 (20:35 +0000)]
config.sub: Recognize i[34567]86-pc-udk as new target.

* config.sub: Recognize i[34567]86-pc-udk as new target.
* configure.in: Likewise.
* config/i386/t-udk: New file.
* config/i386/udk.h: New file.

From-SVN: r22702

25 years agoconfig.sub: Add support for i[34567]86-pc-udk.
Robert Lipe [Wed, 30 Sep 1998 20:25:11 +0000 (20:25 +0000)]
config.sub: Add support for i[34567]86-pc-udk.

* config.sub: Add support for i[34567]86-pc-udk.
* configure.in: Likewise.

From-SVN: r22701

25 years agojcf-write.c (OP2, OP4): Use "_i", not "_I" to avoid problems on FreeBSD.
Jeffrey A Law [Wed, 30 Sep 1998 19:55:42 +0000 (19:55 +0000)]
jcf-write.c (OP2, OP4): Use "_i", not "_I" to avoid problems on FreeBSD.

        * jcf-write.c (OP2, OP4): Use "_i", not "_I" to avoid problems on
        FreeBSD.

From-SVN: r22698

25 years agocpplib.c (macroexpand): If arg->raw_before or arg->raw_after...
Zack Weinberg [Wed, 30 Sep 1998 19:27:28 +0000 (19:27 +0000)]
cpplib.c (macroexpand): If arg->raw_before or arg->raw_after...

        * cpplib.c (macroexpand): If arg->raw_before or
        arg->raw_after, remove any no-reexpansion escape at the
        beginning of the pasted token.  Correct handling of whitespace
        markers and no-reexpand markers at the end if arg->raw_after.

From-SVN: r22695

25 years agoreorg.c (check_annul_list_true_false): Remove unused variables.
Jeffrey A Law [Wed, 30 Sep 1998 18:35:27 +0000 (18:35 +0000)]
reorg.c (check_annul_list_true_false): Remove unused variables.

        * reorg.c (check_annul_list_true_false): Remove unused variables.
        (steal_delay_list_from_target): Add missing "used_annul" variable.
        (try_merge_delay_insns): Close out half formed comment.

From-SVN: r22694

25 years agotoplev.c (documented_lang_options): Recognize -include, -imacros, -iwithprefix, ...
Zack Weinberg [Wed, 30 Sep 1998 18:15:13 +0000 (18:15 +0000)]
toplev.c (documented_lang_options): Recognize -include, -imacros, -iwithprefix, -iwithprefixbefore.

        * toplev.c (documented_lang_options): Recognize -include,
        -imacros, -iwithprefix, -iwithprefixbefore.
        * cpplib.c (cpp_start_read): Process -imacros and -include
        switches at the same time and in command-line order, after
        initializing the dependency-output code.  Emit properly nested
        #line directives for them.  Emit a #line for the main file
        before processing these switches, and don't do it again
        afterward.

From-SVN: r22689

25 years agoregs.h (HARD_REGNO_CALL_PART_CLOBBERED): New macro.
Michael Hayes [Wed, 30 Sep 1998 18:09:47 +0000 (18:09 +0000)]
regs.h (HARD_REGNO_CALL_PART_CLOBBERED): New macro.

        * regs.h (HARD_REGNO_CALL_PART_CLOBBERED):  New macro.
        * local-alloc.c (find_free_reg): Use it.
        * global.c (find_reg): Likewise.
        * tm.texi: Document HARD_REGNO_CALL_PART_CLOBBERED.

From-SVN: r22688

25 years agoTypo in last commit.
Richard Henderson [Wed, 30 Sep 1998 18:04:51 +0000 (11:04 -0700)]
Typo in last commit.

From-SVN: r22687

25 years agofunction.c (purge_addressof_1): Use bitfield manipulation routines to handle mem...
Richard Henderson [Wed, 30 Sep 1998 18:03:48 +0000 (11:03 -0700)]
function.c (purge_addressof_1): Use bitfield manipulation routines to handle mem mode < reg mode.

        * function.c (purge_addressof_1): Use bitfield manipulation
        routines to handle mem mode < reg mode.

From-SVN: r22686

25 years agoreorg.c (try_merge_delay_insns): Account for resources referenced in each instruction...
Herman ten Brugge [Wed, 30 Sep 1998 18:01:38 +0000 (20:01 +0200)]
reorg.c (try_merge_delay_insns): Account for resources referenced in each instruction in INSN's delay list...

        * reorg.c (try_merge_delay_insns): Account for resources referenced
        in each instruction in INSN's delay list before trying to eliminate
        useless instructions.  Similarly when looking at a trial insn's delay
        slots.
        * reorg.c (check_annul_list_true_false): New function.
        (steal_delay_list_from_{target,fallthrough}): Call it and also
        refine tests for when we may annul if already filled a slot.
        (fill_slots_from_thread): Likewise.
        (delete_from_delay_slot): Return newly-created thread.
        (try_merge_delay_isns): Use its new return value.

From-SVN: r22685

25 years agoloop.c (check_dbra_loop): Use a vanilla loop reversal if the biv is used to compute...
Jeffrey A Law [Wed, 30 Sep 1998 17:32:15 +0000 (17:32 +0000)]
loop.c (check_dbra_loop): Use a vanilla loop reversal if the biv is used to compute a giv or as some...

        * loop.c (check_dbra_loop): Use a vanilla loop reversal if the biv is
        used to compute a giv or as some other non-counting use.

From-SVN: r22684

25 years ago* parse.c (emit_label): Fix return-type of prototype.
Kaveh R. Ghazi [Wed, 30 Sep 1998 17:24:36 +0000 (17:24 +0000)]
* parse.c (emit_label): Fix return-type of prototype.

From-SVN: r22683

25 years agoregs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
Jeff Law [Wed, 30 Sep 1998 17:21:12 +0000 (11:21 -0600)]
regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.

        * regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
        * caller-save.c (init_caller_save): Use it.
        * tm.texi: Document HARD_REGNO_CALLER_SAVE_MODE.

From-SVN: r22682

25 years agoconfigure.in: Escape ^ in grep string.
Robert Lipe [Wed, 30 Sep 1998 17:19:00 +0000 (11:19 -0600)]
configure.in: Escape ^ in grep string.

        * configure.in: Escape ^ in grep string.
        * configure: Rebuilt.

From-SVN: r22681

25 years agoWarning fixes:
Kaveh R. Ghazi [Wed, 30 Sep 1998 16:49:55 +0000 (16:49 +0000)]
Warning fixes:

* actions.c (chill_handle_multi_case_label): Always return a value
in function returning non-void.
* except.c: Include OS headers before any local ones.
* typeck.c (layout_chill_range_type): Change type of variable
`negprecision' to int.
(apply_chill_array_layout): Initialize variables `stepsize' and
`start_bit'.
(layout_chill_struct_type): Change type of variable `min_align' to
unsigned int.
(smash_dummy_type): Change name of variable `main' to `main_tree'.

From-SVN: r22680

25 years agoWarning fixes:
Kaveh R. Ghazi [Wed, 30 Sep 1998 16:34:45 +0000 (16:34 +0000)]
Warning fixes:

* actions.c (id_cmp): Do pointer arithmetic as `long' not `int' to
  ensure enough bits for calculation.
* ch-tree.h (check_text_length): Remove unused parameter.
* convert.c (display_int_cst): Cast a HOST_WIDE_INT argument to
function sprintf into the appropriate type for printing.
* decl.c (print_lang_decl): Use HOST_WIDE_INT_PRINT_DEC as the
format specifier.
(print_mode): Likewise.
(init_decl_processing): Cast the arguments of bcopy/bzero to char *.
* grant.c (grant_array_type): Use HOST_WIDE_INT_PRINT_DEC as
the format specifier.
* inout.c (check_text_length): Remove unused parameter `type'.
(build_chill_associate): Initialize variables `arg1', `arg2',
`arg3', `arg4' and `arg5'.
(build_chill_modify): Likewise.
(scanformcont): Change type of variable `curr' to `unsigned char'.
* lex.c (maybe_downcase): Cast the argument of `tolower' to
`unsigned char'.
* satisfy.c (satisfy): Remove unused parameter in call to
`check_text_length'.
* tasking.c (generate_tasking_code_variable): Pass a HOST_WIDE_INT
as a `long' in call to function `error'.
(decl_tasking_code_variable): Likewise.

From-SVN: r22679

25 years agoGrr, fix address.
Kaveh Ghazi [Wed, 30 Sep 1998 16:10:05 +0000 (16:10 +0000)]
Grr, fix address.

From-SVN: r22678

25 years agoWarning fixes:
Kaveh R. Ghazi [Wed, 30 Sep 1998 16:07:19 +0000 (16:07 +0000)]
Warning fixes:

        * grant.c (decode_decl_selective): Cast switch's enum argument to
        an int.
        (really_grant_this): Add default case in switch.
        * typeck.c (chill_resulting_class): Add default cases in switch.
        Also add `break' statements after each case.

From-SVN: r22677

25 years agoconfigure.in: Add --enable-cpplib option which uses cpplib for cpp...
Zack Weinberg [Wed, 30 Sep 1998 11:59:24 +0000 (05:59 -0600)]
configure.in: Add --enable-cpplib option which uses cpplib for cpp...

        * configure.in: Add --enable-cpplib option which uses cpplib
        for cpp, but doesn't link cpplib into cc1.  Make help text
        capitalization consistent.
        * configure: Rebuilt.

From-SVN: r22670

25 years agou77-test.f (main): Excise `hostnm' to avoid losing on systems which need -lsocket.
Dave Love [Wed, 30 Sep 1998 11:51:37 +0000 (11:51 +0000)]
u77-test.f (main): Excise `hostnm' to avoid losing on systems which need -lsocket.

1998-09-30  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f (main): Excise `hostnm' to
avoid losing on systems which need -lsocket.

From-SVN: r22669

25 years agoMakefile.in (f2cext.c): Depend on g2c.h.
Dave Love [Wed, 30 Sep 1998 11:50:08 +0000 (11:50 +0000)]
Makefile.in (f2cext.c): Depend on g2c.h.

1998-09-30  Dave Love  <d.love@dl.ac.uk>
* Makefile.in (f2cext.c): Depend on g2c.h.

From-SVN: r22668

25 years agofunction.c (gen_mem_addressof): If the address REG is REG_USERVAR_P make the new...
Mark Mitchell [Wed, 30 Sep 1998 10:10:02 +0000 (10:10 +0000)]
function.c (gen_mem_addressof): If the address REG is REG_USERVAR_P make the new REG be so also.

* function.c (gen_mem_addressof): If the address REG is
REG_USERVAR_P make the new REG be so also.
* loop.c (scan_loop): Apply DeMorgan's laws and add documentation
in an attempt to clarify slightly.

From-SVN: r22667

25 years agoexpr.c (expand_expr): Handle COMPONENT_REF...
Jeffrey A Law [Wed, 30 Sep 1998 08:59:18 +0000 (08:59 +0000)]
expr.c (expand_expr): Handle COMPONENT_REF...

        * expr.c (expand_expr): Handle COMPONENT_REF, BIT_FIELD_REF ARRAY_REF
        and INDIRECT_REF in code to check MAX_INTEGER_COMPUTATION_MODE.

From-SVN: r22666

25 years agofix bad patch.
Catherine Moore [Wed, 30 Sep 1998 08:26:10 +0000 (08:26 +0000)]
fix bad patch.

From-SVN: r22665

25 years ago* All .h files pushed down into the objc/ subdirectory.
Jeffrey A Law [Wed, 30 Sep 1998 08:17:56 +0000 (08:17 +0000)]
* All .h files pushed down into the objc/ subdirectory.

        * Makefile.in (copy_headers): Corresponding changes.
        * configure.in (AC_INIT): Corresponding changes.
        * configure: Rebuilt.

From-SVN: r22664

25 years agoRebuilt.
Jeff Law [Wed, 30 Sep 1998 08:08:06 +0000 (02:08 -0600)]
Rebuilt.

From-SVN: r22663

25 years agoMakefile.in (all): Correct dependencies do --disable-multilibs works again.
Robert Lipe [Wed, 30 Sep 1998 08:05:57 +0000 (08:05 +0000)]
Makefile.in (all): Correct dependencies do --disable-multilibs works again.

* Makefile.in (all): Correct dependencies do --disable-multilibs
works again.
   (distclean): Correct typo.

From-SVN: r22662

25 years agoopen.c: Back out part of last Netlib update affecting scratch files which clashed...
Dave Love [Wed, 30 Sep 1998 02:45:44 +0000 (02:45 +0000)]
open.c: Back out part of last Netlib update affecting scratch files which clashed with...

1998-09-28  Dave Love  <d.love@dl.ac.uk>
* libI77/open.c: Back out part of last Netlib update affecting
scratch files which clashed with the g77 variations and broke
implicit endfile on rewind.

From-SVN: r22660

25 years agoMakefile.in: Rewrite.
Ben Elliston [Wed, 30 Sep 1998 02:13:15 +0000 (02:13 +0000)]
Makefile.in: Rewrite.

        * Makefile.in: Rewrite.
        * configure.in: Likewise.
        * configure: Regenerate.
        * All .c files.  Remove "objc" prefix when including objc header
        files.  Include tconfig.h, not ../tconfig.h.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r22659

25 years agoMakefile.in (TARGET_CONFIGDIRS): Add libobjc.
Jeffrey A Law [Wed, 30 Sep 1998 02:02:35 +0000 (02:02 +0000)]
Makefile.in (TARGET_CONFIGDIRS): Add libobjc.

        * Makefile.in (TARGET_CONFIGDIRS): Add libobjc.
        (ALL_TARGET_MODULES): Add all-target-libobjc.
        (CONFIGURE_TARGET_MODULES, CHECK_TARGET_MODULES): Similarly.
        (INSTALL_TARGET_MODULES, CLEAN_TARGET_MODULES): Similarly.
        (all-target-libchill): Add dependencies.
        * configure.in (target_libs): Add libchill.

From-SVN: r22658

25 years agoDaily bump.
Jeff Law [Wed, 30 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22657

25 years agoconfigure.in (target_subdir): Remove duplicate line.
Manfred Hollstein [Tue, 29 Sep 1998 23:50:57 +0000 (23:50 +0000)]
configure.in (target_subdir): Remove duplicate line.


* configure.in (target_subdir): Remove duplicate line.

From-SVN: r22656

25 years agoFix typo that disabled loop unrolling for many targets.
Jim Wilson [Tue, 29 Sep 1998 20:04:10 +0000 (20:04 +0000)]
Fix typo that disabled loop unrolling for many targets.

* loop.c (get_condition): Fix typo in May 9 change.

From-SVN: r22650

25 years agoch-tree.h (build_compare_expr): Change first argument's type from `enum chill_tree_co...
Kaveh R. Ghazi [Tue, 29 Sep 1998 18:41:05 +0000 (18:41 +0000)]
ch-tree.h (build_compare_expr): Change first argument's type from `enum chill_tree_code' to `enum tree_code'.

        * ch-tree.h (build_compare_expr): Change first argument's type
        from `enum chill_tree_code' to `enum tree_code'.
        (build_compare_discrete_expr): Likewise.
        * expr.c (build_compare_set_expr): Likewise.
        (build_compare_string_expr): Likewise.
        (build_compare_expr): Likewise.
        (build_compare_discrete_expr): Likewise.  Also add default case in
        switch statement.
        (compare_int_csts): Add default case in switch statement.

From-SVN: r22643

25 years ago
Benjamin Kosnik [Tue, 29 Sep 1998 16:13:35 +0000 (16:13 +0000)]

new test

From-SVN: r22642

25 years ago*** empty log message ***
Benjamin Kosnik [Tue, 29 Sep 1998 16:13:14 +0000 (16:13 +0000)]
*** empty log message ***

From-SVN: r22641

25 years agoAdd entry for -fdump-unnumberd option.
Joern Rennecke [Tue, 29 Sep 1998 14:23:09 +0000 (15:23 +0100)]
Add entry for -fdump-unnumberd option.

From-SVN: r22640

25 years agoinvoke.texi (-fexceptions): Merge 2 different descriptions.
Andrew MacLeod [Tue, 29 Sep 1998 08:15:16 +0000 (08:15 +0000)]
invoke.texi (-fexceptions): Merge 2 different descriptions.

Tue Sep 29 11:11:38 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
        * invoke.texi (-fexceptions): Merge 2 different descriptions.

From-SVN: r22635

25 years agoDaily bump.
Jeff Law [Tue, 29 Sep 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22634

25 years agobitfld1.C: expected failure
Alexandre Oliva [Mon, 28 Sep 1998 21:24:13 +0000 (21:24 +0000)]
bitfld1.C: expected failure

* g++.old-deja/g++.other/bitfld1.C: expected failure
* g++.old-deja/g++.other/nested2.C: ditto
* g++.old-deja/g++.robertl/eb132.C: no longer an expected failure

From-SVN: r22633

25 years ago* semantics.c (finish_asm_stmt): Always permit volatile asms.
Anthony Green [Mon, 28 Sep 1998 20:23:27 +0000 (20:23 +0000)]
* semantics.c (finish_asm_stmt): Always permit volatile asms.

From-SVN: r22632

25 years agotoplev.c (documented_lang_options): Spelling corrections.
Kaveh R. Ghazi [Mon, 28 Sep 1998 19:13:25 +0000 (19:13 +0000)]
toplev.c (documented_lang_options): Spelling corrections.

        * toplev.c (documented_lang_options): Spelling corrections.
(`whoes' -> `whose')

From-SVN: r22631

25 years agodecl.c (grokdeclarator): Tighten checks for invalid destructors.
Mark Mitchell [Mon, 28 Sep 1998 17:34:33 +0000 (17:34 +0000)]
decl.c (grokdeclarator): Tighten checks for invalid destructors.

* decl.c (grokdeclarator): Tighten checks for invalid
destructors.  Improve error-messages and error-recovery.
* decl2.c (check_classfn): Don't assume that mangled destructor
names contain type information.

From-SVN: r22630

25 years agoconfigure.in: new flags --with-ld and --with-as...
Alexandre Oliva [Mon, 28 Sep 1998 15:52:01 +0000 (15:52 +0000)]
configure.in: new flags --with-ld and --with-as...

* configure.in: new flags --with-ld and --with-as, equivalent
to setting LD and AS environment variables.  Test whether
specified arguments are GNU commands, and report them with
checking messages.  Use the specified AS for configure
tests too.
* configure: ditto
* acconfig.h: add DEFAULT_ASSEMBLER and DEFAULT_LINKER
* config.in: ditto
* gcc.c (find_a_file): when looking for `as' and `ld', return
the DEFAULT program if it exists
* collect2.c (main): use DEFAULT_LINKER if it exists
* gcc.c (find_a_file): the test for existence of a full
pathname was reversed

From-SVN: r22629

25 years agoMake ASM_OUTPUT_MI_THUNK ELF only for now and always use jump
Michael Meissner [Mon, 28 Sep 1998 14:40:27 +0000 (14:40 +0000)]
Make ASM_OUTPUT_MI_THUNK ELF only for now and always use jump

From-SVN: r22628

25 years ago* tree.h (TYPE_BINFO): Document.
Mark Mitchell [Mon, 28 Sep 1998 14:23:17 +0000 (14:23 +0000)]
* tree.h (TYPE_BINFO): Document.

From-SVN: r22627

25 years agoi386-coff.h (dbxcoff.h): Added.
Stan Cox [Mon, 28 Sep 1998 11:05:13 +0000 (11:05 +0000)]
i386-coff.h (dbxcoff.h): Added.

From-SVN: r22626

25 years agofix last patch.
Catherine Moore [Mon, 28 Sep 1998 10:57:35 +0000 (10:57 +0000)]
fix last patch.

From-SVN: r22622

25 years agoApplied Jim's small patch to reload () for arm-elf.
Nick Clifton [Mon, 28 Sep 1998 10:33:41 +0000 (10:33 +0000)]
Applied Jim's small patch to reload () for arm-elf.

From-SVN: r22621

25 years agoc-common.c (c_get_alias_set): Tighten slightly for FUNCTION_TYPEs and ARRAY_TYPEs.
Mark Mitchell [Mon, 28 Sep 1998 07:44:12 +0000 (07:44 +0000)]
c-common.c (c_get_alias_set): Tighten slightly for FUNCTION_TYPEs and ARRAY_TYPEs.

* c-common.c (c_get_alias_set): Tighten slightly for FUNCTION_TYPEs
and ARRAY_TYPEs.  Tidy up.  Improve support for type-punning.
* expr.c (store_field): Add alias_set parameter.  Set the
MEM_ALIAS_SET accordingly, if the target is a MEM.
(expand_assignment): Use it.
(store_constructor_field): Pass 0.
(expand_expr): Likewise.

From-SVN: r22620

25 years agoflags.h: Add flag_data_sections.
Catherine Moore [Mon, 28 Sep 1998 06:24:06 +0000 (06:24 +0000)]
flags.h: Add flag_data_sections.

        * flags.h:  Add flag_data_sections.
        * toplev.c:  Add option -fdata-sections.  Add flag_data_sections.
        (compile_file):  Error if flag_data_sections not supported.
        * varasm.c (assemble_variable):  Handle flag_data_sections.
        * config/svr4.h:  Modify prefixes for UNIQUE_SECTION_NAME.
        * config/mips/elf.h:  Likewise.
        * config/mips/elf64.h:  Likewise.
        * invoke.texi:  Describe -fdata-sections.

From-SVN: r22619

25 years agoFix typos.
Jeff Law [Mon, 28 Sep 1998 03:24:01 +0000 (21:24 -0600)]
Fix typos.

From-SVN: r22616

25 years ago* news.texi: Update from Craig.
Jeffrey A Law [Mon, 28 Sep 1998 03:23:24 +0000 (03:23 +0000)]
* news.texi: Update from Craig.

From-SVN: r22615

25 years agoinvoke.texi (-ffloat-store): Clarify that this option does not affect intermediate...
Craig Burley [Mon, 28 Sep 1998 03:17:17 +0000 (03:17 +0000)]
invoke.texi (-ffloat-store): Clarify that this option does not affect intermediate results -- only variables.

        * invoke.texi (-ffloat-store): Clarify that this option
        does not affect intermediate results -- only variables.

From-SVN: r22614

25 years ago* cpp.texi: Update for Fortran usage from Craig.
Jeffrey A Law [Mon, 28 Sep 1998 03:14:40 +0000 (03:14 +0000)]
* cpp.texi: Update for Fortran usage from Craig.

From-SVN: r22613

25 years agoconfigure.in: Minor cleanups for building in the $(target_alias) subdir.
Jeffrey A Law [Mon, 28 Sep 1998 03:07:27 +0000 (03:07 +0000)]
configure.in: Minor cleanups for building in the $(target_alias) subdir.

        * configure.in: Minor cleanups for building in the $(target_alias)
        subdir.

From-SVN: r22612

25 years agoDaily bump.
Jeff Law [Mon, 28 Sep 1998 00:45:32 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22611

25 years agoDaily bump.
Jeff Law [Sun, 27 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22604

25 years agofix
Jason Merrill [Sat, 26 Sep 1998 02:24:42 +0000 (22:24 -0400)]
fix

From-SVN: r22601

25 years agoDaily bump.
Jeff Law [Sat, 26 Sep 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22600

25 years agobitfld1.C: built-in operator!= should be preferred over template operator!= for enum...
Alexandre Oliva [Fri, 25 Sep 1998 22:57:30 +0000 (22:57 +0000)]
bitfld1.C: built-in operator!= should be preferred over template operator!= for enum bitfields

* g++.old-deja/g++.other/bitfld1.C: built-in operator!= should be
preferred over template operator!= for enum bitfields

From-SVN: r22599

25 years agoupdate
Jason Merrill [Fri, 25 Sep 1998 21:46:25 +0000 (17:46 -0400)]
update

From-SVN: r22598

25 years agosearch.c (get_base_distance): Remove assert.
Jason Merrill [Fri, 25 Sep 1998 21:34:50 +0000 (21:34 +0000)]
search.c (get_base_distance): Remove assert.

* search.c (get_base_distance): Remove assert.
* decl2.c (build_anon_union_vars): Don't process a field with no
name.
(finish_anon_union): Also complain about local anon unions with no
members.

From-SVN: r22597

25 years ago- fixup botched commit
David Edelsohn [Fri, 25 Sep 1998 19:19:03 +0000 (15:19 -0400)]
- fixup botched commit

From-SVN: r22596

25 years agors6000.c (function_arg_boundary): Revert accidental change on September 18.
David Edelsohn [Fri, 25 Sep 1998 19:11:55 +0000 (19:11 +0000)]
rs6000.c (function_arg_boundary): Revert accidental change on September 18.

        * rs6000.c (function_arg_boundary): Revert accidental change on
        September 18.

From-SVN: r22595

25 years agoAdd OUTPUT_ASM_MI_THUNK; use r12 as temp for System V profiling, not r11
Michael Meissner [Fri, 25 Sep 1998 17:49:19 +0000 (17:49 +0000)]
Add OUTPUT_ASM_MI_THUNK; use r12 as temp for System V profiling, not r11

From-SVN: r22594

25 years ago- update comment to clarify that this file is specific to AIX and 32-bit mode.
David Edelsohn [Fri, 25 Sep 1998 14:56:26 +0000 (10:56 -0400)]
- update comment to clarify that this file is specific to AIX and 32-bit mode.

From-SVN: r22593

25 years agoFix nightly testing i386-coff libstdc++ build failure.
Jim Wilson [Fri, 25 Sep 1998 14:37:13 +0000 (14:37 +0000)]
Fix nightly testing i386-coff libstdc++ build failure.

* sdbout.c (sdbout_one_type): Don't look at TYPE_BINFO field of enums.

From-SVN: r22592

25 years ago* sh.c (gen_shl_sext): Fix case 5.
J"orn Rennecke [Fri, 25 Sep 1998 11:37:01 +0000 (11:37 +0000)]
* sh.c (gen_shl_sext): Fix case 5.

From-SVN: r22591

25 years agoNew test case.
Martin v. Löwis [Fri, 25 Sep 1998 11:17:12 +0000 (11:17 +0000)]
New test case.

From-SVN: r22590

25 years agodecl.c (lookup_namespace_name): If the name is a namespace, return it immediately.
Martin v. Löwis [Fri, 25 Sep 1998 11:07:29 +0000 (11:07 +0000)]
decl.c (lookup_namespace_name): If the name is a namespace, return it immediately.

1998-09-24  Martin von L�wis  <loewis@informatik.hu-berlin.de>
* decl.c (lookup_namespace_name): If the name is a namespace,
return it immediately.

From-SVN: r22589

25 years ago* reload1.c (reload_combine): Re-add line that got accidentally lost.
J"orn Rennecke [Fri, 25 Sep 1998 09:38:08 +0000 (09:38 +0000)]
* reload1.c (reload_combine): Re-add line that got accidentally lost.

From-SVN: r22588

25 years agoWarning fixes:
Kaveh R. Ghazi [Fri, 25 Sep 1998 09:00:04 +0000 (09:00 +0000)]
Warning fixes:

* cp-tree.h (define_case_label): Remove unused parameter.
(check_java_method): Likewise.
(grokclassfn): Likewise.
(expand_aggr_init): Likewise.
(build_x_delete): Likewise.
(maybe_end_member_template_processing): Likewise.
(unshare_base_binfos): Add prototype.
(string_conv_p): Likewise.
(my_friendly_abort): Mark with ATTRIBUTE_NORETURN.
* cvt.c (build_up_reference): Remove unused parameter
  `checkconst', all callers changed.
(build_type_conversion): Mark parameter `code' with
ATTRIBUTE_UNUSED.
(build_expr_type_conversion): Initialize variable `conv'.
* decl.c (push_namespace): Initialize variable `d'.
   (define_case_label): Remove unused parameter `decl', all callers
  changed.
* decl2.c (lang_decode_option): If !USE_CPPLIB, mark parameter
  `argc' with ATTRIBUTE_UNUSED.
(grokclassfn): Remove unused parameter `cname', all callers
  changed.
(check_java_method): Likewise for parameter `ctype'.
(copy_assignment_arg_p): Mark parameter `virtualp' with
ATTRIBUTE_UNUSED.
(finish_prevtable_vardecl): Likewise for parameter `prev'.
* expr.c (extract_init): Likewise for parameters `decl' and `init'.
* init.c (expand_aggr_init_1): Remove unused parameter
  `alias_this', all callers changed.
(expand_aggr_init): Likewise.
(expand_default_init): Likewise.
(build_new_1): Initialize variable `susp'.
(build_x_delete): Remove unused parameter `type', all callers
changed.
* lex.c (set_typedecl_interface_info): Mark parameter `prev' with
ATTRIBUTE_UNUSED.
(readescape): Use (unsigned) value in shift.
(real_yylex): Likewise.  Likewise.  Also cast `sizeof' to int when
comparing to a signed quantity.
* pt.c (maybe_end_member_template_processing): Remove unused
  parameter `decl', all callers changed.
(check_explicit_specialization): Add braces around empty body in
an else-statement.
(current_template_args): Initialize variable `args'.
(lookup_template_class): Likewise for variable `prev_local_enum'.
(tsubst_decl): Likewise for variable `r'.
(set_mangled_name_for_template_decl): Initialize variable
`context'.
* spew.c (scan_tokens): Change type of parameter `n' to unsigned.
Likewise for variable `i'.
(yylex): Initialize variable `trrr'.
* typeck.c (compparms): Mark variable `strict' with
ATTRIBUTE_UNUSED.
* xref.c (simplify_type): Cast argument of ctype function to
`unsigned char'.

From-SVN: r22587

25 years agoRemove XFAIL
Mark Mitchell [Fri, 25 Sep 1998 08:37:45 +0000 (08:37 +0000)]
Remove XFAIL

From-SVN: r22586

25 years agocccp.c (pedwarn_with_file_and_line): For !__STDC__ case...
Kaveh R. Ghazi [Fri, 25 Sep 1998 07:49:07 +0000 (07:49 +0000)]
cccp.c (pedwarn_with_file_and_line): For !__STDC__ case...

        * cccp.c (pedwarn_with_file_and_line): For !__STDC__ case, avoid
        accessing variables until they are initialized via va_arg().

From-SVN: r22585

25 years agoDaily bump.
Jeff Law [Fri, 25 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22584

25 years agocp-tree.h (language_lvalue_valid): Remove.
Mark Mitchell [Thu, 24 Sep 1998 23:53:37 +0000 (23:53 +0000)]
cp-tree.h (language_lvalue_valid): Remove.

* cp-tree.h (language_lvalue_valid): Remove.
* decl.c (grokdeclarator): Don't disallow references to functions.
* tree.c (lvalue_p_1): New function, combining duplicated
code from ...
(lvalue_p): Use it.
(real_lvalue_p): Likewise.
* typeck.c (language_lvalue_valid): Remove.
(build_modify_expr): Treat FUNCTION_TYPEs as readonly, even though
they don't have TREE_READONLY set.
* typeck2.c (readonly_error): Add case for FUNCTION_DECLs.

From-SVN: r22583