OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years ago2006-04-23 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 23 Apr 2006 11:56:37 +0000 (11:56 +0000)]
2006-04-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/25099
* resolve.c (resolve_call): Check conformity of elemental
subroutine actual arguments.

2006-04-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/25099
* gfortran.dg/elemental_subroutine_4.f90: New test.
* gfortran.dg/assumed_size_refs_1.f90: Add error to non-conforming
call sub (m, x).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113194 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2006-04-23 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 23 Apr 2006 11:44:40 +0000 (11:44 +0000)]
2006-04-23  Paolo Carlini  <pcarlini@suse.de>

* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 42.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113193 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * fold-const.c (range_predecessor): Use operand_equal_p
ebotcazou [Sun, 23 Apr 2006 09:06:32 +0000 (09:06 +0000)]
* fold-const.c (range_predecessor): Use operand_equal_p
as the predicate for equality.
(range_successor): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113192 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2006-04-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 23 Apr 2006 02:04:58 +0000 (02:04 +0000)]
2006-04-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/20257
* io/io.h: Add prototypes for get_internal_unit and free_internal_unit.
* io/unit.c (get_internal_unit): Initialize unit number, not zero.
(free_internal_unit): New function to consolidate freeing memory.
(get_unit): Initialize internal_unit_desc to NULL when unit is
external.
* io/unix.c (mem_close): Check for not NULL before freeing memory.
* io/transfer.c (read_block): Reset bytes_left and skip error if unit
is preconnected and default record length is reached.
(read_block_direct): Ditto.
(write_block): Ditto.
(write_buf): Ditto.
(data_transfer_init): Only flush if not internal unit.
(finalize_transfer): Ditto and delete code to free memory used by
internal units.
(st_read_done): Use new function - free_internal_unit.
(st_write_done): Use new function - free_internal unit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113190 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Sun, 23 Apr 2006 00:17:14 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113187 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2006-04-22 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Sat, 22 Apr 2006 22:17:26 +0000 (22:17 +0000)]
2006-04-22  Andreas Tobler  <a.tobler@schweiz.ch>

* configure.ac: Weaken the check for MMAP.
* configure: Rebuilt.
* include/config.h.in: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113182 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2006-04-22 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Sat, 22 Apr 2006 21:17:35 +0000 (21:17 +0000)]
2006-04-22  Andreas Tobler  <a.tobler@schweiz.ch>

* README: Remove notice about 'Crazy Comments'.
* src/debug.c: Remove lint directives. Cleanup white spaces.
* src/java_raw_api.c: Likewise.
* src/prep_cif.c: Likewise.
* src/raw_api.c: Likewise.
* src/ffitest.c: Delete. No longer needed, all test cases migrated
to the testsuite.
* src/arm/ffi.c: Remove lint directives.
* src/m32r/ffi.c: Likewise.
* src/pa/ffi.c: Likewise.
* src/powerpc/ffi.c: Likewise.
* src/powerpc/ffi_darwin.c: Likewise.
* src/sh/ffi.c: Likewise.
* src/sh64/ffi.c: Likewise.
* src/x86/ffi.c: Likewise.
* testsuite/libffi.call/float2.c: Likewise.
* testsuite/libffi.call/promotion.c: Likewise.
* testsuite/libffi.call/struct1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113181 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago Revert:
kazu [Sat, 22 Apr 2006 16:45:28 +0000 (16:45 +0000)]
Revert:
* config/soft-fp/op-common.h: Fix a typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113180 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2006-04-22 Frank Ch. Eigler <fche@redhat.com>
fche [Sat, 22 Apr 2006 16:22:54 +0000 (16:22 +0000)]
2006-04-22  Frank Ch. Eigler  <fche@redhat.com>

PR libmudflap/26864
* common.opt (flag_mudflap_threads): Overload flag_mudflap.
* tree-mudflap.c (flag_mudflap_threads): Derive from flag_mudflap.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113179 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/soft-fp/op-common.h, double-int.h, tree-ssa-dom.c:
kazu [Sat, 22 Apr 2006 16:19:56 +0000 (16:19 +0000)]
* config/soft-fp/op-common.h, double-int.h, tree-ssa-dom.c:
Fix comment typos.
* doc/tm.texi: Fix a typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113178 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decl.c: Fix comment typos.
kazu [Sat, 22 Apr 2006 16:12:34 +0000 (16:12 +0000)]
* decl.c: Fix comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113175 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.c-torture/compile/20060421-1.c: New testcase.
jsm28 [Sat, 22 Apr 2006 15:31:09 +0000 (15:31 +0000)]
* gcc.c-torture/compile/20060421-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113173 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * dwarf2out.c (struct die_struct): Document that die_sib makes
geoffk [Sat, 22 Apr 2006 08:50:36 +0000 (08:50 +0000)]
* dwarf2out.c (struct die_struct): Document that die_sib makes
a circular linked list.
(FOR_EACH_CHILD): New.
(reverse_die_lists): Delete.
(reverse_all_dies): Delete.
(add_dwarf_attr): Correct documentation.
(remove_child_with_prev): New.
(remove_child_TAG): Update for change to die_struct, use
remove_child_with_prev.
(add_child_die): Update for change to die_struct.
(splice_child_die): Use remove_child_with_prev and add_child_die.
(print_die): Use FOR_EACH_CHILD.
(die_checksum): Likewise.
(assign_symbol_names): Likewise.
(output_location_lists): Likewise.
(build_abbrev_table): Likewise.
(calc_die_sizes): Likewise.
(mark_dies): Likewise.
(unmark_dies): Likewise.
(unmark_all_dies): Likewise.
(output_die): Likewise.
(prune_unused_types_mark): Likewise.
(prune_unused_types_walk): Likewise.
(same_die_p): Update for change to die_struct.
(break_out_includes): Likewise.
(prune_unused_types_prune): Likewise.
(add_sibling_attributes): Use FOR_EACH_CHILD, simplify logic.
(prune_unmark_dies): Use FOR_EACH_CHILD, don't clear die_mark if
it's already clear.
(dwarf2out_finish): Don't call reverse_all_dies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113171 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR fortran/26769
jakub [Sat, 22 Apr 2006 07:08:58 +0000 (07:08 +0000)]
PR fortran/26769
* iresolve.c (gfc_resolve_reshape): Use reshape_r16 for real(16).
(gfc_resolve_transpose): Use transpose_r16 for real(16).

* Makefile.am (i_transpose_c): Add generated/transpose_r16.c.
(i_reshape_c): Add generated/reshape_r16.c.
* Makefile.in: Regenerated.
* generated/transpose_r16.c: Generated new file.
* generated/redhape_r16.c: Generated new file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113169 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoCommit ChangeLog entries.
echristo [Sat, 22 Apr 2006 01:33:34 +0000 (01:33 +0000)]
Commit ChangeLog entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113168 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2006-04-21 Eric Christopher <echristo@apple.com>
echristo [Sat, 22 Apr 2006 01:23:09 +0000 (01:23 +0000)]
2006-04-21  Eric Christopher  <echristo@apple.com>

* decl.c: Fix typo in function name.

2006-04-21  Eric Christopher  <echristo@apple.com>

* df-core.c, tree-outof-ssa.c, config/i386/i386.c: Fix typos
in comments and function names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113167 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Sat, 22 Apr 2006 00:17:14 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113162 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c/25875
reichelt [Fri, 21 Apr 2006 23:02:26 +0000 (23:02 +0000)]
PR c/25875
* c-typeck.c (digest_init): Robustify.

* gcc.dg/init-bad-4.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113153 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * c-typeck.c (pop_init_level): Simplify.
reichelt [Fri, 21 Apr 2006 22:58:28 +0000 (22:58 +0000)]
* c-typeck.c (pop_init_level): Simplify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113152 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * de.po, es.po, sv.po: Update.
jsm28 [Fri, 21 Apr 2006 19:49:54 +0000 (19:49 +0000)]
* de.po, es.po, sv.po: Update.
* zh_TW.po: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113148 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * de.po: Update.
jsm28 [Fri, 21 Apr 2006 19:45:50 +0000 (19:45 +0000)]
* de.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113146 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/pa/t-pa64: Add dependencies on $(GCC_PASSES).
sje [Fri, 21 Apr 2006 17:39:15 +0000 (17:39 +0000)]
* config/pa/t-pa64: Add dependencies on $(GCC_PASSES).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113141 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2006-04-21 Paul Brook <paul@codesourcery.com>
pbrook [Fri, 21 Apr 2006 17:05:51 +0000 (17:05 +0000)]
2006-04-21  Paul Brook  <paul@codesourcery.com>

gcc/
* config/arm/arm.c (arm_override_options): Error on iWMMXt and
hardware floating point.
gcc/testsuite/
* gcc.dg/arm-vfp1.c: Skip on iWMMXt cpus.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113138 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Add sfp to
dje [Fri, 21 Apr 2006 14:10:22 +0000 (14:10 +0000)]
* config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Add sfp to
NON_FLOAT_REGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113136 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* config/sh/t-elf (EXTRA_MULTILIB_PARTS): Include OPT_EXTRA_PARTS.
nickc [Fri, 21 Apr 2006 08:10:42 +0000 (08:10 +0000)]
* config/sh/t-elf (EXTRA_MULTILIB_PARTS): Include OPT_EXTRA_PARTS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113135 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2006-04-21 Paul Thomas <pault@gcc.gnu.org>
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

18 years ago PR target/27230
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

18 years agoDaily bump.
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

18 years ago PR libgcj/27170
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

18 years ago2006-04-20 H.J. Lu <hongjiu.lu@intel.com>
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

18 years ago PR mudflap/26789
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

18 years ago PR tree-optimization/26854
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

18 years ago PR libgcj/21941:
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

18 years ago * c-pretty-print.c (pp_c_direct_abstract_declarator): Print
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

18 years ago * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Consume all
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

18 years ago PR target/27182
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

18 years agogcc/
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

18 years agoDaily bump.
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

18 years ago * Makefile.in: Rebuilt.
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

18 years ago2006-04-19 Paolo Carlini <pcarlini@suse.de>
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

18 years ago PR c++/26558
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

18 years ago PR mudflap/26789
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

18 years ago Fix PR numbers.
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

18 years ago PR c++/26739
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

18 years ago PR c++/26036
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

18 years ago PR c++/10385
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

18 years ago * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
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

18 years ago PR c++/27102
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

18 years ago * dominance.c: Include timevar.h.
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

18 years agoPR reference added to ChangeLog
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

18 years ago2006-04-19 Andreas Krebbel <krebbel1@de.ibm.com>
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

18 years ago2006-04-19 Andreas Krebbel <krebbel1@de.ibm.com>
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

18 years ago* configure.in (m32c): Build libstdc++-v3. Pass flags to
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

18 years agoDaily bump.
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

18 years ago PR rtl-optimization/26026
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

18 years ago * dwarf2out.c (prune_unused_types_update_strings): Don't add strings
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

18 years ago * config/soft-fp: New directory. From glibc.
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

18 years ago* config/m32c/m32c.h (PTRDIFF_TYPE): Define.
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

18 years agofortran/
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

18 years ago * doc/invoke.texi (-Wuninitialized): Clarify -O connection.
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

18 years ago * trans-io.c (gfc_build_io_library_fndecls): Align pad.
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

18 years ago* config/sh/t-symbian: Add rule to build sh-c.o
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

18 years ago2006-04-18 Andreas Krebbel <krebbel1@de.ibm.com>
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

18 years ago2006-04-18 Paolo Carlini <pcarlini@suse.de>
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

18 years ago * function.c (temp_slots_at_level, max_slot_level): Use VEC
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

18 years ago* config/mmix/mmix.h (OPTIMIZATION_OPTIONS): Remove reference to flag_strength_reduce.
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

18 years ago* doc/tm.texi (TARGET_SECTION_TYPE_FLAGS): Fix typo.
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

18 years ago2006-04-18 Paolo Bonzini <bonzini@gnu.org>
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

18 years ago2006-04-18 Paolo Bonzini <bonzini@gnu.org>
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

18 years agoDaily bump.
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

18 years ago PR libgcj/27171:
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

18 years ago * dwarf2out.c (free_AT): Delete.
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

18 years ago2006-04-17 Andreas Tobler <a.tobler@schweiz.ch>
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

18 years ago PR c++/26114, c++/26115
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

18 years ago * expr.c (expand_assignment): Optimize away no-op moves where the
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

18 years ago * init.c (build_offset_ref): Remove superfluous temporary.
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

18 years ago2006-04-17 Richard Guenther <rguenther@suse.de>
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

18 years ago * cgraph.h (cgraph_edge_p): New.
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

18 years ago * alias.c (alias_sets): Change the type to
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

18 years ago * alias.c (reg_base_value, old_reg_base_value): Change the
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

18 years ago PR target/26961
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

18 years ago2006-04-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
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

18 years ago2006-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
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

18 years ago * target.h (struct gcc_target): Add mode_rep_extended.
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

18 years agoDaily bump.
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

18 years ago PR middle-end/25474
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

18 years ago2006-04-15 Roger Sayle <roger@eyesopen.com>
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

18 years ago2006-04-16 Thomas Koenig <Thomas.Koenig@online.de>
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

18 years ago PR c++/26365
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

18 years ago2006-04-16 Paolo Carlini <pcarlini@suse.de>
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

18 years ago * config/i386/i386.c (ix86_va_start): Ensure all integer constant
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

18 years ago2006-04-16 Paul Thomas <pault@gcc.gnu.org>
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

18 years ago * tree.c (integer_zerop): Ignore TREE_CONSTANT_OVERFLOW.
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

18 years ago * tree-ssa-structalias.h (alias_info): Remove num_references.
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

18 years agoDaily bump.
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

18 years ago * cp/call.c: Fix comment typos.
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

18 years ago * cfgcleanup.c, config/dfp-bit.c, expr.c, fold-const.c,
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

18 years ago * pa.md (output_bb patterns): Shorten long branch alternatives by 4.
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

18 years ago * Make-lang.in (cp/pt.o): Depend on vecprim.h.
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

18 years ago * trans-io.c (set_string): Use fold_build2 and build_int_cst instead
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