Joseph Myers [Tue, 9 Nov 2004 21:22:27 +0000 (21:22 +0000)]
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
Ulrich Weigand [Tue, 9 Nov 2004 20:46:19 +0000 (20:46 +0000)]
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
Andrew Pinski [Tue, 9 Nov 2004 19:44:38 +0000 (19:44 +0000)]
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
Kazu Hirata [Tue, 9 Nov 2004 19:33:58 +0000 (19:33 +0000)]
* tree-cfg.c (create_bb): Remove unnecessary memset.
From-SVN: r90360
Kazu Hirata [Tue, 9 Nov 2004 19:25:04 +0000 (19:25 +0000)]
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
Kazu Hirata [Tue, 9 Nov 2004 19:21:29 +0000 (19:21 +0000)]
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
Kazu Hirata [Tue, 9 Nov 2004 19:19:41 +0000 (19:19 +0000)]
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
Kazu Hirata [Tue, 9 Nov 2004 17:46:06 +0000 (17:46 +0000)]
emit-rtl.c (copy_most_rtx): Remove.
* emit-rtl.c (copy_most_rtx): Remove.
* rtl.h: Remove the corresponding prototype.
From-SVN: r90356
Kazu Hirata [Tue, 9 Nov 2004 17:43:41 +0000 (17:43 +0000)]
cfgloop.c (flow_loops_update): Remove.
* cfgloop.c (flow_loops_update): Remove.
* cfgloop.h: Remove the corresponding prototype.
From-SVN: r90355
Kazu Hirata [Tue, 9 Nov 2004 17:41:23 +0000 (17:41 +0000)]
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
Kazu Hirata [Tue, 9 Nov 2004 17:39:18 +0000 (17:39 +0000)]
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
Kazu Hirata [Tue, 9 Nov 2004 17:36:26 +0000 (17:36 +0000)]
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
Kazu Hirata [Tue, 9 Nov 2004 17:34:03 +0000 (17:34 +0000)]
optabs.c (prepare_operand): Make it static.
* optabs.c (prepare_operand): Make it static.
* optabs.h: Remove the corresponding prototype.
From-SVN: r90351
Kazu Hirata [Tue, 9 Nov 2004 17:31:06 +0000 (17:31 +0000)]
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
Kazu Hirata [Tue, 9 Nov 2004 17:29:03 +0000 (17:29 +0000)]
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
James A. Morrison [Tue, 9 Nov 2004 17:06:03 +0000 (17:06 +0000)]
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
Ulrich Weigand [Tue, 9 Nov 2004 16:46:45 +0000 (16:46 +0000)]
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
Ulrich Weigand [Tue, 9 Nov 2004 15:47:48 +0000 (15:47 +0000)]
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
David Edelsohn [Tue, 9 Nov 2004 15:27:23 +0000 (15:27 +0000)]
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
Kazu Hirata [Tue, 9 Nov 2004 14:59:49 +0000 (14:59 +0000)]
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
Andrew Pinski [Tue, 9 Nov 2004 14:33:32 +0000 (14:33 +0000)]
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
Kazu Hirata [Tue, 9 Nov 2004 14:11:03 +0000 (14:11 +0000)]
* tree-ssa-loop-ivopts.c: Fix a comment typo.
From-SVN: r90342
Paolo Carlini [Tue, 9 Nov 2004 12:49:20 +0000 (12:49 +0000)]
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
James A. Morrison [Tue, 9 Nov 2004 12:35:15 +0000 (12:35 +0000)]
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
Joseph Myers [Tue, 9 Nov 2004 10:27:09 +0000 (10:27 +0000)]
* gcc.pot: Regenerate.
From-SVN: r90339
Joseph Myers [Tue, 9 Nov 2004 10:20:12 +0000 (10:20 +0000)]
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
Joseph Myers [Tue, 9 Nov 2004 10:13:30 +0000 (10:13 +0000)]
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
Hans-Peter Nilsson [Tue, 9 Nov 2004 09:36:05 +0000 (09:36 +0000)]
* gdbinit.in (pbb, pbm): New macros.
From-SVN: r90336
Jeff Law [Tue, 9 Nov 2004 04:21:49 +0000 (21:21 -0700)]
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
Kazu Hirata [Tue, 9 Nov 2004 01:04:56 +0000 (01:04 +0000)]
* passes.c (rest_of_handle_jump): Remove dead code.
From-SVN: r90325
Steve Ellcey [Tue, 9 Nov 2004 00:49:00 +0000 (00:49 +0000)]
* testsuite/gcc.dg/uninit-H.c: Add ifdefs for __hppa__ and __ia64__.
From-SVN: r90324
GCC Administrator [Tue, 9 Nov 2004 00:16:36 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90322.2
GCC Administrator [Tue, 9 Nov 2004 00:16:28 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90321.2
Tom Tromey [Mon, 8 Nov 2004 23:04:34 +0000 (23:04 +0000)]
GregorianCalendar.java: Removed unused imports.
* java/util/GregorianCalendar.java: Removed unused imports.
* java/util/Vector.java: Removed unused import.
From-SVN: r90316
Kazu Hirata [Mon, 8 Nov 2004 22:41:40 +0000 (22:41 +0000)]
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
Kazu Hirata [Mon, 8 Nov 2004 22:40:09 +0000 (22:40 +0000)]
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
Kazu Hirata [Mon, 8 Nov 2004 22:38:12 +0000 (22:38 +0000)]
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
Kazu Hirata [Mon, 8 Nov 2004 22:36:48 +0000 (22:36 +0000)]
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
Kazu Hirata [Mon, 8 Nov 2004 22:34:18 +0000 (22:34 +0000)]
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
Kazu Hirata [Mon, 8 Nov 2004 21:56:03 +0000 (21:56 +0000)]
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
Zdenek Dvorak [Mon, 8 Nov 2004 21:49:08 +0000 (21:49 +0000)]
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
Andrew Pinski [Mon, 8 Nov 2004 21:34:36 +0000 (21:34 +0000)]
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
Steve Ellcey [Mon, 8 Nov 2004 20:49:05 +0000 (20:49 +0000)]
20030225-2.c: Add prototype for abort and exit.
* testsuite/gcc.dg/
20030225-2.c: Add prototype for abort and
exit.
From-SVN: r90297
Benjamin Kosnik [Mon, 8 Nov 2004 20:47:25 +0000 (20:47 +0000)]
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
Andrew Pinski [Mon, 8 Nov 2004 20:10:46 +0000 (20:10 +0000)]
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
Benjamin Kosnik [Mon, 8 Nov 2004 20:06:30 +0000 (20:06 +0000)]
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
Kazu Hirata [Mon, 8 Nov 2004 19:45:20 +0000 (19:45 +0000)]
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
Richard Henderson [Mon, 8 Nov 2004 19:18:16 +0000 (11:18 -0800)]
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
Kazu Hirata [Mon, 8 Nov 2004 19:07:49 +0000 (19:07 +0000)]
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
Kazu Hirata [Mon, 8 Nov 2004 19:05:12 +0000 (19:05 +0000)]
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
Kazu Hirata [Mon, 8 Nov 2004 19:03:17 +0000 (19:03 +0000)]
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
Richard Henderson [Mon, 8 Nov 2004 18:53:59 +0000 (10:53 -0800)]
New test case.
From-SVN: r90280
Tom Tromey [Mon, 8 Nov 2004 18:03:01 +0000 (18:03 +0000)]
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
Paolo Carlini [Mon, 8 Nov 2004 17:55:54 +0000 (17:55 +0000)]
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
Richard Earnshaw [Mon, 8 Nov 2004 17:17:30 +0000 (17:17 +0000)]
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
Paolo Carlini [Mon, 8 Nov 2004 15:46:28 +0000 (15:46 +0000)]
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
Kazu Hirata [Mon, 8 Nov 2004 15:02:14 +0000 (15:02 +0000)]
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
Kazu Hirata [Mon, 8 Nov 2004 14:56:41 +0000 (14:56 +0000)]
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
Kazu Hirata [Mon, 8 Nov 2004 14:48:02 +0000 (14:48 +0000)]
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
Andrew Pinski [Mon, 8 Nov 2004 14:27:36 +0000 (14:27 +0000)]
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
Rainer Orth [Mon, 8 Nov 2004 14:03:44 +0000 (14:03 +0000)]
* a-numaux-x86.adb (Tan): Fix fdivp syntax.
From-SVN: r90263
Kazu Hirata [Mon, 8 Nov 2004 13:54:41 +0000 (13:54 +0000)]
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
Ben Elliston [Mon, 8 Nov 2004 07:42:56 +0000 (07:42 +0000)]
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
Andrew Pinski [Mon, 8 Nov 2004 04:42:36 +0000 (04:42 +0000)]
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
Hans-Peter Nilsson [Mon, 8 Nov 2004 01:40:10 +0000 (01:40 +0000)]
Mention configure in last entry
From-SVN: r90256
Hans-Peter Nilsson [Mon, 8 Nov 2004 01:27:56 +0000 (01:27 +0000)]
configure.in (noconfigdirs): Disable target-libgfortran.
* configure.in (noconfigdirs) [mmix-*-*]: Disable
target-libgfortran.
From-SVN: r90252
GCC Administrator [Mon, 8 Nov 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90249.2
GCC Administrator [Mon, 8 Nov 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90248.2
David Edelsohn [Sun, 7 Nov 2004 23:37:28 +0000 (23:37 +0000)]
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
Joseph Myers [Sun, 7 Nov 2004 19:52:20 +0000 (19:52 +0000)]
* de.po: Update.
From-SVN: r90241
James A. Morrison [Sun, 7 Nov 2004 17:08:09 +0000 (17:08 +0000)]
README: Update website URL.
2004-11-07 James A. Morrison <phython@gcc.gnu.org>
* README: Update website URL.
From-SVN: r90239
Mark Wielaard [Sun, 7 Nov 2004 13:05:53 +0000 (13:05 +0000)]
[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
Robert Schuster [Sun, 7 Nov 2004 12:38:03 +0000 (12:38 +0000)]
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
Paolo Carlini [Sun, 7 Nov 2004 12:35:48 +0000 (12:35 +0000)]
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
Andrew John Hughes [Sun, 7 Nov 2004 11:55:09 +0000 (11:55 +0000)]
2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/GregorianCalendar.java
Added/amended documentation.
From-SVN: r90228
Andrew John Hughes [Sun, 7 Nov 2004 11:42:22 +0000 (11:42 +0000)]
2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Collections.java
Added documentation.
* java/util/SortedMap.java
Clarified some method examples.
* java/util/SortedSet.java
Clarified some method examples.
From-SVN: r90227
Andrew John Hughes [Sun, 7 Nov 2004 11:29:03 +0000 (11:29 +0000)]
2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Currency.java
Documented variables and methods more fully.
Caches the currency instances, so that a request
for a locale, l, only ever returns the same
instance (i.e. successive calls to getInstance(l)
are reference equivalent (==)).
From-SVN: r90226
Andrew John Hughes [Sun, 7 Nov 2004 11:17:46 +0000 (11:17 +0000)]
2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Date.java
Added missing documentation.
From-SVN: r90225
Andreas Schwab [Sun, 7 Nov 2004 01:34:55 +0000 (01:34 +0000)]
* Makefile.in (install-gnatlib): Remove spurious hyphen.
From-SVN: r90221
Michael Koch [Sun, 7 Nov 2004 01:25:48 +0000 (01:25 +0000)]
CheckedInputStream.java, [...]: Import cleanups.
2004-11-06 Michael Koch <konqueror@gmx.de>
* java/util/zip/CheckedInputStream.java,
java/util/zip/InflaterInputStream.java,
java/util/zip/ZipFile.java,
java/util/zip/ZipInputStream.java:
Import cleanups.
From-SVN: r90220
Joseph Myers [Sun, 7 Nov 2004 00:33:59 +0000 (00:33 +0000)]
c-decl.c (finish_struct): Use complete sentences for diagnostic for structures or unions with no members...
* c-decl.c (finish_struct): Use complete sentences for diagnostic
for structures or unions with no members or named members.
From-SVN: r90217
Joseph Myers [Sun, 7 Nov 2004 00:31:55 +0000 (00:31 +0000)]
c-typeck.c (build_unary_op): Replace unreachable diagnostic for taking address of bit-field by assertion.
* c-typeck.c (build_unary_op): Replace unreachable diagnostic for
taking address of bit-field by assertion.
From-SVN: r90216
GCC Administrator [Sun, 7 Nov 2004 00:16:18 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90213.2
GCC Administrator [Sun, 7 Nov 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90212.2
Ulrich Weigand [Sun, 7 Nov 2004 00:01:19 +0000 (00:01 +0000)]
s390.md (attribute "op_type"): Default to "NN".
* config/s390/s390.md (attribute "op_type"): Default to "NN".
(attribute "atype"): Default to "agen".
(attribute "length"): Default to 6.
(define_asm_attibutes): Remove.
("movti", "*movdi_64", "*movdi_31", "*movsi_zarch", "*movsi_esa",
"*movhi", "*movqi", "*movdf_64", "*movdf_31", "movsf",
"*clc", "*mvc", "*nc", "*oc", "*xc", "*xc_zero"):
Do not set type attribute to "cs" where already default.
("*cmpint_si", "*cmpint_di", "fix_truncdfsi2_ibm", "floatsidf2_ibm",
"*negdi2_31"):
Do not set type attribute to "other" where already default.
("movti", "*movdi_64", "*movdi_31", "*movdf_31",
"*strlendi", "*strlensi",
"*movmem_long_64", "*movmem_long_31",
"*clrmem_long_64", "*clrmem_long_31",
"*cmpmem_long_64", "*cmpmem_long_31",
"*cmpint_si", "*cmpint_di",
"addti3", "*adddi3_31z", "*adddi3_31",
"subti3", "*subdi3_31z", "*subdi3_31", "*negdi2_31",
"*sconddi", "*scondsi", "*sconddi_neg", "*scondsi_neg",
"fix_truncdfsi2_ibm", "floatsidf2_ibm", "extendsfdf2_ibm",
"*pool_entry", "pool_align", "pool_section_start",
"pool_section_end", "main_pool", "reload_base_31", "pool"):
Do not set op_type attribute to "NN" where already default.
("*extractqi", "*extracthi", "*zero_extendhisi2_31",
"*zero_extendqisi2_31", "*zero_extendqihi2_31",
"fix_truncdfsi2_ibm", "floatsidf2_ibm"):
Do not set atype attribute to "agen" where already default.
("*movmem_short", "*clrmem_short", "*cmpmem_short"): Don't set op_type.
From-SVN: r90208
Tom Tromey [Sat, 6 Nov 2004 23:38:51 +0000 (23:38 +0000)]
UnicastConnectionManager.java (clients): Now package-private.
* gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
package-private.
(connections): Likewise.
(scavenger): Likewise.
* gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
package-private.
* gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
package-private.
(ptr): Likewise.
* gnu/classpath/ServiceFactory.java (log): Now package-private.
From-SVN: r90206
Tom Tromey [Sat, 6 Nov 2004 23:29:12 +0000 (23:29 +0000)]
BasicAttributes.java (attributes): Now package-private.
* javax/naming/directory/BasicAttributes.java (attributes): Now
package-private.
* javax/imageio/spi/ServiceRegistry.java (categories): Now
package-private.
From-SVN: r90204
Tom Tromey [Sat, 6 Nov 2004 23:22:05 +0000 (23:22 +0000)]
URLClassLoader.java (URLClassLoader): Now package-private.
* java/net/URLClassLoader.java (URLClassLoader): Now
package-private.
* java/nio/charset/CoderResult.java (CoderResult): Now
package-private.
(get): Likewise.
(Cache): Likewise. Don't synchronize on `this'.
* java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
package-private.
* java/util/TimeZone.java (timezones): Now package-private.
From-SVN: r90203
Tom Tromey [Sat, 6 Nov 2004 23:11:47 +0000 (23:11 +0000)]
Permissions.java (perms): Now package-private.
* java/security/Permissions.java (perms): Now package-private.
* java/security/UnresolvedPermission.java (permissions): Now
package-private.
From-SVN: r90202
Tom Tromey [Sat, 6 Nov 2004 23:07:45 +0000 (23:07 +0000)]
* java/io/FilePermission.java: Reindented.
From-SVN: r90201
Tom Tromey [Sat, 6 Nov 2004 22:56:38 +0000 (22:56 +0000)]
ObjectOutputStream.java (currentObjectStreamClass): Now package-private.
* java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
package-private.
(setBlockDataMode): Likewise.
From-SVN: r90198
Richard Sandiford [Sat, 6 Nov 2004 22:45:24 +0000 (22:45 +0000)]
* config/mips/t-iris6 (tp-bit.c): Fix target filename.
From-SVN: r90197
Tom Tromey [Sat, 6 Nov 2004 22:44:47 +0000 (22:44 +0000)]
ISO_8859_1.java (Decoder): Now package-private.
* gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
package-private.
(Encoder): Likewise.
* gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
(Encoder): Likewise.
* gnu/java/nio/charset/US_ASCII.java (Decoder): Now
package-private.
(Encoder): Likewise.
From-SVN: r90196
Richard Sandiford [Sat, 6 Nov 2004 22:34:00 +0000 (22:34 +0000)]
re PR target/16830 (Including <sys/immu.h> with -mabi=n32 causes an error.)
PR target/16830
* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Don't define the
R3000 and R4000 macros on IRIX.
From-SVN: r90195
Andreas Schwab [Sat, 6 Nov 2004 20:18:55 +0000 (20:18 +0000)]
re PR target/16286 (Compile errors on altivec ops after #undef vector)
PR target/16286
* config/rs6000/altivec.h: Replace bool by __bool and pixel by
__pixel.
testsuite:
* gcc.dg/pr16286.c: Also test for bool and pixel.
From-SVN: r90194
Joseph Myers [Sat, 6 Nov 2004 20:01:42 +0000 (20:01 +0000)]
anon-struct-6.c, [...]: New tests.
* gcc.dg/anon-struct-6.c, gcc.dg/anon-struct-7.c,
gcc.dg/anon-struct-8.c, gcc.dg/bitfld-10.c, gcc.dg/bitfld-11.c,
gcc.dg/bitfld-12.c, gcc.dg/func-outside-1.c,
gcc.dg/func-outside-2.c, gcc.dg/label-decl-1.c,
gcc.dg/label-decl-2.c, gcc.dg/label-decl-3.c,
gcc.dg/label-decl-4.c, gcc.dg/struct-empty-1.c,
gcc.dg/struct-empty-2.c, gcc.dg/struct-empty-3.c,
gcc.dg/struct-semi-1.c, gcc.dg/struct-semi-2.c,
gcc.dg/struct-semi-3.c: New tests.
From-SVN: r90193
Eric Botcazou [Sat, 6 Nov 2004 19:59:33 +0000 (19:59 +0000)]
Fix wrong entry.
From-SVN: r90192
Kazu Hirata [Sat, 6 Nov 2004 19:59:19 +0000 (19:59 +0000)]
* tree-ssa-copyrename.c (rename_ssa_copies): Make it static.
From-SVN: r90191
Ulrich Weigand [Sat, 6 Nov 2004 19:57:41 +0000 (19:57 +0000)]
2064.md ("z_int", "z_agen"): Ensure the condition matches no insns already matched by other reservations.
* config/s390/2064.md ("z_int", "z_agen"): Ensure the condition
matches no insns already matched by other reservations.
* config/s390/2084.md ("x_int", "x_agen"): Ensure the condition
matches no insns already matched by other reservations.
("x_ss"): Remove, replace by ...
("x_cs"): ... this new reservation. Check type instead of op_type.
Update bypasses to use x_cs instead of x_ss.
("x_nn"): Remove, replace by ...
("x_other"): ... this new reservation. Check type instead of op_type.
Add x_other and x_branch to bypasses.
("x_vs"): New reservation.
* config/s390/s390.md (attribute "type"): Default according to op_type.
("*execute"): Set type to "cs".
From-SVN: r90190
Eric Botcazou [Sat, 6 Nov 2004 19:47:09 +0000 (20:47 +0100)]
* g++.dg/opt/nothrow1.C: Use -42 instead of 42.
From-SVN: r90189