Aaron Luchko
d7f15b932b
FieldCommandSet.java: Implemented the Field CommandSet.
...
* gnu/classpath/jdwp/processor/FieldCommandSet.java:
Implemented the Field CommandSet.
* gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
Implemented the InterfaceType CommandSet.
From-SVN: r101951
2005-07-12 23:41:45 +00:00
Jan Hubicka
3b9ade7567
cfgexpand.c (expand_one_stack_var): Do not expand variables when we do unit-at-a-time.
...
* cfgexpand.c (expand_one_stack_var): Do not expand variables when we
do unit-at-a-time.
From-SVN: r101950
2005-07-12 22:44:38 +00:00
Tom Tromey
3c503f9a68
reverted erroneous commit
...
From-SVN: r101949
2005-07-12 22:35:48 +00:00
Tom Tromey
309ca98d96
re PR java/19674 (Empty declaration through semicolon (;) causes compile failure)
...
PR java/19674:
* parse-scan.y (interface_member_declaration): Added
empty_statement.
From-SVN: r101948
2005-07-12 22:35:03 +00:00
Jan Hubicka
7fac66d43c
tree-ssa-operands.c (parse_ssa_operands): Fix formatting.
...
* tree-ssa-operands.c (parse_ssa_operands): Fix formatting.
(get_expr_operands): Fix thinko wrt flags and subvars.
From-SVN: r101947
2005-07-12 22:06:49 +00:00
Dale Johannesen
a2af50436f
rs6000.c (rs6000_rtx_cost): Move FLOAT_EXTEND.
...
2005-07-12 Dale Johannesen <dalej@apple.com>
* config/rs6000.c (rs6000_rtx_cost): Move FLOAT_EXTEND.
From-SVN: r101946
2005-07-12 21:07:56 +00:00
Andrew Pinski
298f1d10c1
re PR bootstrap/21704 (failure during building 64-bit native compiler by crosscompiler.)
...
2005-07-12 Andrew Pinski <pinskia@physics.uc.edu>
PR bootstrap/21704
* host-linux.h: Include limits.h.
From-SVN: r101942
2005-07-12 13:59:00 -07:00
Thomas Koenig
0d579784b4
re PR libfortran/21593 ([4.0 only] FAIL: gfortran.dg/dev_null.f90)
...
2005-07-12 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/21593
gfortran.dg/dev_null.f90: Remove outdated comment about
PR libfortran/21593.
libgfortran/ChangeLog: Add PR to entry.
From-SVN: r101940
2005-07-12 20:39:11 +00:00
Dale Johannesen
015294b667
compress-float-sse.c: New.
...
2005-07-10 Dale Johannesen <dalej@apple.com>
* gcc.target/i386/compress-float-sse.c: New.
* gcc.target/i386/compress-float-sse-pic.c: New.
* gcc.target/i386/compress-float-387.c: New.
* gcc.target/i386/compress-float-387-pic.c: New.
* gcc.dg/compress-float-ppc.c: New.
* gcc.dg/compress-float-ppc-pic.c: New.
From-SVN: r101939
2005-07-12 20:33:02 +00:00
Dale Johannesen
e4541b7a1e
expr.c (compress_float_constant): Add cost check.
...
2005-07-12 Dale Johannesen <dalej@apple.com>
* expr.c (compress_float_constant): Add cost check.
* config/rs6000.c (rs6000_rtx_cost): Adjust FLOAT_EXTEND cost.
From-SVN: r101938
2005-07-12 20:29:51 +00:00
Thomas Koenig
5133e4b923
io/unix.c: Add member special_file to type unix_stream.
...
2005-07-12 Thomas Koenig <Thomas.Koenig@online.de>
io/unix.c: Add member special_file to type unix_stream.
(fd_truncate): Don't call ftruncate or chsize if
s refers to a special file.
(fd_to_stream): initialize s->special_file.
2005-07-12 Thomas Koenig <Thomas.Koenig@online.de>
gfortran.dg/dev_null.f90: Remove targets.
From-SVN: r101937
2005-07-12 19:52:19 +00:00
Aaron Luchko
04be5ce5ec
PacketProcessor.java (run): Send shutdown to jdwp instead of connection.
...
* gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
shutdown to jdwp instead of connection.
From-SVN: r101936
2005-07-12 19:29:37 +00:00
Aaron Luchko
87bd8b7067
ObjectReferenceCommandSet.java: New file.
...
* gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
New file.
From-SVN: r101935
2005-07-12 18:30:25 +00:00
Eric Christopher
817a82551e
gcc.c (struct infile): Update comment for language.
...
2005-07-12 Eric Christopher <echristo@redhat.com>
* gcc.c (struct infile): Update comment for language.
(main): Rewrite input file resetting code.
From-SVN: r101934
2005-07-12 18:10:32 +00:00
Andrew Pinski
fd5d2c3eb8
re PR tree-optimization/22335 (DOM creates mis-matched types)
...
2005-07-12 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/22335
* gcc.dg/pr22335-1.c: New test.
* gcc.dg/pr22335-2.c: New test.
From-SVN: r101930
2005-07-12 10:02:54 -07:00
Andrew Pinski
019b02f12f
re PR tree-optimization/22335 (DOM creates mis-matched types)
...
2005-07-12 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/22335
* tree-ssa-dom.c (eliminate_redundant_computations): Reject the prop if
requiring a cast in a non RHS of modify_expr. Add a cast when required.
(lookup_avail_expr): Use constant_boolean_node instead
of boolean_false_node/boolean_true_node.
From-SVN: r101929
2005-07-12 10:00:00 -07:00
Volker Reichelt
a207780f9b
re PR c++/20172 (Invalid non-type template parameters not diagnosed)
...
cp:
PR c++/20172
* pt.c (tsubst_template_parms): Check for invalid non-type
parameters.
testsuite:
PR c++/20172
* g++.dg/template/nontype12.C : New test.
Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
From-SVN: r101928
2005-07-12 16:07:38 +00:00
Ben Elliston
cac50d9410
tree-cfg.c (dump_cfg_stats): Add a new fmt_str_2 format string and use it when printing num_edges.
...
* tree-cfg.c (dump_cfg_stats): Add a new fmt_str_2 format string
and use it when printing num_edges.
From-SVN: r101923
2005-07-12 23:20:28 +10:00
Bernd Schmidt
161c21b624
extend.texi (Blackfin Built-in Functions): New section.
...
* doc/extend.texi (Blackfin Built-in Functions): New section.
* doc/invoke.texi (mcsync-anomaly, mno-csync-anomaly): Fix the
@opindex.
From-SVN: r101919
2005-07-12 10:38:45 +00:00
Adrian Straetling
40c1d5f854
builtins.c: (expand_builtin_memcmp, expand_builtin_strncmp): s/cmpstrsi/cmpstrnsi
...
2005-07-12 Adrian Straetling <straetling@de.ibm.com>
* builtins.c: (expand_builtin_memcmp, expand_builtin_strncmp):
s/cmpstrsi/cmpstrnsi
(expand_builtin_strcmp): Rewrite to support both 'cmpstrsi' and
'cmpstrnsi'.
* optabs.c: (prepare_cmp_insn): Add availability of 'cmpstrn'.
(init_optabs): Initialize cmpstrn_optab.
* optabs.h: (enum insn_code cmpstrn_optab): Declare.
* genopinit.c: (optabs[]): Add 'cmpstrn' to initialisation.
* expr.c: (enum insn_code cmpstrn_optab): Declare.
* config/i386/i386.md: s/cmpstr/cmpstrn
* config/c4x/c4x.md: s/cmpstr/cmpstrn
* doc/md.texi: Update documentation.
From-SVN: r101916
2005-07-12 09:20:21 +00:00
Ben Elliston
72f9377893
floatformat.c (floatformat_to_double): Add a comment about a potential source of warnings when compiling this file.
...
* floatformat.c (floatformat_to_double): Add a comment about a
potential source of warnings when compiling this file.
From-SVN: r101914
2005-07-12 16:11:30 +10:00
Ben Elliston
6c5844d2c6
pexecute.c (pexecute): Cast string litrals to char *.
...
* pexecute.c (pexecute): Cast string litrals to char *.
* regex.c (re_comp): Cast a call to gettext() to char *.
From-SVN: r101911
2005-07-12 14:40:33 +10:00
Ben Elliston
12548280a2
xregex2.h (regexec): Qualify this prototype with __extension__ when compiling with GNU C.
...
* xregex2.h (regexec): Qualify this prototype with __extension__
when compiling with GNU C.
From-SVN: r101910
2005-07-12 14:39:07 +10:00
Richard Henderson
d6e9821fde
alpha.c (alpha_gimplify_va_arg_1): Use build_va_arg_indirect_ref.
...
* config/alpha/alpha.c (alpha_gimplify_va_arg_1): Use
build_va_arg_indirect_ref.
(alpha_gimplify_va_arg): Likewise.
* config/c4x/c4x.c (c4x_gimplify_va_arg_expr): Likewise.
* config/i860/i860.c (i860_gimplify_va_arg_expr): Likewise.
* config/mips/mips.c (mips_gimplify_va_arg_expr): Likewise.
* config/pa/pa.c (hppa_gimplify_va_arg_expr): Likewise.
* config/sh/sh.c (sh_gimplify_va_arg_expr): Likewise.
* config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg):
Likewise.
* config/xtensa/xtensa.c (xtensa_gimplify_va_arg_expr): Likewise.
From-SVN: r101909
2005-07-11 20:48:20 -07:00
David Edelsohn
4e402b2ce3
re PR libfortran/22412 ([4.0 only] Fortran B edit descriptor error)
...
PR libgfortran/22412
* io/write.c (otoa): Bias p by SCRATCH_SIZE, not
sizeof (SCRATCH_SIZE).
(btoa): Same.
From-SVN: r101908
2005-07-11 23:27:40 -04:00
GCC Administrator
020b834ab2
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r101903.2
2005-07-12 00:16:16 +00:00
Zdenek Dvorak
b7eae7b8d1
tree-flow.h (remove_empty_loops, [...]): Declare.
...
* tree-flow.h (remove_empty_loops, single_dom_exit): Declare.
* passes.c (init_optimization_passes): Add pass_empty_loop.
* tree-pass.h (pass_empty_loop): Declare.
* tree-ssa-loop-ivcanon.c (empty_loop_p, remove_empty_loop,
try_remove_empty_loop, remove_empty_loops): New functions.
* tree-ssa-loop-ivopts.c (single_dom_exit): Export.
* tree-ssa-loop.c (tree_ssa_empty_loop, pass_empty_loop): New.
* gcc.dg/tree-ssa/loop-10.c: New test.
From-SVN: r101901
2005-07-11 23:59:17 +00:00
Peter Barada
70028b6145
re PR target/16719 ([ColdFire] Illegal move of byte itno address register causes compiler to ICE)
...
PR middle-end/16719
PR middle-end/18421
* config/m68k/m68k.h (HARD_REGNO_MODE_OK): Disallow bytes
in address registers.
* config/m68k/m68k.c (hard_regno_mode_ok): Likewise.
* config/m68k/m68k.md: Replace 's' with 'i' in 4th
alternative of addsi3_5200.
From-SVN: r101900
2005-07-12 01:32:01 +02:00
Ian Lance Taylor
8564e10e6e
* config/mips/mips.md (ffs<mode>2): Remove.
...
From-SVN: r101896
2005-07-11 18:48:37 +00:00
Ian Lance Taylor
2f6bd5398e
tree-ssa.texi (Cleanups): Improve description of TRY_FINALLY_EXPR.
...
* doc/tree-ssa.texi (Cleanups): Improve description of
TRY_FINALLY_EXPR.
(GIMPLE Exception Handling): Clarify TRY_CATCH_EXPR cases.
From-SVN: r101895
2005-07-11 18:46:50 +00:00
Daniel Berlin
046a69e067
re PR tree-optimization/22404 (ICE in first_vi_for_offset)
...
2005-07-11 Daniel Berlin <dberlin@dberlin.org>
* print-tree.c (print_node): Use DECL_ARGUMENT_FLD.
* tree.h (DECL_ARGUMENT_FLD): New macro.
2005-07-11 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/22404
* tree-ssa-structalias.c (create_variable_info_for): Use
correct offset.
From-SVN: r101894
2005-07-11 18:28:36 +00:00
Kazu Hirata
ebde3ea873
* gcc.c-torture/execute/20020720-1.x: Remove.
...
From-SVN: r101893
2005-07-11 18:26:43 +00:00
Bernd Schmidt
7ddcf3d26f
bfin.md (cmpsi, [...]): Use reg_or_const_int_operand for second comparison operand.
...
* config/bfin/bfin.md (cmpsi, compare_eq, compare_ne, compare_lt,
compare_le, compare_leu, compare_ltu): Use reg_or_const_int_operand
for second comparison operand.
* config/bfin/predicates.md (reg_or_const_int_operand): New.
From-SVN: r101881
2005-07-11 16:15:45 +00:00
Bernd Schmidt
3fb192d2c7
bfin.md (define_attr "type"): Add "sync".
...
* config/bfin/bfin.md (define_attr "type"): Add "sync".
(define_insn_reservation "alu"): Likewise.
(csync, ssync): Now of type sync.
* config/bfin/bfin.h (TARGET_DEFAULT): Defaults to
-mcsync-anomaly -mspecld-anomaly.
* config/bfin/bfin.opt (mcsync): Remove.
(mcsync-anomaly, mspecld-anomaly): Add.
* config/bfin/bfin.c: Include "insn-codes.h".
(bfin_reorg): Extend to handle the CSYNC anomaly as well.
(TARGET_DEFAULT_TARGET_FLAGS): New.
* doc/invoke.texi: Document -mcsync-anomaly, -mspecld-anomaly.
From-SVN: r101880
2005-07-11 16:11:28 +00:00
Steven Bosscher
2dd2d53e2c
basic-block.h: Give the BB flags enum a name, bb_flags.
...
* basic-block.h: Give the BB flags enum a name, bb_flags.
Add new flags BB_FORWARDER_BLOCK, and BB_NONTHREADABLE_BLOCK.
* cfgcleanup.c (enum bb_flags): Remove here.
(BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG): Remove.
(notice_new_block): Set/test bb->flags instead of aux via BB_FLAGS.
(update_forwarder_flag): Likewise.
(thread_jump): Likewise.
(try_forward_edges): Likewise.
(try_optimize_cfg): Likewise. Clear bb->flags before updating the
forwarder flags. Don't clear bb->aux for all basic blocks. Only
reset the BB_FORWARDER_BLOCK and BB_NONTHREADABLE_BLOCK flags.
From-SVN: r101876
2005-07-11 13:31:44 +00:00
Paolo Carlini
8637038aa8
ostream.tcc (basic_ostream<>::operator<<(long), [...]): Don't deal with oct and hex and casts to unsigned here...
...
2005-07-11 Paolo Carlini <pcarlini@suse.de>
* include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
basic_ostream<>::operator<<(long long)): Don't deal with oct
and hex and casts to unsigned here...
* include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
long, const _CharT*, ios_base::fmtflags)): ... do that here,
instead, as per Table 57.
(num_put<>::_M_insert_int): Tidy treatment of numeric base and
sign.
* include/std/std_ostream.h (operator<<(short), operator<<(int)):
Adjust logic, as per the letter of the resolution of DR117 [WP].
* testsuite/22_locale/num_put/put/char/10.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
Likewise.
From-SVN: r101872
2005-07-11 09:48:31 +00:00
Richard Guenther
1f97667f30
i386.opt: New target option -msseregparm.
...
2005-07-11 Richard Guenther <rguenther@suse.de>
* config/i386/i386.opt: New target option -msseregparm.
* config/i386/i386.c (override_options): Error out for
-msseregparm but no SSE support.
(ix86_function_sseregparm): Check for global sseregparm.
* doc/invoke.texi: Document -msseregparm.
From-SVN: r101871
2005-07-11 09:35:16 +00:00
Kazuhiro Inaoka
4dda0c663b
(m32r-*-linux*): Use the default extra_parts.
...
(m32rle-*-linux*): Ditto.
From-SVN: r101869
2005-07-11 08:23:27 +00:00
Paolo Bonzini
5bea4a03c1
re PR ada/22340 (Ada build fails with --enable-bootstrap)
...
2005-07-11 Paolo Bonzini <bonzini@gnu.org>
PR ada/22340
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Fix pasto.
* Makefile.in: Regenerate.
From-SVN: r101868
2005-07-11 08:03:08 +00:00
Jakub Jelinek
fcf3be37e2
trans-stmt.c (gfc_trans_forall_loop): Clear maskindex before the outermost loop.
...
* trans-stmt.c (gfc_trans_forall_loop): Clear maskindex before
the outermost loop.
(gfc_trans_assign_need_temp, gfc_trans_pointer_assign_need_temp,
gfc_trans_forall_1, gfc_evaluate_where_mask, gfc_trans_where_2):
Don't clear maskindexes here.
* gfortran.fortran-torture/execute/forall_7.f90: New test.
From-SVN: r101865
2005-07-11 09:34:33 +02:00
Jakub Jelinek
15362b89f0
cfgexpand.c (stack_protect_classify_type): Use TYPE_SIZE_UNIT (type) instead of TYPE_MAX_VALUE (TYPE_DOMAIN (type)) to get...
...
* cfgexpand.c (stack_protect_classify_type): Use TYPE_SIZE_UNIT (type)
instead of TYPE_MAX_VALUE (TYPE_DOMAIN (type)) to get array size in
bytes.
From-SVN: r101864
2005-07-11 09:31:08 +02:00
John David Anglin
b1b0d9acec
re PR rtl-optimization/22239 (i-cobol.adb:482: error: unrecognizable insn)
...
PR middle-end/22239
PR target/20126
* loop.c (loop_givs_rescan): Use expand_simple_binop instead of
gen_rtx_MINUS to handle non-replaceable (plus ((x) (const)).
From-SVN: r101863
2005-07-11 03:56:12 +00:00
Daniel Berlin
b5efa47076
tree-ssa-structalias.c (struct variable_info): Heapify complex.
...
2005-07-07 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-structalias.c (struct variable_info): Heapify complex.
(varmap): Heapify varmap.
(constraints): Heapify constraints.
(struct constraint_graph): Heapify succs and preds.
(constraint_vec_find): Update for heapification.
(constraint_set_union): Ditto.
(insert_into_complex): Ditto.
(constraint_edge_vec_find): Ditto.
(erase_graph_self_edge): Ditto.
(add_graph_edge): Ditto.
(get_graph_weights): Ditto.
(merge_graph_nodes): Ditto.
(build_constraint_graph): Ditto.
(topo_visit): Ditto.
(solve_graph): Ditto.
(create_variable_info_for): Ditto.
(init_base_vars): Ditto.
(delete_points_to_sets): Free graph, varmap, and complex constraints.
(condese_varmap_nodes): Free complex vector.
(clear_edges_for_node): Clear succs and preds vector.
From-SVN: r101862
2005-07-11 02:38:30 +00:00
Daniel Berlin
0bfac35f9d
tree-ssa-structalias.c (update_alias_info): Change counting of references to not include vdefs.
...
2005-07-10 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-structalias.c (update_alias_info): Change counting of
references to not include vdefs.
From-SVN: r101861
2005-07-11 02:16:20 +00:00
GCC Administrator
14e57fac8d
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r101859.2
2005-07-11 00:16:17 +00:00
Andreas Tobler
93c76f816d
cls_5_1_byte.c: New test file.
...
2005-07-10 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libffi.call/cls_5_1_byte.c: New test file.
* testsuite/libffi.call/cls_6_1_byte.c: Likewise.
* testsuite/libffi.call/cls_7_1_byte.c: Likewise.
From-SVN: r101855
2005-07-10 22:14:37 +02:00
Daniel Berlin
46c73d9a4f
tree-ssa-alias.c (free_used_part_map): Add missing free.
...
2005-07-10 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-alias.c (free_used_part_map): Add missing free.
(up_insert): Ditto.
From-SVN: r101854
2005-07-10 19:34:45 +00:00
John David Anglin
bd7d504356
pa.c (pa_commutative_p): Make PLUS commutative when TARGET_NO_SPACE_REGS is true.
...
* pa.c (pa_commutative_p): Make PLUS commutative when
TARGET_NO_SPACE_REGS is true.
From-SVN: r101853
2005-07-10 16:47:28 +00:00
Joseph Myers
9d598243bd
* sv.po, zh_CN.po: Update.
...
From-SVN: r101849
2005-07-10 13:31:36 +01:00
Richard Sandiford
4cc93d9984
mips.exp (is_gp32_flag): New procedure.
...
* gcc.target/mips/mips.exp (is_gp32_flag): New procedure.
(dg-mips-options): Use it.
From-SVN: r101847
2005-07-10 09:40:11 +00:00