Hans-Peter Nilsson
789ec6199a
configure.in: Enable target-libffi again for *-*-linux* and *-*-elf.
...
* configure.in <cris-*, crisv32-*>: Enable target-libffi again for
*-*-linux* and *-*-elf.
* configure: Regenerate.
From-SVN: r100703
2005-06-07 09:32:14 +00:00
Nathan Sidwell
efb169b09d
parser.c (cp_parser_late_parsing_default_args): Fix overeager assert in previous patch.
...
cp:
* parser.c (cp_parser_late_parsing_default_args): Fix overeager
assert in previous patch.
testsuite:
* g++.dg/parse/defarg10.C: New.
From-SVN: r100702
2005-06-07 08:45:32 +00:00
Geoffrey Keating
f8ed6473e7
host-darwin.c (segv_handler): Widen the possible 'stwux' instructions that are considered to be stack decrements.
...
* config/rs6000/host-darwin.c (segv_handler): Widen the possible
'stwux' instructions that are considered to be stack decrements.
From-SVN: r100701
2005-06-07 08:23:43 +00:00
Geoffrey Keating
dd79bb7eb7
rtlanal.c (subreg_offset_representable_p): Handle objects with holes.
...
* rtlanal.c (subreg_offset_representable_p): Handle objects
with holes.
From-SVN: r100700
2005-06-07 08:18:15 +00:00
Hans-Peter Nilsson
bd127a7515
btest-gcc.sh: Add support for option --add-passes-despite-regression.
...
* btest-gcc.sh: Add support for option
--add-passes-despite-regression.
From-SVN: r100699
2005-06-07 07:42:22 +00:00
Jerry DeLisle
ce677da7bc
ChangeLog: Fix date on last commit.
...
2005-06-07 Jerry DeLisle <jvdelisle@verizon.net>
* ChangeLog: Fix date on last commit.
From-SVN: r100698
2005-06-07 07:27:20 +00:00
Jerry DeLisle
3435a71e72
intrinsic.texi: Add documentation for dcmplx...
...
2005-06-03 Jerry DeLisle <jvdelisle@verizon.net>
* intrinsic.texi: Add documentation for dcmplx, digits,
dim, idim, ddim, dot_product, dprod, dreal, and dtime.
From-SVN: r100697
2005-06-07 06:56:58 +00:00
Paolo Carlini
17e2915c27
PR libstdc++/21770 (cont: __gnu_debug::string)
...
2005-06-06 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/21770 (cont: __gnu_debug::string)
* include/debug/string: Use _Base typedefs for pointer, const_pointer,
reference, const_reference, size_type, difference_type.
* testsuite/21_strings/basic_string/2.cc: New.
From-SVN: r100693
2005-06-07 02:55:06 +00:00
Paolo Carlini
09952accc4
PR libstdc++/21770 (cont: debug-mode)
...
2005-06-06 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/21770 (cont: debug-mode)
* include/debug/deque: Use _Base typedefs for pointer, const_pointer,
reference, const_reference.
* include/debug/list: Likewise.
* include/debug/map.h: Likewise.
* include/debug/multimap.h: Likewise.
* include/debug/multiset.h: Likewise.
* include/debug/set.h: Likewise.
* include/debug/vector: Likewise.
From-SVN: r100692
2005-06-07 02:23:44 +00:00
Uros Bizjak
67daed71ca
mode-switching.c (optimize_mode_switching): Fix n_exprs parameter in call to pre_edge_lcm.
...
* mode-switching.c (optimize_mode_switching): Fix n_exprs parameter
in call to pre_edge_lcm.
From-SVN: r100690
2005-06-06 20:12:13 -06:00
Rainer Orth
0ae9769019
* zconf.h (NO_vsnprintf): Define on Tru64 UNIX V4.0.
...
From-SVN: r100689
2005-06-07 01:41:16 +00:00
Keith Seitz
2e42af0555
* gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
...
From-SVN: r100688
2005-06-07 01:18:02 +00:00
Keith Seitz
25b1f7fc35
* gnu/classpath/jdwp/util/Signature.java: New file.
...
From-SVN: r100687
2005-06-07 00:57:03 +00:00
GCC Administrator
41996a974c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r100683.2
2005-06-07 00:17:21 +00:00
Kaz Kojima
ae88d80c22
linux-unwind.h (SH_DWARF_FRAME_XD0): Remove for SH5.
...
* config/sh/linux-unwind.h (SH_DWARF_FRAME_XD0): Remove for SH5.
(SH_DWARF_FRAME_PR, SH_DWARF_FRAME_GBR, SH_DWARF_FRAME_MACL)
(SH_DWARF_FRAME_MACH, SH_DWARF_FRAME_PC, SH_DWARF_FRAME_FPUL):
Likewise.
(SH_DWARF_FRAME_FP0, SH_DWARF_FRAME_FPSCR): Define to the correct
dwarf register number for SHmedia.
(shmedia_fallback_frame_state): New.
(MD_FALLBACK_FRAME_STATE_FOR): Define to it for SH5.
* config/sh/linux.h (FUNCTION_PROFILER): Provide SHMEDIA version.
From-SVN: r100681
2005-06-06 23:57:25 +00:00
Hans-Peter Nilsson
4fab72345b
configure.in (unsupported_languages): New macro.
...
* configure.in (unsupported_languages): New macro.
<mmix-knuth-mmixware>: Set unsupported_languages. Name explicit
non-ported target libraries in noconfigdirs.
<cris-*, crisv32-*> Ditto, except for non-aout, non-elf,
non-linux-gnu. Remove libgcj_ex_libffi.
<lang_frag loop>: Set add_this_lang=no if the language is in
unsupported_languages.
* configure: Regenerate.
From-SVN: r100680
2005-06-06 23:39:28 +00:00
Gabriel Dos Reis
7973fd2aed
libiberty.h (XOBFINISH): New.
...
libiberty/
2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net>
* libiberty.h (XOBFINISH): New.
gcc/
2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net>
* c-lex.c (lex_string): Use XOBFINISH.
* collect2.c (extract_string, dump_file): Likewise.
* dbxout.c (dbxout_finish_complex_stabs): Likewise.
* gcc.c (init_spec, build_search_list, convert_filename,
set_collect_gcc_options, do_spec_2, do_spec_1, main):
* Likewise.
* genpreds.c (write_predicate_subfunction): Likewise.
* genflags.c (main): Likewise.
* read-rtl.c (mode_attr_index, apply_macro_to_string,
join_c_conditions, read_quoted_string, read_braced_string,
read_rtx_1): Likewise.
* stringpool.c (ggc_alloc_string): Likewise.
* tlink.c (obstack_fgets, recompile_files): Likewise.
From-SVN: r100678
2005-06-06 21:14:31 +00:00
Jakub Jelinek
4b794eaf73
exgettext: Handle gmsgid and cmsgid arguments specially, as gcc-internal-format and c-format.
...
gcc/po/
* exgettext: Handle gmsgid and cmsgid arguments specially,
as gcc-internal-format and c-format. Because of xgettext
bug, invoke xgettext once with --language=c, once with
--language=GCC-source and then merge together. Fail if
xgettext is not 0.14.5 or later.
gcc/
* intl.h (G_): New macro.
* rtl-error.c (error_for_asm, warning_for_asm): Use gmsgid
instead of msgid for argument name.
* tree-ssa.c (warn_uninit): Likewise.
* c-parser.c (c_parser_error): Likewise.
* config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise.
* config/darwin-c.c (BAD): Likewise.
* config/c4x/c4x-c.c (BAD): Likewise.
* c-pragma.c (GCC_BAD, GCC_BAD2): Likewise.
* c-errors.c (pedwarn_c99, pedwarn_c90): Likewise.
* c-common.c (c_parse_error): Likewise.
* diagnostic.c (diagnostic_set_info, verbatim, inform, warning,
warning0, pedwarn, error, sorry, fatal_error, internal_error):
Likewise.
(fnotice): Use cmsgid instead of msgid for argument name.
* gcov.c (fnotice): Likewise.
* protoize.c (notice): Likewise.
* final.c (output_operand_lossage): Likewise.
* gcc.c (fatal, notice): Likewise.
(error): Use gmsgid instead of msgid for argument name.
* collect2.c (notice, fatal_perror, fatal): Use cmsgid instead
of msgid for argument name.
(error): Use gmsgid instead of msgid for argument name.
* c-decl.c (locate_old_decl, implicit_decl_warning): Use G_()
instead of N_().
* c-typeck.c (readonly_error, convert_for_assignment): Likewise.
* tree-inline.c (inline_forbidden_p_1): Likewise.
* ABOUT-GCC-NLS: Require gettext 0.14.5 or later. Mention the new
conventions for marking translations.
* doc/install.texi: Mention gettext 0.14.5 or later requirement.
gcc/cp/
* error.c (locate_error): Use gmsgid instead of msgid for argument
name.
(cp_error_at, cp_warning_at, cp_pedwarn_at): Likewise.
gcc/java/
* jv-scan.c (fatal_error, warning, warning0): Use gmsgid instead of
msgid for argument name.
* gjavah.c (error): Likewise.
* java-tree.h (parse_error_context): Likewise.
* parse.y (parse_error_context, parse_warning_context,
issue_warning_error_from_context): Likewise.
From-SVN: r100676
2005-06-06 21:31:40 +02:00
Jakub Jelinek
6be74c4f5c
tree-chrec.c (reset_evolution_in_loop): Use build3 instead of build2.
...
* tree-chrec.c (reset_evolution_in_loop): Use build3 instead of
build2.
From-SVN: r100675
2005-06-06 21:27:55 +02:00
Jakub Jelinek
40182dbff7
re PR middle-end/21897 (Segementation fault in fold_ternary)
...
* fold-const.c (operand_equal_p): Don't return 1, if element
chains for 2 VECTOR_CSTs are not the same length.
PR regression/21897
* fold-const.c (fold_ternary) <case BIT_FIELD_REF>: Don't crash if
not all VECTOR_CST elements are given.
* gcc.c-torture/execute/20050604-1.c: New test.
From-SVN: r100674
2005-06-06 21:26:10 +02:00
Jakub Jelinek
c8b622ff2d
combine.c (try_combine): Use hard_regno_nregs array instead of HARD_REGNO_NREGS macro.
...
* combine.c (try_combine): Use hard_regno_nregs array instead of
HARD_REGNO_NREGS macro.
* config/rs6000/rs6000.c (rs6000_split_multireg_move,
rs6000_register_move_cost, rs6000_memory_move_cost): Likewise.
* config/ia64/ia64.c (mark_reg_gr_used_mask): Likewise.
From-SVN: r100673
2005-06-06 21:22:19 +02:00
Daniel Berlin
012309e6a8
tree-ssa-reassoc.o: New.
...
2005-06-06 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-reassoc.o: New.
(OBJS-common): Add tree-ssa-reassoc.o
* timevar.def: Add TV_TREE_REASSOC
* tree-optimize.c (pass_reassoc): Add call.
* tree-pass.h (pass_reassoc): Add.
* tree-ssa-reassoc.c: New file.
From-SVN: r100671
2005-06-06 18:55:59 +00:00
Eric Christopher
08fd6d0419
expr.c (do_store_flag): Remove check for non-negative BRANCH_COST.
...
2005-06-06 Eric Christopher <echristo@redhat.com>
target/21927
* expr.c (do_store_flag): Remove check for non-negative BRANCH_COST.
From-SVN: r100670
2005-06-06 18:13:31 +00:00
Nathan Sidwell
5e97d40455
re PR c++/21903 (Default argument of template function causes a compile-time error)
...
cp:
PR 21903
* cp-tree.def (DEFAULT_ARG): Document TREE_CHAIN use.
* parser.c (cp_parser_late_parsing_default_args): Propagate parsed
argument to any early instantiations.
* pt.c (tsubst_arg_types): Chain early instantiation of default arg.
testsuite:
PR 21903
* g++.dg/parse/defarg9.C: New.
From-SVN: r100669
2005-06-06 17:29:41 +00:00
Paolo Carlini
2fecaef4af
[multiple changes]
...
2005-06-06 Paolo Carlini <pcarlini@suse.de>
Port from libstdcxx_so_7-branch:
2004-09-24 Paolo Carlini <pcarlini@suse.de>
Jonathan Wakely <redi@gcc.gnu.org>
* include/bits/stl_list.h (list::list(size_type, value_type,
const allocator_type&): Implement according to the letter of the
standard, i.e., don't use two overloads, not equivalent in case
of non default constructible T.
(list::resize(size_type, const value_type&)): Fix the signature:
according to the standard the second argument is by value; also,
don't use two overloads.
* include/bits/list.tcc (list::resize(size_type, const value_type&)):
Adjust consistently the signature.
* include/bits/stl_deque.h (deque::deque(size_type, value_type,
const allocator_type&)): Likewise.
(deque::resize(size_type, const value_type&)): Likewise.
* include/bits/stl_vector.h (vector::vector(size_type, value_type,
const allocator_type&)): Likewise.
(vector::resize(size_type, const value_type&)): Likewise.
* testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
* testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
* testsuite/23_containers/list/explicit_instantiation/2.cc: New.
* testsuite/23_containers/map/explicit_instantiation/2.cc: New.
* testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
* testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
* testsuite/23_containers/set/explicit_instantiation/2.cc: New.
* testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
* include/bits/deque.tcc: Minor formatting fix.
From-SVN: r100668
2005-06-06 16:59:55 +00:00
Rainer Orth
1651a990f7
x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Guard with HAVE_GAS_MAX_SKIP_P2ALIGN.
...
* config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Guard with
HAVE_GAS_MAX_SKIP_P2ALIGN.
(HAVE_AS_DWARF2_DEBUG_LINE): Remove.
From-SVN: r100665
2005-06-06 14:45:29 +00:00
Nathan Sidwell
b2a9b2086a
re PR c++/20637 (Confusing message with different using declarations)
...
cp:
PR c++/20637
* cp-tree.h (add_method): Add using_decl parameter.
* class.c (add_method): Add using_decl parameter. Adjust error
messages.
(handle_using_decl): Pass the using decl to add_method.
(clone_function_decl): Adjust add_member calls.
* decl2.c (check_classfn): Likewise.
* method.c (lazily_declare_fn): Likewise.
* semantics.c (finish_member_declaration): Likewise.
* method.c (synthesize_method): Use inform, not warning.
testsuite:
PR c++/20637
* g++.dg/inherit/using4.C: New.
* g++.dg/overload/error1.C: Adjust expected errors.
* g++.old-deja/g++.benjamin/warn02.C: Likewise.
* g++.old-deja/g++.brendan/arm2.C: Likewise.
* g++.old-deja/g++.other/redecl2.C: Likewise.
* g++.old-deja/g++.other/redecl4.C: Likewise.
* g++.old-deja/g++.pt/memtemp78.C: Likewise.
From-SVN: r100664
2005-06-06 14:18:22 +00:00
Rainer Orth
3d7b7acc42
Makefile.in (mips-tfile.o): Add $(srcdir)/../include prefix to getopt.h dependency.
...
* Makefile.in (mips-tfile.o): Add $(srcdir)/../include prefix to
getopt.h dependency.
(mips-tdump.o): Likewise.
From-SVN: r100663
2005-06-06 14:08:35 +00:00
Jan Hubicka
a00d11f077
predict.c (tree_predict_edge): Don't drop useless predictions; check that it is not called too late in the game.
...
* predict.c (tree_predict_edge): Don't drop useless predictions;
check that it is not called too late in the game.
(gate_estimate_probability): New gate.
(pass_profile): Gate.
* tree-mudflap.c (mf_build_check_statement_for): Do not drop
predictions; update CFG instead.
* cfgrtl.c (rtl_verify_flow_info): Check that predcitions are consumed.
From-SVN: r100662
2005-06-06 12:31:35 +00:00
Hans-Peter Nilsson
bbf59fad2d
* config-lang.in (target_libs): Remove target-gperf.
...
From-SVN: r100659
2005-06-06 11:25:40 +00:00
Peter Doerfler
50068e44db
stl_function.h: ...
...
2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
* include/bits/stl_function.h: ... and another one.
From-SVN: r100657
2005-06-06 10:00:34 +00:00
Jie Zhang
1f4174d400
Add bfin-uclinux configuration.
...
From-SVN: r100656
2005-06-06 09:46:39 +00:00
Peter Doerfler
5380bc7e61
stl_function.h: Fix typo in comment.
...
2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
* include/bits/stl_function.h: Fix typo in comment.
From-SVN: r100654
2005-06-06 09:21:07 +00:00
Anthony Green
c8891bef49
natPlainSocketImplPosix.cc (setOption): Fix case fall-through bug.
...
2005-06-05 Anthony Green <green@redhat.com>
* gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
fall-through bug.
From-SVN: r100650
2005-06-06 06:17:28 +00:00
Hans-Peter Nilsson
7721d5d4cb
btest-gcc.sh: Don't pass --with-newlib when target is "*-linux*".
...
* btest-gcc.sh <Build>: Don't pass --with-newlib when target is
"*-linux*".
From-SVN: r100649
2005-06-06 05:59:07 +00:00
Hans-Peter Nilsson
e7700967a1
* btest-gcc.sh (TESTLOGS): Make libstdc++.sum optional.
...
From-SVN: r100648
2005-06-06 05:57:03 +00:00
Ben Elliston
addd6f6401
* doc/md.texi (Insn Splitting): Fix some wording.
...
From-SVN: r100647
2005-06-06 13:57:36 +10:00
David Billinghurst
43faca5184
f2c_5.f90: Add -w to dg-options
...
2005-06-05 David Billinghurst <David.Billinghurst@riotinto.com>
* gfortran.dg/f2c_5.f90: Add -w to dg-options
From-SVN: r100646
2005-06-06 03:00:10 +00:00
David Edelsohn
ef765ea991
rs6000.c (rs6000_emit_swdivsf): New function.
...
* config/rs6000/rs6000.c (rs6000_emit_swdivsf): New function.
(rs6000_emit_swdivdf): New function.
* config/rs6000/rs6000.md (fres): New pattern.
(divsf3): Add approximation through rs6000_emit_swdivsf.
(fred): New pattern.
(divdf3): Add approximation through rs6000_emit_swdivdf.
* config/rs6000/rs6000-protos.h (rs6000_emit_swdivsf): Declare.
(rs6000_emit_swdivdf): Declare.
* config/rs6000/rs6000.opt (mswdiv): New option.
* doc/invoke.texi (RS/6000 and PowerPC Options): Document mswdiv.
From-SVN: r100645
2005-06-05 22:32:27 -04:00
GCC Administrator
6c4b13a9ec
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r100643.2
2005-06-06 00:16:21 +00:00
David Billinghurst
f25284f378
gfortran.exp (gfortran_target_compile): Call dg-additional-files-options
...
2005-06-05 David Billinghurst <David.Billinghurst@riotinto.com>
* lib/gfortran.exp (gfortran_target_compile): Call
dg-additional-files-options
* gfortran.dg/f2c_4.f90: New file
* gfortran.dg/f2c_4.c: New file
* gfortran.dg/f2c_5.f90: New file
* gfortran.dg/f2c_5.c: New file
From-SVN: r100641
2005-06-05 23:42:19 +00:00
Paolo Carlini
9d997b96c2
acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl too for ac_c99_complex.
...
2005-06-05 Paolo Carlini <pcarlini@suse.de>
* acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
too for ac_c99_complex.
* configure: Regenerate.
From-SVN: r100639
2005-06-05 21:58:52 +00:00
Gerald Pfeifer
bfac631b94
* gennews (files): Update for egcs-1.0 release pages consolidation.
...
From-SVN: r100636
2005-06-05 20:35:21 +00:00
Tobias Schlüter
adac7e92d8
* gfortran.dg/forall_1.f90: Set previously uninitialized variable.
...
From-SVN: r100632
2005-06-05 20:49:22 +02:00
Zdenek Dvorak
d5ab567508
re PR middle-end/21846 (segfault in fold_binary compiling vpr with -O2 -funroll-loops)
...
PR tree-optimization/21846
* tree-cfg.c (replace_uses_by): Update information stored at loops.
* tree-flow.h (substitute_in_loop_info): Declare.
* tree-scalar-evolution.c (initialize_scalar_evolutions_analyzer):
Ensure that chrec_dont_know and chrec_known have a type.
* tree-ssa-loop-niter.c (substitute_in_loop_info): New function.
From-SVN: r100631
2005-06-05 18:07:43 +00:00
Tobias Schlüter
86403f0f32
re PR fortran/21912 (Wrong implied do-loop)
...
fortran/
PR fortran/21912
* trans-array.c (gfc_trans_array_constructor_value): Slightly reorder.
Generate correct exit condition in case of negative steps in
implied-do loops.
testsuite/
PR fortran/21912
* gfortran.dg/array_constructor_4.f90: New test.
From-SVN: r100630
2005-06-05 20:03:47 +02:00
Mark Mitchell
88a7beb769
re PR c++/21619 (__builtin_constant_p(&"Hello"[0])?1:-1 not compile-time constant)
...
PR c++/21619
* cp-tree.h (DECL_IS_BUILTIN_CONSTANT_P): New macro.
* parser.c (cp_parser_postfix_expression): Allow non-constant
expressions as arguments to __builtin_constant_p.
* tree.c (builtin_valid_in_constant_expr_p): Use
DECL_IS_BUILTIN_CONSTANT_P.
PR c++/21619
* g++.dg/ext/builtin9.C: New test.
From-SVN: r100626
2005-06-05 16:33:43 +00:00
Dale Johannesen
1d508aa99c
removing
...
From-SVN: r100625
2005-06-05 16:20:14 +00:00
Dale Johannesen
c25bc8a121
Removing
...
From-SVN: r100624
2005-06-05 16:19:58 +00:00
Dale Johannesen
16191a6493
20050603-1.c: Move to gcc.dg.
...
2005-06-05 Dale Johannesen <dalej@apple.com>
* gcc.c-torture/execute/20050603-1.c: Move to gcc.dg.
* gcc.c-torture/execute/20050603-2.c: Ditto.
From-SVN: r100623
2005-06-05 16:18:12 +00:00