Mohan Embar
bdbf6060ea
natThread.cc (finalize_native): Destroy join conditional variable and mutex if...
...
* java/lang/natThread.cc (finalize_native): Destroy
join conditional variable and mutex if these destroy
operations are supported.
From-SVN: r87361
2004-09-11 19:10:44 +00:00
Mohan Embar
af8f35b88f
Make-lang.in (java/win32-host.o): Add dependency on coretypes.h.
...
* Make-lang.in (java/win32-host.o): Add dependency on
coretypes.h.
* win32-host.c: Add includes for coretypes.h, jcf.h
From-SVN: r87360
2004-09-11 19:08:05 +00:00
Mohan Embar
55545aed66
Make-lang.in (GCJH_OBJS): Change dependency from ggc-none.o to java/ggc-none.o
...
* Make-lang.in (GCJH_OBJS): Change dependency from
ggc-none.o to java/ggc-none.o
(JCFDUMP_OBJS): Likewise.
(java/ggc-none.o): New target.
From-SVN: r87359
2004-09-11 19:05:32 +00:00
Mohan Embar
547d057d11
ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE, "config.h" if not.
...
* ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE,
"config.h" if not.
From-SVN: r87358
2004-09-11 19:03:23 +00:00
Jakub Jelinek
a17ea89bb1
tree-ssa-alias.c (collect_points_to_info_r): Handle pointing to PTR + OFFSET as PTR...
...
* tree-ssa-alias.c (collect_points_to_info_r): Handle
pointing to PTR + OFFSET as PTR, not as pointing to PTR or pointing
to OFFSET.
* gcc.dg/tree-ssa/20040911-1.c: New test.
From-SVN: r87357
2004-09-11 20:57:06 +02:00
Gerald Pfeifer
ac26513211
* crontab: Rename GCC 3.5 snapshots to GCC 4.0 snapshots.
...
From-SVN: r87356
2004-09-11 18:53:55 +00:00
Richard Henderson
70bb498ad4
* expr.c (expand_expr_addr_expr_1) Rename from expand_expr_addr_expr.
...
(expand_expr_addr_expr): New function. Take ADDR_EXPR instead of the
operand of the ADDR_EXPR.
(expand_expr_real_1): Update to match.
From-SVN: r87355
2004-09-11 10:48:22 -07:00
David Edelsohn
d1909f7b3a
Add PR target/17277 to ChangeLog entry.
...
From-SVN: r87354
2004-09-11 13:11:02 -04:00
David Edelsohn
0c94cda4d1
aix.h (MD_FROB_UPDATE_CONTEXT): Use __64BIT__ to choose 64-bit version.
...
* config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Use __64BIT__ to
choose 64-bit version.
From-SVN: r87352
2004-09-11 13:06:16 -04:00
Richard Henderson
5e55f99dcf
re PR c/17396 (ICE in tree-int-cst at -O0)
...
PR c/17396
* c-typeck.c (build_unary_op): Add legacy offsetof hack.
From-SVN: r87351
2004-09-11 10:02:58 -07:00
Andreas Jaeger
c535fc9f33
re PR tree-optimization/16437 (New c-torture failures after bitfield patch)
...
* gcc.c-torture/execute/991118-1.x: Delete, PR 16437 is fixed.
* gcc.c-torture/execute/bf64-1.x: Remove XFAIL on x86-64.
From-SVN: r87350
2004-09-11 13:10:46 +02:00
Kazu Hirata
431ae0bf8f
cfg.texi, [...]: Insert @: after i.e.
...
* doc/cfg.texi, doc/hostconfig.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/tm.texi, doc/tree-ssa.texi:
Insert @: after i.e. or e.g.
From-SVN: r87346
2004-09-11 08:34:26 +00:00
Richard Sandiford
2495e8793f
* gcc.target/frv: New directory of FR-V-specific tests.
...
From-SVN: r87345
2004-09-11 06:45:44 +00:00
Geoffrey Keating
70601cc243
tree-pretty-print.c (dump_decl_name): Print unnamed decls as D.xxx rather than <Dxxx>.
...
* tree-pretty-print.c (dump_decl_name): Print unnamed decls as
D.xxx rather than <Dxxx>.
From-SVN: r87344
2004-09-11 05:03:14 +00:00
Adam Nemet
8a45d680ae
configure.ac (AC_MSG_CHECKING(what linker to use)): in_tree_ld_is_elf should be true for LynxOS.
...
* configure.ac (AC_MSG_CHECKING(what linker to use)):
in_tree_ld_is_elf should be true for LynxOS.
* configure: Regenerate.
From-SVN: r87343
2004-09-11 04:26:36 +00:00
Adam Nemet
ecc50d72cb
* Makefile.in (all.cross): Add srcextra.
...
From-SVN: r87342
2004-09-11 04:22:14 +00:00
James E Wilson
1c8c309bab
Fix typos.
...
* Makefile.in (LIBGCC_DEPS): Delete duplicate stmp-int-hdrs reference.
(stmp-fixproto): Change stmp-int-headers to stmp-int-hdrs in comment.
From-SVN: r87341
2004-09-10 20:52:22 -07:00
James E Wilson
273d67e73b
Fix excess errors problem for invalid vector testcase.
...
* convert.c (convert_to_vector): Replace recursive call with
error_mark_node.
* gcc.dg/convert-vec-1.c: New test.
From-SVN: r87340
2004-09-10 20:29:07 -07:00
Roger Sayle
3ae472c234
re PR middle-end/17024 (ICE in fold_cond_expr_with_comparison, at fold-const.c:4324)
...
PR middle-end/17024
* fold-const.c (fold_cond_expr_with_comparison): Handle unordered
floating point comparison operators. Change aborts to gcc_asserts.
* gcc.dg/pr17024-1.c: New test case.
From-SVN: r87339
2004-09-11 03:21:22 +00:00
Geoffrey Keating
dc9d0b14b7
* final.c (output_asm_insn): Correct problem with -fverbose-asm.
...
From-SVN: r87338
2004-09-11 01:54:14 +00:00
James E Wilson
a73b091d78
Add CONST1_RTX (vector mode) support.
...
* emit-rtl.c (gen_const_vector): Renamed from gen_const_vector_0.
Add integer argument named constant. Use const_tiny_rtx instead of
CONST0_RTX.
(gen_rtx_CONST_VECTOR): Rewrite to handle checks for both CONST0_RTX
and CONST1_RTX.
(init_emit_once): Fix users of gen_const_vector. Set CONST1_RTX for
vector types.
* expr.c (const_vector_from_tree): Call gen_rtx_CONST_VECTOR instead
of gen_rtx_raw_CONST_VECTOR.
From-SVN: r87337
2004-09-10 18:49:40 -07:00
Geoffrey Keating
769da81848
gimplify.c (create_tmp_var_raw): Don't name otherwise-nameless temporary variables.
...
* gimplify.c (create_tmp_var_raw): Don't name otherwise-nameless
temporary variables.
From-SVN: r87335
2004-09-11 00:25:00 +00:00
GCC Administrator
ca024c876e
Daily bump.
...
From-SVN: r87333
2004-09-11 00:16:17 +00:00
Eric Christopher
110fce119d
re PR c/16046 (ICE tree check: expected tree_list, have identifier_node in decl_attributes, at attribs.c:151)
...
2004-09-10 Eric Christopher <echristo@redhat.com>
PR c/16046
* c-parse.in (attribute): Add NULL_TREE for error case
for error recovery.
2004-09-10 Eric Christopher <echristo@redhat.com>
* gcc.dg/20040910-1.c: New test.
From-SVN: r87330
2004-09-11 00:00:31 +00:00
Zack Weinberg
5d709b0013
c-common.h (struct c_fileinfo): Comment moved here from cp-tree.h.
...
* c-common.h (struct c_fileinfo): Comment moved here from cp-tree.h.
(extract_interface_info): Delete prototype.
* c-decl.c (extract_interface_info): Delete stub.
* c-lex.c (get_fileinfo): Initialize file_info_tree here, if
it's not already been done ...
(init_c_lex): ... not here.
(fe_file_change): Don't call extract_interface_info.
cp:
* cp-tree.h (interface_only, interface_unknown): Delete declarations;
comment explaining them moved to c-common.h.
* lex.c (interface_only, interface_unknown, extract_interface_info):
Delete definitions.
(cxx_finish): Don't reset interface_unknown.
(handle_pragma_interface): Don't set interface_only and
interface_unknown; just the like-named fields in finfo.
(handle_pragma_implementation): Adjust comment.
* decl2.c (cp_finish_file): Don't reset interface_only and
interface_unknown.
* method.c (synthesize_method): Don't reset interface_unknown or
call extract_interface_info.
* pt.c (pop_tinst_level): Don't call extract_interface_info.
* decl.c (start_cleanup_fn): Don't save or restore interface_only
and interface_unknown.
(make_rtl_for_nonlocal_decl): Call get_fileinfo on input_filename
and use the result instead of the interface_only/interface_unknown
globals.
(start_preparsed_function): Likewise.
* lex.c (cxx_make_type): Likewise.
* semantics.c (begin_class_definition): Likewise.
(expand_body): Don't call extract_interface_info.
From-SVN: r87329
2004-09-10 23:56:31 +00:00
Joseph Myers
616aeba2bb
c-tree.h (struct c_declspecs): Remove typedef_decl.
...
* c-tree.h (struct c_declspecs): Remove typedef_decl. Add
typedef_p and typedef_signed_p.
* c-decl.c (shadow_tag_warned): Check typedef_p, not typedef_decl.
(grokdeclarator): Don't use typedef_decl for warn_deprecated_use.
Check typedef_p and typedef_signed_p, not typedef_decl.
(grokfield): Check typedef_p, not typedef_decl.
(build_null_declspecs): Initialize typedef_p and typedef_signed_p,
not typedef_decl.
(declspecs_add_type): Set typedef_p and typedef_signed_p, not
typedef_decl.
testsuite:
* gcc.dg/bitfld-9.c: New test.
From-SVN: r87326
2004-09-11 00:10:05 +01:00
Kazu Hirata
a8508d5144
* doc/tm.texi, doc/tree-ssa.texi: Fix typos.
...
From-SVN: r87324
2004-09-10 22:16:40 +00:00
Ziemowit Laski
f749f3c20d
decl.c (objc_mark_locals_volatile): Make description of routine more descriptive...
...
[gcc/cp/ChangeLog]
2004-09-10 Ziemowit Laski <zlaski@apple.com>
* decl.c (objc_mark_locals_volatile): Make description of
routine more descriptive; only mark VAR_DECLs at each
binding level.
From-SVN: r87323
2004-09-10 22:11:48 +00:00
Richard Henderson
981c353ef5
re PR c++/17386 (libstdc++ iostreams miscompilation)
...
PR c++/17386
* call.c (build_vfield_ref): Move...
* class.c (build_vfield_ref): ... here. Convert datum to the
primary base containing the vptr.
(make_new_vtable): Simplify build_primary_vtable arguments.
(finish_struct_1): Do not duplicate TYPE_VFIELD.
* typeck.c (build_class_member_access_expr): Don't warn for
null object access to base fields.
From-SVN: r87322
2004-09-10 14:42:00 -07:00
Ziemowit Laski
80aa8340eb
decl.c (objc_get_current_scope, [...]): New functions, to be called from ObjC++.
...
[gcc/cp/ChangeLog]
2004-09-10 Ziemowit Laski <zlaski@apple.com>
* decl.c (objc_get_current_scope, objc_mark_locals_volatile):
New functions, to be called from ObjC++.
From-SVN: r87321
2004-09-10 20:47:34 +00:00
Geoffrey Keating
375d2edc9f
dbxout.c (dbxout_block): Update for current_function_func_begin_label a string.
...
* dbxout.c (dbxout_block): Update for
current_function_func_begin_label a string.
* dwarf2out.c (dwarf2out_begin_prologue): Likewise.
* except.c (dw2_output_call_site_table): Likewise.
* toplev.c (current_function_func_begin_label): Likewise.
* tree.h (current_function_func_begin_label): Likewise.
* config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Likewise.
From-SVN: r87317
2004-09-10 19:03:13 +00:00
Geoffrey Keating
c383c15f29
final.c (output_asm_insn): Use strtoul instead of atoi, save a loop.
...
* final.c (output_asm_insn): Use strtoul instead of atoi, save a
loop.
From-SVN: r87316
2004-09-10 19:01:04 +00:00
Geoffrey Keating
1adaa11772
darwin.c: Include target.h.
...
* config/darwin.c: Include target.h.
(struct machopic_indirection): Make ptr_name a string.
(machopic_indirection_hash): Update for ptr_name a string.
(machopic_indirection_eq): Likewise.
(machopic_indirection_name): Likewise.
(machopic_output_indirection): Likewise.
(machopic_validate_stub_or_non_lazy_ptr): Update for ptr_name a
string. Don't expect stub names to be in the identifier hash table.
Do call strip_name_encoding before looking up entry in ID hash table.
* config/t-darwin (darwin.o): Add target.h to dependencies.
From-SVN: r87315
2004-09-10 18:57:43 +00:00
Geoffrey Keating
fb5c67a7be
rs6000.c (print_operand): Use fputs instead of fprintf for register names.
...
* gcc/config/rs6000/rs6000.c (print_operand): Use fputs instead
of fprintf for register names.
From-SVN: r87314
2004-09-10 18:56:10 +00:00
Geoffrey Keating
5f11bc8b45
output.h (unlikely_section_label): Delete declaration.
...
* output.h (unlikely_section_label): Delete declaration.
(unlikely_text_section_name): Likewise.
* varasm.c (unlikely_section_label_printed): Make static.
(unlikely_section_label): Likewise.
(unlikely_text_section_name): Likewise.
From-SVN: r87313
2004-09-10 18:54:31 +00:00
Geoffrey Keating
18b3a02a1c
* rtl.def (REG): Add comment to describe third field.
...
From-SVN: r87312
2004-09-10 18:52:41 +00:00
DJ Delorie
5b14d144b8
FIx whitespace typo.
...
From-SVN: r87310
2004-09-10 13:49:49 -04:00
Andrew Pinski
76f60aa59c
darwin.c (machopic_mcount_stub_name): Call machopic_indirection_name instead of making the string ourselves.
...
2004-09-10 Andrew Pinski <apinski@apple.com>
* config/darwin.c (machopic_mcount_stub_name): Call
machopic_indirection_name instead of making the string
ourselves.
From-SVN: r87309
2004-09-10 10:26:54 -07:00
Diego Novillo
e30b0ae2fa
Revert
...
2004-09-08 Jie Zhang <zhangjie@magima.com.cn>
* tree-ssa-alias.c (compute_flow_insensitive_aliasing): If type
memory tag is call clobbered, so are its aliases.
(group_aliases): When two memory tags being grouped, if one is
call clobbered, so are the other and its aliases.
(add_may_alias): Remove call-clobbering stuff.
(replace_may_alias): Likewise.
(merge_pointed_to_info): Merge pt_global_mem
From-SVN: r87306
2004-09-10 12:52:45 -04:00
Kazu Hirata
89dbed81f4
bb-reorder.c, [...]: Fix comment typos.
...
* bb-reorder.c, c-common.c, c-incpath.c, c-typeck.c,
genrecog.c, lambda-code.c, mips-tdump.c, mips-tfile.c,
passes.c, tree-data-ref.c, tree-data-ref.h, tree-mudflap.c,
tree-scalar-evolution.c, tree-ssa-copyrename.c,
tree-ssa-live.c, tree-ssa-live.h: Fix comment typos.
From-SVN: r87302
2004-09-10 15:09:39 +00:00
Richard Sandiford
094e84faf0
frv.md (UNSPEC_MASACCS, [...]): New constants.
...
* config/frv/frv.md (UNSPEC_MASACCS, UNSPEC_MDASACCS): New constants.
(maddaccs, msubaccs, *maddacc): Turn operand 0 into a single ACC/ACCG
pair. Remove match_dup from inputs. Remove masaccs handling.
(mdaddaccs, mdsubaccs, *mdaddacc): Likewise a dual ACC/ACCG pair.
(masaccs, mdasaccs): Turn into define_insns.
From-SVN: r87299
2004-09-10 14:14:30 +00:00
Adam Nemet
d635c70797
inclhack.def (lynx_void_int): Remove.
...
* inclhack.def (lynx_void_int): Remove.
(lynxos_fcntl_proto): Remove.
(lynxos_no_warning_in_sys_time_h): New fix.
(lynxos_missing_putenv): New fix.
* fixincl.x: Regenerate.
* tests/base/fcntl.h: Remove.
* tests/base/sys/time.h: Update from test area.
* tests/base/curses.h: Likewise.
* tests/base/stdlib.h: Likewise.
From-SVN: r87298
2004-09-10 13:56:50 +00:00
Richard Sandiford
85d6252029
tree-tailcall.c (process_assignment): Only do accumulator transforms for floating-point types if...
...
* tree-tailcall.c (process_assignment): Only do accumulator transforms
for floating-point types if flag_unsafe_math_optimizations.
From-SVN: r87297
2004-09-10 12:00:33 +00:00
Nathan Sidwell
315fcf9741
* MAINTAINERS: Add self as c++ and type-safe vector maintainer.
...
From-SVN: r87296
2004-09-10 11:58:00 +00:00
Kazu Hirata
c112cf2bca
darwin.c, [...]: Fix comment typos.
...
* config/darwin.c, config/alpha/alpha.h, config/arm/arm.c,
config/arm/arm.h, config/arm/arm.md, config/arm/bpabi.h,
config/arm/predicates.md, config/frv/frv.c, config/frv/frv.md,
config/h8300/h8300.md, config/i386/gmm_malloc.h,
config/ia64/ia64.md, config/ip2k/libgcc.S,
config/mips/mips-ps-3d.md, config/mips/mips.c,
config/rs6000/rs6000.c, config/s390/s390.c,
config/sh/symbian.c: Fix comment typos.
From-SVN: r87295
2004-09-10 11:55:21 +00:00
Andreas Krebbel
2790879fd1
s390.c (s390_emit_prologue): Added missing "{}" brackets.
...
2004-09-10 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (s390_emit_prologue): Added missing
"{}" brackets.
From-SVN: r87294
2004-09-10 11:35:23 +00:00
Kazu Hirata
27ef2cdd02
extend.texi, [...]: Fix typos.
...
* doc/extend.texi, doc/invoke.texi, doc/passes.texi: Fix
typos. Follow spelling conventions.
From-SVN: r87293
2004-09-10 11:26:25 +00:00
Kazu Hirata
77880ae492
class.c, [...]: Fix comment typos.
...
* class.c, cp-tree.h, decl.c, decl2.c, mangle.c,
name-lookup.h, parser.c, search.c, semantics.c, typeck2.c: Fix
comment typos.
From-SVN: r87292
2004-09-10 11:12:15 +00:00
Michael Koch
cad79bac6c
[multiple changes]
...
2004-09-10 Dalibor Topic <robilad@kaffe.org>
* gnu/java/net/protocol/file/Connection.java (permission): New field.
(DEFAULT_PERMISSION): New constant.
(Connection): Create a FilePermission with permission to read file.
2004-09-10 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/file/Connection.java
(getLastModified): Moved around.
(getPermission): Return stored permission.
From-SVN: r87291
2004-09-10 11:06:38 +00:00
Nathan Sidwell
8127d0e073
Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org>
...
* lambda-mat.c (lambda_matrix_inverse_hard): Use gcc_assert
and gcc_unreachable instead of abort.
* lambda.h (lambda_vector_min_nz): Likewise.
* langhooks.c lhd_set_decl_assembler_name, lhd_can_use_bit_fields_p,
lhd_incomplete_type_error, lhd_expand_expr, lhd_types_compatible_p,
lhd_gimplify_expr): Likewise.
* lcm.c (optimize_mode_switching): Likewise.
* local-alloc.c (update_equiv_regs, block_alloc, find_free_reg):
Likewise.
* loop-doloop.c (doloop_modify): Likewise.
* loop-invariant.c (record_use): Likewise.
* loop-iv.c (get_biv_step_1, get_biv_step, iv_analyze, get_iv_value,
canon_condition, simplify_using_condition,
simplify_using_initial_values, shorten_into_mode,
canonicalize_iv_subregs, iv_number_of_iterations): Likewise.
* loop-unroll.c (unroll_and_peel_loops, peel_loop_completely,
unroll_loop_constant_iterations, unroll_loop_runtime_iterations,
peel_loop_simple, unroll_loop_stupid): Likewise.
* loop-unswitch.c (compare_and_jump_seq, unswitch_single_loop,
unswitch_loop): Likewise.
* loop.c (gen_prefetch, loop_optimize, rtx_equal_for_loop_p,
move_movables, replace_call_address, find_and_verify_loops,
rtx_equal_for_prefetch_p, record_giv, general_induction_var,
simplify_giv_expr, check_ext_dependent_givs, try_copy_prop,
loop_giv_dump): Likewise.
* loop.h (INSN_LUID): Likewise.
* modulo-sched.c (normalize_sched_times, generate_prolog_epilog,
sms_schedule, check_nodes_order): Likewise.
* optabs.c (gen_conditional, add_equal_note, expand_simple_binop,
expand_twoval_unop, expand_twoval_binop, expand_twoval_binop_libfunc,
expand_simple_unop, emit_no_conflict_block, prepare_cmp_insn,
emit_cmp_and_jump_insn_1, emit_cmp_and_jump_insns,
prepare_float_lib_cmp, gen_add2_insn, have_add2_insn, gen_sub2_insn,
have_sub2_insn, expand_float, expand_fix, debug_optab_libfuncs):
Likewise.
* opts.c (common_handle_option): Likewise.
* params.c (set_param_value): Likewise.
* passes.c (open_dump_file, rest_of_handle_final): Likewise.
* postreload-gcse.c (expr_equiv_p, oprs_unchanged_p,hash_scan_set,
reg_set_between_after_reload_p, reg_used_between_after_reload_p,
get_avail_load_store_reg, eliminate_partially_redundant_load):
Likewise.
* postreload.c (reload_cse_simplify_set, reload_combine_note_use):
Likewise.
* predict.c (tree_predicted_by_p, expected_value_to_br_prob,
propagate_freq, expensive_function_p): Likewise.
* pretty-print.c (pp_base_format_text)
* profile.c (instrument_edges, instrument_values,
compute_branch_probabilities, branch_prob, union_groups,
end_branch_prob, tree_register_profile_hooks): Likewise.
From-SVN: r87290
2004-09-10 11:02:26 +00:00