Commit Graph

63326 Commits

Author SHA1 Message Date
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
Kazu Hirata
a1d3c05ce7 tree-if-conv.c (tree_if_conversion): Make it static.
* tree-if-conv.c (tree_if_conversion): Make it static.
	* tree-flow.h: Remove the corresponding prototype.

From-SVN: r90310
2004-11-08 22:34:18 +00:00
Kazu Hirata
d05eae888f tree-ssa-operands.c (build_ssa_operands): Make it static.
* tree-ssa-operands.c (build_ssa_operands): Make it static.
	* tree-flow.h: Remove the corresponding prototype.

From-SVN: r90308
2004-11-08 21:56:03 +00:00
Zdenek Dvorak
b1b02be234 Makefile.in (tree-ssa-loop-ivopts.o): Add sbitmap.h dependency.
* Makefile.in (tree-ssa-loop-ivopts.o): Add sbitmap.h dependency.
	* tree-ssa-loop-ivopts.c (struct iv_use): Change semantics of
	related_cands.
	(struct iv_ca, struct iv_ca_delta): New types.
	(tree_ssa_iv_optimize_init): Allocate important_candidates bitmap.
	(record_important_candidates): New.
	(find_iv_candidates): Call record_important_candidates.
	(alloc_use_cost_map): Derive size only from important candidates.
	(set_use_iv_cost, get_use_iv_cost): Use hash-like mechanism to speed
	up searches.
	(determine_use_iv_cost_generic, determine_use_iv_cost_address,
	determine_use_iv_cost_condition, determine_use_iv_cost_outer,
	determine_use_iv_cost): Return whether the use can be expressed by
	the candidate.
	(determine_use_iv_costs): Prune useless candidates from relate_cands
	bitmaps.
	(find_best_candidate, set_cost_up_to, set_cost): Removed.
	(cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp,
	iv_ca_set_cp, iv_ca_add_use, iv_ca_cost, iv_ca_has_deps,
	iv_ca_delta_add, iv_ca_cand_for_use, iv_ca_delta_commit,
	iv_ca_cand_used_p, iv_ca_delta_free, iv_ca_new, iv_ca_free,
	iv_ca_dump, iv_ca_extend, iv_ca_narrow): New functions.
	(try_add_cand_for, get_initial_solution, try_improve_iv_set,
	find_optimal_iv_set, create_new_ivs, tree_ssa_iv_optimize_loop):
	Use new iv set representation.
	(free_loop_data): clear important_candidates bitmap.
	(tree_ssa_iv_optimize_finalize): Free important_candidates bitmap.

From-SVN: r90306
2004-11-08 21:49:08 +00:00
Andrew Pinski
3a723ff6e5 re PR objc/16546 ([unit-at-a-time] Solaris 10/x86 libobjc bootstrap failure: invalid assembler code)
2004-11-08  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/16546
        * objc-act.c (generate_method_descriptors): Remove setting
        the new decls' type to variable_length_type.
        (generate_ivar_lists): Likewise.
        (generate_dispatch_tables): Likewise.

From-SVN: r90304
2004-11-08 13:34:36 -08:00
Steve Ellcey
c7fa97d960 20030225-2.c: Add prototype for abort and exit.
* testsuite/gcc.dg/20030225-2.c: Add prototype for abort and
	exit.

From-SVN: r90297
2004-11-08 20:49:05 +00:00
Benjamin Kosnik
948af8ae9c re PR libstdc++/17664 ([3.4 only] Crash in std::map when using _GLIBCXX_DEBUG with multithreading)
2004-11-08  Benjamin Kosnik  <bkoz@redhat.com>
	    Doug Gregor  <dgregor@cs.indiana.edu>

	PR libstdc++/17664
	* src/debug.cc: Just use one mutex.

Co-Authored-By: Doug Gregor <dgregor@cs.indiana.edu>
Co-Authored-By: Lothar Werzinger <lothar@xcerla.com>

From-SVN: r90296
2004-11-08 20:47:25 +00:00
Andrew Pinski
b03c0b9324 re PR middle-end/18299 (ICE in gimple-lower)
2004-11-08  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/18299
        * gcc.c-torture/pr18299-1.c: New test.

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

        PR tree-opt/18299
        * tree-inline.c (copy_body_r): Change "t = t" to empty
        statement instead of "t".

From-SVN: r90295
2004-11-08 12:10:46 -08:00
Benjamin Kosnik
8736cbe6f2 configure.ac (libtool_VERSION): To 6:4:0.
2004-11-08  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.ac (libtool_VERSION): To 6:4:0.
	* configure: Regenerate.

	* config/linker-map.gnu: Slide new symbols into GLIBCXX_3.4.4.

	* docs/doxygen/user.cfg.in: Add more extension files.

From-SVN: r90292
2004-11-08 20:06:30 +00:00
Kazu Hirata
c16162ad16 modulo-sched.c (create_partial_schedule, [...]): Make them static.
* modulo-sched.c (create_partial_schedule,
	free_partial_schedule, reset_partial_schedule,
	ps_add_node_check_conflicts, rotate_partial_schedule): Make
	them static.

From-SVN: r90291
2004-11-08 19:45:20 +00:00
Richard Henderson
14c8e21335 expmed.c (extract_force_align_mem_bit_field): Correct handling at the end of a page.
* expmed.c (extract_force_align_mem_bit_field): Correct handling at
        the end of a page.

From-SVN: r90288
2004-11-08 11:18:16 -08:00
Kazu Hirata
c66a43689e sched-deps.c (add_insn_mem_dependence): Make it static.
* sched-deps.c (add_insn_mem_dependence): Make it static.
	* sched-int.h: Remove the corresponding prototypes.

From-SVN: r90283
2004-11-08 19:07:49 +00:00
Kazu Hirata
6058028632 flow.c (allocate_bb_life_data): Make it static.
* flow.c (allocate_bb_life_data): Make it static.
	* basic-block.h: Remove the corresponding prototype.

From-SVN: r90282
2004-11-08 19:05:12 +00:00
Kazu Hirata
2f2b4a02c7 calls.c (split_complex_values, [...]): Make them static.
* calls.c (split_complex_values, split_complex_types): Make
	them static.
	* expr.h: Remove the corresponding prototypes.

From-SVN: r90281
2004-11-08 19:03:17 +00:00
Richard Henderson
513305f159 New test case.
From-SVN: r90280
2004-11-08 10:53:59 -08:00
Tom Tromey
5e74a4ebf7 re PR java/16843 (gcjh generated headers don't define final constants)
PR java/16843:
	* gjavah.c (HANDLE_END_FIELD): Call print_field_info when
	generating a JNI header.
	(print_field_info): Handle JNI headers.
	(jni_print_float): Likewise.
	(jni_print_double): Likewise.

From-SVN: r90277
2004-11-08 18:03:01 +00:00
Paolo Carlini
15fb0dbeb7 streambuf_iterator.h (class istreambuf_iterator): Consistently use _M_c to cache the current char...
2004-11-08  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/streambuf_iterator.h (class istreambuf_iterator):
	Consistently use _M_c to cache the current char, i.e., not only
	when operator++(int) is involved; change _M_c to mutable.
	(_M_get()): Always save the return value of _M_sbuf->sgetc() into
	_M_c.
	* testsuite/22_locale/time_get/get_monthname/char/1.cc: Fix
	(long standing) typo.
	* testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
	* testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
	* testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.

From-SVN: r90275
2004-11-08 17:55:54 +00:00
Richard Earnshaw
7bff66a715 arm.c (arm_handle_notshared_attribute): Wrap declaration and use with #if TARGET_DLLIMPORT_DECL_ATTRIBUTES.
* arm.c (arm_handle_notshared_attribute): Wrap declaration and use
with #if TARGET_DLLIMPORT_DECL_ATTRIBUTES.

From-SVN: r90272
2004-11-08 17:17:30 +00:00
Paolo Carlini
adb31ad60d istream.tcc (getline(char_type*, streamsize, char_type), [...]): Restore a generic version of the functions...
2004-11-08  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/istream.tcc (getline(char_type*, streamsize,
	char_type), ignore(streamsize), ignore(streamsize, int_type)):
	Restore a generic version of the functions, not using the
	protected members of basic_streambuf.
	* include/std/std_istream.h (getline(char_type*, streamsize,
	char_type), ignore(streamsize), ignore(streamsize, int_type)):
	Declare optimized specializations for char and wchar_t.
	* src/istream.cc: New file, define the latter.
	* src/Makefile.am: Add.
	* src/Makefile.in: Regenerate.

From-SVN: r90268
2004-11-08 15:46:28 +00:00
Kazu Hirata
1b7cd4a5e5 tree-if-conv.c (tree_if_convert_cond_expr): Remove two "if" statements that always trigger.
* tree-if-conv.c (tree_if_convert_cond_expr): Remove two "if"
	statements that always trigger.

From-SVN: r90267
2004-11-08 15:02:14 +00:00
Kazu Hirata
f7b529fae7 arith.c, [...]: Fix comment formatting.
* arith.c, array.c, decl.c, expr.c, f95-lang.c, gfortran.h,
	gfortranspec.c, interface.c, intrinsic.c, iresolve.c, match.c,
	module.c, parse.c, parse.h, primary.c, resolve.c, scanner.c,
	trans-array.c, trans-array.h, trans-expr.c, trans-intrinsic.c,
	trans-io.c, trans-stmt.c, trans.h: Fix comment formatting.

From-SVN: r90266
2004-11-08 14:56:41 +00:00
Kazu Hirata
03fd3f84d8 class.c, [...]: Fix comment formatting.
* class.c, decl.c, lex.c, name-lookup.c, parser.c, pt.c,
	search.c, typeck2.c: Fix comment formatting.

From-SVN: r90265
2004-11-08 14:48:02 +00:00
Andrew Pinski
517f199e1e decl.c (end_java_method): Remove duplicated code.
2004-11-08  Andrew Pinski  <pinskia@physics.uc.edu>

        * decl.c (end_java_method): Remove duplicated code.

From-SVN: r90264
2004-11-08 06:27:36 -08:00
Rainer Orth
0506cb1c00 * a-numaux-x86.adb (Tan): Fix fdivp syntax.
From-SVN: r90263
2004-11-08 14:03:44 +00:00
Kazu Hirata
bb29d95124 tree-cfg.c, [...]: Replace TREE_CHAIN with PHI_CHAIN where appropriate.
* tree-cfg.c, tree-if-conv.c, tree-into-ssa.c,
	tree-scalar-evolution.c, tree-ssa-loop-im.c,
	tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa.c,
	tree-vectorizer.c: Replace TREE_CHAIN with PHI_CHAIN where
	appropriate.

From-SVN: r90262
2004-11-08 13:54:41 +00:00
Ben Elliston
1590235e1e cgraph.h (cgraph_calls_p): Remove.
* cgraph.h (cgraph_calls_p): Remove.
	* cgraph.c (cgraph_calls_p): Likewise.

	* varray.h (varray_copy): Remove.
	* varray.c (varray_copy): Likewise.

From-SVN: r90261
2004-11-08 18:42:56 +11:00
Andrew Pinski
b8a55285ff re PR target/18269 (-m64 -fPIC does not work on ppc-darwin)
2004-11-07  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/18269
        * config/darwin.c (machopic_indirect_data_reference):
        Call gen_macho_high and gen_macho_low instead of
        checking the mode and calling gen_macho_high_di directly.
        * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
        * config/rs6000/rs6000.md: Move most of TARGET_MACHO expand/insns
        to darwin.md.
        (movdf_low, movsf_low, movsf_low_st, movsi_low, macho_correct_pic,
        load_macho_picbase, macho_low, macho_high): Removed.
        (builtin_setjmp_receiver): Call gen_macho_high and
        gen_macho_low instead of checking the mode and calling
        gen_macho_high_di directly.
        * config/rs6000/darwin.md (load_macho_picbase_di): Use the MD constant.
        (movdf_low_si, movsf_low_si, movsf_low_st_si, movsi_low_st):
        Moved from rs6000.md.
        (macho_high): New expander.
        (macho_high_si): Renamed version of macho_high from rs6000.md.
        (macho_low): New expander.
        (macho_low_si): Renamed version of macho_low from rs6000.md.
        (load_macho_picbase): New expander.
        (load_macho_picbase_si): Renamed version of load_macho_picbase
        from rs6000.md.
        (macho_correct_pic): New expander.
        (macho_correct_pic_si): Renamed version of macho_correct_pic
        from rs6000.md.

From-SVN: r90257
2004-11-07 20:42:36 -08:00
Hans-Peter Nilsson
79fd859270 Mention configure in last entry
From-SVN: r90256
2004-11-08 01:40:10 +00:00
Hans-Peter Nilsson
20d11df6b7 configure.in (noconfigdirs): Disable target-libgfortran.
* configure.in (noconfigdirs) [mmix-*-*]: Disable
	target-libgfortran.

From-SVN: r90252
2004-11-08 01:27:56 +00:00
GCC Administrator
1a89f1b506 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90249.2
2004-11-08 00:16:15 +00:00
GCC Administrator
c167992a3c Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90248.2
2004-11-08 00:16:10 +00:00
David Edelsohn
68c70f15da config-ml.in: Pass FCFLAGS for multilibs, handle GFORTRAN like CC.
* config-ml.in: Pass FCFLAGS for multilibs, handle GFORTRAN
        like CC.

From-SVN: r90246
2004-11-07 18:37:28 -05:00
Joseph Myers
517685772f * de.po: Update.
From-SVN: r90241
2004-11-07 19:52:20 +00:00
James A. Morrison
328a2a74da README: Update website URL.
2004-11-07  James A. Morrison  <phython@gcc.gnu.org>

        * README: Update website URL.

From-SVN: r90239
2004-11-07 17:08:09 +00:00
Mark Wielaard
d060a30bf8 [multiple changes]
2004-11-07  Michael Koch  <konqueror@gmx.de>

       * java/lang/Process.java:
       Import cleanups.

2004-11-07  Jeroen Frijters  <jeroen@frijters.net>

       * java/util/zip/ZipEntry.java
       (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.

From-SVN: r90231
2004-11-07 13:05:53 +00:00
Robert Schuster
c2914ce5bf Fixes bug #10908
2004-11-07  Robert Schuster  <theBohemian@gmx.net>

       Fixes bug #10908
       * gnu/java/beans/IntrospectionIncubator.java:
       (addMethod): static methods are discarded now, too.

From-SVN: r90230
2004-11-07 12:38:03 +00:00
Paolo Carlini
32890afef4 ifstream_getline-2.cc: New.
2004-11-07  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/performance/27_io/ifstream_getline-2.cc: New.

From-SVN: r90229
2004-11-07 12:35:48 +00:00
Andrew John Hughes
43962ff925 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/GregorianCalendar.java
       Added/amended documentation.

From-SVN: r90228
2004-11-07 11:55:09 +00:00