Commit Graph

51181 Commits

Author SHA1 Message Date
Nick Clifton
1e0b938e57 oops - entry omitted during previous delta
From-SVN: r68708
2003-06-30 13:55:05 +00:00
Jan Hubicka
a9bce3ab59 (fyl2x_sfxf3, fyl2x_dfxf3, fscale_sfxf3, fscale_dfxf3): Fix condition.
From-SVN: r68706
2003-06-30 13:39:03 +00:00
Christopher Faylor
a22a090819 fix typo
From-SVN: r68705
2003-06-30 13:34:44 +00:00
Hartmut Penner
46c07df8a1 rs6000.c (rs6000_split_altivec_in_gprs): New function.
2003-06-30 Hartmut Penner  <hpenner@de.ibm.com>

        * config/rs6000/rs6000.c (rs6000_split_altivec_in_gprs): New function.
        (altivec_in_gprs_p): New function.

	* config/rs6000/rs6000-protos (rs6000_split_altivec_in_gprs): New
	prototype.
	(altivec_in_gprs_p): New prototype.

	* config/rs6000/altivec.md (*movv4si_internal): Change
	multi-assembler alternative to '#'. Add postreload splitter to
	handle this cases.
	(*movv4hi_internal): Likewise.
	(*movv4qi_internal): Likewise.
	(*movv4sf_internal): Likewise.

From-SVN: r68704
2003-06-30 13:30:45 +00:00
Nick Clifton
8fca31a21e (BIGGEST_FIELD_ALIGNMENT): Make defintion constant.
From-SVN: r68703
2003-06-30 13:17:38 +00:00
Jason Merrill
9d6bef9526 defaults.h (PUSH_ARGS_REVERSED): Define default here.
* defaults.h (PUSH_ARGS_REVERSED): Define default here.
        * calls.c: Not here.

From-SVN: r68701
2003-06-30 09:16:26 -04:00
Ben Elliston
4e938719ec arm.c (arm_rtx_costs): Remove #if 0 block.
* config/arm/arm.c (arm_rtx_costs): Remove #if 0 block.
	(bad_signed_byte_operand): Likewise.
	(arm_output_epilogue): Likewise.
	(arm_final_prescan_insn): Likewise.

From-SVN: r68698
2003-06-30 22:06:04 +10:00
Rainer Orth
73383a8105 * cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int.
From-SVN: r68697
2003-06-30 12:00:16 +00:00
Rainer Orth
2d583dcbac c-pch.c (c_common_write_pch): Flush asm_out_file to allow for subsequent writes.
* c-pch.c (c_common_write_pch): Flush asm_out_file to allow for
	subsequent writes.

From-SVN: r68696
2003-06-30 11:57:35 +00:00
Paolo Carlini
cd16e04b18 std_streambuf.h (_M_mode): Move from here to filebuf and stringbuf.
2003-06-30  Paolo Carlini  <pcarlini@unitus.it>

	* include/std/std_streambuf.h (_M_mode): Move from here to
	filebuf and stringbuf.
	(~basic_streambuf()): Don't set _M_mode.
	(basic_streambuf()): Don't set _M_mode.
	* include/std/std_fstream.h (_M_mode): Move here, from streambuf.
	(~basic_filebuf()): Clean up.
	* include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
	* include/std/std_sstream.h (_M_mode): Move here, from streambuf.
	* testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
	* testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
	* testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
	* testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
	* testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.

2003-06-30  Paolo Carlini  <pcarlini@unitus.it>

	* include/std/std_fstream.h (_M_underflow): Remove.
	(uflow): Remove, inherited from streambuf.
	(underflow): Only declare.
	* include/bits/fstream.tcc (_M_underflow): Rename to
	underflow, to which is equivalent for __bump == false,
	simplify.
	* include/std/std_sstream.h (_M_underflow): Remove.
	(uflow): Remove, inherited from streambuf.
	(underflow): Only declare.
	* include/bits/sstream.tcc (_M_underflow): Rename to
	underflow, to which is equivalent for __bump == false,
	simplify.

From-SVN: r68695
2003-06-30 11:17:23 +00:00
Jan Hubicka
3cf5441285 cfgrtl.c (verify_flow_info): Accept degenerated condjumps in cfglayout mode.
* cfgrtl.c (verify_flow_info): Accept degenerated condjumps
	in cfglayout mode.

From-SVN: r68694
2003-06-30 08:04:24 +00:00
Jan Hubicka
1f48e56d09 i386.c (standard_80387_constant_p): Accept TFmode constants too.
* i386.c (standard_80387_constant_p): Accept TFmode constants too.
	(init_ext_80387_constants): Likewise.
	(standard_80387_constant_rtx): Likewise.
	* i386.md (atanxf): Disable for TARGET_128BIT_LONG_LONG
	(atantf): Disable for !TARGET_128BIT_LONG_LONG
	(fyl2x_sfxf3, fyl2x_dfxf3): Accept TFmode operands.
	(fyl2x_xfxf3, fyl2x_tfxf3): Enable/disable as needed.
	(fscale_sfxf3, fscale_dfxf3): Accept TFmode operands.
	(fscale_xfxf3, fscale_tfxf3): Enable/disable as needed.
	(frndinttf2): New.
	(f2xm1tf2): New.
	(exp?f2): Use expsf2_tf when needed.
	(exp?f2_tf): New.
	(exptf): New.

From-SVN: r68693
2003-06-30 07:57:58 +00:00
Uwe Stieber
8f48afc165 Patch from Uwe Stieber.
* config.gcc (sh*-*-kaos*): Put tm_file setting in separate case
statement from tmake_file set.

From-SVN: r68692
2003-06-29 22:43:37 -07:00
James E Wilson
bd235d86cd reload.c (find_reloads): Change push_reloads to push_reload in comment.
* reload.c (find_reloads): Change push_reloads to push_reload in
comment.
* reload1.c (eliminate_regs): Likewise.
(dump_needs): Delete prototype for deleted function.

From-SVN: r68691
2003-06-29 20:11:48 -07:00
Paolo Carlini
c868f37e40 stl_algo.h (LOTS): Fully qualify standard functions with std::, thus avoiding Koenig lookup.
2003-06-29  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/stl_algo.h (LOTS): Fully qualify standard
	functions with std::, thus avoiding Koenig lookup.

From-SVN: r68690
2003-06-30 01:46:42 +00:00
Kaveh R. Ghazi
280c1e0d23 builtin-attrs.def (gcc_diag, [...]): New format attributes.
gcc:
	* builtin-attrs.def (gcc_diag, gcc_cdiag, gcc_cxxdiag): New
	format attributes.
	* c-format.c (enum format_type): Add gcc_diag_format_type,
	gcc_cdiag_format_type, and gcc_cxxdiag_format_type.
	(gcc_diag_length_specs, gcc_cdiag_length_specs,
	gcc_cxxdiag_length_specs, gcc_diag_flag_pairs,
	gcc_cdiag_flag_pairs, gcc_cxxdiag_flag_pairs, gcc_diag_flag_specs,
	gcc_cdiag_flag_specs, gcc_cxxdiag_flag_specs, gcc_diag_char_table,
	gcc_cdiag_char_table, gcc_cxxdiag_char_table): New.
	(format_types_orig): Add new data.
	(find_char_info_specifier_index, init_dynamic_diag_info): New
	functions.
	(handle_format_attribute): Update to handle new format attributes.

testsuite:
	* gcc.dg/format/gcc_diag-1.c: New test.

From-SVN: r68689
2003-06-30 00:31:21 +00:00
GCC Administrator
54bbcbd99d Daily bump.
From-SVN: r68687
2003-06-30 00:16:06 +00:00
Aaron W. LaFramboise
29427b01e7 * config/i386/mingw32.h (__GTHREAD_HIDE_WIN32API): Define to 1.
From-SVN: r68685
2003-06-29 23:35:55 +00:00
Dara Hazeghi
41ca24de1d Patch from Dara Hazeghi.
* doc/install.texi: Remove install documentation for obsoleted targets
i?86-*-sco, i?86-*-sco3.2v4, powerpcle-*-pe, powerpcle-*-winnt,
arm-*-aof.
Update information about IA64 toolchain, AIX make requirements,
and binutils for m68k-*-hpux and *-*-linuxaout targets.

From-SVN: r68683
2003-06-29 16:10:28 -07:00
Jan Hubicka
41b3243ed3 regmove.c (regmove_optimize): Don't try to make src and dst match when they are in different modes.
* regmove.c (regmove_optimize): Don't try to make src and dst match
	when they are in different modes.

From-SVN: r68682
2003-06-29 22:51:45 +00:00
Jan Hubicka
64e9744358 builtins.c (expand_builtin_mathfn, [...]): Avoid busy work when builtin is not supported by the backend.
* builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2): Avoid
	busy work when builtin is not supported by the backend.

From-SVN: r68681
2003-06-29 21:16:13 +00:00
Zdenek Dvorak
51a7f2053a loop.c (count_one_set): Fix detection of registers set in more than one basic block.
* loop.c (count_one_set): Fix detection of registers set in more
	than one basic block.

From-SVN: r68680
2003-06-29 20:42:42 +00:00
Andreas Jaeger
4a023207ac target-def.h: Remove usage of OBJECT_FORMAT_ROSE.
* target-def.h: Remove usage of OBJECT_FORMAT_ROSE.
	* system.h: Poison OBJ_FORMAT_ROSE.
	* doc/tm.texi (Macros for Initialization): Remove documentatin of
	OBJECT_FORMAT_ROSE.
	* config/rs6000/lynx.h: Remove undef of OBJECT_FORMAT_ROSE.
	* collect2.c: Remove usage of OBJECT_FORMAT_ROSE.

From-SVN: r68678
2003-06-29 20:34:38 +02:00
John David Anglin
5fad1c24db pa.c (update_total_code_bytes): New function.
* pa.c (update_total_code_bytes): New function.
	(last_address): Number of bytes output for a function and its
	associated thunks.
	(compute_frame_size): Use BITS_PER_UNIT.
	(pa_output_function_epilogue): Compute last_address.  Use
	update_total_code_bytes.
	(output_lbranch): Handle long branch on portable runtime.
	(attr_length_millicode_call, attr_length_call,
	attr_length_indirect_call): Only use total_code_bytes for calls in
	the text section.
	(output_call): Only use an indirect call sequence when the target is
	not local.
	(pa_asm_output_mi_thunk): Handle updating of total_code_bytes.  Improve
	test to determine when an IA-relative branch can be used.  Add various
	long branch sequences.  Avoid using an indirect branch on all ports
	except SOM.

From-SVN: r68677
2003-06-29 18:21:57 +00:00
Ulrich Weigand
342e2b749d * expr.c (clear_by_pieces): Fix prototype.
From-SVN: r68676
2003-06-29 17:47:37 +00:00
David Edelsohn
e601f149a9 * config.gcc: Add 970.
From-SVN: r68675
2003-06-29 13:36:44 -04:00
Andreas Jaeger
502b832280 except.c: Convert prototypes to ISO C90.
* except.c: Convert prototypes to ISO C90.
	* except.h: Likewise.
	* emit-rtl.c: Likewise.
	* et-forest.c: Likewise.
	* et-forest.h: Likewise.
	* except.c: Likewise.
	* explow.c: Likewise.
	* expmed.c: Likewise.
	* expr.c: Likewise.
	* expr.h: Likewise.

From-SVN: r68674
2003-06-29 18:21:58 +02:00
Andreas Jaeger
7080f73594 cse.c: Convert prototypes to ISO C90.
* cse.c: Convert prototypes to ISO C90.
	* cselib.c: Likewise.
	* cselib.h: Likewise.
	* dbxout.c: Likewise.
	* debug.c: Likewise.
	* df.c: Likewise.
	* df.h: Likewise.
	* dojump.c: Likewise.
	* doloop.c: Likewise.
	* dominance.c: Likewise.
	* dwarf2asm.c: Likewise.
	* dwarf2out.c: Likewise.
	* dwarf2out.h: Likewise.
	* dwarfout.c: Likewise.

From-SVN: r68673
2003-06-29 17:19:13 +02:00
Kazu Hirata
f9da506452 alloc-pool.c: Fix comment formatting.
* alloc-pool.c: Fix comment formatting.
	* bitmap.c: Likewise.
	* bitmap.h: Likewise.
	* bt-load.c: Likewise.
	* builtins.c: Likewise.
	* caller-save.c: Likewise.
	* cfganal.c: Likewise.
	* cfgrtl.c: Likewise.
	* collect2.c: Likewise.
	* cse.c: Likewise.
	* df.c: Likewise.
	* diagnostic.c: Likewise.
	* dwarf2out.c: Likewise.
	* dwarfout.c: Likewise.
	* expmed.c: Likewise.
	* final.c: Likewise.
	* flags.h: Likewise.
	* fold-const.c: Likewise.
	* gcc.c: Likewise.
	* gcov-io.h: Likewise.
	* gcov.c: Likewise.
	* genattrtab.c: Likewise.
	* genautomata.c: Likewise.
	* libgcov.c: Likewise.
	* mips-tfile.c: Likewise.
	* optabs.c: Likewise.
	* prefix.c: Likewise.
	* rtlanal.c: Likewise.
	* stmt.c: Likewise.
	* stor-layout.c: Likewise.
	* toplev.c: Likewise.
	* varasm.c: Likewise.
	* vmsdbgout.c: Likewise.

From-SVN: r68672
2003-06-29 13:53:12 +00:00
Kazu Hirata
329d586fe5 expr.c (emit_single_push_insn): If padding is needed downward...
* expr.c (emit_single_push_insn): If padding is needed
	downward, adjust the stack pointer first, and then store the
	data into the stack location using an offset.

From-SVN: r68670
2003-06-29 13:40:24 +00:00
Andreas Jaeger
159b3be1f3 collect2.h: Convert prototypes to ISO C90.
* collect2.h: Convert prototypes to ISO C90.
	* collect2.c: Likewise.
	* conflict.c: Likewise.
	* coverage.c: Likewise.
	* convert.h: Likewise.
	* convert.c: Likewise.

From-SVN: r68669
2003-06-29 14:07:06 +02:00
Gabriel Dos Reis
4e3f84b7ca cp-tree.h (language_to_string): Adjust declaration.
* cp-tree.h (language_to_string): Adjust declaration.
	* dump.c (cp_dump_tree): Adjust usage.
	* error.c (dump_char): Use output_formatted_scalar. Tidy.
	(parm_to_string): Lose unused parameter.  Tidy.
	(expr_to_string): Likewise.
	(code_to_string): Likewise.
	(language_to_string): Likewise.
	(op_to_string): Likewise.
	(assop_to_string): Likewise.
	(digit_buffer): Remove.
	(dump_type): Format builtin vector type as __vector__.

From-SVN: r68668
2003-06-29 12:02:58 +00:00
Nathan Sidwell
4714db5aef c-decl.c (c_init_decl_processing): Use a location_t.
* c-decl.c (c_init_decl_processing): Use a location_t. Set input
	filename to <internal>.
	* tree.c (make_node): Just copy the current location.

From-SVN: r68667
2003-06-29 11:28:00 +00:00
Paolo Carlini
165f54e074 11305-1.cc: Improve type correctness-wise.
2003-06-29  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
	Improve type correctness-wise.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
	Likewise.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
	Likewise.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
	Likewise.

From-SVN: r68666
2003-06-29 11:12:35 +00:00
Gabriel Dos Reis
748f6cb5d4 error.c (print_integer): Remove.
* error.c (print_integer): Remove.
	(dump_type_suffix): Adjust.
	(dump_expr): Likewise.

From-SVN: r68665
2003-06-29 10:55:33 +00:00
Paolo Carlini
90319d1698 std_streambuf.h (uflow): According to 27.5.2.4.3,p16, don't check gptr() < egptr().
2003-06-29  Paolo Carlini  <pcarlini@unitus.it>

	* include/std/std_streambuf.h (uflow): According to
	27.5.2.4.3,p16, don't check gptr() < egptr().

From-SVN: r68664
2003-06-29 10:31:06 +00:00
Eric Botcazou
df7fb8f968 re PR rtl-optimization/11210 (optimizer drops conditional with typecast from signed to unsigned char)
PR optimization/11210
	* fold-const (decode_field_reference): Revert 2003-06-26 patch.

From-SVN: r68662
2003-06-29 08:31:52 +00:00
Neil Booth
dfb827711d toplev.c (flag_dummy): Remove.
* toplev.c (flag_dummy): Remove.
	(f_options): Restore flag pointers.

From-SVN: r68661
2003-06-29 08:18:17 +00:00
David Edelsohn
7177e7205a * config/rs6000/rs6000.c (processor_target_table): Add 970.
From-SVN: r68660
2003-06-29 00:42:20 -04:00
Kazu Hirata
485bad26ce dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X, -1) with ggc_strdup.
* dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X,
	-1) with ggc_strdup.
	* stmt.c (expand_asm_operands): Likewise.
	* config/rs6000/rs6000.md (builtin_setjmp_receiver): Likewise.

From-SVN: r68659
2003-06-29 04:24:55 +00:00
Kazu Hirata
b01258dd12 ip2k.c (ip2k_reorg): Use INSN_P instead of its definition.
* config/ip2k/ip2k.c (ip2k_reorg): Use INSN_P instead of its
	definition.

From-SVN: r68658
2003-06-29 02:15:51 +00:00
Franz Sirl
d6553b54e8 opts.c: Include insn-attr.h.
2003-06-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* opts.c: Include insn-attr.h.
	* Makefile.in (opts.o): Depend on INSN_ATTR_H.

From-SVN: r68657
2003-06-29 01:17:54 +00:00
GCC Administrator
bdb656db6c Daily bump.
From-SVN: r68655
2003-06-29 00:16:06 +00:00
J"orn Rennecke
57856e4d3a flow.c (propagate_one_insn): Use proper test for a register being part of the return value.
* flow.c (propagate_one_insn): Use proper test for a register
	being part of the return value.

From-SVN: r68653
2003-06-28 23:57:58 +01:00
Ulrich Weigand
81a6489eb6 * gcc.c-torture/execute/multi-ix.c: Fix off-by-one bugs.
From-SVN: r68652
2003-06-28 21:30:30 +00:00
Kazu Hirata
cef1ccd6ff * config/avr/avr.c: Fix a comment typo.
From-SVN: r68651
2003-06-28 20:00:06 +00:00
Kazu Hirata
62e4d78054 avr-protos.h: Replace avr_simplify_comparision_p with avr_simplify_comparison_p.
* config/avr/avr-protos.h: Replace avr_simplify_comparision_p
	with avr_simplify_comparison_p.
	* config/avr/avr.c: Likewise.

From-SVN: r68650
2003-06-28 19:55:01 +00:00
Kazu Hirata
1e417e6a65 builtins.c: Follow spelling conventions.
* builtins.c: Follow spelling conventions.
	* cgraph.c: Likewise.
	* cpplex.c: Likewise.
	* config/arm/arm.c: Likewise.
	* config/arm/iwmmxt.md: Likewise.
	* config/c4x/c4x-modes.def: Likewise.
	* config/c4x/c4x.c: Likewise.
	* config/c4x/c4x.h: Likewise.
	* config/c4x/c4x.md: Likewise.
	* config/i386/i386-interix.h: Likewise.
	* config/mips/mips.h: Likewise.

From-SVN: r68649
2003-06-28 19:53:17 +00:00
Kazu Hirata
f1ba665bc7 builtins.c: Follow spelling conventions.
* builtins.c: Follow spelling conventions.
	* cgraph.c: Likewise.
	* cpplex.c: Likewise.
	* config/arm/arm.c: Likewise.
	* config/arm/iwmmxt.md: Likewise.
	* config/c4x/c4x-modes.def: Likewise.
	* config/c4x/c4x.c: Likewise.
	* config/c4x/c4x.h: Likewise.
	* config/c4x/c4x.md: Likewise.
	* config/i386/i386-interix.h: Likewise.
	* config/mips/mips.h: Likewise.

From-SVN: r68648
2003-06-28 19:43:01 +00:00
Neil Booth
d551297825 m68k.h (TARGET_CPU_CPP_BUILTINS): Predicate __mc68020__ on TARGET_68020.
* config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Predicate
	__mc68020__ on TARGET_68020.

From-SVN: r68647
2003-06-28 19:35:37 +00:00