mmitchel [Wed, 26 Aug 1998 13:55:47 +0000 (13:55 +0000)]
* cp-tree.h (finish_enum): Change prototype.
* decl.c (finish_enum): Use TYPE_VALUES, rather than taking a
VALUES parameter. Don't try to compute mins/maxs if
processing_template_decl.
* parse.y (structsp): Use new calling sequence for finish_enum.
* pt.c (tsubst_enum): Likewise. Take the new type as input.
(lookup_template_class): Remove unused variables. Tweak.
Register enums on instantiation list before substituting
enumeration constants.
(tsubst_decl): Remove unused variables.
(regenerate_decl_from_template): Likewise.
* decl.c (duplicate_decls): Don't obliterate the
DECL_TEMPLATE_INFO for a template if we're not replacing it with
anything.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22004
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 26 Aug 1998 12:45:15 +0000 (12:45 +0000)]
* lex.c (do_identifier): Fix typo in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22003
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 26 Aug 1998 12:16:54 +0000 (12:16 +0000)]
Do not move register a4 into lr if lr already contains the return address.
CVS: ----------------------------------------------------------------------
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22002
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 26 Aug 1998 11:58:20 +0000 (11:58 +0000)]
* mn10300.h (RTX_COSTS): Handle UDIV and UMOD too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22001
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 26 Aug 1998 08:40:47 +0000 (08:40 +0000)]
* loop.c (check_dbra_loop): Add some code that would allow reversal
of some loops without a known constant loop end if it were enabled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22000
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 26 Aug 1998 08:19:18 +0000 (08:19 +0000)]
Document overflow bug in check_dbra_loop:
* execute/loop-4b.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21999
138bc75d-0d04-0410-961f-
82ee72b054a4
gavin [Wed, 26 Aug 1998 08:16:23 +0000 (08:16 +0000)]
* mips.md (lshrsi3_internal2+2): Fix type-o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21998
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 26 Aug 1998 08:11:47 +0000 (08:11 +0000)]
* system.h: Include stdarg.h/varargs.h, make sure they are ordered
correctly with regards to stdio.h.
* calls.c: Remove stdarg.h/varargs.h.
* cccp.c: Likewise.
* cexp.y: Likewise.
* combine.c: Likewise.
* cpperror.c: Likewise.
* cpplib.c: Likewise.
* cpplib.h: Likewise.
* doprint.c: Likewise.
* emit-rtl.c: Likewise.
* final.c: Likewise.
* fix-header.c: Likewise.
* gcc.c: Likewise.
* genattr.c: Likewise.
* genattrtab.c: Likewise.
* gencodes.c: Likewise.
* genconfig.c: Likewise.
* genemit.c: Likewise.
* genextract.c: Likewise.
* genflags.c: Likewise.
* genopinit.c: Likewise.
* genoutput.c: Likewise.
* genpeep.c: Likewise.
* genrecog.c: Likewise.
* mips-tfile.c: Likewise.
* prefix.c: Likewise.
* protoize.c: Likewise.
* regmove.c: Likewise.
* toplev.c: Likewise.
* tree.c: Likewise.
* cp/errfn.c: Remove stdarg.h/varargs.h.
* cp/tree.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21997
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Wed, 26 Aug 1998 06:19:46 +0000 (06:19 +0000)]
* config/sparc/sparc.c (sparc_override_options): If not
TARGET_FPU, turn off TARGET_VIS.
* config/sparc/sparc.h (TARGET_SWITCHES): Add no-vis.
(LEGITIMATE_CONSTANT_P): Allow SF/DF mode zero when TARGET_VIS.
* config/sparc/sparc.md (movsi_insn): Use fzeros not fzero.
(movdi_insn_sp64): Add VIS fzero alternative.
(clear_sf, clear_df): New VIS patterns.
(movsf, movdf expanders): Allow fp_zero_operand flat out when
TARGET_VIS.
(one_cmpldi2_sp64): Provide new fnot1 VIS alternative.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21996
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Wed, 26 Aug 1998 04:27:57 +0000 (04:27 +0000)]
This change was certainly tested...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21995
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 26 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21993
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 23:36:47 +0000 (23:36 +0000)]
* g77.texi: Increment `version-g77' and fix a few typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21992
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 23:36:46 +0000 (23:36 +0000)]
�
* g77.texi: Increment `version-g77' and fix a few typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21991
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 23:35:58 +0000 (23:35 +0000)]
Split up the ChangeLog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21990
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 23:21:02 +0000 (23:21 +0000)]
Reorganize FSF/GCC2 ChangeLogs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21987
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 25 Aug 1998 23:17:35 +0000 (23:17 +0000)]
* loop.c (n_times_set, n_times_used, may_not_optimize,
reg_single_usage): Convert to varrays. All uses changed.
(insert_loop_mem): Return a value.
(scan_loop): Tweak AVOID_CC_MODE_COPIES code.
(load_mems_and_recount_loop_regs_set): Likewise. Grow the arrays, if
necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21986
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 23:07:46 +0000 (23:07 +0000)]
* From Alexandre:
* configure.in: Do not set thread_file to "irix" since no such
support exists yet.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21985
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 22:59:06 +0000 (22:59 +0000)]
8
* sparc.md (float abs/neg splits): Check reload_completed before
calling alter_subreg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21983
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 22:59:03 +0000 (22:59 +0000)]
* sparc.md (float abs/neg splits): Check reload_completed before
calling alter_subreg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21982
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Tue, 25 Aug 1998 20:25:02 +0000 (20:25 +0000)]
* config/sparc/sparc.c (sparc_absnegfloat_split_legitimate): New
function.
* config/sparc/sparc.h: Declare it.
* config/sparc/sparc.md (float abs/neg splits): Use it.
(all other splits): Handle SUBREGs properly where necessary.
(unnamed (1<<x)-1 V8PLUS pattern): Disable for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21981
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Tue, 25 Aug 1998 18:52:45 +0000 (18:52 +0000)]
* pt.c (tsubst_copy): Only do typename overloading on an
IDENTIFIER_NODE that happens to look like a typename if it actually
has a type for us to use.
avoid problems w/ SGI STL headers that have variables like __opr or __op1
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21978
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 18:50:26 +0000 (18:50 +0000)]
* reorg.c (fill_simple_delay_slots): Do not abort if we encounter
an insn on the unfilled_slots_list that has no delay slots.
(fill_eager_delay_slots): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21977
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 18:43:10 +0000 (18:43 +0000)]
* gcc.c-torture/compile/980825-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21975
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 25 Aug 1998 17:17:51 +0000 (17:17 +0000)]
* typeck.c (comp_cv_target_types): Split out...
(comp_target_types): From here. Don't allow cv-qual changes under
a pointer if nptrs == 0. Fix OFFSET_TYPE handling.
(build_ptrmemfunc): Pass 1 to nptrs.
* cvt.c (perform_qualification_conversions): Use comp_ptr_ttypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21974
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Tue, 25 Aug 1998 14:39:39 +0000 (14:39 +0000)]
(_IO_getline_info): Don't read anything for N==0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21973
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 25 Aug 1998 13:36:14 +0000 (13:36 +0000)]
Fi xexecute/bcp-1.c: Treat CONSTANT_P_RTX as a general operand in movsi.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21972
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 25 Aug 1998 13:09:57 +0000 (13:09 +0000)]
* search.c (dependent_base_p): Don't compare a binfo to
current_class_type; use the TREE_TYPE of the binfo instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21971
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 25 Aug 1998 12:55:42 +0000 (12:55 +0000)]
* tree.c (valid_machine_attribute): Don't apply attributes to both
decl and type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21970
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 25 Aug 1998 12:24:31 +0000 (12:24 +0000)]
Oops. forgot to kill the >>> from the conflict.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21969
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 25 Aug 1998 12:23:51 +0000 (12:23 +0000)]
* reload.c (operands_match_p): Handle rtvecs.
* i386.c (legitimate_pic_address_disp_p): New.
(legitimate_address_p): Use it.
(legitimize_pic_address): Use unspecs to represent @GOT and @GOTOFF.
Handle constant pool symbols just like statics.
(emit_pic_move): Use Pmode not SImode for clarity.
(output_pic_addr_const) [SYMBOL_REF]: Remove @GOT and @GOTOFF hacks.
[UNSPEC]: New, handling what we killed above.
[PLUS]: Detect and abort on invalid symbol arithmetic.
* i386.h (CONSTANT_ADDRESS_P): Remove HIGH.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21968
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 25 Aug 1998 12:01:52 +0000 (12:01 +0000)]
* alias.c: Include output.h.
(DIFFERENT_ALIAS_SETS_P): Don't treat alias sets as
different if we're in a varargs function.
* Makefile.in (alias.o): Depend on output.h
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21967
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Tue, 25 Aug 1998 11:43:35 +0000 (11:43 +0000)]
* sh.h (GIV_SORT_CRITERION): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21966
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 25 Aug 1998 11:34:22 +0000 (11:34 +0000)]
* cp-tree.h (CLASS_TYPE_P): Revise definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21965
138bc75d-0d04-0410-961f-
82ee72b054a4
brolley [Tue, 25 Aug 1998 11:02:51 +0000 (11:02 +0000)]
PR gcc/16300
Tue Aug 25 13:19:46 1998 Dave Brolley <brolley@cygnus.com>
* regclass.c (regclass): Use xmalloc/free instead of alloca.
* stupid.c (stupid_life_analysis): Ditto.
* reload1.c (reload): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21964
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Tue, 25 Aug 1998 06:56:57 +0000 (06:56 +0000)]
* config/sparc/sparc.c (arith_4096_operand, arith_add_operand,
arith_double_4096_operand, arith_double_add_operand): New
predicates.
* config/sparc/sparc.h (PREDICATE_CODES): Add them, declare them.
* config/sparc/sparc.md (adddi3, addsi3, subdi3, subsi3): Use
them to transform add/sub 4096 into add/sub -4096.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21961
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Tue, 25 Aug 1998 02:08:49 +0000 (02:08 +0000)]
Remove __HONOR_STD
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21960
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 25 Aug 1998 01:59:48 +0000 (01:59 +0000)]
* decl.c (duplicate_decls): Don't complain about different
exceptions from an internal decl even if pedantic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21959
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 25 Aug 1998 01:48:47 +0000 (01:48 +0000)]
* typeck.c (convert_for_assignment): Converting from pm of vbase
to derived is an error, not a sorry.
* call.c (build_over_call): Use convert_pointer_to_real for 'this'.
* class.c (fixed_type_or_null): Rename from
resolves_to_fixed_type_p. Return the dynamic type of the
expression, if fixed, or null.
(resolves_to_fixed_type_p): Use it. Return 0 if the dynamic type
does not match the static type.
(build_vbase_path): Rename 'alias_this' to 'nonnull'. Use
resolves_to_fixed_type_p again.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21958
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 00:45:32 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21956
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Tue, 25 Aug 1998 00:37:12 +0000 (00:37 +0000)]
* loop.c (scan_loop): Allocate some slop to handle pseudos
generated by move_movables.
(load_mems_and_recount_loop_regs_set): Honor AVOID_CC_MODE_COPIES
here too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21955
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 24 Aug 1998 19:46:49 +0000 (19:46 +0000)]
* tree.def (DECL_RESULT): Correct documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21954
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 24 Aug 1998 19:44:48 +0000 (19:44 +0000)]
* pt.c (tsubst_decl): Move special case code for dealing with
tricky friend templates here from ...
(regenerate_decl_from_template): Here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21953
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 24 Aug 1998 17:19:55 +0000 (17:19 +0000)]
* reload1.c (reload_reg_free_before_p): New argument EQUIV; Changed
all callers. Abort for RELOAD_FOR_INSN. RELOAD_FOR_OUTADDR_ADDR:
conflicts will all RELOAD_FOR_OUTPUT reloads.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21952
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 24 Aug 1998 17:03:34 +0000 (17:03 +0000)]
* reload1.c (reload_cse_regs_1): When deleting a no-op move that
loads the function result, substitute with a USE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21951
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 24 Aug 1998 16:31:38 +0000 (16:31 +0000)]
* decl.c (start_decl): Remove redundant linkage check.
* typeck.c (c_expand_return): Handle the case that valtype
is wider than the functions return type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21950
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 24 Aug 1998 15:39:58 +0000 (15:39 +0000)]
Mon Aug 24 16:38:52 1998 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/930326-1.x: Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21949
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 24 Aug 1998 14:21:27 +0000 (14:21 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21948
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 24 Aug 1998 12:32:03 +0000 (12:32 +0000)]
* rs6000.h (GO_IF_LEGITIMATE_ADDRESS): Use TARGET_POWERPC64
when testing LEGITIMATE_INDEXED_ADDRESS_P DFmode and DImode.
(LEGITIMIZE_ADDRESS): Use TARGET_POWERPC64 for INDEXED fixup.
* rs6000.c (print_operand, case 'L'): Add UNITS_PER_WORD, not 4.
(print_operand, cases 'O' and 'T'): Fix typos in lossage strings.
* rs6000.md (fix_truncdfsi2_store): Remove %w from non-CONST_INT
operand.
(movdf_softfloat32, movdf_hardfloat64, movdf_softfloat64): Change
'o' to 'm' for GPR variant constraints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21947
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 24 Aug 1998 12:07:58 +0000 (12:07 +0000)]
* pt.c (process_template_parm): Undo previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21946
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 24 Aug 1998 12:04:39 +0000 (12:04 +0000)]
* cp-tree.h (CLASS_TYPE_P): New macro.
* decl.c (grokdeclarator): Use it instead of IS_AGGR_TYPE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21945
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 24 Aug 1998 11:57:29 +0000 (11:57 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21944
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 24 Aug 1998 11:57:09 +0000 (11:57 +0000)]
�
1998-08-24 Benjamin Kosnik <bkoz@cygnus.com>
* cp-tree.h: Declare.
* pt.c (decl_template_parm_p): New function.
* decl.c (pushdecl): Check decls for redeclaring template parms.
(xref_tag): Make redeclaration an error, print decl.
* decl2.c (grokfield): Check field_decls for redeclaration as well.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21943
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 24 Aug 1998 11:57:04 +0000 (11:57 +0000)]
h
1998-08-24 Benjamin Kosnik <bkoz@cygnus.com>
* cp-tree.h: Declare.
* pt.c (decl_template_parm_p): New function.
* decl.c (pushdecl): Check decls for redeclaring template parms.
(xref_tag): Make redeclaration an error, print decl.
* decl2.c (grokfield): Check field_decls for redeclaration as well.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21942
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 24 Aug 1998 11:57:02 +0000 (11:57 +0000)]
�
1998-08-24 Benjamin Kosnik <bkoz@cygnus.com>
* cp-tree.h: Declare.
* pt.c (decl_template_parm_p): New function.
* decl.c (pushdecl): Check decls for redeclaring template parms.
(xref_tag): Make redeclaration an error, print decl.
* decl2.c (grokfield): Check field_decls for redeclaration as well.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21941
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 24 Aug 1998 11:27:27 +0000 (11:27 +0000)]
comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21940
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 24 Aug 1998 11:25:21 +0000 (11:25 +0000)]
* parse.y (primary): Fix up the type of string constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21939
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 24 Aug 1998 11:12:27 +0000 (11:12 +0000)]
* typeck.c (convert_for_initialization): Move check for odd uses
of NULL to avoid duplicate warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21938
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Mon, 24 Aug 1998 11:10:03 +0000 (11:10 +0000)]
Update Bug Reporting to allow compression, and to recommend --save-temps
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21937
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 24 Aug 1998 11:09:10 +0000 (11:09 +0000)]
Opps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21936
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 24 Aug 1998 11:06:09 +0000 (11:06 +0000)]
* loop.c (scan_loop): Honor AVOID_CC_MODE_COPIES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21935
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 24 Aug 1998 10:26:45 +0000 (10:26 +0000)]
* h8300.h (STRIP_NAME_ENCODING): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21934
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 24 Aug 1998 10:01:01 +0000 (10:01 +0000)]
* sparc.md (TFmode splits): Use reg_overlap_mentioned_p to detect
when the source and destination overlap.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21933
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 24 Aug 1998 09:27:39 +0000 (09:27 +0000)]
8
* stmt.c (emit_case_nodes): Change rtx_function to rtx_fn to avoid
clash with global type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21932
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 24 Aug 1998 09:27:36 +0000 (09:27 +0000)]
�
* stmt.c (emit_case_nodes): Change rtx_function to rtx_fn to avoid
clash with global type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21931
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Mon, 24 Aug 1998 08:51:17 +0000 (08:51 +0000)]
`
980310-1.C eb71.C : replace hardcoded "-typedef unsigned int size_t"
with "typedef __SIZE_TYPE__ size_t".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21930
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Mon, 24 Aug 1998 08:51:16 +0000 (08:51 +0000)]
/
980310-1.C eb71.C : replace hardcoded "-typedef unsigned int size_t"
with "typedef __SIZE_TYPE__ size_t".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21929
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 24 Aug 1998 02:08:45 +0000 (02:08 +0000)]
* c-common.c (combine_strings): Also set TREE_READONLY.
Change warn_write_strings to flag_const_strings.
* c-decl.c, c-tree.h: Likewise.
cp/
* tree.c (lvalue_type): Fix for arrays.
* typeck.c (string_conv_p): New fn.
(convert_for_assignment): Use it.
(build_unary_op): Use lvalue_type.
* call.c (standard_conversion, convert_like): Use string_conv_p.
(add_function_candidate): Use lvalue_type.
* cvt.c (convert_to_reference): Likewise.
* decl2.c (lang_decode_option): Ignore -traditional.
* decl.c (init_decl_processing): flag_writable_strings inhibits
flag_const_strings.
* lang-options.h (lang_options): Add fconst-strings to the list
of valid options.
* decl2.c (lang_f_options, lang_decode_option): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21928
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 24 Aug 1998 02:05:51 +0000 (02:05 +0000)]
* search.c (my_tree_cons): Reimplement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21927
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 24 Aug 1998 02:00:27 +0000 (02:00 +0000)]
* lex.c (real_yylex): Don't warn about long long constants if
we're allowing long long.
* decl.c (pushdecl): Use IDENTIFIER_NAMESPACE_VALUE instead of
accessing bindings directly.
* lang-specs.h: Remove __HONOR_STD.
* inc/exception, inc/new, inc/new.h, inc/typeinfo: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21926
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 24 Aug 1998 00:54:37 +0000 (00:54 +0000)]
* fixinc.irix: Add curses.h handling from fixinc.wrap.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21923
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 24 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21921
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sun, 23 Aug 1998 23:03:03 +0000 (23:03 +0000)]
Fix thinko in previous commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21920
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sun, 23 Aug 1998 19:48:11 +0000 (19:48 +0000)]
* config/sparc/sparc.c (sparc_emit_set_const32): If outputting a
CONST_INT, not a symbolic reference, don't use a HIGH/LO_SUM
sequence, use SET/IOR instead so CSE can see it.
* config/sparc/sparc.md (movhi_const64_special,
movsi_const64_special): New patterns necessitated by that change.
(movhi_high): Remove.
(movhi_lo_sum): Change to match an IOR.
(movdf_insn_sp32): Test TARGET_V9 not TARGET_ARCH64.
(movdf_insn_v9only): New pattern for when V9 but not ARCH64.
(movdf_insn_sp64): Test both TARGET_V9 and TARGET_ARCH64.
(movdf splits): Allow when not V9 or when not ARCH64 and integer
registers are involved.
(snesi_zero_extend split): Remove reload_completed test.
(unnamed plus and minus zero_extend sidi splits): Add it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21919
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 23 Aug 1998 15:29:09 +0000 (15:29 +0000)]
* lib/old-dejagnu.exp: Make it possible to XFAIL a test that
causes an ICE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21918
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 23 Aug 1998 15:21:34 +0000 (15:21 +0000)]
* lib/old-dejagnu.exp: Make it possible to XFAIL a test that
causes an ICE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21917
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 23 Aug 1998 14:40:50 +0000 (14:40 +0000)]
* decl.c (grokdeclarator): Complain about in-class initialization
of aggregates and/or references.
* pt.c (process_template_parm): Clear IS_AGGR_TYPE for
TEMPLATE_TYPE_PARMs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21916
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 23 Aug 1998 12:47:24 +0000 (12:47 +0000)]
* iomanip.h: Use __extension__ for `extern' explicit template
instantiations.
* sinst.cc: Don't explicitly instantiation string_char_traits<char>.
* cinst.cc: Likewiwse, for complex<float>, complex<double>,
complex<long double>.
* extend.texi: Remove description of extension to explicit
instantiation that is now endorsed by standard C++.
* decl2.c (grok_array_decl): Add comment.
(mark_used): Don't instantiate an explicit instantiation.
* friend.c (make_friend_class): Remove bogus comment. Fix check
for partial specializations.
* pt.c (check_explicit_specialization): Don't
SET_DECL_EXPLICIT_INSTANTIATION here.
(mark_decl_instantiated): Or here.
(do_decl_instantiation): Do it here, instead. Add checks for
duplicate explicit instantiations, etc. Tidy.
(do_type_instantiation): Likewise.
(instantiate_decl): Improve comments. Complain about explicit
instantiations where no definition is available.
* cp-tree.h (ansi_null_node): Remove.
* call.c (build_over_call): Warn about converting NULL to an
arithmetic type.
* cvt.c (build_expr_type_conversion): Likewise. Use
null_ptr_cst_p instead of expanding it inline.
* decl.c (ansi_null_node): Remove.
(init_decl_processing): Make null_node always have integral type.
* except.c (build_throw): Warn about converting NULL to an
arithmetic type.
* lex.c (init_parse): Remove handling of ansi_null_node.
* pt.c (type_unification_real): Don't convert NULL to void* type.
* typeck.c (build_binary_op_nodefault): Fix NULL warnings.
(convert_for_assignment): Warn about converting NULL to an
arithmetic type.
(convert_for_initialization): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21915
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sun, 23 Aug 1998 10:43:54 +0000 (10:43 +0000)]
* config/arc/arc.c (arc_initialize_pic): Remove.
* config/arc/arc.h (INITIALIZE_PIC): Similarly, this routine does
nothing on any platform and is invoked by no-one, it does not even
appear in the documentation.
* config/sparc/sparc.h (INITIALIZE_PIC): Likewise.
* config/sparc/sparc.c (initialize_pic): Likewise.
(find_addr_reg): Remove this as well, no longer referenced after
my rewrite.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21914
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 23 Aug 1998 00:45:01 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21912
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 22 Aug 1998 23:21:24 +0000 (23:21 +0000)]
�
* recog.c (validate_replace_rtx_group): New function.
* recog.h (validate_replace_rtx_group): Declare it.
* regmove.c (optimize_reg_copy_3): If any substitution fails, then undo
the entire group of substitutions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21910
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 22 Aug 1998 23:21:23 +0000 (23:21 +0000)]
�
* recog.c (validate_replace_rtx_group): New function.
* recog.h (validate_replace_rtx_group): Declare it.
* regmove.c (optimize_reg_copy_3): If any substitution fails, then undo
the entire group of substitutions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21909
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 22 Aug 1998 23:21:19 +0000 (23:21 +0000)]
�
* recog.c (validate_replace_rtx_group): New function.
* recog.h (validate_replace_rtx_group): Declare it.
* regmove.c (optimize_reg_copy_3): If any substitution fails, then undo
the entire group of substitutions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21908
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 22 Aug 1998 22:32:55 +0000 (22:32 +0000)]
�
* loop.c (load_mems): Fix initializers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21907
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 22 Aug 1998 22:32:53 +0000 (22:32 +0000)]
(
* loop.c (load_mems): Fix initializers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21906
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 22 Aug 1998 04:53:45 +0000 (04:53 +0000)]
Fix thinko in this change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21905
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 22 Aug 1998 03:17:56 +0000 (03:17 +0000)]
* expmed.c (make_tree) [CONST_INT]: Sign extend even if
TREE_UNSIGNED, when bitsize of type's mode is larger than
HOST_BITS_PER_WIDE_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21904
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 22 Aug 1998 00:45:01 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21902
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 22 Aug 1998 00:11:24 +0000 (00:11 +0000)]
* config/sparc/sparc.md (TFmode splits): Handle destination
registers being referenced in the address correctly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21901
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 21 Aug 1998 23:30:36 +0000 (23:30 +0000)]
* gcc.c-torture/unsorted/memtst.c: Reduce size of array when
STACK_SIZE is defined.
* gcc.c-torture/unsorted/stuct.c: Similarly.
Makes targets with 16bit address spaces happy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21900
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 21 Aug 1998 23:00:36 +0000 (23:00 +0000)]
* gcc.c-torture/compile/980821-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21899
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 21 Aug 1998 19:32:21 +0000 (19:32 +0000)]
�
* tree.def (LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR): New tree nodes.
* tree.h (LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
EXIT_BLOCK_LABELED_BLOCK, EXIT_BLOCK_RETURN, LOOP_EXPR_BODY): New
macros.
* expr.c (expand_expr): Handle LABELED_BLOCK_EXPR and
EXIT_BLOCK_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21898
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 21 Aug 1998 19:32:19 +0000 (19:32 +0000)]
�
* tree.def (LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR): New tree nodes.
* tree.h (LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
EXIT_BLOCK_LABELED_BLOCK, EXIT_BLOCK_RETURN, LOOP_EXPR_BODY): New
macros.
* expr.c (expand_expr): Handle LABELED_BLOCK_EXPR and
EXIT_BLOCK_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21897
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 21 Aug 1998 19:32:18 +0000 (19:32 +0000)]
�
* tree.def (LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR): New tree nodes.
* tree.h (LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
EXIT_BLOCK_LABELED_BLOCK, EXIT_BLOCK_RETURN, LOOP_EXPR_BODY): New
macros.
* expr.c (expand_expr): Handle LABELED_BLOCK_EXPR and
EXIT_BLOCK_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21896
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 21 Aug 1998 19:32:16 +0000 (19:32 +0000)]
�
* tree.def (LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR): New tree nodes.
* tree.h (LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
EXIT_BLOCK_LABELED_BLOCK, EXIT_BLOCK_RETURN, LOOP_EXPR_BODY): New
macros.
* expr.c (expand_expr): Handle LABELED_BLOCK_EXPR and
EXIT_BLOCK_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21895
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 21 Aug 1998 02:15:12 +0000 (02:15 +0000)]
* gcc.c-torture/980526-2.c: Disable for targets with 16bit ints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21894
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 21 Aug 1998 02:15:11 +0000 (02:15 +0000)]
�
* gcc.c-torture/980526-2.c: Disable for targets with 16bit ints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21893
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 21 Aug 1998 02:07:01 +0000 (02:07 +0000)]
* h8300.c (h8300_encode_label): Use '&' for tiny data items.
* h8300.h (TINY_DATA_NAME_P): Likewise.
(STRIP_NAME_ENCODING): Handle '&'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21892
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 21 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21890
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Aug 1998 23:48:14 +0000 (23:48 +0000)]
* mn10200.h (REG_OK_FOR_INDEX_P): Do not check the mode of the
register (it could be accessed via an outer SUBREG).
(REG_OK_FOR_BASE_P): Likewwise.
(GO_IF_LEGITIMATE_ADDRESS): Consistently use REGNO_OK_FOR_BASE_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21889
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 20 Aug 1998 23:35:23 +0000 (23:35 +0000)]
oops
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21888
138bc75d-0d04-0410-961f-
82ee72b054a4