Commit Graph

17754 Commits

Author SHA1 Message Date
Jeffrey A Law
bc6bd744c5 * gcc.c-torture/compile/980726-1.c: New test.
From-SVN: r21388
1998-07-25 18:05:36 -06:00
Jeffrey A Law
9616dd8d5f * regmove.c (regmove_optimize): Fix typo initializing regmove_bb_head.
From-SVN: r21386
1998-07-25 18:03:18 -06:00
Gerald Pfeifer
f8c86b58a2 Makefile.in (install-info): Only try to update the info directory file if it exists in the first place.
8
        * Makefile.in (install-info): Only try to update the info
        directory file if it exists in the first place.

From-SVN: r21383
1998-07-25 16:30:26 -06:00
Gerald Pfeifer
b0a766e89d Makefile.in (install-info): Only try to update the info directory file if it exists in the first place.
�
        * Makefile.in (install-info): Only try to update the info
        directory file if it exists in the first place.

From-SVN: r21382
1998-07-25 16:30:24 -06:00
Dave Love
e5d82dcf39 Makefile.in (s-libe77, [...]): Rely on VPATH, dropping explicit use of $(srcdir) in various places.
1998-07-24  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in (s-libe77, ${srcdir}/configure, g2c.h, Makefile,
	config.status, rebuilt): Rely on VPATH, dropping explicit use of
	$(srcdir) in various places.

From-SVN: r21379
1998-07-25 05:38:51 +00:00
Dave Love
b07d089197 (s-libe77, ${srcdir}/configure, g2c.h, Makefile,
config.status, rebuilt): Rely on VPATH, dropping explicit use of
$(srcdir) in various places.

From-SVN: r21378
1998-07-25 05:37:48 +00:00
Dave Love
8b62e122ec io0.f: New test.
1998-07-25  Dave Love  <d.love@dl.ac.uk>
	* g77.f-torture/execute/io0.f: New test.

From-SVN: r21372
1998-07-25 04:36:27 +00:00
Dave Love
d730ed9642 New test.
From-SVN: r21371
1998-07-25 04:33:22 +00:00
Jason Merrill
b8b1a3c1fc decl.c (lookup_name_real): OK, do return the from_obj value unless got_object depends on template parms.
* decl.c (lookup_name_real): OK, do return the from_obj value
	unless got_object depends on template parms.

From-SVN: r21370
1998-07-24 23:19:28 -04:00
Jeff Law
dd7ff7a98f Daily bump.
From-SVN: r21368
1998-07-24 18:45:01 -06:00
Klaus Espenlaub
4f057fe754 correct change attribution
From-SVN: r21367
1998-07-24 16:11:35 -04:00
Klaus Espenlaub
4cacd7a002 * rs6000.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Delete.
From-SVN: r21366
1998-07-24 12:04:27 -04:00
Jason Merrill
67152996a3 x
From-SVN: r21365
1998-07-24 10:58:19 -04:00
Jason Merrill
bc22fa9801 * parse.y (nested_name_specifier_1): Pull out the TYPE_MAIN_VARIANT.
From-SVN: r21364
1998-07-24 10:51:54 -04:00
Jason Merrill
d1fec18074 * pt.c (coerce_template_parms): Also complain about local enums.
From-SVN: r21363
1998-07-24 10:02:32 -04:00
Jeffrey A Law
e2bc7d00a6 mn10300.md (movqi, [...]): Correctly handle CONST_DOUBLE source.
* mn10300.md (movqi, movhi, movsi, movsf): Correctly handle
        CONST_DOUBLE source.

From-SVN: r21362
1998-07-24 07:21:44 -06:00
Jason Merrill
c6160f8f95 cp-tree.h: Add prototype for set_identifier_local_value.
* cp-tree.h: Add prototype for set_identifier_local_value.
	* decl.c (set_identifier_local_value_with_scope): Make static,
	prototype.
	* search.c (covariant_return_p): Likewise.
	* except.c (build_terminate_handler, alloc_eh_object): Likewise.
	* call.c (build_method_call): Only pull out the type of a destructor
	if it's a template type parm.
	* decl.c (lookup_name_real): Never return the from_obj value.

From-SVN: r21361
1998-07-24 08:36:55 -04:00
Nick Clifton
0d1be5835f Fix use of USER_LABEL_PREFIX when calling gcc library functions
From-SVN: r21360
1998-07-24 11:23:45 +00:00
Jeff Law
1bc54bc955 Daily bump.
From-SVN: r21358
1998-07-23 18:45:02 -06:00
Jim Wilson
28144186b3 Fix stabs bug with C array ranges.
* dbxout.c (dbxout_range_type): Only call dbxout_type_index for
	already defined type.

From-SVN: r21355
1998-07-23 12:14:18 -07:00
Jason Merrill
136dc16a52 update
From-SVN: r21354
1998-07-23 15:11:58 -04:00
Jason Merrill
25eb19ff0a except.c (process_start_catch_block_old): Call start_decl_1 for catch parm.
* except.c (process_start_catch_block_old): Call start_decl_1 for
	catch parm.
	* decl.c (start_decl_1): Avoid duplicate error.
	* init.c (expand_default_init): Only perform the initialization if
	it will do something.
	* parse.y (base_class): Check for invalid base class.

From-SVN: r21353
1998-07-23 15:11:48 -04:00
Jason Merrill
ca2b325127 update
From-SVN: r21352
1998-07-23 14:08:04 -04:00
Jason Merrill
a38fe5356d x
From-SVN: r21351
1998-07-23 14:05:41 -04:00
Jason Merrill
7e7760939b decl2.c (import_export_template): Fold in...
* decl2.c (import_export_template): Fold in...
	(import_export_class): ...to here.  Handle dllimport/export.

From-SVN: r21350
1998-07-23 13:51:17 -04:00
Jeffrey A Law
71bca5068d expr.c (check_max_integer_computation_mode): Allow conversions of constant integers to MAX_INTEGER_COMPUTATION_MODE.
* expr.c (check_max_integer_computation_mode): Allow conversions
        of constant integers to MAX_INTEGER_COMPUTATION_MODE.
        (expand_expr): Likewise.

From-SVN: r21349
1998-07-23 06:51:00 -06:00
Alexandre Petit-Bianco
57b630a92b expr.c (expand_expr): Expand RETURN_EXPR.
�
	* expr.c (expand_expr): Expand RETURN_EXPR.

From-SVN: r21348
1998-07-23 05:09:42 -07:00
Alexandre Petit-Bianco
6e7f84a732 expr.c (expand_expr): Expand RETURN_EXPR.
8
	* expr.c (expand_expr): Expand RETURN_EXPR.

From-SVN: r21347
1998-07-23 05:09:39 -07:00
Jim Wilson
71208e03a9 Patch from Torbjorn Granlund.
* dwarf2out.c (dwarf2out_finish): Call stripattributes on TEXT_SECTION.

From-SVN: r21346
1998-07-23 04:01:33 -07:00
Jason Merrill
67f7c39181 class.c (build_vtable): Pass at_eof to import_export_vtable.
* class.c (build_vtable): Pass at_eof to import_export_vtable.
	(prepare_fresh_vtable): Likewise.
	* decl2.c (import_export_class): Split out...
	(finish_prevtable_vardecl): From here.
	* class.c (finish_struct_1): Call import_export_class if at_eof.
	* decl.c (start_function): #if 0 mysterious code I wrote and have
	forgotten why.
	* rtti.c (get_tinfo_fn): If this is for a class type, set
	DECL_CONTEXT.

From-SVN: r21345
1998-07-22 22:29:34 -04:00
Jeff Law
1af1ed7035 Daily bump.
From-SVN: r21344
1998-07-22 18:45:01 -06:00
Jason Merrill
268ae1b0ee exception: Change terminate and unexpected to ().
* inc/exception: Change terminate and unexpected to ().
	* parse.y (named_class_head_sans_basetype_defn): A
	named_class_head_sans_basetype followed by '{' or ':' is a defn.

From-SVN: r21342
1998-07-22 13:54:26 -04:00
Catherine Moore
49bcd085f2 dwarf2out.c (output_aranges): Call stripattributes for TEXT_SECTION references.
Wed Jul 22 19:10:00 1998  Catherine Moore  <clm@cygnus.com>
        * dwarf2out.c (output_aranges):  Call stripattributes
        for TEXT_SECTION references.
        (output_line_info): Likewise.

From-SVN: r21341
1998-07-22 13:16:20 -04:00
David S. Miller
60f25009e3 profile.c (branch_prob): Call allocate_reg_info after outputting profile rtl in instrument_arcs.
* profile.c (branch_prob): Call allocate_reg_info after outputting
	profile rtl in instrument_arcs.

From-SVN: r21340
1998-07-22 09:14:27 -07:00
Jim Wilson
1d3337fc41 Avoid irix 6.2/irix 6.3 header file conflict.
* fixinc.irix (math.h): Install wrapper instead of copying.

From-SVN: r21339
1998-07-22 05:50:10 -07:00
Alexandre Petit-Bianco
2491f72d97 tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression so WFL are expanded correctly when...
�
	* tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression
 	so WFL are expanded correctly when contained in a COMPOUND_EXPR.
	* tree.h (EXPR_WFL_EMIT_LINE_NOTE): Change macro not to use
 	lang_flag_0. Added documentation in the flag table.

From-SVN: r21338
1998-07-22 05:38:23 -07:00
Per Bothner
dadafe54d1 tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression so WFL are expanded correctly when...
* tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression
 	so WFL are expanded correctly when contained in a COMPOUND_EXPR.
	* tree.h (EXPR_WFL_EMIT_LINE_NOTE): Change macro not to use
 	lang_flag_0. Added documentation in the flag table.

From-SVN: r21337
1998-07-22 05:38:21 -07:00
Jeff Law
a4596a9f2a Daily bump.
From-SVN: r21336
1998-07-21 18:45:02 -06:00
Craig Burley
bdb2fe90a5 g77spec.c (lang_specific_driver): Return unmolested command line when --help seen.
P
	* g77spec.c (lang_specific_driver): Return unmolested
	command line when --help seen.
	Comment out code that printed g77-specific --help info.

From-SVN: r21332
1998-07-21 16:34:23 -06:00
Craig Burley
90059ae12e g77spec.c (lang_specific_driver): Return unmolested command line when --help seen.
�
	* g77spec.c (lang_specific_driver): Return unmolested
	command line when --help seen.
	Comment out code that printed g77-specific --help info.

From-SVN: r21331
1998-07-21 16:34:22 -06:00
Klaus Kaempf
1eaa657fc0 cccp.c (do_include): Fix vax c style include handling.
8
        * cccp.c (do_include): Fix vax c style include handling.

From-SVN: r21330
1998-07-21 16:31:41 -06:00
Klaus Kaempf
244058f785 cccp.c (do_include): Fix vax c style include handling.
�
        * cccp.c (do_include): Fix vax c style include handling.

From-SVN: r21329
1998-07-21 16:31:39 -06:00
Jason Merrill
f367717506 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
From-SVN: r21325
1998-07-21 14:16:29 -04:00
Jason Merrill
53929c47c5 tree.c (canonical_type_variant): New fn to handle arrays.
* tree.c (canonical_type_variant): New fn to handle arrays.
	* cp-tree.h (CANONICAL_TYPE_VARIANT): Remove.
	* pt.c (unify, default case): Also fold arg.  Fix array bounds case.
	* method.c (process_overload_item): Use build_overload_value for
	arrays.

From-SVN: r21324
1998-07-21 14:16:09 -04:00
David Edelsohn
e675f62571 rs6000.h (PREDICATE_CODES): Add CONSTANT_P_RTX.
* rs6000.h (PREDICATE_CODES): Add CONSTANT_P_RTX.
        * rs6000.md (movsi, movdi): Add CONSTANT_P_RTX.
        * rs6000.c (short_cint_operand): Add CONSTANT_P_RTX.
        (u_short_cint_operand): Same.
        (reg_or_cint_operand): Same.
        (logical_operand): Same.
        (input_operand): Same.
        (reg_or_short_operand): Use u_short_cint_operand.

From-SVN: r21323
1998-07-21 08:56:31 -04:00
Richard Henderson
1ca2e73f35 alpha.md (fix_truncdfsi2, [...]): Remove the define_expands, but keep the insns and splits.
* alpha.md (fix_truncdfsi2, fix_truncsfsi2): Remove the define_expands,
        but keep the insns and splits.  Adjust so when the ultimate destination
        is memory, use cvtql.

From-SVN: r21322
1998-07-21 01:57:27 -07:00
Richard Henderson
bd80fbde8e * flow.c (regno_uninitialized): Fixed regs are never uninitialized.
From-SVN: r21321
1998-07-21 01:54:29 -07:00
Jeffrey A Law
50ea20cfa8 gcc.c (do_spec): Call "error" not "warning".
* gcc.c (do_spec): Call "error" not "warning".
Opps.

From-SVN: r21319
1998-07-21 01:52:35 -06:00
Jeff Law
96e30856cf Daily bump.
From-SVN: r21317
1998-07-20 18:45:02 -06:00
Jeffrey A Law
0b9d02c6f6 configure.in: Fix minor problems with gas feature detection code.
* configure.in: Fix minor problems with gas feature detection code.
        * configure: Rebuilt.

From-SVN: r21315
1998-07-20 17:56:42 -06:00