pault [Fri, 21 Apr 2006 05:10:22 +0000 (05:10 +0000)]
2006-04-21 Paul Thomas <pault@gcc.gnu.org>
PR fortran/27122
* resolve.c (resolve_function): Remove general restriction on auto
character length function interfaces.
(gfc_resolve_uops): Check restrictions on defined operator
procedures.
(resolve_types): Call the check for defined operators.
PR fortran/27113
* trans-array.c (gfc_trans_array_constructor_subarray): Remove
redundant gfc_todo_error.
(get_array_ctor_var_strlen): Remove typo in enum.
2006-04-21 Paul Thomas <pault@gcc.gnu.org>
PR fortran/27122
* gfortran.dg/defined_operators_1.f90: New test.
* gfortran.dg/assumed_charlen_function_1.f90: Add new error and
remove old ones associated, incorrectly, with Note 5.46.
PR fortran/27113
* gfortran.dg/character_array_constructor_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113133
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 21 Apr 2006 01:52:13 +0000 (01:52 +0000)]
PR target/27230
* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use
C++ lang type in traceback table for Objective-C++.
* config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Update comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113130
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 21 Apr 2006 00:17:08 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113128
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 20 Apr 2006 23:47:56 +0000 (23:47 +0000)]
PR libgcj/27170
* gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
dlopen(). From Anthony Green.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113123
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 20 Apr 2006 16:23:57 +0000 (16:23 +0000)]
2006-04-20 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (asm_preferred_eh_data_format): Reformat.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113122
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Thu, 20 Apr 2006 16:19:21 +0000 (16:19 +0000)]
PR mudflap/26789
* tree-mudflap.c (mudflap_finish_file): Skip function when there
were errors. Remove check for erroneous objects.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113121
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Apr 2006 16:13:12 +0000 (16:13 +0000)]
PR tree-optimization/26854
* tree-ssa-dse.c (dse_optimize_stmt): Avoid num_imm_uses when
checking for zero or one use.
* tree-ssa-dom.c (propagate_rhs_into_lhs): Similarly.
* tree-cfgcleanup.c (merge_phi_nodes): Similarly.
* tree-ssa-reassoc.c (negate_value): Similarly.
(reassociate_bb): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113120
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 20 Apr 2006 15:46:40 +0000 (15:46 +0000)]
PR libgcj/21941:
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
UnknownHostException if needed.
* gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
UnknownHostException if needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113118
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 20 Apr 2006 09:04:26 +0000 (09:04 +0000)]
* c-pretty-print.c (pp_c_direct_abstract_declarator): Print
TYPE_MAX_VALUE (TYPE_DOMAIN (t)) + 1 for ARRAY_TYPE rather
than plain TYPE_MAX_VALUE (TYPE_DOMAIN (t)).
* gcc.dg/
20060419-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113112
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Thu, 20 Apr 2006 07:04:00 +0000 (07:04 +0000)]
* config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Consume all
fp regs if the last fp arg doesn't fit in regs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113111
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Thu, 20 Apr 2006 01:54:20 +0000 (01:54 +0000)]
PR target/27182
* config/sh/sh.md (movsicc_true+3): Tweak condition for the case
that the last insn has the REG_INC note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113109
138bc75d-0d04-0410-961f-
82ee72b054a4
carlos [Thu, 20 Apr 2006 00:21:51 +0000 (00:21 +0000)]
gcc/
2006-04-19 Carlos O'Donell <carlos@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
PR c/26774
* stor-layout.c (update_alignment_for_field): Do not align
ERROR_MARK nodes.
(place_union_field): Place union field at the start of the union.
(place_field): Move ERROR_MARK check later, and use the current
allocation position to maintain monotonicity.
gcc/testsuite/
2006-04-19 Carlos O'Donell <carlos@codesourcery.com>
PR c/26774
* gcc.dg/struct-parse-1.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113107
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 20 Apr 2006 00:17:11 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113105
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 19 Apr 2006 23:05:14 +0000 (23:05 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (CLEANFILES): Removed all_java_filelist_files,
all_java_deps_files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113101
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 19 Apr 2006 22:58:23 +0000 (22:58 +0000)]
2006-04-19 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/26424
* include/tr1/hashtable (X<>::primes): Extend for 64-bit machines.
(X<>::n_primes): Adjust.
(prime_rehash_policy::next_bkt, bkt_for_elements, need_rehash): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113100
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Wed, 19 Apr 2006 22:03:24 +0000 (22:03 +0000)]
PR c++/26558
* parser.c (cp_parser_class_name): Check for invalid typenames.
Rearrange code.
* g++.dg/parse/template19.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113096
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Wed, 19 Apr 2006 21:47:03 +0000 (21:47 +0000)]
PR mudflap/26789
* testsuite/libmudflap.c++/error1-frag.cxx: New test.
PR mudflap/26790
* testsuite/libmudflap.c++/error2-frag.cxx: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113095
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Wed, 19 Apr 2006 21:42:09 +0000 (21:42 +0000)]
Fix PR numbers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113094
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Wed, 19 Apr 2006 18:07:19 +0000 (18:07 +0000)]
PR c++/26739
* pt.c (tsubst_friend_function): Return early if
pushdecl_namespace_level fails.
* g++.old-deja/g++.pt/friend36.C: Adjust error markers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113090
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Wed, 19 Apr 2006 17:36:59 +0000 (17:36 +0000)]
PR c++/26036
* typeck.c (convert_arguments): Return error_mark_node instead of
error_mark_list.
* cp-tree.h (error_mark_list): Remove declaration.
* decl.c (error_mark_list): Remove definition.
(cxx_init_decl_processing): Do not initialize error_mark_list.
* g++.dg/expr/call3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113087
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Wed, 19 Apr 2006 17:15:54 +0000 (17:15 +0000)]
PR c++/10385
* rtti.c (build_dynamic_cast_1): Check for invalid conversions
before calling convert_to_reference.
* cvt.c (convert_to_reference): Assert that reftype is a
REFERENCE_TYPE.
* g++.dg/conversion/dynamic1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113084
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 19 Apr 2006 17:01:53 +0000 (17:01 +0000)]
* gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
handle EINTR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113082
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 19 Apr 2006 16:58:23 +0000 (16:58 +0000)]
PR c++/27102
* class.c (currently_open_class): Tidy.
* decl.c (grokdeclarator): If we encounter an erroneous
declarator, assume that we have already issued an error message
and return. Return error_mark_node instead of NULL_TREE in more
places. Issue errors about function definitions that do not have
a function declarator. Check for complete types for all function
definitions.
* cp-tree.h (cp_error_declarator): Remove.
(currently_open_class): Change return type.
* parser.c (cp_parser_id_expression): Add optional_p parameter.
(cp_parser_parse_diagnose_invalid_type_name): Adjust calls.
(cp_parser_id_expression): Likewise.
(cp_parser_unqualified_id): If the name is optional, return
NULL_TREE.
(cp_parser_postfix_dot_deref_expression): Adjust calls.
(cp_parser_type_parameter): Likewise.
(cp_parser_unqualified_id): Likewise.
(cp_parser_direct_declarator): Likewise.
(cp_parser_declarator_id): Add optional_p parameter.
(cp_parser_function_definition_from_specifiers_and_declarator):
Assume that start_function indicates failure only if it has issued
an error.
(cp_parser_omp_var_list_no_open): Adjust calls.
PR c++/27102
* g++.dg/template/crash35.C: Tweak error markers.
* g++.dg/template/crash46.C: New test.
* g++.old-deja/g++.brendan/friend4.C: Tweak error markers.
* g++.old-deja/g++.pt/incomplete1.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113081
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Wed, 19 Apr 2006 12:48:35 +0000 (12:48 +0000)]
* dominance.c: Include timevar.h.
(calculate_dominance_info): Use TV_DOMINANCE.
* timevar.def (TV_DOMINANCE): New timevar.
* Makefile.in (dominance.o): Add TIMEVAR_H dependency.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113075
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Wed, 19 Apr 2006 11:56:18 +0000 (11:56 +0000)]
PR reference added to ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113073
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Wed, 19 Apr 2006 11:45:41 +0000 (11:45 +0000)]
2006-04-19 Andreas Krebbel <krebbel1@de.ibm.com>
* ifcvt.c (noce_emit_move_insn): Call store_bit_field if the resulting
move would be an INSV insn.
(noce_process_if_block): Don't optimize if the destination is a
ZERO_EXTRACT which can't be handled by noce_emit_move_insn.
2006-04-19 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.c-torture/compile/
20060419-1.c: Added.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113072
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Wed, 19 Apr 2006 10:42:19 +0000 (10:42 +0000)]
2006-04-19 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.md: Add comments with the instructions emitted
by an insn pattern if macros are used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113071
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Wed, 19 Apr 2006 00:56:33 +0000 (00:56 +0000)]
* configure.in (m32c): Build libstdc++-v3. Pass flags to
reference libgloss so that libssp can be built in a combined
tree.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113066
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 19 Apr 2006 00:17:17 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113064
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Tue, 18 Apr 2006 23:45:47 +0000 (23:45 +0000)]
PR rtl-optimization/26026
* fold-const.c (fold_binary): Optimize div and mod where the divisor
is a known power of two shifted left a variable amount.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113060
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 18 Apr 2006 21:52:49 +0000 (21:52 +0000)]
* dwarf2out.c (prune_unused_types_update_strings): Don't add strings
to hash table twice when the debug_str section has SECTION_MERGE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113057
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 18 Apr 2006 20:50:45 +0000 (20:50 +0000)]
* config/soft-fp: New directory. From glibc.
* config/soft-fp/t-softfp: New.
* config/soft-fp/README: New.
* mklibgcc.in: Handle LIB2FUNCS_EXCLUDE.
* Makefile.in (LIB2FUNCS_EXCLUDE, SFP_MACHINE): New.
(libgcc.mk): Pass LIB2FUNCS_EXCLUDE.
(LIBGCC_DEPS): Add $(SFP_MACHINE).
* config.gcc: Use rs6000/t-fprules-fpbit or
rs6000/t-fprules-softfp and soft-fp/t-softfp together with
rs6000/t-fprules.
* config/rs6000/sfp-machine.h: New. Based on glibc.
* config/rs6000/t-fprules-fpbit, config/rs6000/t-fprules-softfp:
New.
* config/rs6000/t-fprules: Remove fp-bit rules.
* config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Use +=.
* config/rs6000/t-linux64: Likewise. Remove duplicates from
LIB2FUNCS_EXTRA. Remove fp-bit rules.
(softfp_wrap_start, softfp_wrap_end): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113056
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Tue, 18 Apr 2006 18:58:17 +0000 (18:58 +0000)]
* config/m32c/m32c.h (PTRDIFF_TYPE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113054
138bc75d-0d04-0410-961f-
82ee72b054a4
aldot [Tue, 18 Apr 2006 17:58:41 +0000 (17:58 +0000)]
fortran/
* parse.c (next_free): Use consistent error string between
free-form and fixed-form for illegal statement label of zero.
(next_fixed): Use consistent warning string between free-form
and fixed-form for statement labels for empty statements.
testsuite/
* gfortran.dg/label_1.f90: Adjust dg-error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113053
138bc75d-0d04-0410-961f-
82ee72b054a4
dpatel [Tue, 18 Apr 2006 16:06:32 +0000 (16:06 +0000)]
* doc/invoke.texi (-Wuninitialized): Clarify -O connection.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113048
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Tue, 18 Apr 2006 16:05:42 +0000 (16:05 +0000)]
* trans-io.c (gfc_build_io_library_fndecls): Align pad.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113047
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 18 Apr 2006 14:48:36 +0000 (14:48 +0000)]
* config/sh/t-symbian: Add rule to build sh-c.o
* config/sh/symbian.c (sh_symbian_mark_dllexport): Replace use
of DECL_NON_ADDR_CONST_P with DECL_DLLIMPORT_P.
(sh_symbian_encode_section_info): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113042
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Tue, 18 Apr 2006 13:56:51 +0000 (13:56 +0000)]
2006-04-18 Andreas Krebbel <krebbel1@de.ibm.com>
* builtins.c (expand_builtin_strcmp): Cover label definition of
do_libcall with HAVE_cmpstrnsi.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113039
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 18 Apr 2006 12:34:41 +0000 (12:34 +0000)]
2006-04-18 Paolo Carlini <pcarlini@suse.de>
* docs/html/faq/index.html ([5.5]): Adjust to mention function
objects and reference_wrapper; minor tweaks.
* docs/html/faq/index.txt: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113031
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 18 Apr 2006 12:32:11 +0000 (12:32 +0000)]
* function.c (temp_slots_at_level, max_slot_level): Use VEC
instead of VARRAY.
* function.h (temp_slot_p): New.
(function): Change the type of x_used_temp_slots to
VEC(temp_slot_p,gc) *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113029
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 18 Apr 2006 10:15:41 +0000 (10:15 +0000)]
* config/mmix/mmix.h (OPTIMIZATION_OPTIONS): Remove reference to flag_strength_reduce.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113028
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 18 Apr 2006 10:11:30 +0000 (10:11 +0000)]
* doc/tm.texi (TARGET_SECTION_TYPE_FLAGS): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113027
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Tue, 18 Apr 2006 08:23:39 +0000 (08:23 +0000)]
2006-04-18 Paolo Bonzini <bonzini@gnu.org>
PR target/27117
Partial revert of revision 112637
2006-04-03 Paolo Bonzini <bonzini@gnu.org>
Dale Johannesen <dalej@apple.com>
PR target/19653
* regclass.c (struct reg_pref): Update documentation.
(regclass): Set prefclass to NO_REGS if memory is the best option.
(record_reg_classes): Cope with a prefclass set to NO_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113026
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Tue, 18 Apr 2006 08:08:47 +0000 (08:08 +0000)]
2006-04-18 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/26821
* tree-ssa-math-opts.c (get_constant_one): New.
(insert_reciprocals): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113025
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 18 Apr 2006 00:17:34 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113022
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 17 Apr 2006 21:41:47 +0000 (21:41 +0000)]
PR libgcj/27171:
* testsuite/libjava.lang/pr27171.java: New file.
* testsuite/libjava.lang/pr27171.out: New file.
* gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
true if we've seen a high surrogate.
(write): Handle high surrogates at the end of the stream.
Properly emit isolated low surrogates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113013
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Mon, 17 Apr 2006 21:27:57 +0000 (21:27 +0000)]
* dwarf2out.c (free_AT): Delete.
(remove_AT): Update string ref counts.
(remove_child_TAG): Don't call free_die.
(free_die): Delete.
(break_out_includes): Don't call free_die on DW_TAG_GNU_BINCL
or DW_TAG_GNU_EINCL.
(prune_unused_types_walk_attribs): Reset string refcounts.
(prune_unused_types_update_strings): New.
(prune_unused_types_prune): Don't make unnecessary stores. Don't
call free_die. Do call prune_unused_types_update_strings.
(prune_unused_types): Empty debug_str_hash.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113012
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Mon, 17 Apr 2006 21:18:23 +0000 (21:18 +0000)]
2006-04-17 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
of failure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113011
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 17 Apr 2006 19:35:56 +0000 (19:35 +0000)]
PR c++/26114, c++/26115
* typeck.c (cxx_mark_addressable): Restore check for extra_warnings.
* class.c (check_field_decls): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113010
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Mon, 17 Apr 2006 16:49:54 +0000 (16:49 +0000)]
* expr.c (expand_assignment): Optimize away no-op moves where the
source and destination are equal and have no side-effects.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113009
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Mon, 17 Apr 2006 16:32:03 +0000 (16:32 +0000)]
* init.c (build_offset_ref): Remove superfluous temporary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113008
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 17 Apr 2006 13:53:19 +0000 (13:53 +0000)]
2006-04-17 Richard Guenther <rguenther@suse.de>
PR target/26826
* reload.c (push_reload): Guard calls to get_secondary_mem
for memory subregs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113007
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 17 Apr 2006 12:45:25 +0000 (12:45 +0000)]
* cgraph.h (cgraph_edge_p): New.
Update the prototype of cgraph_function_versioning.
* cgraphunit.c (cgraph_copy_node_for_versioning,
cgraph_function_versioning): Use VEC instead of VARRAY.
* ipa-cp.c (ipcp_insert_stage): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113006
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 17 Apr 2006 12:42:37 +0000 (12:42 +0000)]
* alias.c (alias_sets): Change the type to
VEC(alias_set_entry,gc) *.
(get_alias_set_entry, new_alias_set, record_alias_subset): Use
VEC instead of VARRAY.
(last_alias_set): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113005
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 17 Apr 2006 12:40:57 +0000 (12:40 +0000)]
* alias.c (reg_base_value, old_reg_base_value): Change the
type to VEC(rtx,gc) *.
(REG_BASE_VALUE, find_base_value, record_set,
init_alias_analysis): Use VEC instead of VARRAY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113004
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Mon, 17 Apr 2006 02:38:50 +0000 (02:38 +0000)]
PR target/26961
* fold-const.c (fold_ternary): When converting "A ? B : C" into either
"A op B" or "A op C", we may need to convert A to the type of B and C.
* gcc.dg/fold-cond-1.c: New test case.
* gcc.dg/pr26961-1.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113001
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Mon, 17 Apr 2006 02:37:15 +0000 (02:37 +0000)]
2006-04-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/27138
* gfortran.dg/read_bad_advance.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113000
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Mon, 17 Apr 2006 02:33:51 +0000 (02:33 +0000)]
2006-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/27138
* io/list_read.c (eat_line): New function.
(parse_repeat): Use new function and free_saved.
(read_logical): Same.
(read_integer): Use new function.
(parse_real): Use nml_bad_return and new function.
(read_complex): Use new function and free_saved.
(read_real): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112999
138bc75d-0d04-0410-961f-
82ee72b054a4
nemet [Mon, 17 Apr 2006 01:59:41 +0000 (01:59 +0000)]
* target.h (struct gcc_target): Add mode_rep_extended.
* rtlanal.c (num_sign_bit_copies_in_rep): New global.
(init_num_sign_bit_copies_in_rep): Initialize it using
mode_rep_extended.
(truncate_to_mode): Use it.
(init_rtlanal): Call init_num_sign_bit_copies_in_rep.
* targhooks.h (default_mode_rep_extended): Declare it.
* targhooks.c (default_mode_rep_extended): Define it.
* target-def.h (TARGET_MODE_REP_EXTENDED): New macro. Default to
default_mode_rep_extended.
(TARGET_INITIALIZER): Include it.
* doc/tm.texi (Misc): Document it.
* config/mips/mips.c (TARGET_TRUNCATED_TO_MODE): Override it.
(mips_truncated_to_mode): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112998
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 17 Apr 2006 00:17:12 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112995
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sun, 16 Apr 2006 23:33:51 +0000 (23:33 +0000)]
PR middle-end/25474
* expr.c (compress_float_constant): Copy the narrow constant into
a new pseudo before extending it to its final width.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112991
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sun, 16 Apr 2006 21:46:59 +0000 (21:46 +0000)]
2006-04-15 Roger Sayle <roger@eyesopen.com>
Andrew Pinski <pinskia@gcc.gnu.org>
Dale Johannesen <dalej@apple.com>
PR target/24076
* config/i386/i386.c (ix86_expand_vector_init_duplicate): Add
special case code to implement V8HImode and V16QImode with SSE2.
* gcc.target/i386/vecinit-3.c: New testcase.
* gcc.target/i386/vecinit-4.c: Likewise.
* gcc.target/i386/sse-18.c: Likewise.
* gcc.target/i386/sse-19.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112990
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sun, 16 Apr 2006 20:29:24 +0000 (20:29 +0000)]
2006-04-16 Thomas Koenig <Thomas.Koenig@online.de>
PR fortran/26017
* trans-array.c(gfc_array_init_size): Introduce or_expr
which is true if the size along any dimension
is negative. Create a temporary variable with base
name size. If or_expr is true, set the temporary to 0,
to the normal size otherwise.
2006-04-16 Thomas Koenig <Thomas.Koenig@online.de>
* gfortran.dg/allocate_zerosize_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112988
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 16 Apr 2006 18:12:41 +0000 (18:12 +0000)]
PR c++/26365
* typeck.c (finish_class_member_access_expr): Robustify
PR c++/26365
* g++.dg/template/crash45.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112986
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 16 Apr 2006 09:06:46 +0000 (09:06 +0000)]
2006-04-16 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/6702 (again)
* acinclude.m4 (GLIBCXX_ENABLE_C99): Don't check non-C99
wchar_t functions...
(GLIBCXX_ENABLE_WCHAR_T): ... do that here.
* configure.ac: Adjust order of checks.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112983
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sun, 16 Apr 2006 04:01:25 +0000 (04:01 +0000)]
* config/i386/i386.c (ix86_va_start): Ensure all integer constant
trees are constructed with a suitable tree type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112982
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Sun, 16 Apr 2006 03:45:24 +0000 (03:45 +0000)]
2006-04-16 Paul Thomas <pault@gcc.gnu.org>
PR fortran/26822
* intrinsic.c (add_functions): Mark LOGICAL as elemental.
PR fortran/26787
* expr.c (gfc_check_assign): Extend scope of error to include
assignments to a procedure in the main program or, from a
module or internal procedure that is not that represented by
the lhs symbol. Use VARIABLE rather than l-value in message.
PR fortran/27096
* trans-array.c (gfc_trans_deferred_array): If the backend_decl
is not a descriptor, dereference and then test and use the type.
PR fortran/25597
* trans-decl.c (gfc_trans_deferred_vars): Check if an array
result, is also automatic character length. If so, process
the character length.
PR fortran/18803
PR fortran/25669
PR fortran/26834
* trans_intrinsic.c (gfc_walk_intrinsic_bound): Set
data.info.dimen for bound intrinsics.
* trans_array.c (gfc_conv_ss_startstride): Pick out LBOUND and
UBOUND intrinsics and supply their shape information to the ss
and the loop.
PR fortran/27124
* trans_expr.c (gfc_trans_function_call): Add a new block, post,
in to which all the argument post blocks are put. Add this block
to se->pre after a byref call or to se->post, otherwise.
2006-04-16 Paul Thomas <pault@gcc.gnu.org>
PR fortran/26787
* gfortran.dg/proc_assign_1.f90: New test.
* gfortran.dg/procedure_lvalue.f90: Change message.
* gfortran.dg/namelist_4.f90: Add new error.
PR fortran/27096
* gfortran.dg/auto_pointer_array_result_1.f90
PR fortran/27089
* gfortran.dg/specification_type_resolution_1.f90
PR fortran/18803
PR fortran/25669
PR fortran/26834
* gfortran.dg/bounds_temporaries_1.f90: New test.
PR fortran/27124
* gfortran.dg/array_return_value_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112981
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sun, 16 Apr 2006 02:38:44 +0000 (02:38 +0000)]
* tree.c (integer_zerop): Ignore TREE_CONSTANT_OVERFLOW.
(integer_onep): Likewise.
(integer_all_onesp): Likewise.
(integer_pow2p): Likewise.
(integer_nonzerop): Likewise.
(real_zerop): Likewise.
(real_onep): Likewise.
(real_twop): Likewise.
(real_minus_onep): Likewise.
(int_size_in_bytes): Likewise.
(host_integerp): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112980
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 16 Apr 2006 00:55:20 +0000 (00:55 +0000)]
* tree-ssa-structalias.h (alias_info): Remove num_references.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112979
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 16 Apr 2006 00:17:06 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112977
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 15 Apr 2006 21:48:54 +0000 (21:48 +0000)]
* cp/call.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112972
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 15 Apr 2006 21:45:06 +0000 (21:45 +0000)]
* cfgcleanup.c, config/dfp-bit.c, expr.c, fold-const.c,
jump.c, mips-tfile.c, omp-low.c, sched-int.h,
tree-ssa-loop-prefetch.c, tree-vrp.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112971
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 15 Apr 2006 15:53:33 +0000 (15:53 +0000)]
* pa.md (output_bb patterns): Shorten long branch alternatives by 4.
(output_bvb patterns): Likewise.
* pa.c (output_bb): Use 'bb' insn for long branch case.
(output_bvb): Likewise use '{bvb|bb}' for long branch case.
(output_dbra): Use '{comb|cmpb}' for long branch case for alternative
1. Correct length operand for alternatives 1 and 2.
(output_movb): Use '{comb|cmpb}' for long branch case for alternatives
1, 2 and 3. Correct length operand for alternatives 1, 2 and 3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112970
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 15 Apr 2006 12:40:14 +0000 (12:40 +0000)]
* Make-lang.in (cp/pt.o): Depend on vecprim.h.
* pt.c: Include vecprim.h.
(inline_parm_levels): Change the type to VEC(int,heap) *.
(inline_parm_levels_used): Remove.
(maybe_begin_member_template_processing,
maybe_end_member_template_processing): Use VEC instead of
VARRAY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112969
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 15 Apr 2006 05:50:42 +0000 (05:50 +0000)]
* trans-io.c (set_string): Use fold_build2 and build_int_cst instead
of build2 and convert to construct "x < 0" rather than "x <= -1".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112968
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Sat, 15 Apr 2006 04:51:39 +0000 (04:51 +0000)]
2006-04-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/25336
* gfortran/dg/g77/
20030115-1.f: Delete duplicate test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112967
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 15 Apr 2006 03:24:23 +0000 (03:24 +0000)]
* tree-cfg.c (make_edges, make_omp_sections_edges, move_stmt_r,
is_ctrl_altering_stmt): Reinstate RTH's changes from r112935 that
were accidentally reverted by r112959.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112966
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 15 Apr 2006 00:17:11 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112964
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 14 Apr 2006 22:24:59 +0000 (22:24 +0000)]
PR middle-end/26823
* except.h (eh_region_outermost): New prototype.
* except.c (eh_region_outermost): New function.
* tree-cfg.c (find_outermost_region_in_block): Use it.
* g++.dg/gomp/pr26823-1.C: New test.
* g++.dg/gomp/pr26823-2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112959
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 14 Apr 2006 17:35:06 +0000 (17:35 +0000)]
2006-04-14 Douglas Gregor <dgregor@cs.indiana.edu>
PR libstdc++/27162
* include/bits/stl_algo.h (__search_n(,,,, _BinaryPredicate,
std::forward_iterator_tag)): Use __binary_pred, not ==.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112957
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 14 Apr 2006 14:31:32 +0000 (14:31 +0000)]
* local-alloc.c (rest_of_handle_local_alloc): Use VEC instead
of VARRAY.
* reload1.c (reg_equiv_memory_loc_varray): Rename to
reg_equiv_memory_loc_vec. Change the type to VEC(rtx,gc) *.
(init_reload, reload): Use VEC instead of VARRAY.
* reload.h: Update the prototype for
reg_equiv_memory_loc_varray.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112955
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 14 Apr 2006 07:01:38 +0000 (07:01 +0000)]
* config/sparc/sparc.c (emit_and_preserve): Allocate space for the
register save area.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112950
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 14 Apr 2006 05:01:18 +0000 (05:01 +0000)]
PR middle-end/27134
* builtins.c (expand_builtin_int_roundingfn): Use expand_normal()
to expand fallback builtin function call.
testsuite/ChangeLog:
PR middle-end/27134
* gcc.dg/pr27314.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112949
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 14 Apr 2006 03:20:21 +0000 (03:20 +0000)]
PR middle-end/27095
* builtins.c: (expand_builtin_memset): Stabilize args before expansion
and emit libcall here in case the builtin fails.
(expand_builtin_strcmp): Always emit the libcall here on failure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112948
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 14 Apr 2006 02:28:46 +0000 (02:28 +0000)]
* basic-block.h (REG_BASIC_BLOCK): Use VEC instead of VARRAY.
* flow.c (reg_n_info): Change the type to
VEC(reg_info_p,heap) *.
* regclass.c (allocate_reg_info, free_reg_info): Use VEC
instead of VARRAY.
* regs.h (reg_info_p): New.
(REG_N_REFS, REG_FREQ, REG_N_SETS, REG_N_DEATHS,
REG_N_CALLS_CROSSED, REG_N_THROWING_CALLS_CROSSED,
REG_LIVE_LENGTH, REGNO_FIRST_UID, REGNO_LAST_UID): Use VEC
instead of VARRAY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112942
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 14 Apr 2006 00:17:20 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112940
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 14 Apr 2006 00:07:48 +0000 (00:07 +0000)]
* params.def (PARAM_MAX_SCHED_READY_INSNS): New parameter,
defaulting to 100.
* params.h (MAX_SCHED_READY_INSNS): New macro.
* haifa-sched.c: (queue_to_ready): Re-queue insns for the next cycle
past MAX_SCHED_READY_INSNS during the first scheduling pass.
(schedule_block): Delay insns past MAX_SCHED_READY_INSNS in
the ready list for 1 cycle during the first scheduling pass.
* doc/invoke.texi (--param): New parameter max-sched-ready-insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112936
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 13 Apr 2006 23:44:25 +0000 (23:44 +0000)]
PR 26651
* gimple-low.c (lower_omp_directive): Remove dead code.
(lower_stmt): Do nothing except for openmp, except for OMP_PARALLEL.
* gimplify.c (gimplify_expr): Update for OMP_RETURN, OMP_CONTINUE.
* omp-low.c (struct omp_region): Move to tree-flow.h.
(root_omp_region): Export.
(omp_regions, lookup_omp_region): Remove.
(determine_parallel_type): Update for struct omp_region changes.
(dump_omp_region): Dump regions with block numbers.
(new_omp_region): Take type and block instead of stmt; malloc
instead of ggc.
(free_omp_region_1, free_omp_regions): New.
(expand_parallel_call): Take entry_stmt as argument; update for
changes to omp_region.
(remove_exit_barrier): Rewrite to update OMP_RETURN_NOWAIT.
(remove_exit_barriers): New.
(expand_omp_parallel): Update for struct omp_region changes.
(expand_omp_synch): Likewise.
(expand_omp): Likewise.
(expand_omp_for_static_nochunk): Likewise; update for OMP_CONTINUE.
(expand_omp_for_static_chunk): Likewise.
(expand_omp_for): Likewise.
(expand_omp_for_generic): Likewise; emit the proper GOMP_loop_end call.
(expand_omp_sections): Similarly, with GOMP_sections_end.
(expand_omp_single): New.
(build_omp_regions_1): Update for OMP_CONTINUE.
(execute_expand_omp): Call remove_exit_barriers, free_omp_regions.
(lower_omp_sections): Expand with OMP_CONTINUE, do not collect
OMP_SECTIONS_SECTIONS.
(lower_omp_single_simple): Don't emit barrier here.
(lower_omp_single_copy): Likewise.
(lower_omp_single): Fix bindings, and lower to straightline now.
(lower_omp_master, lower_omp_ordered): Likewise.
(lower_omp_critical): Likewise.
(lower_omp_for): Likewise. Emit OMP_CONTINUE.
* tree-cfg.c (make_edges): Collect an omp_region tree, use it for
omp edges, free it afterward.
(make_omp_sections_edges): Remove.
(is_ctrl_altering_stmt): Don't bother checking flag_openmp.
(move_stmt_r): Handle OMP_CONTINUE.
* tree-flow.h (struct omp_region): Move from omp-low.c. Switch
statement pointers to basic blocks. Add type member.
(root_omp_region, new_omp_region, free_omp_regions): Declare.
* tree-gimple.c (is_gimple_stmt): Handle OMP_RETURN, OMP_CONTINUE.
* tree-inline.c (estimate_num_insns_1): Likewise.
* tree-pretty-print.c (dump_generic_node): Likewise.
* tree-ssa-operands.c (get_expr_operands): Likewise.
* tree.def (OMP_SECTIONS): Remove OMP_SECTIONS_SECTIONS operand.
(OMP_RETURN): Rename from OMP_RETURN_EXPR.
(OMP_CONTINUE): New.
* tree.h (OMP_DIRECTIVE_P): Add OMP_CONTINUE.
(OMP_SECTIONS_SECTIONS): Remove.
(OMP_SECTION_LAST): New.
(OMP_RETURN_NOWAIT): New.
fortran/
* trans-openmp.c (gfc_trans_omp_sections): Adjust for changed
number of operands to OMP_SECTIONS.
testsuite/
* g++.dg/gomp/block-0.C: Update expected matches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112935
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Thu, 13 Apr 2006 23:14:25 +0000 (23:14 +0000)]
* lib/target-supports.exp (check_effective_target_int32plus): New.
(check_effective_target_ptr32plus): New.
(check_effective_target_size32plus): New.
(check_effective_target_int16): New.
(check_profiling_available): Add m32c to the list of unsupported targets.
* gcc.c-torture/compile/
20000804-1.c: Skip m32c also.
* gcc.c-torture/compile/
20001226-1.c: Skip m32c due to small
memory size.
* gcc.c-torture/compile/
20010327-1.c: Skip m32c due to non-SI
pointers.
* gcc.c-torture/compile/
20020604-1.c: Skip m32c due to small
size_t.
* gcc.c-torture/compile/
20050303-1.c: Require >=32 bit integers
and size_t.
* gcc.c-torture/compile/980506-1.c: Require >=32 bit size_t.
* gcc.c-torture/execute/
20020404-1.x: Check for any 16 bit target,
not just xstormy16. Skip m32c due to weird pointer size.
* gcc.c-torture/execute/
20021024-1.x: Check for any 16 bit target,
not just xstormy16.
* gcc.c-torture/execute/shiftdi.x: Check for any 16 bit target,
not just xstormy16.
* gcc.dg/
20020312-2.c: Add m32c support.
* gcc.dg/
20040622-2.c: Require >=32 bit pointers.
* gcc.dg/
20050321-1.c: XFail m32c due to incorrect malloc prototype
in test.
* gcc.dg/
20050321-2.c: Require >=32 bit integers.
* gcc.dg/asm-1.c: Skip if int and short are the same size.
* gcc.dg/fold-mod-1.c: Require >=32 bit integers.
* gcc.dg/fold-overflow-1.c: Skip m32c due to small const types in asm.
* gcc.dg/format/bitfld-1.c: Require >=32 bit integers due to printf formats
* gcc.dg/init-string-2.c: Require >=32 bit integers.
* gcc.dg/max-1.c: Skip m32c in r8c or m16c mode due to small pointers.
* gcc.dg/noncompile/920923-1.c: Skip small-int message for int16 hosts.
* gcc.dg/pch/struct-1.c: Require >= 32 bit integers.
* gcc.dg/pr14796-2.c: Require >=32 bit integers.
* gcc.dg/pr17112-1.c: Require >=32 bit integers.
* gcc.dg/pr18241-1.c: XFail m32c due to incorrect memset prototype
in test.
* gcc.dg/pr18241-2.c: XFail m32c due to incorrect memset prototype
in test.
* gcc.dg/pr19340.c: Skip m32c due to lack of scheduling.
* gcc.dg/pr23049.c: Require >=32 bit integers.
* gcc.dg/torture/pr26565.c: Skip m32c as everything is already packed.
* gcc.dg/torture/pr26587.c: Require >=32 bit integers.
* gcc.dg/torture/pr26630.c: Require >=32 bit integers.
* gcc.dg/tree-ssa/loop-10.c: Require >=32 bit integers.
* gcc.dg/tree-ssa/loop-2.c: Require >=32 bit size_t.
* gcc.dg/tree-ssa/loop-4.c: Require >=32 bit size_t.
* gcc.dg/tree-ssa/ltrans-1.c: Require >=32 bit size_t.
* gcc.dg/tree-ssa/ltrans-2.c: Require >=32 bit size_t.
* gcc.dg/tree-ssa/ltrans-3.c: Require >=32 bit size_t.
* gcc.dg/tree-ssa/ltrans-4.c: Require >=32 bit size_t.
* gcc.dg/tree-ssa/pr14341.c: Require >=32 bit integers.
* gcc.dg/tree-ssa/pr23382.c: XFail m32c due to incorrect malloc
prototype in test.
* gcc.dg/tree-ssa/pr24627.c: Require >=32 bit integers.
* gcc.dg/tree-ssa/pr26180.c: Require >=32 bit integers.
* gcc.dg/tree-ssa/vrp14.c: Require >=32 bit integers.
* gcc.dg/tree-ssa/vrp21.c: Require >=32 bit integers.
* gcc.dg/tree-ssa/vrp22.c: Require >=32 bit integers.
* gcc.c-torture/execute/
20040629-1.x: New. Require >16 bit integers.
* gcc.c-torture/execute/
20040703-1.x: Likewise.
* gcc.c-torture/execute/
20040705-1.x: Likewise.
* gcc.c-torture/execute/
20040705-2.x: Likewise.
* gcc.c-torture/execute/
20040709-1.x: Likewise.
* gcc.c-torture/execute/
20040709-2.x: Likewise.
* gcc.c-torture/execute/
20040811-1.x: Likewise.
* gcc.c-torture/execute/
20050316-1.x: Likewise.
* gcc.c-torture/execute/bitfld-4.x: Likewise.
* gcc.c-torture/execute/pr19689.x: Likewise.
* gcc.c-torture/execute/pr7284-1.x: Likewise.
* gcc.c-torture/execute/usmul.x: Likewise.
* gcc.c-torture/execute/vrp-5.x: Likewise.
* gcc.c-torture/execute/vrp-6.x: Likewise.
* gcc.dg/debug/
20041023-1.s: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112934
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 13 Apr 2006 21:31:00 +0000 (21:31 +0000)]
* fold-const.c (native_encode_vector, native_interpret_real):
Correct obvious mistakes in the previous check-in.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112930
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 13 Apr 2006 21:10:31 +0000 (21:10 +0000)]
* fold-const.c (native_encode_expr): New function to encode
the target representation of an INTEGER_CST, REAL_CST, COMPLEX_CST
or VECTOR_CST into a specified buffer.
(native_encode_int): New function.
(native_encode_real): New function.
(native_encode_complex): New function.
(native_encode_vector): New function.
(native_interpret_expr): Inverse of native_encode_expr to convert
a target representation into an INTEGER_CST, REAL_CST etc...
(native_interpret_int): New function.
(native_interpret_real): New function.
(native_interpret_complex): New function.
(native_interpret_vector): New function.
(fold_view_convert_expr): New function to constant fold/evaluate
a VIEW_CONVERT_EXPR of a suitable constant expression.
(fold_unary) <VIEW_CONVERT_EXPR>: Call fold_view_convert_expr.
Change call of build1 to fold_build1 when constructing a
VIEW_CONVERT_EXPR.
* gcc.target/i386/
20050113-1.c: Tweak testcase to reflect that casts
of integers to a vector types are now constant expressions in C.
* gcc.dg/vect/vect-fold-1.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112927
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 13 Apr 2006 21:04:04 +0000 (21:04 +0000)]
PR libgcj/26522:
* Makefile.in: Rebuilt.
* Makefile.am (libsubdir): New variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112925
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Thu, 13 Apr 2006 20:26:59 +0000 (20:26 +0000)]
2006-04-13 Paolo Bonzini <bonzini@gnu.org>
Ulrich Weigand <uweigand@de.ibm.com>
PR target/27006
* config/rs6000/rs6000.h (EASY_VECTOR_15_ADD_SELF): Require n
to be even.
PR target/27006
* gcc.dg/vmx/pr27006.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112923
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Thu, 13 Apr 2006 06:30:04 +0000 (06:30 +0000)]
2006-04-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/26766
* gfortran.dg/write_recursive.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112915
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Thu, 13 Apr 2006 06:24:58 +0000 (06:24 +0000)]
2006-04-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/26766
* io/io.h: Add bit to identify associated unit as internal.
* io/unit.c (get_external_unit): Renamed the find_unit_1 function to
reflect the external unit functionality vs internal unit.
(get_internal_unit): New function to allocate and initialize an internal
unit structure.
(get_unit): Use get_internal_unit and get_external_unit.
(is_internal_unit): Revised to use new bit added in io.h.
* io/transfer.c (data_transfer_init): Fix line width.
(st_read_done): Free memory allocated for internal unit.
(st_write_done): Add test to only flush and truncate when not an
internal unit. Free memory allocated for internal unit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112914
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Thu, 13 Apr 2006 05:10:00 +0000 (05:10 +0000)]
PR target/26459
* config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't
optimize to lo_sum for DFmode if !TARGET_FPRS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112912
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 13 Apr 2006 00:17:12 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112909
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Wed, 12 Apr 2006 22:56:19 +0000 (22:56 +0000)]
2006-04-13 Andreas Tobler <a.tobler@schweiz.ch>
* src/pa/hpux32.S: Correct unwind offset calculation for
ffi_closure_pa32.
* src/pa/linux.S: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112904
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 12 Apr 2006 22:55:28 +0000 (22:55 +0000)]
* tree-ssa-alias.c (set_initial_properties, init_alias_info,
delete_alias_info, compute_flow_sensitive_aliasing,
group_aliases): Use VEC instead of VARRAY.
* tree-ssa-structalias.c (update_alias_info): Likewise.
* tree-ssa-structalias.h (alias_info): Change the type of
processed_ptrs to VEC(tree,heap) *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112903
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 12 Apr 2006 22:10:49 +0000 (22:10 +0000)]
Fix IA-64 problems with denorms getting clobbered by type conversions.
PR libgcj/26483
* src/ia64/ffi.c (stf_spill, ldf_fill): Rewrite as macros.
(hfa_type_load): Call stf_spill.
(hfa_type_store): Call ldf_fill.
(ffi_call): Adjust calls to above routines. Add local temps for
macro result.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112900
138bc75d-0d04-0410-961f-
82ee72b054a4