]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
18 years agoMakefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): Remove @ from continuation.
Alexandre Oliva [Thu, 5 Jan 2006 17:42:53 +0000 (17:42 +0000)] 
Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): Remove @ from continuation.

* Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): Remove
@ from continuation.
* Makefile.in: Rebuilt.

From-SVN: r109385

18 years ago* java/lang/natPosixProcess.cc (reap): Ignore unknown children.
Tom Tromey [Thu, 5 Jan 2006 17:35:20 +0000 (17:35 +0000)] 
* java/lang/natPosixProcess.cc (reap): Ignore unknown children.

From-SVN: r109383

18 years agore PR tree-optimization/22555 (array in struct disables salias subvars for other...
Richard Guenther [Thu, 5 Jan 2006 15:30:44 +0000 (15:30 +0000)] 
re PR tree-optimization/22555 (array in struct disables salias subvars for other fields)

2006-01-05  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/22555
* tree-ssa-alias.c (create_overlap_variables_for): Do not give up,
if one structure field is an array.
* tree-ssa-operands.c (get_expr_operands): Continue scanning
operands even if we found a subvar, but ignore VOPs in this
case.
* tree-ssa-loop-ivopts.c (rewrite_use): Mark new vars in stmt
for renaming.
* tree-ssa-loop.c (pass_iv_optimize): Schedule TODO_update_ssa.

* gcc.dg/tree-ssa/alias-3.c: New testcase.

From-SVN: r109381

18 years agore PR target/24998 (Build failure: undefined symbol __floatunsitf)
Richard Earnshaw [Thu, 5 Jan 2006 15:06:09 +0000 (15:06 +0000)] 
re PR target/24998 (Build failure: undefined symbol __floatunsitf)

PR middle-end/24998
* arm/t-netbsd (LIB2FUNCS_EXTRA): Define.

From-SVN: r109380

18 years agotree-pass.h (TODO_remove_unused_locals): Define.
Richard Guenther [Thu, 5 Jan 2006 13:53:54 +0000 (13:53 +0000)] 
tree-pass.h (TODO_remove_unused_locals): Define.

2006-01-05  Richard Guenther  <rguenther@suse.de>
    Diego Novillo  <dnovillo@redhat.com>

* tree-pass.h (TODO_remove_unused_locals): Define.
* gimple-low.c (expand_var_p, remove_useless_vars,
pass_remove_useless_vars): Remove.  Update all users.
* tree-ssa-live.c (mark_all_vars_used_1): Handle SSA names.
(remove_unused_locals): New function.
* tree-flow.h (remove_unused_locals): Declare.
* passes.c (execute_todo): Call remove_unused_locals if
TODO_remove_unused_locals is set.
* tree-into-ssa.c (pass_build_ssa): Add TODO_remove_unused_locals.
* tree-ssa-dce.c (pass_dce): Likewise.
* tree-outof-ssa.c (pass_del_ssa): Likewise.

* gcc.dg/tree-ssa/loop-11.c: Deal with removed vars pass.
* gcc.dg/tree-ssa/loop-8.c: Likewise.
* gcc.dg/tree-ssa/loop-1.c: Likewise.
* gcc.dg/tree-ssa/pr23294.c: Likewise.
* gcc.dg/tree-ssa/pr21985.c: Likewise.
* gcc.dg/tree-ssa/loop-14.c: Likewise.
* gcc.dg/tree-ssa/loop-2.c: Likewise.
* gcc.dg/tree-ssa/loop-3.c: Likewise.
* gcc.dg/tree-ssa/loop-4.c: Likewise.
* gcc.dg/tree-ssa/pr21171.c: Likewise.
* gcc.dg/tree-ssa/loop-5.c: Likewise.
* gcc.dg/tree-ssa/loop-10.c: Likewise.
* gcc.dg/tree-ssa/loop-6.c: Likewise.
* treelang/compile/extravar.tree: Likewise.
* g++.dg/tree-ssa/ssa-cast-1.C: Likewise.
* g++.dg/tree-ssa/pointer-reference-alias.C: Likewise.
* g++.dg/tree-ssa/ssa-sra-1.C: Likewise.
* g++.dg/tree-ssa/ssa-sra-2.C: Likewise.
* gcc.dg/tree-ssa/20031106-6.c: Disable SRA.

Co-Authored-By: Diego Novillo <dnovillo@redhat.com>
From-SVN: r109379

18 years agoMAINTAINERS (Write after approval): Add myself.
Bernhard Reutner-Fischer [Thu, 5 Jan 2006 12:47:33 +0000 (13:47 +0100)] 
MAINTAINERS (Write after approval): Add myself.

2006-01-05  Bernhard Fischer  <rep.nop@aon.at>

* MAINTAINERS (Write after approval): Add myself.

From-SVN: r109377

18 years agotree-flow.h (struct fieldoff): Decompose field to type, size and decl.
Richard Guenther [Thu, 5 Jan 2006 09:58:57 +0000 (09:58 +0000)] 
tree-flow.h (struct fieldoff): Decompose field to type, size and decl.

2006-01-05  Richard Guenther  <rguenther@suse.de>

* tree-flow.h (struct fieldoff): Decompose field to
type, size and decl.
* tree-ssa-alias.c (create_sft): Take type as parameter.
(create_overlap_variables_for): Store type, size and decl
in the fieldoff structure.
* tree-ssa-structalias.c (fieldoff_compare): Adjust users
of struct fieldoff.
(push_fields_onto_fieldstack): Likewise.
(create_variable_info_for): Likewise.  Use offset for the
SFT name if the decl is not available.

From-SVN: r109376

18 years agoMakefile.in: Use -MMD instead of -MD.
Paolo Bonzini [Thu, 5 Jan 2006 08:35:23 +0000 (08:35 +0000)] 
Makefile.in: Use -MMD instead of -MD.

2006-02-05  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.in: Use -MMD instead of -MD.

From-SVN: r109373

18 years agothunk3.C, thunk4.C: Revert unnecessary fix for 64-bit fix.
Hans-Peter Nilsson [Thu, 5 Jan 2006 01:53:44 +0000 (01:53 +0000)] 
thunk3.C, thunk4.C: Revert unnecessary fix for 64-bit fix.

* g++.dg/abi/thunk3.C, g++.dg/abi/thunk4.C: Revert unnecessary fix
for 64-bit fix.

From-SVN: r109371

18 years agofixed missing changelog entry for r109153
Kenneth Zadeck [Thu, 5 Jan 2006 00:53:41 +0000 (00:53 +0000)] 
fixed missing changelog entry for r109153

From-SVN: r109370

18 years agore PR fortran/23675 (ICE in gfc_finish_var_decl (string manipulation))
Erik Edelmann [Thu, 5 Jan 2006 00:22:39 +0000 (00:22 +0000)] 
re PR fortran/23675 (ICE in gfc_finish_var_decl (string manipulation))

2006-01-05  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/23675
        * expr.c (gfc_expr_set_symbols_referenced): New function.
        * gfortran.h: Add a function prototype for it.
        * resolve.c (resolve_function): Use it for
        use associated character functions lengths.
        * expr.c, gfortran.h, resolve.c: Updated copyright years.

testsuite/
2006-01-05  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/23675
        gfortran.dg/char_result_11.f90: New.

From-SVN: r109368

18 years agoDaily bump.
GCC Administrator [Thu, 5 Jan 2006 00:18:02 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r109365

18 years agore PR c++/25632 (ICE with const int copied into two different functions)
Zdenek Dvorak [Wed, 4 Jan 2006 22:46:09 +0000 (23:46 +0100)] 
re PR c++/25632 (ICE with const int copied into two different functions)

PR c++/25632
* init.c (constant_value_1): Unshare use of DECL_INITIAL.  Fix a typo
in condition.

From-SVN: r109354

18 years agodecNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro definition of strcpy...
Roger Sayle [Wed, 4 Jan 2006 21:22:34 +0000 (21:22 +0000)] 
decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro definition of strcpy from generating compilation...

* decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro
definition of strcpy from generating compilation warnings.

Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r109351

18 years agoposix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
Krister Walfridsson [Wed, 4 Jan 2006 21:11:51 +0000 (22:11 +0100)] 
posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN

2006-01-04  Krister Walfridsson  <cato@df.lth.se>

* posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN

From-SVN: r109350

18 years agotypeck2.c: update copyright to 2006
Chris Lattner [Wed, 4 Jan 2006 19:59:44 +0000 (19:59 +0000)] 
typeck2.c: update copyright to 2006

2006-01-04  Chris Lattner  <sabre@gnu.org>

        * typeck2.c: update copyright to 2006
        (split_nonconstant_init_1):  Set TREE_CONSTANT to true.

From-SVN: r109348

18 years agoanother trivial tweak for consistency
Chris Lattner [Wed, 4 Jan 2006 19:57:06 +0000 (19:57 +0000)] 
another trivial tweak for consistency

From-SVN: r109347

18 years agoobvious typo fix
Chris Lattner [Wed, 4 Jan 2006 19:49:59 +0000 (19:49 +0000)] 
obvious typo fix

From-SVN: r109346

18 years agoAdd myself.
Chris Lattner [Wed, 4 Jan 2006 19:47:45 +0000 (19:47 +0000)] 
Add myself.

From-SVN: r109345

18 years agore PR c++/24782 (wrongly accepted nested private typedef)
Mark Mitchell [Wed, 4 Jan 2006 18:48:38 +0000 (18:48 +0000)] 
re PR c++/24782 (wrongly accepted nested private typedef)

PR c++/24782
* parser.c (cp_parser_nested_name_specifier_opt): Preserve access
checks, even when parsing tentatively.
PR c++/24782
* g++.dg/parse/access9.C: New test.
* g++.dg/tc1/dr52.C: Tweak error markers.

From-SVN: r109342

18 years agoClass.h (_Jv_CopyClassesToSystemLoader): Updated.
Tom Tromey [Wed, 4 Jan 2006 17:59:40 +0000 (17:59 +0000)] 
Class.h (_Jv_CopyClassesToSystemLoader): Updated.

* java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
* java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
Changed argument type.  Use SystemClassLoader.addClass.
* gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.

From-SVN: r109340

18 years agom68k.c (m68k_output_mi_thunk): Use jmp, not jsr.
Paul Brook [Wed, 4 Jan 2006 16:38:00 +0000 (16:38 +0000)] 
m68k.c (m68k_output_mi_thunk): Use jmp, not jsr.

2006-01-04  Paul Brook  <paul@codesourcery.com>

* config/m68k/m68k.c (m68k_output_mi_thunk): Use jmp, not jsr.

From-SVN: r109338

18 years agolambda-code.c (can_put_in_inner_loop): Relax restrictions.
Daniel Berlin [Wed, 4 Jan 2006 16:34:52 +0000 (16:34 +0000)] 
lambda-code.c (can_put_in_inner_loop): Relax restrictions.

2006-01-04  Daniel Berlin  <dberlin@dberlin.org>

* lambda-code.c (can_put_in_inner_loop): Relax
restrictions.
(can_put_after_inner_loop): New function.
(can_convert_to_perfect_nest): Use can_put_after_inner_loop as well.
(perfect_nestify): Change to make copies and modify uses.

From-SVN: r109337

18 years agodirectives.c (struct pragma_entry): Add is_deferred.
Richard Henderson [Wed, 4 Jan 2006 16:33:38 +0000 (08:33 -0800)] 
directives.c (struct pragma_entry): Add is_deferred.

libcpp/
* directives.c (struct pragma_entry): Add is_deferred.  Add ident
entry to value union.
(end_directive): Don't eat the line if in_deferred_pragma.
(run_directive): Remove pragma hacks.
(insert_pragma_entry): Remove.
(new_pragma_entry): New.
(register_pragma_1): Split out of register_pragma.  Only handle
the lookup tree and return the new entry.
(cpp_register_pragma): Fill in the pragma entry here.
(cpp_register_deferred_pragma): New.
(register_pragma_internal): New.
(_cpp_init_internal_pragmas): Use register_pragma_internal.
(do_pragma): Allow pragma expansion after namespace.  For deferred
pragmas, don't slurp the line into a string.
(destringize_and_run): Save tokens for deferred pragmas.
(cpp_handle_deferred_pragma): Remove.
* macro.c (builtin_macro): Remove pragma token hack.
(_cpp_push_token_context): Rename from push_token_context and export.
* internal.h (struct lexer_state): Add pragma_allow_expansion.
(_cpp_push_token_context): Declare.
* lex.c (_cpp_lex_token): Allow _cpp_handle_directive to return
a token.  Update the line number correctly if so.
(_cpp_lex_direct): Emit CPP_PRAGMA_EOL tokens.
(cpp_token_val_index): Return CPP_TOKEN_FLD_PRAGMA for pragmas.
* include/cpplib.h (PRAGMA_EOL): New.
(CPP_TOKEN_FLD_PRAGMA): New.
(struct cpp_token): Add val.pragma.
(struct cpp_options): Remove defer_pragmas.
(cpp_handle_deferred_pragma): Remove.
(cpp_register_deferred_pragma): Declare.

gcc/
* c-lex.c (c_lex_with_flags) <CPP_PRAGMA>: Smuggle pragma id
via integer constant.
(pragma_lex): Remove.
* c-pch.c (c_common_pch_pragma): Accept the name as an argument,
rather than parsing it.
* c-pragma.c (handle_pragma_weak, handle_pragma_redefine_extname,
handle_pragma_extern_prefix): Add %< %> quotes.
(registered_pragmas): New.
(c_register_pragma_1): New.
(c_register_pragma): Use it.
(c_register_pragma_with_expansion): Likewise.
(c_invoke_pragma_handler): New.
(init_pragma): Use cpp_register_deferred_pragma directly for
pch_preprocess.
* c-pragma.h (enum pragma_kind): New.
(pragma_handler): New.
(c_invoke_pragma_handler): Declare.
* c-common.c (c_parse_error): Pretty print CPP_PRAGMA and
CPP_PRAGMA_EOL.
* c-common.h (c_common_pch_pragma): Update decl.
* Makefile.in (c-parser.o): Update dependencies.
(GTFILES): Add c-pragma.h.
* c-parser.c (struct c_token): Add pragma_kind.
(struct c_parser): Add in_pragma.
(c_lex_one_token): Always initialize keyword and pragma_kind.
Extract data for CPP_PRAGMA.
(c_parser_peek_2nd_token): Deny CPP_PRAGMA_EOL.
(c_parser_consume_token): Don't allow CPP_PRAGMA unless errors.
Don't allow CPP_PRAGMA_EOL if in_pragma.
(c_parser_consume_pragma): New.
(c_parser_skip_until_found): Stop on CPP_PRAGMA_EOL.
(c_parser_skip_to_end_of_parameter): Likewise.
(c_parser_skip_to_end_of_block_or_statement): Likewise.
(c_parser_skip_to_pragma_eol): New.
(c_parser_external_declaration): Handle CPP_PRAGMA.
(c_parser_compound_statement_nostart): Likewise.
(c_parser_statement_after_labels): Likewise.
(c_parser_pragma): New.
(pragma_lex): Likewise.
(c_parser_pragma_pch_preprocess): New.
(c_parser_new): Merge into ...
(c_parse_file): ... here.  Call c_parser_pragma_pch_preprocess.

gcc/cp/
* lex.c (handle_pragma_java_exceptions): Fix whitespace.
* parser.c (struct cp_token): Add pragma_kind.
(eof_token): Update to match.
(struct cp_lexer): Add in_pragma; rearrange next for better packing.
(cp_parser_initial_pragma): New.
(cp_lexer_new_main): Use it.  Don't bother clearing
c_lex_return_raw_strings.
(cp_lexer_get_preprocessor_token): Always initialize keyword
and pragma_kind fields.  Handle CPP_PRAGMA.
(cp_lexer_consume_token): Don't allow CPP_PRAGMA_EOL when
in_pragma is set.
(cp_lexer_handle_pragma): Remove.  Update callers to cp_parser_pragma.
(cp_lexer_print_token) <CPP_PRAGMA>: Don't print as a string.
(cp_parser_skip_to_pragma_eol): New.
(cp_parser_error): Use it.
(cp_parser_skip_to_closing_parenthesis): Stop at CPP_PRAGMA_EOL;
rearrange with switch statement.
(cp_parser_skip_to_end_of_statement): Likewise.
(cp_parser_skip_to_end_of_block_or_statement): Likewise.
(cp_parser_skip_to_closing_brace): Likewise.
(cp_parser_skip_until_found): Likewise.
(cp_parser_statement): Add in_compound argument; update callers.
Use it to decide how to handle pragma parsing.
(cp_parser_labeled_statement): Add in_compound argument; pass
it on to cp_parser_statement.
(cp_parser_statement_seq_opt): Stop at CPP_PRAGMA_EOL.
(cp_parser_declaration_seq_opt): Likewise.
(cp_parser_parameter_declaration): Likewise.
(cp_parser_member_specification_opt): Likewise.
(cp_parser_function_definition_after_decl): Likewise.
(cp_parser_cache_group): Handle CPP_PRAGMA/CPP_PRAGMA_EOL pairs.
(cp_parser_pragma): New.
(pragma_lex): New.

gcc/testsuite/
* g++.dg/parse/pragma2.C: Update expected error lines.

From-SVN: r109336

18 years agore PR ada/24994 (raised STORAGE_ERROR : stack overflow or erroneous memory access)
Jeff Law [Wed, 4 Jan 2006 16:29:32 +0000 (09:29 -0700)] 
re PR ada/24994 (raised STORAGE_ERROR : stack overflow or erroneous memory access)

        PR ada/24994
        * tree-cfg.c (bsi_replace): Remove the original statement
        from the EH throw statement table.

From-SVN: r109335

18 years agodecl.c (finish_constructor_body): create simple compound stmt instead of a if(1)...
Dirk Mueller [Wed, 4 Jan 2006 15:26:15 +0000 (15:26 +0000)] 
decl.c (finish_constructor_body): create simple compound stmt instead of a if(1) { } construct.

2002-01-04  Dirk Mueller <dmueller@suse.com>

* decl.c (finish_constructor_body): create simple
compound stmt instead of a if(1) { } construct.

From-SVN: r109331

18 years agoFix "node B dominates node B" to "node B dominates node A"
Daniel Berlin [Wed, 4 Jan 2006 15:07:54 +0000 (15:07 +0000)] 
Fix "node B dominates node B" to "node B dominates node A"

From-SVN: r109330

18 years agore PR middle-end/24252 (Missing "warning: control reaches end of non-void function...
Paolo Bonzini [Wed, 4 Jan 2006 12:21:27 +0000 (12:21 +0000)] 
re PR middle-end/24252 (Missing "warning: control reaches end of non-void function" in static function)

2006-01-04  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/24252

* Makefile.def (flags_to_pass): Add STAGE1_CFLAGS and STAGE1_LANGUAGES.
* Makefile.tpl (OBJDUMP): New.
(EXTRA_HOST_FLAGS): Add it.
(EXTRA_GCC_FLAGS): Remove flags already specified in flags_to_pass.

        * Makefile.tpl (stage[+id+]-start, stage[+id+]-end): Do not try
        to use symbolic links between directories.  Avoid race conditions
        or make them harmless.
        * configure.in: Do not try to use symbolic links between directories.

* Makefile.def (LEAN): Pass.
* Makefile.tpl (LEAN): Define.
(stage[+id+]-start): Accept that the previous directory does not
exist, if the bootstrap is lean.
(stage[+id+]-bubble): Invoke lean bootstrap commands after
stage[+id+]-start.  Use a makefile variable and an `if' instead of a
configure substitution.
([+compare-target+]): Likewise.
([+bootstrap-target+]-lean): New.
* configure.in: Remove lean bootstrap support from here.

        * Makefile.in: Regenerate.
        * configure: Regenerate.

From-SVN: r109325

18 years agosso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base...
Paolo Carlini [Wed, 4 Jan 2006 11:34:45 +0000 (11:34 +0000)] 
sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class.

2006-01-04  Paolo Carlini  <pcarlini@suse.de>

        * include/ext/sso_string_base.h (__sso_string_base<>::_M_dataplus):
        Use _CharT_alloc_type as base class.
        (_M_get_allocator, _M_swap, _M_create, _M_destroy): Adjust.
        * include/ext/vstring.h (get_allocator): Tidy.

2006-01-04  Paolo Carlini  <pcarlini@suse.de>

Implement Option 3 of DR 431 for all the containers.
* include/bits/allocator.h (struct __alloc_swap): Add, swaps
allocators, optimized to nothing in case they are empty.
* include/bits/stl_deque.h (deque<>::swap): Use it.
* include/bits/stl_list.h (list<>::swap): Likewise.
* include/bits/stl_tree.h (_Rb_tree<>::swap): Likewise.
* include/bits/stl_vector.h (vector<>::swap): Likewise.
* include/tr1/hashtable (hashtable<>::swap): Likewise.
* include/ext/rc_string_base.h (__rc_string_base<>::_M_swap):
Likewise.
* include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
Likewise.
* include/ext/vstring_util.h (__vstring_utility<>::_Alloc_hider):
Clean-up (now vstring uses the generic __alloc_swap facility).
* include/tr1/unordered_map: Adjust includes.
* include/tr1/unordered_set: Likewise.
* docs/html/ext/howto.html: Add an entry for DR 431.
* testsuite/23_containers/deque/modifiers/swap.cc: Move to...
* testsuite/23_containers/deque/modifiers/swap/1.cc: ... here.
* testsuite/23_containers/deque/modifiers/swap/2.cc: New.
* testsuite/23_containers/deque/modifiers/swap/3.cc: New.
* testsuite/23_containers/list/modifiers/swap.cc: Move to...
* testsuite/23_containers/list/modifiers/swap/1.cc: ... here.
* testsuite/23_containers/list/modifiers/swap/2.cc: New.
* testsuite/23_containers/list/modifiers/swap/3.cc: New.
* testsuite/23_containers/vector/modifiers/swap.cc: Move to...
* testsuite/23_containers/vector/modifiers/swap/1.cc: ... here.
* testsuite/23_containers/vector/modifiers/swap/2.cc: New.
* testsuite/23_containers/vector/modifiers/swap/3.cc: New.
* testsuite/23_containers/set/modifiers/swap.cc: Move to...
* testsuite/23_containers/set/modifiers/swap/1.cc: ... here.
* testsuite/23_containers/set/modifiers/swap/2.cc: New.
* testsuite/23_containers/set/modifiers/swap/3.cc: New.
* testsuite/23_containers/map/modifiers/swap.cc: Move to...
* testsuite/23_containers/map/modifiers/swap/1.cc: ... here.
* testsuite/23_containers/map/modifiers/swap/2.cc: New.
* testsuite/23_containers/map/modifiers/swap/3.cc: New.
* testsuite/23_containers/multiset/modifiers/swap.cc: Move to...
* testsuite/23_containers/multiset/modifiers/swap/1.cc: ... here.
* testsuite/23_containers/multiset/modifiers/swap/2.cc: New.
* testsuite/23_containers/multiset/modifiers/swap/3.cc: New.
* testsuite/23_containers/multimap/modifiers/swap.cc: Move to...
* testsuite/23_containers/multimap/modifiers/swap/1.cc: ... here.
* testsuite/23_containers/multimap/modifiers/swap/2.cc: New.
* testsuite/23_containers/multimap/modifiers/swap/3.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_set/1.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_set/2.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_map/1.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_map/2.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_multiset/1.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_multiset/2.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_multimap/1.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_multimap/2.cc: New.

From-SVN: r109324

18 years agosso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base...
Paolo Carlini [Wed, 4 Jan 2006 11:34:24 +0000 (11:34 +0000)] 
sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class.

2006-01-04  Paolo Carlini  <pcarlini@suse.de>

        * include/ext/sso_string_base.h (__sso_string_base<>::_M_dataplus):
        Use _CharT_alloc_type as base class.
        (_M_get_allocator, _M_swap, _M_create, _M_destroy): Adjust.
        * include/ext/vstring.h (get_allocator): Tidy.

2006-01-04  Paolo Carlini  <pcarlini@suse.de>

Implement Option 3 of DR 431 for all the containers.
* include/bits/allocator.h (struct __alloc_swap): Add, swaps
allocators, optimized to nothing in case they are empty.
* include/bits/stl_deque.h (deque<>::swap): Use it.
* include/bits/stl_list.h (list<>::swap): Likewise.
* include/bits/stl_tree.h (_Rb_tree<>::swap): Likewise.
* include/bits/stl_vector.h (vector<>::swap): Likewise.
* include/tr1/hashtable (hashtable<>::swap): Likewise.
* include/ext/rc_string_base.h (__rc_string_base<>::_M_swap):
Likewise.
* include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
Likewise.
* include/ext/vstring_util.h (__vstring_utility<>::_Alloc_hider):
Clean-up (now vstring uses the generic __alloc_swap facility).
* include/tr1/unordered_map: Adjust includes.
* include/tr1/unordered_set: Likewise.
* docs/html/ext/howto.html: Add an entry for DR 431.
* testsuite/23_containers/deque/modifiers/swap.cc: Move to...
* testsuite/23_containers/deque/modifiers/swap/1.cc: ... here.
* testsuite/23_containers/deque/modifiers/swap/2.cc: New.
* testsuite/23_containers/deque/modifiers/swap/3.cc: New.
* testsuite/23_containers/list/modifiers/swap.cc: Move to...
* testsuite/23_containers/list/modifiers/swap/1.cc: ... here.
* testsuite/23_containers/list/modifiers/swap/2.cc: New.
* testsuite/23_containers/list/modifiers/swap/3.cc: New.
* testsuite/23_containers/vector/modifiers/swap.cc: Move to...
* testsuite/23_containers/vector/modifiers/swap/1.cc: ... here.
* testsuite/23_containers/vector/modifiers/swap/2.cc: New.
* testsuite/23_containers/vector/modifiers/swap/3.cc: New.
* testsuite/23_containers/set/modifiers/swap.cc: Move to...
* testsuite/23_containers/set/modifiers/swap/1.cc: ... here.
* testsuite/23_containers/set/modifiers/swap/2.cc: New.
* testsuite/23_containers/set/modifiers/swap/3.cc: New.
* testsuite/23_containers/map/modifiers/swap.cc: Move to...
* testsuite/23_containers/map/modifiers/swap/1.cc: ... here.
* testsuite/23_containers/map/modifiers/swap/2.cc: New.
* testsuite/23_containers/map/modifiers/swap/3.cc: New.
* testsuite/23_containers/multiset/modifiers/swap.cc: Move to...
* testsuite/23_containers/multiset/modifiers/swap/1.cc: ... here.
* testsuite/23_containers/multiset/modifiers/swap/2.cc: New.
* testsuite/23_containers/multiset/modifiers/swap/3.cc: New.
* testsuite/23_containers/multimap/modifiers/swap.cc: Move to...
* testsuite/23_containers/multimap/modifiers/swap/1.cc: ... here.
* testsuite/23_containers/multimap/modifiers/swap/2.cc: New.
* testsuite/23_containers/multimap/modifiers/swap/3.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_set/1.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_set/2.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_map/1.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_map/2.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_multiset/1.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_multiset/2.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_multimap/1.cc: New.
* testsuite/tr1/6_containers/unordered/swap/unordered_multimap/2.cc: New.

From-SVN: r109323

18 years agopmm_malloc.h (posix_memalign): If __cplusplus, make the prototype extern "C" and...
Jakub Jelinek [Wed, 4 Jan 2006 08:17:15 +0000 (09:17 +0100)] 
pmm_malloc.h (posix_memalign): If __cplusplus, make the prototype extern "C" and add throw ().

* config/i386/pmm_malloc.h (posix_memalign): If __cplusplus,
make the prototype extern "C" and add throw ().

* g++.dg/other/i386-2.C: New test.

From-SVN: r109318

18 years agore PR target/25554 (unrecognizable insn on x86_64 with -O2 -ftracer ( -fno-tree-domin...
Jakub Jelinek [Wed, 4 Jan 2006 08:15:06 +0000 (09:15 +0100)] 
re PR target/25554 (unrecognizable insn on x86_64 with -O2 -ftracer ( -fno-tree-dominator-opts on the mainline))

PR target/25554
* config/i386/i386.md (testqi_ext_3): Ensure len is positive
and pos non-negative and pos + len <= 32.
(testqi_ext_3_rex64): Ensure len is positive and pos non-negative,
drop pos + len < HOST_BITS_PER_WIDE_INT test.
(testqi_ext_3* splitter): Handle pos + len == HOST_BITS_PER_WIDE_INT.

* gcc.c-torture/compile/20051228-1.c: New test.

From-SVN: r109317

18 years agore PR c/25559 (Internal compiler error when specifying vector_size(2) of int)
Jakub Jelinek [Wed, 4 Jan 2006 08:07:09 +0000 (09:07 +0100)] 
re PR c/25559 (Internal compiler error when specifying vector_size(2) of int)

PR c/25559
* c-common.c (handle_vector_size_attribute): Reject zero vector size
as well as sizes not multiple of component size.

* gcc.dg/pr25559.c: New test.

From-SVN: r109316

18 years agore PR debug/25562 (cannot debug VLA local)
Jakub Jelinek [Wed, 4 Jan 2006 08:05:29 +0000 (09:05 +0100)] 
re PR debug/25562 (cannot debug VLA local)

PR debug/25562
* function.c (instantiate_expr): New function.
(instantiate_decls_1, instantiate_decls): If DECL_HAS_VALUE_EXPR_P,
walk its DECL_VALUE_EXPR with instantiate_expr.

* dwarf2out.c (loc_descriptor_from_tree_1): Don't add
DW_OP_deref{,_size} if address isn't going to be added.

From-SVN: r109315

18 years agofp-bit.h: Use top-of-file comment from libgcc2.c.
Ben Elliston [Wed, 4 Jan 2006 03:42:02 +0000 (03:42 +0000)] 
fp-bit.h: Use top-of-file comment from libgcc2.c.

* config/fp-bit.h: Use top-of-file comment from libgcc2.c.
* config/fp-bit.c: Likewise.

From-SVN: r109309

18 years agodominance.c: Add comment about why we use DFS numbering of dominance tree.
Daniel Berlin [Wed, 4 Jan 2006 02:03:19 +0000 (02:03 +0000)] 
dominance.c: Add comment about why we use DFS numbering of dominance tree.

2006-01-03  Daniel Berlin  <dberlin@dberlin.org>

* dominance.c: Add comment about why we use DFS numbering
of dominance tree.

From-SVN: r109308

18 years agore PR c++/25492 (friend class nested in derived class problem)
Mark Mitchell [Wed, 4 Jan 2006 01:04:51 +0000 (01:04 +0000)] 
re PR c++/25492 (friend class nested in derived class problem)

PR c++/25492
* name-lookup.c (push_class_level_binding): When a derived class
provides a type binding, eliminate any type binding from a base
class.
PR c++/25625
* repo.c (repo_emit_p): Always instantiate static data members
initialized by constant expressions, so that there values are
available.
PR c++/25492
* g++.dg/lookup/friend9.C: New test.
PR c++/25625
* g++.dg/template/repo5.C: New test.

From-SVN: r109307

18 years agoDaily bump.
GCC Administrator [Wed, 4 Jan 2006 00:17:23 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r109301

18 years agoPR libgcj/9715, PR libgcj/19132:
David Daney [Tue, 3 Jan 2006 22:58:31 +0000 (22:58 +0000)] 
PR libgcj/9715, PR libgcj/19132:

* java/nio/charset/Charset.java (charsetForName): Try default
provider first.
(availableCharsets): Re-merged.
(providers2): Likewise.
(defaultCharset): Likewise.
* sources.am, Makefile.in: Rebuilt.
* gnu/java/nio/charset/Provider.java: Removed.
* java/io/OutputStreamWriter.java
(OutputStreamWriter(OutputStream,Charset)): New constructor.
(OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
* java/io/InputStreamReader.java
(InputStreamReader(InputStream,CharsetDecoder)): New constructor.
(InputStreamReader(InputStream,Charset)): Likewise.
* gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
BytesToCharsetAdaptor.
* gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
CharsetToBytesAdaptor.
* gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
* gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
* mauve-libgcj: Remove getEncoding exclusion.

Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r109294

18 years ago* MAINTAINERS (libdecnumber): Add myself.
Ben Elliston [Tue, 3 Jan 2006 22:52:08 +0000 (22:52 +0000)] 
* MAINTAINERS (libdecnumber): Add myself.

From-SVN: r109293

18 years agore PR fortran/25101 ([4.1] Zero stride allowed in FORALL:s)
Steven G. Kargl [Tue, 3 Jan 2006 22:01:10 +0000 (22:01 +0000)] 
re PR fortran/25101 ([4.1] Zero stride allowed in FORALL:s)

2006-01-03  Steven G. Kargl  <kargls@comcast.net>

PR fortran/25101
* resolve.c (resolve_forall_iterators):  Check for scalar variables;
Check stride is nonzero.

* gfortran.dg/forall_2.f90:  New test.

From-SVN: r109288

18 years agoCorrect last commit
Hans-Peter Nilsson [Tue, 3 Jan 2006 20:42:55 +0000 (20:42 +0000)] 
Correct last commit

From-SVN: r109287

18 years agothunk3.C, thunk4.C: Gate on dg-require-weak.
Hans-Peter Nilsson [Tue, 3 Jan 2006 20:24:53 +0000 (20:24 +0000)] 
thunk3.C, thunk4.C: Gate on dg-require-weak.

* g++.dg/abi/thunk3.C, g++.dg/abi/thunk4.C: Gate on
dg-require-weak.  Adjust regexp to handle leading-underscore
targets, NO_DOT_IN_LABEL targets and space as well as TAB after
.weak.

From-SVN: r109286

18 years agovarasm.c (assemble_variable): Handle thread-local COMMON data.
Jakub Jelinek [Tue, 3 Jan 2006 16:19:21 +0000 (17:19 +0100)] 
varasm.c (assemble_variable): Handle thread-local COMMON data.

        * varasm.c (assemble_variable): Handle thread-local COMMON data.
        * defaults.h (ASM_OUTPUT_TLS_COMMON): Define.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r109282

18 years agore PR rtl-optimization/25578 (gfortran version 4.2.0 20051227 - 144 new testsuite...
Paolo Bonzini [Tue, 3 Jan 2006 14:58:05 +0000 (14:58 +0000)] 
re PR rtl-optimization/25578 (gfortran  version 4.2.0 20051227 - 144 new testsuite failures since 2005121)

gcc:
2006-01-03  Paolo Bonzini  <bonzini@gnu.org>

PR rtl-optimization/25578
* combine.c (combine_simplify_rtx, force_to_mode): Don't
pass a parameter to simplify_shift_const if changing ASHIFTRT
to LSHIFTRT.

gcc/testsuite:
2006-01-03  Paolo Bonzini  <bonzini@gnu.org>

PR rtl-optimization/25578
* gcc.c-torture/execute/20060102-1.c: New testcase.

From-SVN: r109281

18 years agostl_list.h (_List_base<>::_M_get_Node_allocator): Add.
Paolo Carlini [Tue, 3 Jan 2006 13:19:23 +0000 (13:19 +0000)] 
stl_list.h (_List_base<>::_M_get_Node_allocator): Add.

2006-01-03  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_list.h (_List_base<>::_M_get_Node_allocator): Add.
(_M_get_Tp_allocator, get_allocator): Tidy.
(list<>::list(const list&), insert(iterator, size_type, const
value_type&), insert(iterator, _InputIterator, _InputIterator)):
Use _M_get_Node_allocator.
* include/bits/stl_tree.h (_Rb_tree<>::_M_get_Node_allocator()): Add.
(_Rb_tree(const _Rb_tree<>&): Use it.
* include/bits/stl_deque.h (_Deque_base<>::_M_get_map_allocator,
get_allocator): Tidy.
* include/bits/stl_vector.h (_Vector_base<>::get_allocator): Tidy.
* testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
line numbers.
* testsuite/23_containers/set/operators/1_neg.cc: Likewise.

* testsuite/testsuite_allocator.h (uneq_allocator<>::swap): Fix.

* testsuite/testsuite_allocator.h (class uneq_allocator): A simple
non-empty testing allocator which can be endowed of a "personality"
at construction time.

From-SVN: r109280

18 years agobuiltins.c (get_builtin_sync_mem): New function.
Adrian Straetling [Tue, 3 Jan 2006 11:52:29 +0000 (11:52 +0000)] 
builtins.c (get_builtin_sync_mem): New function.

2006-01-03  Adrian Straetling  <straetling@de.ibm.com>

* gcc/builtins.c (get_builtin_sync_mem): New function.
(expand_builtin_sync_operation, expand_builtin_compare_and_swap,
expand_builtin_lock_test_and_set, expand_builtin_lock_release):
Call get_builtin_sync_mem to generate mem rtx.

From-SVN: r109279

18 years ago1.cc: Initialize vars.
Paolo Carlini [Tue, 3 Jan 2006 10:29:25 +0000 (10:29 +0000)] 
1.cc: Initialize vars.

2006-01-03  Paolo Carlini  <pcarlini@suse.de>

* testsuite/27_io/basic_stringstream/str/char/1.cc: Initialize vars.
* testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise, tidy.
* testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.

From-SVN: r109275

18 years agore PR c/25183 (internal compiler error triggered by overflow in constant expression)
Richard Guenther [Tue, 3 Jan 2006 09:15:08 +0000 (09:15 +0000)] 
re PR c/25183 (internal compiler error triggered by overflow in constant expression)

2006-01-03  Richard Guenther  <rguenther@suse.de>

        PR c/25183
* stmt.c (add_case_node): Make sure to clear overflow flags
from ranges.

* gcc.dg/torture/pr25183.c: New testcase.

From-SVN: r109272

18 years agobackport: sync.md: New file.
Jakub Jelinek [Tue, 3 Jan 2006 09:06:36 +0000 (10:06 +0100)] 
backport: sync.md: New file.

Merge from gomp-branch.
* config/sparc/sync.md: New file.
* config/sparc/sparc.md (UNSPECV_MEMBAR, UNSPECV_CAS, UNSPECV_SWAP,
UNSPECV_LDSTUB): New constants.
* config/sparc/sparc.c (sparc_expand_compare_and_swap_12): New function.
* config/sparc/predicates.md (memory_reg_operand): New predicate.
* config/sparc/sparc-protos.h (sparc_expand_compare_and_swap_12): New
prototype.

* gcc.dg/ia64-sync-1.c: On sparc*-*-*, pass -mcpu=v9.
* gcc.dg/ia64-sync-2.c: Likewise.
* gcc.dg/ia64-sync-3.c: Likewise.
* gcc.dg/ia64-sync-4.c: Likewise.
* gcc.dg/sync-2.c: Likewise.
* lib/target-supports.exp (sync_char_short, sync_int_long): Indicate
that sparc64-*-* and sparcv9-*-* supports sync builtins.

From-SVN: r109271

18 years agore PR c++/25635 (Bogus cruft in error message for invalid operator declaration)
Mark Mitchell [Tue, 3 Jan 2006 08:41:21 +0000 (08:41 +0000)] 
re PR c++/25635 (Bogus cruft in error message for invalid operator declaration)

PR c++/25635
* class.c (add_method): Set TYPE_HAS_CONVERSION for classes with a
conversion operator.
* decl.c (grokdeclarator): Do not set TYPE_HAS_CONVERSION here.
PR c++/25638
* class.c (add_method): Never associate more than one destructor
with a single class.
PR c++/25637
* cp-tree.h (do_friend): Adjust prototype.
* decl.c (grokfndecl): Make funcdef_flag a bool, not an int.
(grokdeclarator): Likewise.  Refine check for invalid
declarations/definitions of member functions outside of their own
class.
* friend.c (do_friend): Make funcdef_flag a bool, not an int.
PR c++/25633
* parser.c (cp_parser_mem_initializer_list): Check result of
cp_parser_mem_initializer against error_mark_node, not NULL_TREE.
(cp_parser_mem_initializer): Return error_mark_node for failure.
PR c++/25634
* parser.c (cp_parser_template_parameter_list): Call
begin_template_parm_list and end_template_parm_list here.
(cp_parser_type_parameter): Not here.
(cp_parser_template_declaration_after_export): Or here.
(cp_parser_elaborated_type_specifier): Call
cp_parser_check_template_parameters.
* tree.c (build_target_expr_with_type): Use force_target_expr.
PR c++/25635
* g++.dg/parse/operator6.C: New test.
PR c++/25637
* g++.dg/parse/error29.C: New test.
PR c++/25638
* g++.dg/parse/dtor6.C: New test.
PR c++/25633
* g++.dg/parse/ctor3.C: New test.
PR c++/25634
* g++.dg/template/class3.C: New test.

From-SVN: r109270

18 years agocombine.c (reg_subword_p): New predicate to test whether the destination of a set...
Roger Sayle [Tue, 3 Jan 2006 07:18:48 +0000 (07:18 +0000)] 
combine.c (reg_subword_p): New predicate to test whether the destination of a set refers to a...

* combine.c (reg_subword_p): New predicate to test whether the
destination of a set refers to a subword/piece of a register.
(try_combine): Generalize the code to merge the setting of a
pseudo to a constant followed by a set of a subword of that
register to a constant.

From-SVN: r109267

18 years agotree-ssa-propagate.c (cfg_blocks): Change the type to VEC(basic_block,heap) *.
Kazu Hirata [Tue, 3 Jan 2006 06:30:13 +0000 (06:30 +0000)] 
tree-ssa-propagate.c (cfg_blocks): Change the type to VEC(basic_block,heap) *.

* tree-ssa-propagate.c (cfg_blocks): Change the type to
VEC(basic_block,heap) *.
(cfg_blocks_add, cfg_blocks_get, ssa_prop_init,
ssa_prop_fini): Adjust the uses of cfg_blocks.

From-SVN: r109266

18 years agobasic-block.h (control_flow_graph): Change the type of x_label_to_block_map to VEC...
Kazu Hirata [Tue, 3 Jan 2006 06:29:07 +0000 (06:29 +0000)] 
basic-block.h (control_flow_graph): Change the type of x_label_to_block_map to VEC(basic_block,gc) *.

* basic-block.h (control_flow_graph): Change the type of
x_label_to_block_map to VEC(basic_block,gc) *.
* tree-cfg.c (init_empty_tree_cfg, label_to_block_fn,
set_bb_for_stmt): Adjust the uses of x_label_to_block_map.

From-SVN: r109265

18 years agore PR rtl-optimization/25130 (miscompilation in GCSE)
Steven Bosscher [Tue, 3 Jan 2006 06:20:21 +0000 (06:20 +0000)] 
re PR rtl-optimization/25130 (miscompilation in GCSE)

* fold-const.c (operand_equal_p): Accept a NULL operand 0 for
COMPONENT_REFs.
* emit-rtl.c (mem_attrs_htab_eq): Use iterative_hash_expr for
hashing trees instead of a pointer hash.
(mem_attrs_htab_eq): Do a deep compare instead of a pointer
compare for MEM_EXPR.

PR rtl-optimization/25130
* cse.c (exp_equiv_p): Compare MEM_ATTRS instead of MEM_ALIAS_SET
when comparing MEMs for GCSE

From-SVN: r109264

18 years agotarghooks.h (default_decimal_float_supported_p): Declare.
Ben Elliston [Tue, 3 Jan 2006 05:08:19 +0000 (05:08 +0000)] 
targhooks.h (default_decimal_float_supported_p): Declare.

* targhooks.h (default_decimal_float_supported_p): Declare.
* targhooks.c (default_decimal_float_supported_p): Define.
* target-def.h (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Redefine to
`default_decimal_float_supported_p'.
* doc/tm.texi (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Update.

From-SVN: r109262

18 years agocombine.c (apply_distributive_law <SUBREG>): Check TRULY_NOOP_TRUNCATION.
Adam Nemet [Tue, 3 Jan 2006 05:05:06 +0000 (05:05 +0000)] 
combine.c (apply_distributive_law <SUBREG>): Check TRULY_NOOP_TRUNCATION.

* combine.c (apply_distributive_law <SUBREG>): Check
TRULY_NOOP_TRUNCATION.

From-SVN: r109261

18 years agoIndex: gcc/ChangeLog
Geoffrey Keating [Tue, 3 Jan 2006 04:57:10 +0000 (04:57 +0000)] 
Index: gcc/ChangeLog
2006-01-02  Geoffrey Keating  <geoffk@apple.com>

* dwarf2out.c (have_switched_text_section): Delete.
(have_multiple_function_sections): New.
(have_location_lists): Make 'bool'.
(add_AT_loc_list): Use 'true' not '1'.
(dwarf2out_switch_text_section): Set have_multiple_function_sections.
(output_loc_list): Use have_multiple_function_sections.
(output_ranges): Likewise.
(dwarf2out_begin_function): Set have_multiple_function_sections if
necessary.
(dwarf2out_source_line): Don't fake separate_line_info_table_in_use.
Check function_section rather than DECL_SECTION_NAME.
(dwarf2out_finish): Use have_multiple_function_sections.
Don't clear have_location_lists.

Index: gcc/testsuite/ChangeLog
2006-01-02  Geoffrey Keating  <geoffk@apple.com>

* g++.dg/debug/debug9.C: New.

From-SVN: r109260

18 years ago* zh_CN.po: Update.
Joseph Myers [Tue, 3 Jan 2006 02:08:49 +0000 (02:08 +0000)] 
* zh_CN.po: Update.

From-SVN: r109258

18 years agolibtool-ldflags: New script.
Mark Mitchell [Tue, 3 Jan 2006 00:30:27 +0000 (00:30 +0000)] 
libtool-ldflags: New script.

* libtool-ldflags: New script.

* src/Makefile.am (LTLDFLAGS): New variable.
(CXXLINK): Use LTLDFLAGS.
* src/Makefile.in: Regenerated.
* libsupc++/Makefile.am (LTLDFLAGS): New variable.
(CXXLINK): Use LTLDFLAGS.
* libsupc++/Makefile.in: Regenerated.

From-SVN: r109256

18 years agoDaily bump.
GCC Administrator [Tue, 3 Jan 2006 00:17:30 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r109253

18 years agocfglayout.c (fixup_reorder_chain): Remove kludge for the case of conditional jump...
Eric Botcazou [Mon, 2 Jan 2006 22:47:50 +0000 (22:47 +0000)] 
cfglayout.c (fixup_reorder_chain): Remove kludge for the case of conditional jump jumping to the next instruction.

* cfglayout.c (fixup_reorder_chain): Remove kludge for the
case of conditional jump jumping to the next instruction.
* cfgrtl.c (force_nonfallthru_and_redirect): Accept all
cases of conditional jump jumping to the next instruction.

Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r109247

18 years agore PR fortran/24640 ([4.1] ice with invalid label)
Steven G. Kargl [Mon, 2 Jan 2006 22:23:35 +0000 (22:23 +0000)] 
re PR fortran/24640 ([4.1] ice with invalid label)

PR fortran/24640
* parse.c (next_free): Check for whitespace after the label.
* match.c (gfc_match_small_literal_int): Initialize cnt variable.

* gfortran.dg/label_2.f90: New test.

From-SVN: r109246

18 years agoi386.c (*_cost): Add COSTS_N_INSNS.
Jan Hubicka [Mon, 2 Jan 2006 19:19:22 +0000 (20:19 +0100)] 
i386.c (*_cost): Add COSTS_N_INSNS.

* i386.c (*_cost): Add COSTS_N_INSNS.
(ix86_rtx_costs): Do not use COSTS_N_INSNS.

From-SVN: r109242

18 years agore PR libgomp/25259 (bootstrap failures on non-C99 platforms (no stdint.h))
Paolo Bonzini [Mon, 2 Jan 2006 18:53:27 +0000 (18:53 +0000)] 
re PR libgomp/25259 (bootstrap failures on non-C99 platforms (no stdint.h))

config:
2006-01-02  Paolo Bonzini  <bonzini@gnu.org>

PR target/25259
* stdint.m4: New.

gcc:
2006-01-02  Paolo Bonzini  <bonzini@gnu.org>

PR target/25259
* Makefile.in (DECNUMINC): Include libdecnumber's build directory.

libgfortran:
2006-01-02  Paolo Bonzini  <bonzini@gnu.org>

PR target/25259
* configure.ac: Use GCC_HEADER_STDINT.
* libgfortran.h: Include gstdint.h.
* aclocal.m4: Regenerate.
* configure: Regenerate.

libdecnumber:
2006-01-02  Paolo Bonzini  <bonzini@gnu.org>

PR target/25259
* configure.ac: Use GCC_HEADER_STDINT.
* decContext.h: Include gstdint.h.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r109241

18 years agoconfigure.in: When reconfiguring remove Makefile in all stage directories.
Andreas Schwab [Mon, 2 Jan 2006 18:34:24 +0000 (18:34 +0000)] 
configure.in: When reconfiguring remove Makefile in all stage directories.

* configure.in: When reconfiguring remove Makefile in
all stage directories.
* configure: Regenerate.

From-SVN: r109240

18 years ago* decl2.c (mark_used): Fix typo in comment.
Mark Mitchell [Mon, 2 Jan 2006 17:53:44 +0000 (17:53 +0000)] 
* decl2.c (mark_used): Fix typo in comment.

From-SVN: r109239

18 years agoarm.c (all_fpus): Fix comment typo.
Volker Reichelt [Mon, 2 Jan 2006 17:28:54 +0000 (17:28 +0000)] 
arm.c (all_fpus): Fix comment typo.

* config/arm/arm.c (all_fpus): Fix comment typo.
* config/darwin.c: Likewise.
* config/frv/frv.h (FRV_STRUCT_VALUE_REGNUM): Likewise.
* config/h8300/h8300.md (extendqisi2_h8300hs): Likewise.
* config/m68hc11/m68hc11.c (m68hc11_reload_operands): Likewise.

From-SVN: r109238

18 years agoparser.c (cp_parser_using_declaration): Skip name-lookup on invalid scope.
Volker Reichelt [Mon, 2 Jan 2006 16:19:26 +0000 (16:19 +0000)] 
parser.c (cp_parser_using_declaration): Skip name-lookup on invalid scope.

* parser.c (cp_parser_using_declaration): Skip name-lookup on
invalid scope.

* g++.dg/lookup/using12.C: Tighten error marker.

From-SVN: r109237

18 years agore PR libstdc++/24645 (Commonize arithmetic inserters/extractors bodies)
Paolo Carlini [Mon, 2 Jan 2006 09:57:49 +0000 (09:57 +0000)] 
re PR libstdc++/24645 (Commonize arithmetic inserters/extractors bodies)

2006-01-02  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/24645
* include/std/std_istream.h (basic_istream<>::_M_extract): New.
(operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
operator>>(int&), operator>>(unsigned int&), operator>>(long&),
operator>>(unsigned long&), operator>>(long long&), operator>>
(unsigned long long&), operator>>(float&), operator>>(double&),
operator>>(long double&), operator>>(void*&)): Use it.
* include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
* include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
(operator<<(long), operator<<(unsigned long), operator<<(bool),
operator<<(short), operator<<(unsigned short), operator<<(int),
operator<<(unsigned int), operator<<(long long), operator<<
(unsigned long long), operator<<(double), operator<<(float),
operator<<(long double), operator<<(const void*): Use it.
* include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
* src/istream-inst.cc: Add _M_insert instantiations.
* src/ostream-inst.cc: Add _M_extract instantiations.
* config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
money_put, etc., symbols to avoid exporting _M_insert symbols
@GLIBCXX_3.4.

From-SVN: r109236

18 years agochangelog rotated for gcc
Paolo Bonzini [Mon, 2 Jan 2006 09:02:58 +0000 (09:02 +0000)] 
changelog rotated for gcc

From-SVN: r109235

18 years agoDaily bump.
GCC Administrator [Mon, 2 Jan 2006 00:17:22 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r109232

18 years agors6000.c (rs6000_expand_compare_and_swapqhi): New.
David Edelsohn [Sun, 1 Jan 2006 22:00:46 +0000 (17:00 -0500)] 
rs6000.c (rs6000_expand_compare_and_swapqhi): New.

        * config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): New.
        (rs6000_split_compare_and_swapqhi): New.
        * config/rs6000/sync.md (sync_compare_and_swap{hi,qi}): New.
        (sync_compare_and_swapqhi_internal): New.
        * config/rs6000/rs6000-protos.h: Declare.

From-SVN: r109226

18 years ago* Split the ChangeLog into years.
Steven G. Kargl [Sun, 1 Jan 2006 17:14:35 +0000 (17:14 +0000)] 
* Split the ChangeLog into years.

From-SVN: r109225

18 years ago* Split the ChangeLog into years.
Steven G. Kargl [Sun, 1 Jan 2006 17:04:47 +0000 (17:04 +0000)] 
* Split the ChangeLog into years.

From-SVN: r109224

18 years agodarwin-abi-3.c: New file.
Andreas Tobler [Sun, 1 Jan 2006 16:36:56 +0000 (17:36 +0100)] 
darwin-abi-3.c: New file.

2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
    Andrew Pinski <pinskia@physics.uc.edu>

* gcc.target/powerpc/darwin-abi-3.c: New file.
* gcc.target/powerpc/darwin-abi-4.c: Likewise.
* gcc.target/powerpc/darwin-abi-5.c: Likewise.
* gcc.target/powerpc/darwin-abi-6.c: Likewise.
* gcc.target/powerpc/darwin-abi-7.c: Likewise.
* gcc.target/powerpc/darwin-abi-8.c: Likewise.
* gcc.target/powerpc/darwin-abi-9.c: Likewise.
* gcc.target/powerpc/darwin-abi-10.c: Likewise.
* gcc.target/powerpc/darwin-abi-11.c: Likewise.

Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
From-SVN: r109223

18 years agoIt's 2006, i think
Daniel Berlin [Sun, 1 Jan 2006 15:06:13 +0000 (15:06 +0000)] 
It's 2006, i think

From-SVN: r109222

18 years agoloadpre1.c: New;
Daniel Berlin [Sun, 1 Jan 2006 14:40:38 +0000 (14:40 +0000)] 
loadpre1.c: New;

2005-01-01  Daniel Berlin  <dberlin@dberlin.org>

* gcc.dg/tree-ssa/loadpre1.c: New;
* gcc.dg/tree-ssa/loadpre2.c: New;
* gcc.dg/tree-ssa/loadpre3.c: New;
* gcc.dg/tree-ssa/loadpre4.c: New;
* gcc.dg/tree-ssa/loadpre5.c: New;
* gcc.dg/tree-ssa/loadpre6.c: New;
* gcc.dg/tree-ssa/loadpre7.c: New;
* gcc.dg/tree-ssa/loadpre8.c: New;
* gcc.dg/tree-ssa/loadpre9.c: New;

From-SVN: r109221

18 years agothunk3.C: Adjust regexp to be 64bit safe.
Nathan Sidwell [Sun, 1 Jan 2006 13:29:46 +0000 (13:29 +0000)] 
thunk3.C: Adjust regexp to be 64bit safe.

* g++.dg/abi/thunk3.C: Adjust regexp to be 64bit safe.
* g++.dg/abi/thunk4.C: Likewise.

From-SVN: r109220

18 years agoloadpre6.c: Fix prototype of malloc to be portable.
Andreas Jaeger [Sun, 1 Jan 2006 12:39:51 +0000 (13:39 +0100)] 
loadpre6.c: Fix prototype of malloc to be portable.

        * gcc.dg/tree-ssa/loadpre6.c: Fix prototype of malloc to be
        portable.

From-SVN: r109219

18 years agore PR libfortran/25594 (LAPACK regression in schkbl.f)
Jerry DeLisle [Sun, 1 Jan 2006 02:45:22 +0000 (02:45 +0000)] 
re PR libfortran/25594 (LAPACK regression in schkbl.f)

2005-12-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/25594
PR libgfortran/25419
* io/list_read.c (list_formatted_read_scalar): Test for comma to return
a null value (default). Revert patch of 25419 on 2005-12-28.

From-SVN: r109211

18 years agoDaily bump.
GCC Administrator [Sun, 1 Jan 2006 00:17:41 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r109208

18 years agore PR c++/25294 (Bogus "unterminated comment" error from #pragma comment)
Jakub Jelinek [Sat, 31 Dec 2005 23:45:58 +0000 (00:45 +0100)] 
re PR c++/25294 (Bogus "unterminated comment" error from #pragma comment)

PR c++/25294
* directives.c (do_pragma): If pragma line ends with multi-line
block comment, end the saved deferred pragma string before that
comment.  Handle embedded '\0' chars on the pragma line.

* gcc.dg/pragma-pack-3.c: New test.
* g++.dg/parse/pragma3.C: New test.

From-SVN: r109201

18 years agore PR tree-optimization/25612 (Ada bootstrap failure on x86_64 find_or_generate_expre...
Andrew Pinski [Sat, 31 Dec 2005 19:38:05 +0000 (11:38 -0800)] 
re PR tree-optimization/25612 (Ada bootstrap failure on x86_64 find_or_generate_expression, at tree-ssa-pre.c:2028)

2005-12-31  Andrew Pinski  <pinskia@ohysics.uc.edu>

        PR tree-opt/25612
        * tree-ssa-pre.c (compute_avail): Treat the static chain decl as a
        parameter and pretend that it is defined in the entry basic block.

From-SVN: r109200

18 years agore PR middle-end/24827 (FAIL: gcc.dg/attr-weakref-1.c)
John David Anglin [Sat, 31 Dec 2005 02:12:34 +0000 (02:12 +0000)] 
re PR middle-end/24827 (FAIL: gcc.dg/attr-weakref-1.c)

PR middle-end/24827
* gcc.dg/attr-weakref-1.c: Skip test on hppa*-*-hpux*.

From-SVN: r109197

18 years agore PR testsuite/25214 (-fpic/-fPIC failures in gcc.dg/i386-local2.c)
Kaveh R. Ghazi [Sat, 31 Dec 2005 00:46:05 +0000 (00:46 +0000)] 
re PR testsuite/25214 (-fpic/-fPIC failures in gcc.dg/i386-local2.c)

PR testsuite/25214
* gcc.target/i386/local2.c: Skip if ilp32 and -fpic/-fpic.

From-SVN: r109193

18 years agoxtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
Bob Wilson [Sat, 31 Dec 2005 00:29:42 +0000 (00:29 +0000)] 
xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.

include/
* xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.

From-SVN: r109191

18 years agoDaily bump.
GCC Administrator [Sat, 31 Dec 2005 00:17:32 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r109188

18 years agotree-outof-ssa.c (_elim_graph): Change the type of STACK to VEC(int,heap).
Kazu Hirata [Fri, 30 Dec 2005 23:57:30 +0000 (23:57 +0000)] 
tree-outof-ssa.c (_elim_graph): Change the type of STACK to VEC(int,heap).

* tree-outof-ssa.c (_elim_graph): Change the type of STACK to
VEC(int,heap).
(new_elim_graph, delete_elim_graph, elim_forward,
eliminate_phi): Use the VEC API on STACK.

From-SVN: r109182

18 years agotree.h (VALUE_HANDLE_VUSES): New.
Daniel Berlin [Fri, 30 Dec 2005 18:43:00 +0000 (18:43 +0000)] 
tree.h (VALUE_HANDLE_VUSES): New.

2005-12-29  Daniel Berlin  <dberlin@dberlin.org>

* tree.h (VALUE_HANDLE_VUSES): New.
(struct tree_value_handle): Add vuses.

* tree-vn.c (struct val_expr_pair_d): Remove stmt, add vuses.
(vn_compute): Remove stmt argument.
Don't use vuses in hash value computation.
(val_expr_pair_eq): Compare vuse lists.
(copy_vuses_from_stmt): New function.
(shared_vuses_from_stmt): Ditto.
(vn_add): Rewrite in terms of vn_add_with_vuses.
(vn_add_with_vuses): New function.
(vn_lookup): Rewrite in terms of vn_lookup_with_vuses.
(vn_lookup_with_vuses): New function.
(vuses_compare): New function.
(print_creation_to_file): Ditto.
(vn_lookup_or_add): Rewrite to handle vuses.
(sort_vuses): New function.
(vn_lookup_or_add_with_vuses): Ditto.
(vn_init): Initialize shared_lookup_vuses.
(vn_delete): Free shared_lookup_vuses.

* tree-ssa-pre.c: Update todo list.
(bb_value_sets_t): Add rvuse_in, rvuse_out, rvuse_gen, and
rvuse_kill.
(RVUSE_IN): New macro.
(RVUSE_GEN): Ditto.
(RVUSE_KILL): Ditto.
(RVUSE_OUT): Ditto.
(modify_expr_node_pool): New function.
(pretemp): New.
(storetemp): Ditto.
(mergephitemp): Ditto.
(prephitemp): Ditto.
(struct expr_pred_trans_d): Add vuses member.
(expr_pred_trans_eq): Compare vuses.
(phi_trans_lookup): Add vuses argument.
(phi_trans_add): Ditto.
(translate_vuses_through_block): New function.
(phi_translate): Use vuses to ask about those expressions that can
have vuses.
Properly translate virtual uses through phis, and use
vn_lookup_or_add_with vuses.  Handle tcc_reference.
(phi_translate_set): Don't add pointless translations to the
cache.
(get_representative): New function.
(vuses_dies_in_block_x): Ditto.
(valid_in_set): Add block argument.  Check virtual use validity.
(clean): Add block argument. Update call to valid_in_set
(compute_antic_aux): Update call to clean.
(dump_bitmap_of_names): New function.
(compute_vuse_representatives): Ditto.
(compute_rvuse): Ditto.
(can_value_number_call): Modified to accept calls with vuses.
(can_value_number_operation): New function.
(can_PRE_operation): Ditto.
(need_creation): New vector of stores that may need creation.
(find_or_generate_expression): use can_PRE_operation.
(create_expression_by_pieces): Handle INDIRECT_REF.
Only create one temp until we have to change types.
Mark new vars for renaming.
(insert_into_preds_of_block): Ignore loopiness of loads.
Use can_PRE_operation.
Only create one temp until we have to chnge types.
(insert_aux): Use can_PRE_operation.
Don't pass name to insert_into_preds_of_block.
(insert_extra_phis): Only use one temp until we have to change
types.
(poolify_tree): New function.
(modify_expr_template): New var.
(poolify_modify_expr): New function.
(insert_fake_stores): Ditto.
(realify_fake_stores): Ditto.
(compute_avail): Use can_value_number_operation.
(mark_operand_necessary): Return NULL for non-SSA names.
(remove_dead_inserted_code): Update comment.
(init_pre): Initialize pretemp, need_creation, storetemp,
mergephitemp, prephitemp.
Create modify_expr_node_pool.
(fini_pre): Free modify_expr_node_pool and need_creation array.
(execute_pre): Call insert_fake_stores, compute_rvuse, and
realify_fake_stores.
* tree-flow.h (vn_compute): Fix prototype.
(vn_add): Ditto.
(vn_lookup): Ditto.
(sort_vuses): New.
(vn_lookup_or_add_with_vuses): Ditto.
(vn_add_with_vuses): Ditto.
(vn_lookup_with_vuses): Ditto.
* passes.c (pass_may_alias): Add.

From-SVN: r109180

18 years agoc-pretty-print.h (struct c_pretty_print_info): Add new member "constant".
Gabriel Dos Reis [Fri, 30 Dec 2005 17:27:28 +0000 (17:27 +0000)] 
c-pretty-print.h (struct c_pretty_print_info): Add new member "constant".

2005-12-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>

        * c-pretty-print.h (struct c_pretty_print_info): Add new
          member
        "constant".
        (pp_constant): New macro.
        * c-pretty-print.c (pp_c_pretty_printer_init): Set
          pp->constant.

cp/
2005-12-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>

        * cxx-pretty-print.c (pp_cxx_constant): New.  Print
        string-literal in parens if input program says so.
        (pp_cxx_primary_expression): Hand off constant printing to
        pp_cxx_constant.
        (pp_cxx_pretty_printer_init): Set pp->c_base.constant.
        (pp_cxx_expression): Use pp_cxx_constant for literals.
        * error.c (dump_expr): Use pp_constant for literals.

From-SVN: r109176

18 years agore PR fortran/22607 (Elemental character functions don't work)
Erik Edelmann [Fri, 30 Dec 2005 15:02:44 +0000 (15:02 +0000)] 
re PR fortran/22607 (Elemental character functions don't work)

fortran/
2005-12-30  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/22607
        * trans-decl.c(gfc_get_extern_function_decl): Don't set
        DECL_IS_PURE (fndecl) = 1 for return-by-reference
        functions.

        fortran/PR 25396
        * interface.c (gfc_extend_expr): Initialize
        e->value.function.name to NULL.

testsuite/
2005-12-30  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/22607
        * gfortran-dg/pure_byref_3.f90: New.

        fortran/PR 25396
        * gfortran.dg/userdef_operator_1.f90: New.

From-SVN: r109171

18 years agore PR middle-end/25586 (FAIL: gfortran.dg/cray_pointers_2.f90 at -O2 and above)
John David Anglin [Fri, 30 Dec 2005 05:44:16 +0000 (05:44 +0000)] 
re PR middle-end/25586 (FAIL: gfortran.dg/cray_pointers_2.f90  at -O2 and above)

PR fortran/25586
* pa.md: Remove REG_POINTER check from REG+REG peephole2 floating-point
store patterns.

From-SVN: r109166

18 years agoDaily bump.
GCC Administrator [Fri, 30 Dec 2005 00:17:40 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r109160

18 years agobitmap.c (bitmap_element_free, [...]): Added code to properly maintain the variants...
Kenneth Zadeck [Thu, 29 Dec 2005 19:41:21 +0000 (19:41 +0000)] 
bitmap.c (bitmap_element_free, [...]): Added code to properly maintain the variants associated with the CURRENT and...

2005-12-29 Kenneth Zadeck <zadeck@naturalbridge.com>

* bitmap.c (bitmap_element_free, bitmap_element_link,
bitmap_elt_insert_after, bitmap_and, bitmap_and_compl,
bitmap_and_compl, bitmap_ior, bitmap_ior_into, bitmap_xor,
bitmap_xor_into): Added code to properly maintain the variants
associated with the CURRENT and HEAD fields.
(bitmap_popcount, bitmap_clear_range, bitmap_compl_and_into): New
functions. * bitmap.h: Added defs for bitmap_popcount,
bitmap_clear_range, and bitmap_compl_and_into.

From-SVN: r109153

18 years agoinvoke.texi (Objective-C and Objective-C++ Dialect Options -fobjc-exceptions): Don...
Mike Stump [Thu, 29 Dec 2005 19:39:29 +0000 (19:39 +0000)] 
invoke.texi (Objective-C and Objective-C++ Dialect Options -fobjc-exceptions): Don't imply this doesn't work with the GNU runtime.

        * doc/invoke.texi (Objective-C and Objective-C++ Dialect Options
        -fobjc-exceptions): Don't imply this doesn't work with the GNU
        runtime.

From-SVN: r109151

18 years agos-osinte-linux-hppa.ads: Correct alignment of atomic_lock_t.
John David Anglin [Thu, 29 Dec 2005 19:37:51 +0000 (19:37 +0000)] 
s-osinte-linux-hppa.ads: Correct alignment of atomic_lock_t.

* s-osinte-linux-hppa.ads: Correct alignment of atomic_lock_t.

From-SVN: r109150

18 years agovarasm.c (get_section): Use gcc_assert.
Nathan Sidwell [Thu, 29 Dec 2005 16:38:26 +0000 (16:38 +0000)] 
varasm.c (get_section): Use gcc_assert.

* varasm.c (get_section): Use gcc_assert.
cp:
* method.c (make_thunk): Don't set comdat_linkage here.
(use_thunk): Make thunk one only here, if thunk target is
DECL_ONE_ONLY.
testsuite:
* g++.dg/abi/thunk3.C: New.
* g++.dg/abi/thunk4.C: New.

From-SVN: r109149

18 years agom68k.h (RETURN_ADDR_RTX): Define.
Paul Brook [Thu, 29 Dec 2005 15:23:23 +0000 (15:23 +0000)] 
m68k.h (RETURN_ADDR_RTX): Define.

2005-12-29  Paul Brook  <paul@codesourcery.com>

* config/m68k/m68k.h (RETURN_ADDR_RTX): Define.
* config/m68k/m68k.c (m68k_initial_elimination_offset): Remove FIXME.
Include offset due to FIRST_PARM_OFFSET.

From-SVN: r109147

18 years agolb1sf68.asm (__cmpdf2): Fix typo in immediate mask.
Paul Brook [Thu, 29 Dec 2005 15:16:50 +0000 (15:16 +0000)] 
lb1sf68.asm (__cmpdf2): Fix typo in immediate mask.

2005-12-29  Paul Brook  <paul@codesourcery.com>

* config/m68k/lb1sf68.asm (__cmpdf2): Fix typo in immediate mask.
Create wrapper and rename body...
(__cmpdf2_internal): ... to this.  Return correct value for unordered
result.
(__cmpsf2): Create wrapper and rename body...
(__cmpsf2_internal): ... to this.  Return corerct value for unordered
result.
(__eqdf2, __nedf2, __gtdf2, __gedf2, __ltdf2, __ledf2): Use
__cmpdf2_internal.
(__eqsf2, __nesf2, __gtsf2, __gesf2, __ltsf2, __lesf2): Use
__cmpsf2_internal.

From-SVN: r109145