Jim Wilson
6e0f130b0e
Minor testsuite fixes for targets with 16-bit ints and targets without I/O.
...
* execute/970312-1.c, execute/980605-1.c (f): Change printf to sprintf.
* execute/bf-sign-2.c (struct X): Add u15 field.
(main): Add check for u15. Conditionalize u31 check depending on
whether ints are <32 bits or >=32 bits.
From-SVN: r25730
1999-03-12 08:19:54 -08:00
J"orn Rennecke
d24de7d183
unroll.c (loop_iterations): Don't return a final value for EQ comparison loops.
...
* unroll.c (loop_iterations): Don't return a final value for EQ
comparison loops.
From-SVN: r25729
1999-03-12 12:46:36 +00:00
Jim Wilson
a8edca885e
Patch to fix reload abort while compiling hpux-x-m68k-aout gdb.
...
* reload1.c (calculate_needs_all_insns): When ignore equivalence
setting insn, clear need_elim, need_reload, and need_operand_change.
From-SVN: r25728
1999-03-12 04:39:59 -08:00
Bruce Korb
47e73a5e92
Missing from fixincl-branch merge
...
From-SVN: r25727
1999-03-12 08:57:04 +00:00
Andrew Haley
ecef190cbd
jcf-path.c (add_entry): alloca len+2 rather than len+1 bytes...
...
1999-03-12 Andrew Haley <aph@cygnus.com>
* jcf-path.c (add_entry): alloca len+2 rather than len+1 bytes;
we'll need a directory separator and a null character.
From-SVN: r25726
1999-03-12 07:52:58 +00:00
Bruce Korb
6655a9bc33
Missing merges from fixincl-branch
...
From-SVN: r25725
1999-03-12 07:44:19 +00:00
Martin v. Löwis
42fd06c928
New test case.
...
From-SVN: r25724
1999-03-12 05:18:20 +00:00
Martin v. Löwis
95a2ecfe7e
Problem fixed in g++.
...
From-SVN: r25723
1999-03-12 03:41:32 +00:00
Jeff Law
b97ef0a8a9
Daily bump.
...
From-SVN: r25715
1999-03-11 17:45:04 -07:00
Jeffrey A Law
6bcd94ae80
expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than MAX_INTEGER_COMPUTATION_MODE.
...
* expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than
MAX_INTEGER_COMPUTATION_MODE.
From-SVN: r25714
1999-03-11 17:02:32 -07:00
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