Commit Graph

63363 Commits

Author SHA1 Message Date
Paul Brook
9686c8110e Committed wrong version of previous patch.
From-SVN: r90384
2004-11-10 02:44:39 +00:00
Paul Brook
851739ea17 * invoke.texi: Fix typo.
From-SVN: r90383
2004-11-10 02:35:05 +00:00
Paul Brook
2cbcdebaf9 re PR fortran/18218 (Miscompare in sixtrack benchmark caused by loss of precision)
PR fortran/18218
	* configure.ac: Check for strtof.
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* io/read.c (convert_real): Use strtof if available.
	(convert_precision_real): Remove.
	(read_f): Avoid poor exponentiation algorithm.
gcc/testsuite/
	* gfortran.dg/list_read.c: New test.

From-SVN: r90382
2004-11-10 02:19:27 +00:00
Paul Brook
4ef509c058 MAINTAINERS: Add self as arm maintainer.
2004-11-11  Paul Brook  <paul@codesourcery.com>

	* MAINTAINERS: Add self as arm maintainer.  Update email address.

From-SVN: r90381
2004-11-10 02:10:24 +00:00
Aldy Hernandez
99176a91bd rs6000.md (fix_truncdfsi2): Handle e500 doubles.
* config/rs6000/rs6000.md (fix_truncdfsi2): Handle e500
	doubles.
	(floatunssidf2): Same.
	(floatsidf2): Same.
	("extendsfdf2"): New expander.
	(*extendsfdf2_fpr): Rename.
	(*truncdfsf2_fpr): Same.
	(*negdf2_fpr): Same.
	(*absdf2_fpr): Same.
	(*nabsdf2_fpr): Same.
	(*adddf3_fpr): Same.
	(*subdf3_fpr): Same.
	(*muldf3_fpr): Same.
	(*divdf3_fpr): Same.

	* config/rs6000/spe.md ("spe_extendsfdf2"): Remove FIXME comment.
	("spe_fix_truncdfsi2"): Same.
	(spe_floatunssidf2): Same.
	(spe_floatsidf2): Same.

From-SVN: r90379
2004-11-10 01:08:22 +00:00
GCC Administrator
df2ae6e216 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90377.2
2004-11-10 00:16:21 +00:00
GCC Administrator
2c2ba7c120 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90375.2
2004-11-10 00:16:16 +00:00
Joseph Myers
793387fa35 inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
* inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
	(int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
	_CLASSIC_ANSI_TYPES.
	(sun_auth_proto): Bypass on __cplusplus.
	* fixincl.x: Regenerate.

From-SVN: r90371
2004-11-09 23:14:06 +00:00
Tom Tromey
cdf87ecb60 * include/jni.h: Added FIXME.
From-SVN: r90370
2004-11-09 22:42:01 +00:00
Joseph Myers
d34aacdfff * cpplib.pot: Regenerate.
From-SVN: r90369
2004-11-09 22:02:09 +00:00
Joseph Myers
50f47ee0cd Makefile.in ($(PACKAGE).pot): New rule.
* Makefile.in ($(PACKAGE).pot): New rule.  Depend on
	po/$(PACKAGE).pot.
	(po/$(PACKAGE).pot): Use ":" instead of "," in --keyword
	arguments.  Add keywords _, N_, SYNTAX_ERROR and SYNTAX_ERROR2.
	Remove local srcdir path from generated file.

From-SVN: r90368
2004-11-09 21:58:43 +00:00
Joseph Myers
c043fab83a * exgettext: Remove local srcdir and objdir paths from gcc.pot.
From-SVN: r90367
2004-11-09 21:57:17 +00:00
Joseph Myers
8b17a9d698 re PR c/18322 (__func__ diagnostic in bad location)
PR c/18322
	* c-common.c (fname_decl): Don't use line number of decl in
	diagnostic.

testsuite:
	* gcc.dg/func-outside-1.c, gcc.dg/func-outside-2.c: Correct
	expected diagnostic location.

From-SVN: r90365
2004-11-09 21:22:27 +00:00
Ulrich Weigand
e221ef54b8 s390-protos.h (s390_pool_operand): Remove.
ChangeLog:

	* config/s390/s390-protos.h (s390_pool_operand): Remove.
	* config/s390/s390.c (s390_pool_operand): Likewise.
	(s390_extra_constraint_str): Handle 'B' constraints.
	* config/s390/s390.h (CONSTRAINT_LEN): Handle 'B' constraints.
	* config/s390/s390.md: Document 'B' constraints.
	("*cmpdi_cct", "*cmpsi_cct"): Use 'B' constraint instead of
	s390_pool_operand to prevent insns with two literal pool
	references.  Make pattern commutative.
	("*cmpdi_ccu", "*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu"): Use
	'B' constraint instead of s390_pool_operand.

testsuite/ChangeLog:

	* gcc.dg/20041109-1.c: New test.

From-SVN: r90364
2004-11-09 20:46:19 +00:00
Andrew Pinski
3172e26ca4 re PR objc/18406 (ICE compiling Objective C code with long double arguments)
2004-11-09  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/18406
        * obj-act.c (encode_type): 96bits doubles are encoded the
        same way as 64bit and 128bit doubles are.

2004-11-09  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/18406
        * objc/compile/pr18406.m: New test.

From-SVN: r90361
2004-11-09 11:44:38 -08:00
Kazu Hirata
27fd69fada * tree-cfg.c (create_bb): Remove unnecessary memset.
From-SVN: r90360
2004-11-09 19:33:58 +00:00
Kazu Hirata
6c99d79fbf tree-ssa-threadupdate.c (copy_phis_to_block): Remove.
* tree-ssa-threadupdate.c (copy_phis_to_block): Remove.
	(thread_block): Call flush_pending_stmt instead of
	copy_phis_to_block.

From-SVN: r90359
2004-11-09 19:25:04 +00:00
Kazu Hirata
e3715ebdd3 loop-iv.c (iv_number_of_iterations): Make it static.
* loop-iv.c (iv_number_of_iterations): Make it static.
	* cfgloop.h: Remove the corresponding prototype.

From-SVN: r90358
2004-11-09 19:21:29 +00:00
Kazu Hirata
6fe79279b7 function.c (combine_temp_slots, [...]): Make them static.
* function.c (combine_temp_slots, assign_parms,
	expand_pending_sizes): Make them static.
	* tree.h: Remove the corresponding prototypes.

From-SVN: r90357
2004-11-09 19:19:41 +00:00
Kazu Hirata
3f5d8b4b19 emit-rtl.c (copy_most_rtx): Remove.
* emit-rtl.c (copy_most_rtx): Remove.
	* rtl.h: Remove the corresponding prototype.

From-SVN: r90356
2004-11-09 17:46:06 +00:00
Kazu Hirata
9d3fe3556a cfgloop.c (flow_loops_update): Remove.
* cfgloop.c (flow_loops_update): Remove.
	* cfgloop.h: Remove the corresponding prototype.

From-SVN: r90355
2004-11-09 17:43:41 +00:00
Kazu Hirata
2223a9984d conflict.c (mark_reg, [...]): Remove.
* conflict.c (mark_reg, conflict_graph_compute): Remove.
	* basic-block.h: Remove the prototype for
	conflict_graph_compute.

From-SVN: r90354
2004-11-09 17:41:23 +00:00
Kazu Hirata
9965c9c737 tree-if-conv.c (add_to_dst_predicate_list): Change the second argument to basic_block.
* tree-if-conv.c (add_to_dst_predicate_list): Change the
	second argument to basic_block.
	(tree_if_convert_cond_expr): Update call sites.

From-SVN: r90353
2004-11-09 17:39:18 +00:00
Kazu Hirata
49995c8ed1 fold-const.c (pedantic_non_lvalue): Make it static.
* fold-const.c (pedantic_non_lvalue): Make it static.
	* tree.h: Remove the corresponding prototype.

From-SVN: r90352
2004-11-09 17:36:26 +00:00
Kazu Hirata
6db0fb0ed3 optabs.c (prepare_operand): Make it static.
* optabs.c (prepare_operand): Make it static.
	* optabs.h: Remove the corresponding prototype.

From-SVN: r90351
2004-11-09 17:34:03 +00:00
Kazu Hirata
bf9a0db3c8 reload1.c (reloads_conflict, gen_reload): Make them static.
* reload1.c (reloads_conflict, gen_reload): Make them static.
	* reload.h: Remove the corresponding prototypes.

From-SVN: r90350
2004-11-09 17:31:06 +00:00
Kazu Hirata
10015a27fd reload.c (refers_to_mem_for_reload_p, [...]): Make them static.
* reload.c (refers_to_mem_for_reload_p,
	refers_to_regno_for_reload_p): Make them static.
	* reload.h: Remove the corresponding prototypes.

From-SVN: r90349
2004-11-09 17:29:03 +00:00
James A. Morrison
c75d6010b0 re PR target/18230 (SPARC VIS instructions are not generated by GCC)
PR target/18230
	* doc/md.texi (SPARC constraints): Document 'Y' constraint.
	* config/sparc/sparc-modes.def: Add vector modes of 4 and 8 bytes.
	* config/sparc/sparc.c (sparc_vector_mode_supported_p): New function.
	(TARGET_VECTOR_MODE_SUPPORTED_P): Set to sparc_vector_mode_supported_p.
	(fp_zero_operand): Accept MODE_VECTOR_INT modes.
	(input_operand): Accept CONST_VECTOR with MODE_VECTOR_INT modes.
	(sparc_cannot_force_const_mem): Return false for CONST_VECTOR.
	(sparc_init_modes): Set sparc_mode_class to SF_MODE or DF_MODE for
	MODE_VECTOR_INT modes.
	(sparc_extra_constraint_check): Add new constraint 'Y'.
	* config/sparc/sparc.h: Define UNITS_PER_SIMD_WORD to 8 for TARGET_VIS.
	* config/sparc/sparc.md (V32): New mode macro for 32-bit modes.
	(V64): New mode macro for 64-bit modes.
	(movsf): Use V32 for mode instead of SF.
	(movsf_insn_vis): Use V32 for mode instead of SF.  Add 'Y' constraint
	alongside 'G' constraint.
	(movdf): Use V64 for mode instead of DF.
	(movdf_insn_v9only_vis, modf_insn_sp64_vis): Use V64 for mode instead
	of DF.  Add 'Y' constraint alongside 'G' constraint.
	(multi-isn and misaligned mems DFmode splitters): Use V64 for mode
	instead of DF.

Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>

From-SVN: r90348
2004-11-09 17:06:03 +00:00
Ulrich Weigand
26a8930190 s390.c (s390_select_ccmode): Return CCAPmode for integer NEG and ABS.
* config/s390/s390.c (s390_select_ccmode): Return CCAPmode for
	integer NEG and ABS.
	* config/s390/s390.md ("*negdi2_64"): Fix op_type attribute.
	("*negdi2_31"): Reimplement using a splitter.
	("*negdi2_cc", "*negdi2_cconly"): New insns.
	("*negdi2_sign", "*negdi2_sign_cc"): Likewise.
	("*negsi2_cc", "*negsi2_cconly"): Likewise.
	("*negdf2_cc", "*negdf2_cconly"): Likewise.
	("*negsf2_cc", "*negsf2_cconly"): Likewise.
	("*absdi2_cc", "*absdi2_cconly"): New insns.
	("*absdi2_sign", "*absdi2_sign_cc"): Likewise.
	("*abssi2_cc", "*abssi2_cconly"): Likewise.
	("*absdf2_cc", "*absdf2_cconly"): Likewise.
	("*abssf2_cc", "*abssf2_cconly"): Likewise.
	("*negabsdi2_cc", "*negabsdi2_cconly"): New insns.
	("*negabsdi2_sign", "*negabsdi2_sign_cc"): Likewise.
	("*negabssi2_cc", "*negabssi2_cconly"): Likewise.
	("*negabsdf2_cc", "*negabsdf2_cconly"): Likewise.
	("*negabssf2_cc", "*negabssf2_cconly"): Likewise.

From-SVN: r90347
2004-11-09 16:46:45 +00:00
Ulrich Weigand
0288742581 s390.c (s390_canonicalize_comparison): Reverse condition when eliminating an UNSPEC_CMPINT.
* config/s390/s390.c (s390_canonicalize_comparison): Reverse condition
	when eliminating an UNSPEC_CMPINT.
	(s390_secondary_input_reload_class): Fix test for CC register reload.
	(s390_secondary_output_reload_class): Likewise.
	(s390_expand_cmpmem): Swap operands.  Use gen_cmpint.
	* config/s390/s390.md ("*cmpint_si", "*cmpint_di"): Remove.
	("cmpint", "*cmpint_cc", "*cmpint_sign", "*cmpint_sign_cc"): New
	insn patterns with splitters.

From-SVN: r90346
2004-11-09 15:47:48 +00:00
David Edelsohn
c0600ecd54 rs6000.c (rs6000_rtx_costs): Add EQ, GTU, and LTU.
* config/rs6000/rs6000.c (rs6000_rtx_costs): Add EQ, GTU, and LTU.
	* config/rs6000/rs6000.md (sCC): Split GTU and LTU patterns.

From-SVN: r90345
2004-11-09 10:27:23 -05:00
Kazu Hirata
5ae7171924 tree-phinodes.c (phi_reverse): New.
* tree-phinodes.c (phi_reverse): New.
	* tree-cfg.c (tree_make_forwarder_block, tree_duplicate_bb):
	Use it.
	* tree-flow.h: Add a prototype for phi_reverse.

From-SVN: r90344
2004-11-09 14:59:49 +00:00
Andrew Pinski
6571838f58 re PR java/15576 (Class initialization optimization is disabled)
2004-11-09  Andrew Pinski  <pinskia@physics.uc.edu>

        PR java/15576
        * check-init.c (check_init): Ignore DECL_EXPR.
        * expr.c (always_initialize_class_p): Reenable.
        (build_class_init): Use a variable to store the decl.  Also use
        boolean_false_node instead of integer_zero_node.
        * parse.y (attach_init_test_initialization_flags): Add a decl_expr
        to the block.

From-SVN: r90343
2004-11-09 06:33:32 -08:00
Kazu Hirata
a0eca485f4 * tree-ssa-loop-ivopts.c: Fix a comment typo.
From-SVN: r90342
2004-11-09 14:11:03 +00:00
Paolo Carlini
cf5c6c8d31 locale_facets.tcc (time_get<>::do_get_weekday, [...]): Absolutely avoid dereferencing end iterators.
2004-11-09  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (time_get<>::do_get_weekday,
	time_get<>::do_get_monthname): Absolutely avoid dereferencing
	end iterators.

	* include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
	Minor tweak.

From-SVN: r90341
2004-11-09 12:49:20 +00:00
James A. Morrison
37d060a3ab re PR pch/14940 (PCH largefile test fails on various platforms)
2004-11-07  James A. Morrison  <phython@gcc.gnu.org>

       PR pch/14940
       * config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __sparc__
       definitions.

From-SVN: r90340
2004-11-09 12:35:15 +00:00
Joseph Myers
f843c41795 * gcc.pot: Regenerate.
From-SVN: r90339
2004-11-09 10:27:09 +00:00
Joseph Myers
40b97a2e29 builtins.c, [...]: Say "argument" instead of "arg" in diagnostics.
* builtins.c, c-common.c, c-decl.c, c-format.c: Say "argument"
	instead of "arg" in diagnostics.

testsuite:
	* gcc.dg/builtin-prefetch-1.c: Update expected diagnostic.

From-SVN: r90338
2004-11-09 10:20:12 +00:00
Joseph Myers
9e637a2679 builtins.c, [...]: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate.
* builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h,
	c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c,
	gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c,
	tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c,
	config/avr/avr.c, config/c4x/c4x.c, config/darwin.c,
	config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c,
	config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
	config/iq2000/iq2000.c, config/m32r/m32r.c,
	config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h,
	config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c,
	config/ns32k/ns32k.c, config/rs6000/host-darwin.c,
	config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c,
	config/sh/symbian.c, config/stormy16/stormy16.c,
	config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %<
	and %> as appropriate.  Use %' as apostrophe in diagnostics where
	applicable.  Use %< and %> in place of '' quotes where applicable.
	Use %qs in place of %<%s%>.  Consistently quote __builtin function
	names.

ada:
	* misc.c (gnat_handle_option): Use %< and %> for quoting in
	warning message.

cp:
	* call.c, class.c, decl.c, decl2.c, error.c, mangle.c, parser.c,
	pt.c, search.c, semantics.c, typeck.c: Use %q, %< and %> for
	quoting in diagnostics.
	* parser.c (cp_parser_sizeof_operand): Use '' instead of `' for
	quoting in printf format.
	* decl.c (duplicate_decls, start_decl): Use %qD instead of
	unquoted %D.

objc:
	* objc-act.c: Use %q, %< and %> for quoting in diagnostics.

testsuite:
	* gcc.dg/builtin-prefetch-1.c: Adjust expected messages.

From-SVN: r90337
2004-11-09 10:13:30 +00:00
Hans-Peter Nilsson
55a9c4b2fc * gdbinit.in (pbb, pbm): New macros.
From-SVN: r90336
2004-11-09 09:36:05 +00:00
Jeff Law
df95526be1 cfg.c (redirect_edge_succ_nodup): Use find_edge rather than implementing it inline.
* cfg.c (redirect_edge_succ_nodup): Use find_edge rather than
        implementing it inline.

        * cfganal.c (find_edge): Search pred->succs or succ->preds,
        whichever is shorter.

From-SVN: r90333
2004-11-08 21:21:49 -07:00
Kazu Hirata
68e4debe62 * passes.c (rest_of_handle_jump): Remove dead code.
From-SVN: r90325
2004-11-09 01:04:56 +00:00
Steve Ellcey
66e52c3536 * testsuite/gcc.dg/uninit-H.c: Add ifdefs for __hppa__ and __ia64__.
From-SVN: r90324
2004-11-09 00:49:00 +00:00
GCC Administrator
d9e75e864c Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90322.2
2004-11-09 00:16:36 +00:00
GCC Administrator
699fd33bad Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90321.2
2004-11-09 00:16:28 +00:00
Tom Tromey
763f47eec9 GregorianCalendar.java: Removed unused imports.
* java/util/GregorianCalendar.java: Removed unused imports.
	* java/util/Vector.java: Removed unused import.

From-SVN: r90316
2004-11-08 23:04:34 +00:00
Kazu Hirata
31864f5956 tree-cfg.c (thread_jumps): Speed up by keeping a pointer to the last used element in the worklist.
* tree-cfg.c (thread_jumps): Speed up by keeping a pointer to
	the last used element in the worklist.

From-SVN: r90314
2004-11-08 22:41:40 +00:00
Kazu Hirata
892c7e1ec6 tree-inline.c (remap_save_expr): Make it static.
* tree-inline.c (remap_save_expr): Make it static.
	* tree-inline.h: Remove the corresponding prototype.

From-SVN: r90313
2004-11-08 22:40:09 +00:00
Kazu Hirata
e1a8be3fb0 tree-ssa-loop-niter.c (upper_bound_in_type, [...]): Make them static.
* tree-ssa-loop-niter.c (upper_bound_in_type,
	lower_bound_in_type): Make them static.
	* tree.h: Remove the corresponding prototypes.

From-SVN: r90312
2004-11-08 22:38:12 +00:00
Kazu Hirata
1d9d86833d tree-ssa-live.c (tpa_init, [...]): Make them static.
* tree-ssa-live.c (tpa_init, pop_best_coalesce): Make them
	static.
	* tree-ssa-live.h: Remove the corresponding prototypes.

From-SVN: r90311
2004-11-08 22:36:48 +00:00