jason [Tue, 10 Feb 1998 20:37:18 +0000 (20:37 +0000)]
* decl.c (grokdeclarator): Use DECL_USE_TEMPLATE instead
when deciding to override DECL_ASSEMBLER_NAME.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17835
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Tue, 10 Feb 1998 15:25:50 +0000 (15:25 +0000)]
For movdi_v8plus pattern, output stx on alternative 1 and
fzero on alternative 8. Fix from John Carr (jfc@mit.edu)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17834
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Tue, 10 Feb 1998 12:32:21 +0000 (12:32 +0000)]
Add support for squangling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17832
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Tue, 10 Feb 1998 12:32:03 +0000 (12:32 +0000)]
Add -fsquangle and -fno-squangle.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17831
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Tue, 10 Feb 1998 12:31:55 +0000 (12:31 +0000)]
Add declaration for flag_do_squangling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17830
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Tue, 10 Feb 1998 12:31:27 +0000 (12:31 +0000)]
Add -fsquangle to option processing list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17829
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Tue, 10 Feb 1998 12:31:01 +0000 (12:31 +0000)]
Add squangling support. (First cut at improved Name mangling)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17828
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 10 Feb 1998 11:47:01 +0000 (11:47 +0000)]
Patch from jfc to fix printf format problems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17827
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 10 Feb 1998 09:05:42 +0000 (09:05 +0000)]
rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17825
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 9 Feb 1998 22:54:34 +0000 (22:54 +0000)]
* lib/g77.exp (g77_target_compile): Fix multilibs for libf2c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17818
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 9 Feb 1998 19:39:35 +0000 (19:39 +0000)]
* reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
SUBREGs of CONST_INTs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17809
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 9 Feb 1998 17:53:56 +0000 (17:53 +0000)]
Patch from jfc to fix printf format problems.
* mips.c (print_operand, function_prologue): Make printf format
match argument type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17808
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 9 Feb 1998 14:22:47 +0000 (14:22 +0000)]
Add Tege & Kate as maintainers of c-torture and f-torture respectively.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17804
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 9 Feb 1998 01:36:08 +0000 (01:36 +0000)]
* alpha.c (alpha_return_addr): Remove unused variable `first'.
(alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
(output_epilog): Remove unused variable `frame_size_from_reg_save'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17799
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 9 Feb 1998 01:07:31 +0000 (01:07 +0000)]
* lib/old-dejagnu.exp (old-dejagnu): Added the
"execution test - XFAIL *-*-*" handling in the spirit of
"excess errors test -". Changed the "execution test fails"
handling to be like "excess errors test fails".
* Update various tests accordingly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17798
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 8 Feb 1998 23:55:11 +0000 (23:55 +0000)]
Fix -fpedantic combined with `F()' invocation,
also -fugly-comma combined with `IARGC()' invocation:
* bad.def (FFEBAD_NULL_ARGUMENT_W): New diagnostic.
* expr.c (ffeexpr_finished_): Don't reject null expressions
in the argument-expression context -- let outer context
handle that.
(ffeexpr_token_arguments_): Warn about null expressions
here if -fpedantic (as appropriate).
Obey -fugly-comma for only external-procedure invocations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17793
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 8 Feb 1998 22:46:23 +0000 (22:46 +0000)]
* method.c (make_thunk): Avoid name buffer overflow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17784
138bc75d-0d04-0410-961f-
82ee72b054a4
jfc [Sun, 8 Feb 1998 15:53:23 +0000 (15:53 +0000)]
Document unique_id variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17783
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sun, 8 Feb 1998 14:13:54 +0000 (14:13 +0000)]
Oops, bump copyright year.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17782
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sun, 8 Feb 1998 14:12:00 +0000 (14:12 +0000)]
Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* loop.c (strength_reduce): When placing increment for auto-inc
case, do comparison in loop order.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17781
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 8 Feb 1998 12:26:43 +0000 (12:26 +0000)]
* bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
not a HOST_WIDE_INT.
* calls.c (expand_call): Change test of expand_inline_function
return value to stop compiler warning.
* genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17777
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 8 Feb 1998 11:43:54 +0000 (11:43 +0000)]
* regmove.c: Fix various minor formatting problems.
(optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
is true. Make end of basic block tests consistent through regmove.c.
(optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
(fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17775
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sun, 8 Feb 1998 10:00:12 +0000 (10:00 +0000)]
w
Removed asterisk from David Edelsohn for rs6000 port
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17774
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 8 Feb 1998 00:48:07 +0000 (00:48 +0000)]
* gansidecl.h: Check for a conflicting macro definition before
attempting to prototype bcopy, bcmp or bzero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17773
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 8 Feb 1998 00:13:59 +0000 (00:13 +0000)]
Add new entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17772
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 7 Feb 1998 23:30:55 +0000 (23:30 +0000)]
* Makefile.in: Add `info install-info clean-info check dvi' targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17771
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 7 Feb 1998 23:26:08 +0000 (23:26 +0000)]
* expr.c (clear_pending_stack_adjust): Handle case where a function
calls alloca, but the user has specified -fomit-fframe-pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17770
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 7 Feb 1998 23:08:24 +0000 (23:08 +0000)]
* function.c (assign_parms): Fix typo in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17769
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 7 Feb 1998 23:00:07 +0000 (23:00 +0000)]
* gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
<fcntl.h>.
(free_path_suffix): Remove unreferenced static function.
(process_command): Remove unused variable temp.
(default_arg): Remove unused variable i.
(do_spec_1): Add parens for assignment used as truth value.
(main): Likewise.
(validate_all_switches): Likewise.
(main): Remove unused variables i, first_time>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17768
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 7 Feb 1998 22:58:32 +0000 (22:58 +0000)]
Whitespace change for better readability.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17767
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 7 Feb 1998 22:55:54 +0000 (22:55 +0000)]
* c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
* calls.c (expand_call): Remove unused variables funtree,
n_regs, and tmpmode.
* dbxout.c, except.c: Include <string.h>/<strings.h>.
* explow.c: (plus_constant_for_output_wide) Removed unused
variable all_constant.
* c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
genrecog.c, global.c, integrate.c , stupid.c : Include
<stdlib.h>.
* genextract.c: (walk_rtx) Remove unused variable link.
* genrecog.c: (concat) Remove unreferenced static function.
* prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
* stmt.c: Include <stdlib.h>.
(expand_asm_operands): Remove unused variable val1.
(expand_return): Remove unused variable block.
(pushcase): Remove unused variables l and n.
(pushcaserange): Likewise.
* unroll.c (unroll_loop): Remove unused variable temp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17766
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 7 Feb 1998 22:44:35 +0000 (22:44 +0000)]
* c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17765
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 7 Feb 1998 17:18:39 +0000 (17:18 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17764
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 7 Feb 1998 17:14:22 +0000 (17:14 +0000)]
* pt.c (instantiate_decl): Call cp_finish_decl for vars even if we
don't define them yet.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17763
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 7 Feb 1998 15:18:24 +0000 (15:18 +0000)]
* parse.y (nomods_initdcl0): Add constructor_declarator case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17762
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 7 Feb 1998 13:36:28 +0000 (13:36 +0000)]
How I missed committing this I don't know.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17761
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 7 Feb 1998 13:21:36 +0000 (13:21 +0000)]
* aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
functions for whether they support the %p format specifier.
* acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
* configure.in (GCC_FUNC_PRINTF_PTR): Use it.
* configure, config.in: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17760
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 7 Feb 1998 02:04:30 +0000 (02:04 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17753
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 6 Feb 1998 14:31:56 +0000 (14:31 +0000)]
Fix irix6 stdarg failure when last named arg has FP type.
* function.c (assign_parms): New variable named_arg, with value
depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17695
138bc75d-0d04-0410-961f-
82ee72b054a4
gavin [Fri, 6 Feb 1998 14:12:52 +0000 (14:12 +0000)]
Correct tx39 multilibs.
* mips/t-r3900: New - same as t-ecoff but eliminate
multilibs: mips1 and mips3.
* configure.in (tx39*): Use new mips/t-r3900.
* configure: Rebuild.
* mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17693
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 6 Feb 1998 09:55:20 +0000 (09:55 +0000)]
* tinfo2.cc: Add tinfo for signed char.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17687
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 6 Feb 1998 01:18:06 +0000 (01:18 +0000)]
* dwarf2out.c: Add old_args_size.
(dwarf2out_args_size): Use it.
(dwarf2out_begin_prologue): Initialize it.
(dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
pushed args until we see a call.
* final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
before outputting them.
* cplus-dem.c (demangle_template_template_parm): New function.
(demangle_template): Handle template template parameters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17685
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 6 Feb 1998 00:39:51 +0000 (00:39 +0000)]
* calls.c (expand_call): Don't confuse member functions named
realloc, setjmp, and so forth with the standard library
functions of the same names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17684
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 6 Feb 1998 00:34:54 +0000 (00:34 +0000)]
* Makefile.in (piclist): Check value of enable_shared, not PICFLAG.
(stmp-string, ...): Dito.
(bigstmp-string, ...): Dito.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17683
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 6 Feb 1998 00:34:27 +0000 (00:34 +0000)]
* config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.
(.c.o): Check value of enable_shared, not PICFLAG.
(.C.o): Dito.
(.cc.o): Dito.
(stamp-picdir): Dito.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17682
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 6 Feb 1998 00:33:49 +0000 (00:33 +0000)]
* Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
(.c.o): Check value of enable_shared, not PICFLAG.
(stamp-picdir): Dito.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17681
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 6 Feb 1998 00:33:04 +0000 (00:33 +0000)]
* Makefile.in (BASE_FLAGS_TO_PASS): Don't pass PICFLAG and
PICFLAG_FOR_TARGET.
(EXTRA_TARGET_FLAGS): Don't pass PICFLAG_FOR_TARGET.
* configure: Emit a definition for the new macro enable_shared
into each Makefile.
* config/mh-sparcpic (PICFLAG): Define to properly according
to current multilib configuration.
* config/mt-sparcpic (PICFLAG_FOR_TARGET): Define to properly
according to current multilib configuration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17680
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 5 Feb 1998 23:14:58 +0000 (23:14 +0000)]
Tweak last entry "no output operands" instead of "no operands".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17678
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 5 Feb 1998 20:59:44 +0000 (20:59 +0000)]
* stmt.c (expand_asm_operands): Correctly identify asm statements
no operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17673
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 5 Feb 1998 20:54:49 +0000 (20:54 +0000)]
* c-common.c (decl_attributes): Flag unrecognized attribute
functions as warnings instead of as errors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17672
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 5 Feb 1998 20:49:54 +0000 (20:49 +0000)]
* integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
when -Os is specified.
* toplev.c (main): Don't disable flag_inline_functions anymore when
-Os is in effect.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17671
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 5 Feb 1998 18:48:20 +0000 (18:48 +0000)]
* search.c (compute_access): Handle protected constructors in derived
classes as accessible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17670
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 5 Feb 1998 16:34:02 +0000 (16:34 +0000)]
* regmove.c: Update.
* flags.h (flag_regmove): Declare.
* rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
* local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
Moved into regmove; changed caller.
* toplev.c (rest_of_compilation): Call regmove_optimize also for
expensive_optimizations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17669
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 5 Feb 1998 14:09:45 +0000 (14:09 +0000)]
Update David Love's entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17668
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 5 Feb 1998 13:55:13 +0000 (13:55 +0000)]
Document change in 3rd argument to DEFTREECODE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17667
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 5 Feb 1998 13:45:46 +0000 (13:45 +0000)]
Fix lossage after snapshot sed tweak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17665
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 5 Feb 1998 13:38:44 +0000 (13:38 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17664
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 4 Feb 1998 17:48:38 +0000 (17:48 +0000)]
Undo this change (the problem was actually in reload):
Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.md (movqi_i+1): New peephole.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17663
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 4 Feb 1998 01:29:33 +0000 (01:29 +0000)]
* expr.c (cplus_expand_expr, PCC_STATIC_STRUCT_RETURN code):
Call convert_from_reference sooner.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17659
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 3 Feb 1998 23:57:24 +0000 (23:57 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17654
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 3 Feb 1998 23:55:27 +0000 (23:55 +0000)]
* cvt.c (ocp_convert): Obtain the constant values from constant
decls even if the destination type is the same as the type of the
decl.
* decl2.c (finish_file): Make sure that static inlines with
definitions are not marked DECL_EXTERNAL before returning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17653
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 3 Feb 1998 22:52:45 +0000 (22:52 +0000)]
* decl.c: Lose arg_looking_for_template.
(lookup_name_real): Likewise.
* parse.y: Lose processing_template_arg, template_arg1
(primary): Likewise.
* spew.c (yylex): Set lastiddecl for PTYPENAMEs, too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17651
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 3 Feb 1998 22:30:26 +0000 (22:30 +0000)]
* error.c (dump_decl): Fix type of default arguments for template
template parameters and nontype template parameters.
* parse.y (template_parm): Handle invalid default template
template arguments here.
* parse.y (template_parm): Use template_arg instead of PTYPENAME
for default template template argument.
* pt.c (coerce_template_parms): Merge default template argument
codes. Can treat RECORD_TYPE as template name if it is implicitly
created. Fix argument index in error message.
* typeck.c (comptypes): Merge template argument comparison codes in
TEMPLATE_TEMPLATE_PARM and RECORD_TYPE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17650
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 3 Feb 1998 21:35:30 +0000 (21:35 +0000)]
Flip expectedness for some linux systems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17645
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 3 Feb 1998 21:19:59 +0000 (21:19 +0000)]
* jump.c (jump_optimize): Lose calls to modified_in_p they are
not needed anymore due to changes elsewhere in jump.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17644
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 3 Feb 1998 21:14:51 +0000 (21:14 +0000)]
Tweak some more.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17643
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 3 Feb 1998 20:13:42 +0000 (20:13 +0000)]
* config-lang.in: Remove references to runtime/.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17635
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 3 Feb 1998 19:57:57 +0000 (19:57 +0000)]
* lex.c (file_name_nondirectory): Also check for '/'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17634
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Tue, 3 Feb 1998 15:06:43 +0000 (15:06 +0000)]
Test commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17624
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 3 Feb 1998 14:49:59 +0000 (14:49 +0000)]
More tweaks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17623
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 3 Feb 1998 09:46:44 +0000 (09:46 +0000)]
Change lawcs.utah.edu references to law@cygnus.com
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17615
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 3 Feb 1998 09:44:23 +0000 (09:44 +0000)]
put me down for caller-save.c which I largely rewrote a few years ago...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17614
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 3 Feb 1998 01:33:18 +0000 (01:33 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17612
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 3 Feb 1998 01:33:09 +0000 (01:33 +0000)]
* parse.y (primary): Deal with statement-expressions in
templates.
* pt.c (tsubst_copy): Handle BIND_EXPR.
* tree.c (mapcar): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17611
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 3 Feb 1998 00:09:57 +0000 (00:09 +0000)]
* jump.c (jump_optimize): Fix first arg to modified_in_p in
previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17610
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 2 Feb 1998 23:44:19 +0000 (23:44 +0000)]
* call.c (add_template_candidate_real): Pass extra parameter to
fn_type_unification.
* cp-tree.h (fn_type_unification): Add parameter.
* pt.c (fn_type_unification): Add additional parameter to deal with
static member functions.
(get_bindings): Deal with static member functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17609
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 2 Feb 1998 23:03:30 +0000 (23:03 +0000)]
Note location of comp.std.c++ FAQ
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17608
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 2 Feb 1998 21:07:43 +0000 (21:07 +0000)]
Add Andrew.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17604
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 2 Feb 1998 19:28:57 +0000 (19:28 +0000)]
* expr.c (expand_builtin_setjmp): Accept two new arguments for
the labels to branch to on first and subsequent executions. Don't
play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
and provide it with the jmp_buf. Use only one of
`builtin_setjmp_receiver' or `nonlocal_goto_receiver',
and provide the former with the target label.
(expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
(expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
(expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
insn to replace all of the normal nonlocal_goto code. Don't play
with __dummy. Correct arguments to nonlocal_goto.
* expr.h (expand_builtin_setjmp): Update prototype.
* except.c (start_dynamic_handler): When using builtin_setjmp,
generate more accurate flow information.
* alpha.md (nonlocal_goto_receiver_osf): Delete.
(nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
(builtin_longjmp, builtin_setjmp_receiver): New.
* sparc.md (update_return): Disambiguate unspec number.
(nonlocal_goto): Rearrange arguments to match caller in except.c.
(builtin_setjmp_setup): Rename from setjmp. Match and ignore the
jmp_buf operand.
* mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
(builtin_setjmp_setup*, builtin_longjmp): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17602
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 2 Feb 1998 16:44:24 +0000 (16:44 +0000)]
Patch from John Carr to fix some 32/64 bit cross compiler bugs.
* mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17601
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 2 Feb 1998 15:53:17 +0000 (15:53 +0000)]
Various updates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17600
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 2 Feb 1998 13:09:22 +0000 (13:09 +0000)]
Remove last of bytecode support.
* vmsconfig.com: Remove bytecode references.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17599
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 2 Feb 1998 11:41:39 +0000 (11:41 +0000)]
* cp-tree.h (DECL_NONSTATIC_MEMBER_FUNCTION_P): New macro.
(revert_static_member_fn): Declare.
* decl.c (revert_static_member_fn): Remove declaration. Change
linkage from internal to external.
(cp_finish_decl): Deal with virtual functions in classes local to
template functions.
* decl2.c (finish_file): Don't forget to emit increment/decrement
expressions in initializers for file-scope variables.
* parse.y (typename_sub2): If the typename doesn't names a
template, rather than a type, issue an error message.
* pt.c (check_explicit_specialization): Handle specializations of
static member functions.
(coerce_template_parms): Handle offset references to lists of
member functions.
* search.c (note_debug_info_needed): Don't crash when handed a
type which is being defined.
* typeck.c (complete_type): Don't crash when handed NULL_TREE;
that can happen with some illegal code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17598
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 2 Feb 1998 11:09:23 +0000 (11:09 +0000)]
* configure.in: Update F2C_INTEGER and F2C_LONGINT tests
for the new placement in the hierarchy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17597
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 2 Feb 1998 10:26:33 +0000 (10:26 +0000)]
* dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
-fno-sjlj-exceptions works for a target that defines
DWARF2_UNWIND_INFO as zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17596
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 2 Feb 1998 10:23:22 +0000 (10:23 +0000)]
* regmove.c (fixup_match_1): Undo last change which removed some
"useless" code, and add a comment explaining this.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17595
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 2 Feb 1998 09:46:21 +0000 (09:46 +0000)]
* mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
to TARGET_LONG64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17594
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 2 Feb 1998 09:37:18 +0000 (09:37 +0000)]
* makefile.vms: Remove bytecode references.
Create genrtl files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17593
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 2 Feb 1998 09:33:14 +0000 (09:33 +0000)]
Tweak again.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17592
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 2 Feb 1998 01:09:04 +0000 (01:09 +0000)]
* jump.c (jump_optimize): Allow conditional loading of floating point
constants and constants from memory. Reinstalled modified_in_p tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17591
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 2 Feb 1998 00:37:25 +0000 (00:37 +0000)]
* loop.c (get_condition): Handle sign-extended constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17590
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 2 Feb 1998 00:23:13 +0000 (00:23 +0000)]
* expr.c (emit_push_insn): Add code to use movstrti if present.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17589
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 2 Feb 1998 00:21:46 +0000 (00:21 +0000)]
* expr.c (emit_push_insn): Use same max-move-amount for movstrhi
and movstrqi as in emit_block_move ().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17588
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 2 Feb 1998 00:17:02 +0000 (00:17 +0000)]
Improve movstrXX documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17587
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 2 Feb 1998 00:04:13 +0000 (00:04 +0000)]
Various fixes for -Wall problems from Kaveh. See ChangeLog for details.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17586
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 1 Feb 1998 23:08:28 +0000 (23:08 +0000)]
* config/m68k/x-next: Remove /NextDeveloper/Headers from
the directories to fixinclude - /usr/include is a link
to it and hence its contents are fixed by default.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17585
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 1 Feb 1998 23:06:22 +0000 (23:06 +0000)]
Fix typo in hj's ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17584
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 1 Feb 1998 13:14:01 +0000 (13:14 +0000)]
* rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17583
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 1 Feb 1998 12:44:52 +0000 (12:44 +0000)]
* iostream.cc (istream::operator>>(long double&))
[!_G_HAVE_LONG_DOUBLE_IO]: Scan value into separate variable, in
case long double is bigger than double.
(ostream::operator<<(double)) [_G_HAVE_PRINTF_FP]: Fix order of
initializers of struct printf_info to match declaration order,
to work around g++ bug.
(ostream::operator<<(long double)) [_G_HAVE_PRINTF_FP]: Likewise.
* gen-params: Add missing quotes. Avoid useless use of command
substitution.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17582
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 1 Feb 1998 12:38:27 +0000 (12:38 +0000)]
* config/linux.mt: Don't define _PTHREADS, but define
_IO_MTSAFE_IO.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17581
138bc75d-0d04-0410-961f-
82ee72b054a4