Commit Graph

19990 Commits

Author SHA1 Message Date
Jason Merrill
f070035e54 update
From-SVN: r24151
1998-12-07 07:27:51 -05:00
Jason Merrill
2642b9bfd5 decl.c (build_typename_type): Set DECL_ARTIFICIAL.
* decl.c (build_typename_type): Set DECL_ARTIFICIAL.
	* error.c (dump_simple_decl): Also print namespace context.
	(dump_function_decl): Likewise.
	* decl2.c (ambiguous_decl): Don't print old value if it's
	error_mark_node.
	* decl.c (lookup_name_real): Fix handling of local types shadowed
	by a non-type decl.  Remove obsolete code.
	* cp-tree.h (DECL_FUNCTION_SCOPE_P): New macro.
Fixes g++.other/lookup6.C
	* lang-options.h: Add -fpermissive.
	* decl2.c: Likewise.
	* cp-tree.h: Add flag_permissive.
	* decl.c (init_decl_processing): If neither -fpermissive or -pedantic
	were specified, set flag_pedantic_errors.
	* call.c (build_over_call): Turn dropped qualifier messages
	back into pedwarns.
	* cvt.c (convert_to_reference): Likewise.
	* typeck.c (convert_for_assignment): Likewise.

From-SVN: r24150
1998-12-07 07:27:47 -05:00
Nick Clifton
1db9f6ceae Improve -dp output by using tabs and including instruciton lengths
From-SVN: r24149
1998-12-07 11:45:49 +00:00
Michael Hayes
eb6a3bc0b4 loop.c (check_dbra_loop): Fix initial_value and initial_equiv_value in the loop_info structure.
* loop.c (check_dbra_loop): Fix initial_value and initial_equiv_value
        in the loop_info structure.
Should fix -O1 -funroll-loops bootstrap problems.

From-SVN: r24146
1998-12-07 02:56:56 -07:00
Catherine Moore
e6592fffc4 configure.in: (arm*-*-ecos-elf): New target.
Mon Dec  7 09:58:26 1998  Catherine Moore  <clm@cygnus.com>
        * configure.in:  (arm*-*-ecos-elf):  New target.
        * configure:  Regenerated.
        * config/arm/elf.h (ASM_WEAKEN_LABEL):  Define.
        * config/arm/ecos-elf.h:  New file.
        * config/arm/unknown-elf.h (TARGET_VERSION):  Check
        for redefinition.

From-SVN: r24145
1998-12-07 04:15:34 -05:00
J"orn Rennecke
1a953d0f16 * sh.c (output_far_jump): Emit braf only for TARGET_SH2.
From-SVN: r24144
1998-12-07 08:18:29 +00:00
Jeff Law
e253ffc28b Daily bump.
From-SVN: r24142
1998-12-06 17:45:03 -07:00
Per Bothner
0f0d331917 jcf-dump.c (INVOKE): If invokeinterface, print number of args.
* jcf-dump.c (INVOKE):  If invokeinterface, print number of args.

From-SVN: r24140
1998-12-06 05:46:42 -08:00
Jeffrey A Law
8962b4b434 Bump for snapshot
From-SVN: r24132
1998-12-05 21:19:49 -07:00
Michael Hayes
5629b16c01 loop.c (check_dbra_loop): New argument loop_info.
* loop.c (check_dbra_loop): New argument loop_info.  Update fields
        as needed.

From-SVN: r24131
1998-12-05 21:19:20 -07:00
Jeffrey A Law
01bdf1bc98 Bump for snapshot
From-SVN: r24130
1998-12-05 20:40:17 -07:00
Jeff Law
34cc7eff3b Revert accidental checkin from Oct 31 (egad).
From-SVN: r24129
1998-12-05 20:02:47 -07:00
Alexandre Oliva
7dc8c71409 * gcc.dg/ultrasp1.c: New test.
From-SVN: r24127
1998-12-06 02:16:21 +00:00
Alexandre Oliva
badcf91620 gcc.texi (Bug Reporting): 40Kb is a soft limit, larger compressed reports are ok and preferred over URLs
* gcc.texi (Bug Reporting): 40Kb is a soft limit, larger
	compressed reports are ok and preferred over URLs

From-SVN: r24126
1998-12-06 02:01:26 +00:00
Alexandre Oliva
892d0a6dfc * invoke.texi (Warning Options): Soften the tone of -pedantic
From-SVN: r24125
1998-12-06 01:56:01 +00:00
Jason Merrill
e5b0708ab9 sort
From-SVN: r24124
1998-12-05 20:44:12 -05:00
H.J. Lu
cd2c4c543f Forgot to commit.
From-SVN: r24123
1998-12-05 18:35:55 -07:00
Jason Merrill
ee996e9e57 decl2.c (coerce_new_type): Use same_type_p.
* decl2.c (coerce_new_type): Use same_type_p.
	(coerce_delete_type): Likewise.
	* call.c (check_dtor_name): Return 1, not error_mark_node.

From-SVN: r24122
1998-12-05 20:33:10 -05:00
Richard Henderson
02e3377d92 alias.c (memrefs_conflict_p): A second ANDed address disables the aligned address optimization.
* alias.c (memrefs_conflict_p): A second ANDed address
        disables the aligned address optimization.

From-SVN: r24121
1998-12-05 17:23:01 -08:00
Jason Merrill
07f04c9162 update
From-SVN: r24120
1998-12-05 20:21:51 -05:00
Jason Merrill
d3a8b79bc2 fix size_t
From-SVN: r24119
1998-12-05 20:18:21 -05:00
Richard Henderson
11f39bb852 New test.
From-SVN: r24118
1998-12-05 16:46:00 -08:00
Jeff Law
9186280e24 Daily bump.
From-SVN: r24117
1998-12-05 17:45:02 -07:00
H.J. Lu
5edc923076 print-rtl.c (print_rtx): Add prototype.
* print-rtl.c (print_rtx): Add prototype.
        * unroll.c (iteration_info): Make it static.

From-SVN: r24116
1998-12-05 16:23:52 -07:00
Alexandre Oliva
c3a6e90500 * g++.old-deja/g++.ns/template7.C: New test.
From-SVN: r24115
1998-12-05 23:10:15 +00:00
Alexandre Oliva
2732314e1e * g++.old-deja/g++.other/expr1.C: New test.
From-SVN: r24114
1998-12-05 22:46:57 +00:00
Alexandre Oliva
ad98743694 * g++.old-deja/g++.eh/tmpl3.C: New test.
From-SVN: r24113
1998-12-05 22:39:22 +00:00
Alexandre Oliva
658269bda2 * g++.old-deja/g++.eh/tmpl2.C: New test.
From-SVN: r24112
1998-12-05 22:37:32 +00:00
Richard Henderson
4bd75896d3 alpha.c (alpha_emit_set_const_1): Fix parenthesis error in -c << n case.
* alpha.c (alpha_emit_set_const_1): Fix parenthesis error
        in -c << n case.

From-SVN: r24111
1998-12-05 10:51:00 -08:00
Jason Merrill
c78358d473 * i960.h (BOOL_TYPE_SIZE): Define.
From-SVN: r24110
1998-12-05 10:17:24 -05:00
Michael Hayes
e868a8406d c4x.c (valid_parallel_load_store): Flog functionality from old valid_parallel_operands_4.
* config/c4x/c4x.c (valid_parallel_load_store): Flog functionality
	from old valid_parallel_operands_4.
	(valid_parallel_operands_4): Check that operands for 4 operand
	parallel insns are valid, excluding load/store insns.
	* config/c4x/c4x.h (valid_parallel_load_store): Add prototype.
	* config/c4x/c4x.md (*movqf_parallel, *movqi_parallel): Use
	valid_parallel_load_store instead of valid_parallel_operands_4.
	(*absqf2_movqf_clobber, *floatqiqf2_movqf_clobber,
	*negqf2_movqf_clobber, *absqi2_movqi_clobber,
	*fixqfqi2_movqi_clobber, *negqi2_movqi_clobber,
	*notqi_movqi_clobber): Use valid_parallel_operands_4.
	(*subqf3_movqf_clobber, *ashlqi3_movqi_clobber,
	*ashrqi3_movqi_clobber, *lshrqi3_movqi_clobber,
	*subqi3_movqi_clobber): Use valid_parallel_operands_5.

From-SVN: r24108
1998-12-05 03:39:17 +00:00
Michael Hayes
cd20cc860b * config/c4x/c4x.c (iteration_info): Delete.
From-SVN: r24107
1998-12-05 02:54:53 +00:00
Jeff Law
4354ec9a6a Daily bump.
From-SVN: r24106
1998-12-04 17:45:02 -07:00
Jason Merrill
053a61cbeb lex.c (handle_cp_pragma): Disable #pragma interface/implementation if MULTIPLE_SYMBOL_SPACES.
* lex.c (handle_cp_pragma): Disable #pragma interface/implementation
	if MULTIPLE_SYMBOL_SPACES.

From-SVN: r24104
1998-12-04 16:39:25 -05:00
Benjamin Kosnik
2f38dfa109
nortel regressions since 97r1

From-SVN: r24097
1998-12-04 19:12:58 +00:00
Benjamin Kosnik
8028e52a02
nortel regressions since 97r1

From-SVN: r24096
1998-12-04 19:12:58 +00:00
Benjamin Kosnik
4f18e4776e *** empty log message ***
From-SVN: r24095
1998-12-04 19:12:58 +00:00
Benjamin Kosnik
91f51a6d66 H
nortel regressions since 97r1

From-SVN: r24094
1998-12-04 19:12:58 +00:00
Benjamin Kosnik
543df66a56
nortel regressions since 97r1

From-SVN: r24093
1998-12-04 19:12:58 +00:00
Bernd Schmidt
faa9eb1977 * tm.texi (SMALL_REGISTER_CLASSES): Make description match reality.
From-SVN: r24092
1998-12-04 13:09:39 +00:00
Alexandre Oliva
4dab1f3e9f using5.C: usified using[567].C here
* g++.old-deja/g++.other/using5.C: usified using[567].C here
	* g++.old-deja/g++.other/using6.C: removed
	* g++.old-deja/g++.other/using7.C: Mark Mitchel removed it

From-SVN: r24091
1998-12-04 12:57:50 +00:00
Bernd Schmidt
f62a15e367 final.c (cleanup_subreg_operands): Delete some unused code.
* final.c (cleanup_subreg_operands): Delete some unused code.
	* recog.h (MAX_RECOG_ALTERNATIVES): New macro.
	(struct insn_alternative): New structure definition.
	(recog_op_alt): Declare variable.
	(preprocess_constraints): Declare function.
	* recog.c (recog_op_alt): New variable.
	(extract_insn): Verify number of alternatives is in range.
	(preprocess_constraints): New function.
	* reg-stack.c: Include recog.h.
	(constrain_asm_operands): Delete.
	(get_asm_operand_lengths): Delete.
	(get_asm_operand_n_inputs): New function.
	(record_asm_reg_life): Delete OPERANDS, CONSTRAINTS, N_INPUTS and
	N_OUTPUTS args.  All callers changed.
	Compute number of inputs and outputs here by calling
	get_asm_operand_n_inputs.
	Instead of constrain_asm_operands, call extract_insn,
	constrain_operands and preprocess_constaints.  Use information
	computed by these functions throughout.
	(record_reg_life): Delete code that is unused due to changes in
	record_asm_reg_life.
	(subst_asm_stack_regs): Delete OPERANDS, OPERAND_LOC, CONSTRAINTS,
	N_INPUTS and N_OUTPUTS args.  All callers changed.
	Similar changes as in record_asm_reg_life.
	(subst_stack_regs): Move n_operands declaration into the if statement
	where it's used.
	Delete code that is unused due to changes in subst_asm_stack_regs.
	* stmt.c (expand_asm_operands): Verify number of alternatives is in
	range.
	* Makefile.in (reg-stack.o): Depend on recog.h.

From-SVN: r24090
1998-12-04 12:55:59 +00:00
Alexandre Oliva
71eb0b9ec3 * g++.old-deja/g++.pt/spec20.C: Re-insert non-bogus ERROR marks.
From-SVN: r24089
1998-12-04 11:31:32 +00:00
Jason Merrill
f3400fe27c pt.c (check_template_shadow): New fn.
* pt.c (check_template_shadow): New fn.
	* decl2.c (grokfield): Use it.
	* decl.c (pushdecl): Likewise.
	(pushdecl_class_level): Likewise.
	(start_method): Likewise.
	(xref_tag): Don't try to use 't' if we're defining.
Fixes Sec14/7/C14387.cm.
	* call.c (check_dtor_name): Just return an error_mark_node.
	* pt.c (lookup_template_class): Complain about using non-template here.
	* parse.y (apparent_template_type): Not here.
Fixes Sec14/C14339.cm.
	* pt.c (check_explicit_specialization): Complain about specialization
	with C linkage.
Fixes Sec14/C14340.cm.
	* lang-options.h: Add -f{no-,}implicit-inline-templates.
	* pt.c (convert_nontype_argument): Don't assume that any integer
	argument is intended to be a constant-expression.
Fixes Sec14/7/P14245.C.

From-SVN: r24086
1998-12-04 06:14:21 -05:00
Jeffrey A Law
2ec10ea98a * except.c (set_exception_version_code): Argument is an "int".
From-SVN: r24085
1998-12-03 18:26:15 -07:00
Christopher Faylor
8d525fa8a7 * pexecute.c: Remove obsolete ifdefed cygwin code.
From-SVN: r24084
1998-12-03 18:21:00 -07:00
Jeff Law
36e77ea6ff Daily bump.
From-SVN: r24083
1998-12-03 17:45:02 -07:00
Joseph Myers
f4190acc20 pdp11.h: Use optimize_size for space optimizations.
* pdp11.h: Use optimize_size for space optimizations.
	* pdp11.c: Likewise.
	* pdp11.md: Likewise.

From-SVN: r24082
1998-12-03 17:40:21 -07:00
Jeff Law
d1a0959019 [multiple changes]
Fri Dec  4 01:34:02 1998  Jeffrey A Law  (law@cygnus.com)
        * config.guess: Improve detection of hppa2.0 processors.
Fri Dec  4 01:33:05 1998  Niall Smart <nialls@euristix.ie>
        * config.guess: Recognize FreeBSD using ELF automatically.

From-SVN: r24081
1998-12-03 17:36:49 -07:00
Robert Lipe
18cae839b4 configure.in (mipsel-*-linux*): New target.
* configure.in (mipsel-*-linux*): New target.
	* mips/linux.h: New file, based on other Linux targets.

From-SVN: r24080
1998-12-03 17:32:33 -07:00