Commit Graph

21161 Commits

Author SHA1 Message Date
Zack Weinberg
b6505b4249 Tests for various kinds of spurious uninit variable warning.
`
Tests for various kinds of spurious uninit variable warning.
All are derived from cpplib; see comments in the files.

From-SVN: r25711
1999-03-11 16:00:04 +00:00
Zack Weinberg
85eb94a0e3 Tests for various kinds of spurious uninit variable warning.
l
Tests for various kinds of spurious uninit variable warning.
All are derived from cpplib; see comments in the files.

From-SVN: r25710
1999-03-11 16:00:04 +00:00
Zack Weinberg
eb7721afcf *** empty log message ***
From-SVN: r25709
1999-03-11 16:00:03 +00:00
Craig Burley
8182dc46dc Add AUTOMATIC to list of unsupported extensions
From-SVN: r25706
1999-03-11 09:37:09 -05:00
Richard Henderson
827e80cc8b * alpha.md (ev5_e0): Conflict loads and stores.
From-SVN: r25705
1999-03-11 06:02:42 -08:00
Richard Henderson
a7adf08e84 alpha.h (HARD_REGNO_MODE_OK): Disallow QI/HImode in fp regs.
* alpha.h (HARD_REGNO_MODE_OK): Disallow QI/HImode in fp regs.
        (MODES_TIEABLE_P): Update.

From-SVN: r25704
1999-03-11 06:01:27 -08:00
Richard Henderson
27922c1362 machmode.h (smallest_mode_for_size): Prototype.
* machmode.h (smallest_mode_for_size): Prototype.
        * stor-layout.c (smallest_mode_for_size): Remove static.

From-SVN: r25703
1999-03-11 05:56:20 -08:00
J"orn Rennecke
8e9fb571ee loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv conversion if we don't know the lifetime.
* loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv
	conversion if we don't know the lifetime.

From-SVN: r25702
1999-03-11 13:28:55 +00:00
J"orn Rennecke
3900dc09bc reload.1c (delete_address_reloads_1): Check for reloads of CURRENT_INSN even if it sets DST.
* reload.1c (delete_address_reloads_1):  Check for reloads of
	CURRENT_INSN even if it sets DST.

From-SVN: r25701
1999-03-11 12:44:27 +00:00
Jason Merrill
8b790721e4 dwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.
* dwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.
	(print_die, size_of_die, value_format, output_die): Adjust.
	* dwarf2out.c (TEXT_SECTION_LAABEL, DEBUG_LINE_SECTION_LABEL,
	DEBUG_INFO_SECTION_LABEL, ABBREV_SECTION_LABEL,
	text_section_laabel, debug_line_section_label,
	debug_info_section_label, abbrev_section_label): New.
	(output_compilation_unit_header):  Emit label associated
	with section instead of section name itself.
	(out_pubnames, output_aranges, output_line_info,
	dwarf2out_finish): Likewise.
	(dwarf2out_init): Build internal label names for sections
	from static labels.

From-SVN: r25700
1999-03-11 05:34:01 -05:00
J"orn Rennecke
44ccea4059 * sh.md (mulsi3): End mul.l sequence with a no-op move.
From-SVN: r25699
1999-03-11 09:31:33 +00:00
Bruce Korb
4f3ae93c0d activate fixinc/mkfixinc.sh
From-SVN: r25698
1999-03-11 09:11:19 +00:00
Bruce Korb
9f3d1bc2dc Activating fast-fixincludes
From-SVN: r25697
1999-03-11 08:53:13 +00:00
Mumit Khan
b27d2bd5fe cppfiles.c (INO_T_EQ): Handle UWIN.
* cppfiles.c (INO_T_EQ): Handle UWIN.
        * c-common.c (decl_attributes): Flag unrecognized attribute
        functions as warnings instead of as errors.
        Support for i386-pc-uwin.
        * i386/uwin.h: New file.
        * i386/xm-uwin.h: New file.
        * i386/t-uwin: New file.
        * i386/uwin.asm: New file.
        * configure.in (i[3456]86-*-uwin*): Define.
        Add Workaround for vfork bug when hosted on uwin.
        * configure: Regenerate.
        * cccp.c (INO_T_EQ): Undefine. UWIN has inodes.
        (absolute_filename): UWIN uses POSIX pathnames only.
        * libgcc2.c (getpagesize): Do not define for UWIN.
        (mprotect): Likewise.
        * protoize.c (dirent.h): Conditionally include.
        (fputc): Prototype only if it's not a macro.

From-SVN: r25696
1999-03-10 17:58:01 -07:00
Jeff Law
8c90d2af84 Daily bump.
From-SVN: r25695
1999-03-10 17:45:05 -07:00
Mumit Khan
89f602a793 pexecute.c (__CYGWIN32__): Rename to
* pexecute.c (__CYGWIN32__): Rename to
        (__CYGWIN__): this.
        * xmalloc.c: Likewise.
        Changes to support i386-pc-uwin.
        * configure.in (*-*-uwin*): Workaround for vfork bug.
        * configure: Regenerate.
        * pexecute.c (pexecute): Be like standard Unix.
        (pwait): Likewise.
        * xmalloc.c (first_break): Define.
        (xmalloc_set_program_name): Use.
        (xmalloc): Use.

From-SVN: r25694
1999-03-10 17:32:50 -07:00
Mumit Khan
926bb5ed06 config.sub: Add i386-uwin support.
* config.sub: Add i386-uwin support.
        * config.guess: Likewise.

From-SVN: r25693
1999-03-10 17:20:22 -07:00
Jason Merrill
4525d75728 * configure.in: Remove init_priority stuff.
From-SVN: r25692
1999-03-10 19:14:36 -05:00
Franz Sirl
4ccfc0c3b4 * configure.in: Add mh-*pic handling for alpha, arm, powerpc
From-SVN: r25691
1999-03-10 17:11:25 -07:00
Franz Sirl
f24ab9a140 configure.in: Cleanup and add mh-*pic handling for arm, powerpc
Thu Mar 11 01:07:55 1999  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
        * configure.in: Cleanup and add mh-*pic handling for arm, powerpc

From-SVN: r25690
1999-03-10 17:10:48 -07:00
Franz Sirl
222ccb597f config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
H
        * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc

From-SVN: r25689
1999-03-10 17:10:20 -07:00
Franz Sirl
9346c8240e config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
�
        * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc

From-SVN: r25688
1999-03-10 17:10:19 -07:00
Franz Sirl
4a6e300025 configure.in: cleanup, add mh-*pic handling for arm, special case powerpc*-*-aix*
�
        * configure.in: cleanup, add mh-*pic handling for arm, special
        case powerpc*-*-aix*

From-SVN: r25687
1999-03-10 17:09:24 -07:00
Colin Smith
a0587d5603 * sdbout.c (plain_type_1): Make boolean types work better with sdb.
From-SVN: r25686
1999-03-10 16:30:08 -07:00
Per Bothner
2aee04d279 jcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %.
8
	* jcf-write.c (generate_bytecode_insns):  Handle __builtin_fmod, for %.

From-SVN: r25683
1999-03-10 15:22:48 -08:00
Per Bothner
cff699c1bc jcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %.
�
	* jcf-write.c (generate_bytecode_insns):  Handle __builtin_fmod, for %.

From-SVN: r25682
1999-03-10 15:22:47 -08:00
Alexandre Oliva
4b09b99e82 gcc.texi: Update bug reporting instructions to match current ezmlm list reality.
X
        * gcc.texi: Update bug reporting instructions to match
        current ezmlm list reality.

From-SVN: r25681
1999-03-10 16:22:31 -07:00
Alexandre Oliva
de4e852713 gcc.texi: Update bug reporting instructions to match current ezmlm list reality.
�
        * gcc.texi: Update bug reporting instructions to match
        current ezmlm list reality.

From-SVN: r25680
1999-03-10 16:22:28 -07:00
Jeffrey A Law
d2ecda2785 lcm.c: New file.
* lcm.c: New file.
        * Makefile.in (OBJS): Add lcm.o
        (lcm.o): Add dependencies.

From-SVN: r25679
1999-03-10 15:03:36 -07:00
Jeffrey A Law
3524fe0339 gcse.c (compute_pre_local_properties): Delete.
* gcse.c (compute_pre_local_properties): Delete.
        (compute_pre_data): Use compute_local_properties instead of
        compute_pre_local_properties.

From-SVN: r25678
1999-03-10 14:36:35 -07:00
Jeffrey A Law
b5ce41ff0f gcse.c: More comments, whitespace and similar fixes.
* gcse.c: More comments, whitespace and similar fixes.
        (dump_cuid_table, maybe_set_rd_gen, dump_cprop_data): Delete.
        (dump_pre_data, compute_cprop_local_properties): Likewise.
        (one_classic_gcse_pass): Lose unused argument.  All callers changed.
        (compute_hash_table, compute_expr_hash_table): Likewise.
        (compute_set_hash_table, one_pre_gcse_pass, mark_call): Likewise.
        (cprop_insn, cprop, one_cprop_pass): Add new argument ALTER_JUMPS.
        All callers changed.  Only alter jumps if ALTER_JUMPS is nonzero.
        Lose unused argument.
        (gcse_main): Always run a cprop pass after finishing global cse.
        (compute_local_properties): New function.
        (hash_scan_pat, hash_scan_insn): No longer call maybe_set_rd_gen.
        (compute_cprop_data): Use compute_local_properties.

From-SVN: r25677
1999-03-10 14:29:44 -07:00
Kaveh R. Ghazi
878f32c33e gcc.c (print_file_name, [...]): Qualify a char* with the `const' keyword.
* gcc.c (print_file_name, print_prog_name, spec_machine,
        read_specs, set_spec, lookup_compiler, build_search_list,
        putenv_from_prefixes, find_a_file, record_temp_file,
        delete_if_ordinary, handle_braces, do_spec, do_spec_1, find_file,
        is_directory, validate_switches, used_arg, default_arg,
        pfatal_with_name, perror_with_name, pfatal_pexecute, fatal, error,
        notice, add_preprocessor_option, add_assembler_option,
        add_linker_option, process_command, execute,
        unused_prefix_warnings, clear_args, fatal_error,
        lang_specific_driver, user_specs, compiler, link_command_spec,
        option_map, translate_options, make_temp_file, temp_name,
        programname, path_prefix, machine_suffix, just_machine_suffix,
        gcc_exec_prefix, standard_exec_prefix, standard_exec_prefix_1,
        md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1,
        standard_startfile_prefix, standard_startfile_prefix_1,
        standard_startfile_prefix_2, tooldir_base_prefix, tooldir_prefix,
        multilib_dir, temp_filename, temp_file, command, switchstr,
        infile, outfiles, input_filename, input_basename, input_suffix,
        check_live_switch, main): Qualify a char* with the `const' keyword.

From-SVN: r25676
1999-03-10 20:32:13 +00:00
Jeff Law
ac7c5af52f s/ /<tab>/g
From-SVN: r25675
1999-03-10 13:18:59 -07:00
Jeffrey A Law
f4e584dc0f gcse.c: Update various comments.
* gcse.c: Update various comments.
        (current_function_calls_longjmp): Delete declaration.

From-SVN: r25674
1999-03-10 13:14:05 -07:00
Jeffrey A Law
e78d9500be gcse.c (run_jump_opt_after_gcse): New variable.
* gcse.c (run_jump_opt_after_gcse): New variable.
        (gcse_main): Returns an integer.
        (hash_scan_set): Record initializations from CONST_DOUBLEs too.
        (try_replace_reg): Update some comments.
        (cprop_insn): Allow propagation into some JUMP_INSNs too.
        * rtl.h (gcse_main): Update prototype.
        * toplev.c (rest_of_compilation): If gcse_main returns nonzero,
        then run a jump optimization pass.
        * jump.c (delete_barrier_successors): Delete nop jumps too.

From-SVN: r25673
1999-03-10 12:45:18 -07:00
Mark Mitchell
b7975aedf6 semantics.c (begin_class_definition): Call build_self_reference.
* semantics.c (begin_class_definition): Call build_self_reference.
	(finish_member_declaration): Set DECL_CONTEXT for TYPE_DECLs.

From-SVN: r25672
1999-03-10 17:58:08 +00:00
Mark Mitchell
1e61a9d952 * search.c (assert_canonical_unmarked): Fix typo in prototype.
From-SVN: r25671
1999-03-10 12:17:47 +00:00
J"orn Rennecke
66c0b347bc sh.c (fp_arith_reg_operand): Actually test if reg is suitable for FP arithmetic.
* sh.c (fp_arith_reg_operand): Actually test if reg is suitable
	for FP arithmetic.  Changed caller.
	* sh.md (subsf3, subsf_i): Use fp_arith_reg_operand.

From-SVN: r25670
1999-03-10 11:07:32 +00:00
J"orn Rennecke
0c7f225984 reload1.c (choose_reload_regs): When inheriting from the frame pointer, don't clobber it.
* reload1.c (choose_reload_regs): When inheriting from the frame
	pointer, don't clobber it.

From-SVN: r25669
1999-03-10 10:59:54 +00:00
Mark Mitchell
6cbd257eb5 search.c (dfs_canonical_queue): New function.
* search.c (dfs_canonical_queue): New function.
	(dfs_assert_unmarked_p): Likewise.
	(assert_canonical_unmarked): Likewise.
	(access_in_type): Use it.
	(accessible_p): Likewise.  Walk the whole tree when umarking.

From-SVN: r25668
1999-03-10 10:53:35 +00:00
Mark Mitchell
5f23a307e2 sig.c (build_signature_table_constructor): Use accessible_p instead of compute_access.
* sig.c (build_signature_table_constructor): Use accessible_p
	instead of compute_access.

From-SVN: r25667
1999-03-10 09:33:45 +00:00
Bruce Korb
2d7efc013d missing updates to fixinc/fixinc.*
From-SVN: r25666
1999-03-10 08:06:20 +00:00
Bruce Korb
6e516c9cb4 Fixed the 'case' ordering
From-SVN: r25665
1999-03-10 08:00:12 +00:00
Bruce Korb
03affdf59a Patches from superior directory
From-SVN: r25664
1999-03-10 07:49:54 +00:00
Jason Merrill
47898a19f0 * call.c (add_builtin_candidates): Handle overloaded conversion ops.
From-SVN: r25663
1999-03-09 19:57:44 -05:00
Jeff Law
a5d753c030 Daily bump.
From-SVN: r25662
1999-03-09 17:45:04 -07:00
Mark Mitchell
d6479fe772 cp-tree.h (flag_access_control): Declare.
* cp-tree.h (flag_access_control): Declare.
	(TREE_VIA_PPUBLIC): Document.
	(DECL_NONSTATIC_MEMBER_P): New macro.
	(enforce_access): Return an indication of whether or not access
	was permitted.
	(build_self_reference): Change prototype.
	(compute_access): Replace with ...
	(accessible_p): New function.
	(dfs_walk): Change prototype.
	(dfs_unmark): Likewise.
	(markedp): Likewise.
	* call.c (enforce_access): Use accessible_p.
	* class.c (build_self_reference): Insert the declaration into the
	list of members for this type, and make it public.
	* decl.c (xref_basetypes): Avoid ill-timed recursion.
	* init.c (build_offset_ref): Use lookup_member, not three separate
	name-lookups.  Call enforce_access rather than checking for
	illegal accesses here.
	(resolve_offset_ref): Likewise.
	* lex.c (do_identifier): Likewise.
	* method.c (hack_identifier): Likewise.
	* parse.y (self_reference): Remove.
	(opt_component_decl_list): Don't use it.
	* parse.c: Regenerated.
	* pt.c (print_candidates): Generalize to handle lists of
	overloaded functions.
	(instantiate_class_template): Don't rely on TREE_VIA_PRIVATE; it's
	not set.
	(get_template_base): Use new calling convention for dfs_walk.
	* search.c: Include varray.h.  Add prototypes.
	(dfs_walk): Accept a data pointer to pass to the work functions.
	All callers changed.  All work functions changed.
	(breadth_first_search): Rename to bfs_walk, and make consistent
	with dfs_walk.
	(dfs_walk_real): New function.
	(canonical_binfo): New function.
	(context_for_name_lookup): Likewise.
	(shared_marked_p): Likewise.
	(shared_unmarked_p): Likewise.
	(lokup_field_queue_p): Likewise.
	(lookup_field_r): Generalize to handle both functions and fields.
	(lookup_field): Just call lookup_member.
	(lookup_fnfields): Likewise.
	(lookup_member): Move body of lookup_field here and generalize.
	(dfs_accessible_queue_p): Likewise.
	(dfs_accessible_p): Likewise.
	(dfs_access_in_type): Likewise.
	(access_in_type): Likewise.
	(compute_access): Remove, and replace with ...
	(accessible_p): New function.
	(vbase_types): Remove.
	(vbase_decl_ptr_intermediate): Likewise.
	(vbase_decl_ptr): Likewise.
	(vbase_init_result): Likewise.
	(closed_envelopes): Likewise.
	(bvtable): Likewise.

From-SVN: r25661
1999-03-09 23:02:42 +00:00
Jason Merrill
8f96c7ac27 call.c (add_function_candidate): Check for proper number of args before checking the validity of those args.
* call.c (add_function_candidate): Check for proper number of args
	before checking the validity of those args.

From-SVN: r25660
1999-03-09 14:37:02 -05:00
Jason Merrill
19f019c25c new
From-SVN: r25659
1999-03-09 14:34:51 -05:00
Jeffrey A Law
21a3b98301 calls.c (load_register_parameters): New function.
* calls.c (load_register_parameters): New function.
        (expand_call): Use it.

From-SVN: r25658
1999-03-09 09:40:30 -07:00