OSDN Git Service

pf3gnuchains/gcc-fork.git
17 years ago2006-06-28 Andrew Pinski <pinskia@gmail.com>
pinskia [Thu, 29 Jun 2006 16:28:04 +0000 (16:28 +0000)]
2006-06-28  Andrew Pinski  <pinskia@gmail.com>

        * tree.c (tree_size): Do not waste tail padding in
        struct tree_string and make the size be the same as
        build_string will generate.

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

17 years ago * gcj/javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in
rmathew [Thu, 29 Jun 2006 14:57:39 +0000 (14:57 +0000)]
* gcj/javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in
C99.
* include/java-stack.h: Include stdlib.h.
(_Jv_AddrInfo): New structure to hold address information.
* include/posix.h (_Jv_platform_dladdr): Declare.
* include/win32.h (_Jv_platform_dladdr): Declare.
(backtrace): Remove declaration.
* posix.cc: Include dlfcn.h if available.  Include java-stack.h.
(_Jv_platform_dladdr): Define.
* win32.cc: Include string.h.  Include java-stack.h.
(backtrace): Remove.
(_Jv_platform_dladdr): Define.
* sysdep/i386/backtrace.h (fallback_backtrace): Check that a potential
frame pointer value is 32-bit word-aligned.  Use operand of the CALL
instruction calling the current function to find its starting address.
* stacktrace.cc: Do not include dlfcn.h.  Include platform.h.
(_Jv_StackTrace::getLineNumberForFrame): Use _Jv_platform_dladdr()
instead of dladdr().
(_Jv_StackTrace::GetStackTraceElements): Use nCodeMap even for Windows.
(_Jv_StackTrace::GetClassContext): Use fallback_backtrace() for
targets with SJLJ exceptions instead of using _Unwind_Backtrace().
(_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.

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

17 years ago PR c++/27424
jason [Thu, 29 Jun 2006 01:27:17 +0000 (01:27 +0000)]
    PR c++/27424
        * pt.c (convert_template_argument): Pass all template arguments
        on to coerce_template_template_parms.

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

17 years ago PR c++/27768
jason [Thu, 29 Jun 2006 01:12:20 +0000 (01:12 +0000)]
    PR c++/27768
        * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add
        may_aliases already in the tag's annotations to the bitmap.

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

17 years ago * genpreds.c (write_predicate_stmts) <IOR>: Add missing break.
sayle [Thu, 29 Jun 2006 01:05:51 +0000 (01:05 +0000)]
* genpreds.c (write_predicate_stmts) <IOR>: Add missing break.

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

17 years agoDaily bump.
gccadmin [Thu, 29 Jun 2006 00:17:29 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago * genpreds.c (generate_switch_p): New function.
sayle [Wed, 28 Jun 2006 19:42:04 +0000 (19:42 +0000)]
* genpreds.c (generate_switch_p): New function.
(add_mode_tests): Push the new mode test down inside an AND expr
if this allows the switch-suitable MATCH_CODE to be near the root.
(write_match_code_switch): New function to write a MATCH_CODE as
a switch statement.
(write_predicate_stmts): New function to write a predicate RTX
expression as a sequence of statements.
(write_one_predicate_function): Use write_predicate_stmts.
(write_tm_constrs_h): Likewise.

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

17 years agoDaily bump.
gccadmin [Wed, 28 Jun 2006 00:17:39 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago2006-06-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 27 Jun 2006 22:54:02 +0000 (22:54 +0000)]
2006-06-27  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/util/regression/rand/priority_queue/
rand_regression_test.hpp: Revert.

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

17 years ago * java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop.
tromey [Tue, 27 Jun 2006 20:38:10 +0000 (20:38 +0000)]
* java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop.
Set 'out.count' earlier.
(close): Call setFinished on converter.
(flush): Always write work buffer.
* java/io/PrintStream.java (writeChars): Do 'do' loop.
(close): Call setFinished on converter.  Write a 'flush' array.
* java/lang/natString.cc (getBytes): Call setFinished on
converter.
* gnu/gcj/convert/CharsetToBytesAdaptor.java (hasBytes): New
field.
(write): Set hasBytes.  Changed 'finished' logic.
(havePendingBytes): Rewrote.
(setFinished): New method.
* gnu/gcj/convert/UnicodeToBytes.java (setFinished): New method.
* testsuite/libjava.lang/RH194522.java: New file.
* testsuite/libjava.lang/RH194522.out: New file.

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

17 years ago2006-06-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 27 Jun 2006 19:21:13 +0000 (19:21 +0000)]
2006-06-27  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/typelist.h (typelist_append): To append_typelist.
(typelist): To node.
Enclose in namespace typelist.
* testsuite/util/testsuite_common_types.h: Adjust names, namespaces.
* testsuite/performance/23_containers/find/map.cc: Same.
* testsuite/performance/23_containers/create/map.cc: Same.
* testsuite/performance/23_containers/insert_erase/associative.cc:
Same.
* testsuite/performance/23_containers/insert/sequence.cc: Same.
* testsuite/performance/23_containers/insert/associative.cc: Same.
* testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
* testsuite/performance/23_containers/index/map.cc: Same.
* testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
* testsuite/performance/23_containers/create_sort/list.cc: Same.
* testsuite/performance/23_containers/sort_search/list.cc: Same.
* testsuite/performance/23_containers/producer_consumer/sequence.cc:
Same.
* testsuite/performance/23_containers/producer_consumer/associative.cc:
Same.

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

17 years ago2006-06-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 27 Jun 2006 19:20:06 +0000 (19:20 +0000)]
2006-06-27  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/typelist.h (typelist_append): To append_typelist.
(typelist): To node.
Enclose in namespace typelist.
* testsuite/util/testsuite_common_types.h: Adjust names, namespaces.
* testsuite/performance/23_containers/find/map.cc: Same.
* testsuite/performance/23_containers/create/map.cc: Same.
* testsuite/performance/23_containers/insert_erase/associative.cc:
Same.
* testsuite/performance/23_containers/insert/sequence.cc: Same.
* testsuite/performance/23_containers/insert/associative.cc: Same.
* testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
* testsuite/performance/23_containers/index/map.cc: Same.
* testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
* testsuite/performance/23_containers/create_sort/list.cc: Same.
* testsuite/performance/23_containers/sort_search/list.cc: Same.
* testsuite/performance/23_containers/producer_consumer/sequence.cc:
Same.
* testsuite/performance/23_containers/producer_consumer/associative.cc:
Same.

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

17 years ago2006-06-27 Marco Trudel <mtrudel@gmx.ch>
fitzsim [Tue, 27 Jun 2006 17:34:23 +0000 (17:34 +0000)]
2006-06-27  Marco Trudel  <mtrudel@gmx.ch>

* boehm.cc (_Jv_SuspendThread, _Jv_ResumeThread): Define
conditionally on GC_PTHREADS, !GC_SOLARIS_THREADS,
!GC_WIN32_THREADS and !GC_DARWIN_THREADS.

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

17 years ago PR libgcj/28178:
tromey [Tue, 27 Jun 2006 15:33:24 +0000 (15:33 +0000)]
PR libgcj/28178:
* jni.cc (_Jv_JNI_DeleteLocalRef): Ignore null argument.
(_Jv_JNI_DeleteGlobalRef): Likewise.
* testsuite/libjava.jni/PR28178.java: New file.
* testsuite/libjava.jni/PR28178.c: New file.
* testsuite/libjava.jni/PR28178.out: New file.

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

17 years ago2006-06-26 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 27 Jun 2006 03:25:40 +0000 (03:25 +0000)]
2006-06-26  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc:
Reduce iterations by half.
* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
* testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
* testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
* testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
* testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.

* testsuite/util/regression/rand/assoc/rand_regression_test.hpp:
Set probability of compare from 1 to 0.25.
* testsuite/util/regression/rand/priority_queue/
rand_regression_test.hpp: Same.

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

17 years agoDaily bump.
gccadmin [Tue, 27 Jun 2006 00:18:07 +0000 (00:18 +0000)]
Daily bump.

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

17 years agoFix typos in --param option docs.
wilson [Mon, 26 Jun 2006 23:36:45 +0000 (23:36 +0000)]
Fix typos in --param option docs.
* doc/invoke/texi (max-cselib-memory-locations): Add missing s at end.
(max-flow-memory-locations): Likewise.

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

17 years ago PR c++/28114
sje [Mon, 26 Jun 2006 21:25:23 +0000 (21:25 +0000)]
PR c++/28114
* g++.dg/other/pr28114.C: New.

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

17 years agoAdd SB-1 specific multilib support. Patch by Fred Fish.
wilson [Mon, 26 Jun 2006 21:16:30 +0000 (21:16 +0000)]
Add SB-1 specific multilib support.  Patch by Fred Fish.
* config/mips/t-sb1: New file.
* config.gcc (mipsisa64sb1-*-elf*): Add mips/t-sb1 to
tmake_file list.

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

17 years ago2006-06-26 DJ Delorie <dj@redhat.com>
dj [Mon, 26 Jun 2006 21:10:22 +0000 (21:10 +0000)]
2006-06-26  DJ Delorie  <dj@redhat.com>

* config/m32c/m32c.c (m32c_print_operand): Fix sign-merging logic.

2006-06-26  Naveen H.S  <naveenh@kpitcummins.com>
    Jayant Sonar  <jayants@kpitcummins.com>
    Jaydeep Vipradas  <jaydeepv@kpitcummins.com>

* config/m32c/addsub.md (addsi3, addsi3_1, addsi3_2): New.
(subsi3, subsi3_1, subsi3_2): New.
* config/m32c/bitops.md (andsi3, iorsi3, xorsi3): New.
* config/m32c/mov.md (SI mov peephole): New.
* config/m32c/m32.c (m32c_immd_dbl_mov): New.
* config/m32c/m32c-protos.h (m32c_immd_dbl_mov): New.

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

17 years ago * function.c (aggregate_value_p): Honor DECL_BY_REFERENCE on
hainque [Mon, 26 Jun 2006 20:59:16 +0000 (20:59 +0000)]
* function.c (aggregate_value_p): Honor DECL_BY_REFERENCE on
a CALL_EXPR target function declaration.

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

17 years ago2006-06-26 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 26 Jun 2006 18:18:22 +0000 (18:18 +0000)]
2006-06-26  Richard Guenther  <rguenther@suse.de>

* tree.c (build_string): Do not waste tail padding in
struct tree_string.

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

17 years ago * include/posix-threads.h: Fix coding style aberrations from
kseitz [Mon, 26 Jun 2006 17:59:42 +0000 (17:59 +0000)]
    * include/posix-threads.h: Fix coding style aberrations from
        2006-06-19 check-in.
        * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
        * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto.
        * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto.

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

17 years ago * include/no-gc.h (_Jv_SuspendThread): Declare.
kseitz [Mon, 26 Jun 2006 16:31:06 +0000 (16:31 +0000)]
    * include/no-gc.h (_Jv_SuspendThread): Declare.
        (_Jv_ResumeThread): Likewise.
        * include/boehm-gc.h (_Jv_SuspendThread): Declare.
        (_Jv_ResumeThread): Likewise.
        * nogc.cc (_Jv_SuspendThread): New function.
        (_Jv_ResumeThread): Likewise.
        * boehm.cc (_Jv_SuspendThread): New function.
        (_Jv_ResumeThread): Likewise.

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

17 years ago2006-06-26 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 26 Jun 2006 10:32:26 +0000 (10:32 +0000)]
2006-06-26  Richard Guenther  <rguenther@suse.de>

        * ggc-page.c (init_ggc): Add missing element to size_lookup
        table.

        Revert
        2006-06-23  Richard Guenther  <rguenther@suse.de>

        * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
        sizes to MAX_ALIGNMENT.  Fix the size_lookup table to honour
        alignment requests instead.  Add verification code.
        Add struct tree_function_decl and struct tree_binfo size to
        extra_order_size_table.  Add missing element to size_lookup
        table.

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

17 years ago2006-06-25 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 26 Jun 2006 03:08:48 +0000 (03:08 +0000)]
2006-06-25  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (operator<<(std::basic_ostream<>&,
const linear_congruential<>&), operator>>(std::basic_istream<>&,
linear_congruential<>&), operator<<(std::basic_ostream<>&,
const mersenne_twister<>&), operator>>(std::basic_istream<>&,
mersenne_twister<>&), operator<<(std::basic_ostream<>&,
const subtract_with_carry<>&), operator>>(std::basic_istream<>&,
subtract_with_carry<>&), operator<<(std::basic_ostream<>&,
const discard_block<>&), operator>>(std::basic_istream<>&,
discard_block<>&), operator<<(std::basic_ostream<>&,
const xor_combine<>&), operator>>(std::basic_istream<>&,
xor_combine<>&), operator<<(std::basic_ostream<>&,
const uniform_int<>&), operator>>(std::basic_istream<>&,
uniform_int<>&), operator<<(std::basic_ostream<>&,
const bernoulli_distribution&), operator<<(std::basic_ostream<>&,
const geometric_distribution<>&), operator<<(std::basic_ostream<>&,
const uniform_real<>&), operator>>(std::basic_istream<>&,
uniform_real<>&), operator<<(std::basic_ostream<>&,
const exponential_distribution<>&), operator<<(std::basic_ostream<>&,
const normal_distribution<>&), operator>>(std::basic_istream<>&,
normal_distribution<>&)): Redo per TR1 specs; move out of line...
* include/tr1/random.tcc: ... here.

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

17 years agoDaily bump.
gccadmin [Mon, 26 Jun 2006 00:17:33 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago * de.po: Update.
jsm28 [Sun, 25 Jun 2006 23:04:28 +0000 (23:04 +0000)]
* de.po: Update.

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

17 years ago PR middle-end/28151
ebotcazou [Sun, 25 Jun 2006 17:16:25 +0000 (17:16 +0000)]
PR middle-end/28151
* fold-const.c (const_binop): Be prepared for self returning zero.
Simplify code handling complex values.

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

17 years ago * zh_CN.po: Update.
jsm28 [Sun, 25 Jun 2006 17:05:49 +0000 (17:05 +0000)]
* zh_CN.po: Update.

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

17 years ago2006-06-25 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 25 Jun 2006 15:11:02 +0000 (15:11 +0000)]
2006-06-25  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/25056
* interface.c (compare_actual_formal): Signal an error if the formal
argument is a pure procedure and the actual is not pure.

PR fortran/27554
* resolve.c (resolve_actual_arglist): If the type of procedure
passed as an actual argument is not already declared, see if it is
an intrinsic.

PR fortran/25073
* resolve.c (resolve_select): Use bits 1 and 2 of a new int to
keep track of  the appearance of constant logical case expressions.
Signal an error is either value appears more than once.

PR fortran/20874
* resolve.c (resolve_fl_procedure): Signal an error if an elemental
function is not scalar valued.

PR fortran/20867
* match.c (recursive_stmt_fcn): Perform implicit typing of variables.

PR fortran/22038
* match.c (match_forall_iterator): Mark new variables as
FL_UNKNOWN if the match fails.

PR fortran/28119
* match.c (gfc_match_forall): Remove extraneous call to
gfc_match_eos.

PR fortran/25072
* resolve.c (resolve_code, resolve_function): Rework
forall_flag scheme so that it is set and has a value of
2, when the code->expr (ie. the forall mask) is resolved.
This is used to change "block" to "mask" in the non-PURE
error message.

2006-06-25  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/20867
* gfortran.dg/stfunc_3.f90: New test.

PR fortran/25056
* gfortran.dg/impure_actual_1.f90: New test.

PR fortran/20874
* gfortran.dg/elemental_result_1.f90: New test.

PR fortran/25073
* gfortran.dg/select_7.f90: New test.

PR fortran/27554
* intrinsic_actual_1.f: New test.

PR fortran/22038
PR fortran/28119
* gfortran.dg/forall_4.f90: New test.

PR fortran/25072
* gfortran.dg/forall_5.f90: New test.

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

17 years ago PR c++/28054
lmillward [Sun, 25 Jun 2006 11:28:01 +0000 (11:28 +0000)]
PR c++/28054
* decl2.c (grokbitfield): Remove check for grokdeclarator
returning NULL_TREE, instead check for error_mark_node
to indicate failure.
* decl.c (grokdeclarator): Adjust block comment.

* g++.dg/other/incomplete3.C: New test.

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

17 years ago PR c++/28051
lmillward [Sun, 25 Jun 2006 11:07:05 +0000 (11:07 +0000)]
PR c++/28051
* mangle.c (mangle_conv_op_name_for_type): Check for
invalid types.
*name-lookup.c (push_class_level_binding): Robustify.
(do_class_using_decl): Return early if name is error_mark_node.

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

17 years agoMove entry to proper file.
ebotcazou [Sun, 25 Jun 2006 10:33:10 +0000 (10:33 +0000)]
Move entry to proper file.

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

17 years ago * io/io.h: Move proto for unit_to_fd...
fxcoudert [Sun, 25 Jun 2006 08:46:09 +0000 (08:46 +0000)]
* io/io.h: Move proto for unit_to_fd...
* libgfortran.h: ...here.

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

17 years ago2006-06-24 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 25 Jun 2006 01:23:17 +0000 (01:23 +0000)]
2006-06-24  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (class normal_distribution<>): Add.
* include/tr1/random.tcc (normal_distribution<>::operator()): Define.

* include/tr1/random.tcc (struct _Max): Remove, "inline" in the
only user, mersenne_twister<>::max().

* include/tr1/random.tcc (struct _Shift): Move...
* include/tr1/random: ... here.

* include/tr1/random.tcc (linear_congruential<>::
linear_congruential(unsigned long), linear_congruential<>::
linear_congruential(_Gen&), mersenne_twister<>::max())): Move inline...
* include/tr1/random: ... here.

* include/tr1/random (exponential_distribution<>::
exponential_distribution(const result_type&)): Add missing
_GLIBCXX_DEBUG_ASSERT.

* testsuite/tr1/5_numerical_facilities/random/
exponential_distribution/requirements/typedefs.cc: New.
* testsuite/tr1/5_numerical_facilities/random/
normal_distribution/requirements/typedefs.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
bernoulli_distribution/requirements/typedefs.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
geometric_distribution/requirements/typedefs.cc: Likewise.

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

17 years agoDaily bump.
gccadmin [Sun, 25 Jun 2006 00:17:12 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago * sv.po: Update.
jsm28 [Sat, 24 Jun 2006 18:34:14 +0000 (18:34 +0000)]
* sv.po: Update.

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

17 years ago PR fortran/28081
fxcoudert [Sat, 24 Jun 2006 18:10:47 +0000 (18:10 +0000)]
PR fortran/28081

* resolve.c (resolve_substring): Don't issue out-of-bounds
error messages when the range has zero size.

* gfortran.dg/substr_3.f: New test.
* gfortran.dg/equiv_2.f90: Update expected error message.

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

17 years ago PR fortran/23862
fxcoudert [Sat, 24 Jun 2006 16:06:28 +0000 (16:06 +0000)]
PR fortran/23862
* lang-specs.h (f95-cpp-input): Pass -ffree-form to f951 unless
-ffixed-form is explicitly specified.

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

17 years ago * be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
jsm28 [Sat, 24 Jun 2006 15:40:32 +0000 (15:40 +0000)]
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
rw.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po: Update.

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

17 years ago * be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
jsm28 [Sat, 24 Jun 2006 15:39:43 +0000 (15:39 +0000)]
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
rw.po, sv.po, tr.po, zh_CN.po, zh_TW.po: Update.

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

17 years ago2006-06-24 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 24 Jun 2006 13:04:37 +0000 (13:04 +0000)]
2006-06-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28118
* trans-array.c (gfc_conv_expr_descriptor): When building temp,
use the substring reference to calculate the length if the
expression does not have a charlen.

2006-06-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28118
* gfortran.dg/actual_array_substr_1.f90: New test.

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

17 years ago * gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
hainque [Sat, 24 Jun 2006 12:47:48 +0000 (12:47 +0000)]
* gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
(gimplify_expr): Use it for tcc_comparison of operands of non BLKmode
aggregate types.

* tree-ssa-loop-im.c (for_each_index): Handle ARRAY_RANGE_REF as
ARRAY_REF, so have the callback called for the low bound expression.

* gnat.dg/scalar_mode_agg_compare_loop.adb: New test.
* gnat.dg/scalar_mode_agg_compare.adb: New test.

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

17 years ago * intrinsics/ierrno.c: Don't include "io/io.h".
fxcoudert [Sat, 24 Jun 2006 12:34:51 +0000 (12:34 +0000)]
* intrinsics/ierrno.c: Don't include "io/io.h".
* intrinsics/sleep.c: Likewise.
* intrinsics/perror.c: Likewise.
* intrinsics/stat.c: Likewise.
* intrinsics/kill.c: Likewise.
* intrinsics/time.c: Likewise.
* intrinsics/fnum.c: Likewise.
* intrinsics/rename.c: Likewise.
* intrinsics/symlnk.c: Likewise.
* intrinsics/chdir.c: Likewise.
* intrinsics/link.c: Likewise.
* intrinsics/random.c: Don't include "io/io.h". Include <gthr.h>.
* intrinsics/rand.c: Likewise.

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

17 years ago PR fortran/28094
fxcoudert [Sat, 24 Jun 2006 08:27:32 +0000 (08:27 +0000)]
PR fortran/28094

* trans-intrinsic.c (gfc_conv_intrinsic_mod): Support cases where
there is no integer kind equal to the resulting real kind.
* intrinsic.c (add_functions): MODULO is not allowed as an actual
argument.

* Makefile.am: Add _mod_r10.F90 and _mod_r16.F90.
* Makefile.in: Regenerate.
* generated/_mod_r10.F90: New file.
* generated/_mod_r16.F90: New file.

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

17 years agoDaily bump.
gccadmin [Sat, 24 Jun 2006 00:17:25 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago2006-06-23 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 24 Jun 2006 00:13:08 +0000 (00:13 +0000)]
2006-06-23  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/27984
* testsuite/lib/libstdc++.exp (libstdc++_init): Adjust
testing includes.
* docs/html/test.html: Adjust for testsuite changes.

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

17 years ago PR c++/28114
sje [Fri, 23 Jun 2006 21:58:25 +0000 (21:58 +0000)]
PR c++/28114
* name-lookup.c (pushtag): Return if we have error_mark_node.

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

17 years ago PR c++/27019
sje [Fri, 23 Jun 2006 21:53:36 +0000 (21:53 +0000)]
PR c++/27019
* typeck2.c (process_init_constructor_array): Set ce->value on errors.

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

17 years ago * tree.h (DECIMAL_FLOAT_TYPE_P): New.
janis [Fri, 23 Jun 2006 21:17:53 +0000 (21:17 +0000)]
* tree.h (DECIMAL_FLOAT_TYPE_P): New.
* c-typeck.c (c_common_type): Disallow operations on decimal float
types and other float types.
* convert.c (convert_to_real): Don't ignore conversions involving
decimal float types.

testsuite:
* gcc.dg/dfp/usual-arith-conv-bad.c: New test.

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

17 years ago2006-06-23 Steven G. Kargl <kargls@comcast.net>
kargl [Fri, 23 Jun 2006 21:05:04 +0000 (21:05 +0000)]
2006-06-23  Steven G. Kargl  <kargls@comcast.net>

PR fortran/27981
* match.c (gfc_match_if):  Handle errors in assignment in simple if.

2006-06-23  Steven G. Kargl  <kargls@comcast.net>

PR fortran/27981
* gfortran.dg/simpleif_2.f90: New test.

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

17 years ago * g++.dg/template/error22.C: Fix typo.
lmillward [Fri, 23 Jun 2006 19:37:58 +0000 (19:37 +0000)]
* g++.dg/template/error22.C: Fix typo.

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

17 years ago PR c++/28112
reichelt [Fri, 23 Jun 2006 17:02:38 +0000 (17:02 +0000)]
PR c++/28112
* parser.c (cp_parser_attribute_list): Skip attributes with invalid
arguments.  Fix comment.

* g++.dg/ext/attrib23.C: New test.

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

17 years ago PR target/28084
sje [Fri, 23 Jun 2006 16:21:54 +0000 (16:21 +0000)]
PR target/28084
* inclhack.def (hpux_extern_errno): New.
* fixincl.x: Regenerate.

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

17 years ago * tree.c (max_int_size_in_bytes): New function, inspired from
hainque [Fri, 23 Jun 2006 16:18:49 +0000 (16:18 +0000)]
    * tree.c (max_int_size_in_bytes): New function, inspired from
        code in function.c:assign_temp.
        * tree.h (max_int_size_in_bytes): Declare.
        * function.c (assign_temp): Use it.
        * gimplify.c (create_tmp_var): Relax the assertions on the type
        properties, not mandating constant size any more.
        (force_constant_size): New static function.
        (gimple_add_tmp_var): Use it, forcing variable size to a
        constant upper bound if it is not constant on entry.

        * ada/misc.c (gnat_type_max_size): Look at TYPE_ADA_SIZE if we have
        not been able to get a constant upper bound from TYPE_SIZE_UNIT.

* gnat.dg/varsize_temp.adb: New test.

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

17 years ago PR c++/11468
reichelt [Fri, 23 Jun 2006 15:59:51 +0000 (15:59 +0000)]
PR c++/11468
* init.c (build_new_1): Handle error_mark_nodes returned by
build_java_class_ref.
(build_java_class_ref): Do not abort compilation, but return
error_mark_node.  Improve error message.  Fix indentation.

* g++.dg/other/java2.C: New test.

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

17 years ago2006-06-21 Andrew Haley <aph@redhat.com>
aph [Fri, 23 Jun 2006 12:14:44 +0000 (12:14 +0000)]
2006-06-21  Andrew Haley  <aph@redhat.com>

        * java-tree.h (update_aliases): Remove
        * expr.c (expand_iinc): Remove call to update_aliases().
        (STORE_INTERNAL): Likewise.
        * decl.c (update_aliases, initialize_local_variable)
        (maybe_pushlevels): Set DECL_VALUE_EXPR for debugging decls.

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

17 years agoRemove conflict marker.
schwab [Fri, 23 Jun 2006 09:41:38 +0000 (09:41 +0000)]
Remove conflict marker.

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

17 years ago PR target/27789
dannysmith [Fri, 23 Jun 2006 08:25:33 +0000 (08:25 +0000)]
PR target/27789
* config/i386/winnt.c (ix86_handle_selectany_attribute): Move check
for initialization and setting of one_only flag to ...
(i386_pe_encode_section_info): ...here.
(i386_pe_dllimport_p): Check for DECL_DLLIMPORT_P also.
Recheck that the symbol has not been defined.

cp
* decl.c (start_decl): Check that dllimports are not initialized.

testsuite
* g++.dg/ext/dllimport4.C. Add more tests for invalid
initialization.

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

17 years ago2006-06-23 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 23 Jun 2006 08:22:12 +0000 (08:22 +0000)]
2006-06-23  Richard Guenther  <rguenther@suse.de>

* ggc-page.c (init_ggc): Do not round up the extra_order_size_table
sizes to MAX_ALIGNMENT.  Fix the size_lookup table to honour
alignment requests instead.  Add verification code.
Add struct tree_function_decl and struct tree_binfo size to
extra_order_size_table.  Add missing element to size_lookup
table.

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

17 years ago2006-06-22 Roger Sayle <roger@eyesopen.com>
sayle [Fri, 23 Jun 2006 02:01:30 +0000 (02:01 +0000)]
2006-06-22  Roger Sayle  <roger@eyesopen.com>
    John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

PR middle-end/28131
* expr.c (expand_expr_real_1) <VECTOR_CST>: Check whether the
call to lang_hooks.types.type_for_mode returned NULL_TREE.

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

17 years agolibdecnumber/
bje [Fri, 23 Jun 2006 01:46:00 +0000 (01:46 +0000)]
libdecnumber/
* decNumber.h (decNumberNegate): Remove.
gcc/
* dfp.c (decimal_to_decnumber): Do not use decNumberNegate to
negate dn -- manipulate it directly.

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

17 years ago2006-06-22 Roger Sayle <roger@eyesopen.com>
sayle [Fri, 23 Jun 2006 01:19:57 +0000 (01:19 +0000)]
2006-06-22  Roger Sayle  <roger@eyesopen.com>
    Steven Bosscher  <stevenb.gcc@gmail.com>

PR target/27531
* reload1.c (gen_reload): Call mark_jump_label on the new insns
generated by gen_move_insn to add REG_LABEL notes if necessary.

* gcc.dg/pr27531-1.c: New test case.

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

17 years agoDaily bump.
gccadmin [Fri, 23 Jun 2006 00:17:25 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago * MAINTAINERS (OS Port Maintainers): Add myself as hpux maintainer.
danglin [Thu, 22 Jun 2006 23:36:36 +0000 (23:36 +0000)]
* MAINTAINERS (OS Port Maintainers): Add myself as hpux maintainer.

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

17 years ago * MAINTAINERS (OS Port Maintainers): Add myself as hpux maintainer.
sje [Thu, 22 Jun 2006 21:38:17 +0000 (21:38 +0000)]
* MAINTAINERS (OS Port Maintainers): Add myself as hpux maintainer.

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

17 years agoFix my 2006-05-22 entry for doc/install.texi (hijacked -> gone).
gerald [Thu, 22 Jun 2006 20:56:04 +0000 (20:56 +0000)]
Fix my 2006-05-22 entry for doc/install.texi (hijacked -> gone).

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

17 years ago * config/xtensa/lib1funcs.asm (MIN_ESA): Delete.
bwilson [Thu, 22 Jun 2006 19:41:00 +0000 (19:41 +0000)]
* config/xtensa/lib1funcs.asm (MIN_ESA): Delete.
(leaf_entry): Remove use of MIN_ESA.

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

17 years ago2006-06-22 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Thu, 22 Jun 2006 19:22:42 +0000 (19:22 +0000)]
2006-06-22  Thomas Fitzsimmons  <fitzsim@redhat.com>

* testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
Link against -ljvm, not -lgcj.

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

17 years ago PR fortran/24748
langton [Thu, 22 Jun 2006 18:30:18 +0000 (18:30 +0000)]
PR fortran/24748
* primary.c (gfc_match_rvalue): Don't call match_substring for
implicit non-character types.

PR fortran/24748
* gfortran.dg/implicit_8.f90: New.

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

17 years ago2006-06-22 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Thu, 22 Jun 2006 18:24:32 +0000 (18:24 +0000)]
2006-06-22  Thomas Fitzsimmons  <fitzsim@redhat.com>

* Makefile.am (libjvm_la_LDFLAGS): Do not set -rpath to
toolexeclibdir.
* Makefile.in: Regenerate.

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

17 years agoPR c++/27821
lmillward [Thu, 22 Jun 2006 18:05:17 +0000 (18:05 +0000)]
PR c++/27821
* decl.c (grokdeclarator): Return error_mark_node on
invalid uses of the scope resolution operator.

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

17 years ago PR rtl-optimization/28121
rakdver [Thu, 22 Jun 2006 17:54:45 +0000 (17:54 +0000)]
PR rtl-optimization/28121
* cfgexpand.c (tree_expand_cfg): Clean EDGE_EXECUTABLE flag from
the entry edge.

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

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

17 years agoPR c++/27805
lmillward [Thu, 22 Jun 2006 17:48:41 +0000 (17:48 +0000)]
PR c++/27805
* typeck2.c (build_m_component_ref): Use error_operand_p.

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

17 years ago * java/lang/reflect/natField.cc (getAddr): Allow setting of final
tromey [Thu, 22 Jun 2006 16:59:15 +0000 (16:59 +0000)]
* java/lang/reflect/natField.cc (getAddr): Allow setting of final
field when it is accessible.

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

17 years ago2006-06-22 Jonathan Lennox <lennox@cs.columbia.edu>
paolo [Thu, 22 Jun 2006 15:59:22 +0000 (15:59 +0000)]
2006-06-22  Jonathan Lennox  <lennox@cs.columbia.edu>
    Paolo Carlini  <pcarlini@suse.de>

* include/ext/pb_ds/detail/resize_policy/
hash_prime_size_policy_imp.hpp: Cast to size_t instead.

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

17 years ago* config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
dj [Thu, 22 Jun 2006 15:33:36 +0000 (15:33 +0000)]
* config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
(TN-16C-A156A/E).
(mulhisi3_r): Likewise.

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

17 years ago2006-06-22 Ami Tavory <atavory@gmail.com>
paolo [Thu, 22 Jun 2006 11:17:24 +0000 (11:17 +0000)]
2006-06-22  Ami Tavory  <atavory@gmail.com>

* include/ext/pb_ds/detail/resize_policy/
hash_prime_size_policy_imp.hpp: Fix for 64-bit machines.

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

17 years ago PR c++/28111
reichelt [Thu, 22 Jun 2006 09:55:42 +0000 (09:55 +0000)]
PR c++/28111
* pt.c (determine_specialization): Check for invalid decls.

* g++.dg/template/friend43.C: New test.

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

17 years ago PR c++/28110
reichelt [Thu, 22 Jun 2006 09:47:51 +0000 (09:47 +0000)]
PR c++/28110
* pt.c (unify) <case TEMPLATE_PARM_INDEX>: Check for invalid
parameters.

* g++.dg/template/crash53.C: New test.

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

17 years ago PR c++/28109
reichelt [Thu, 22 Jun 2006 09:28:02 +0000 (09:28 +0000)]
PR c++/28109
* rtti.c (get_tinfo_decl_dynamic): Robustify.

* g++.dg/rtti/incomplete1.C: New test.

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

17 years ago PR libfortran/26769
fxcoudert [Thu, 22 Jun 2006 06:05:54 +0000 (06:05 +0000)]
PR libfortran/26769
* ChangeLog: Forgotten in the previous commit.

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

17 years ago PR libfortran/26769
fxcoudert [Thu, 22 Jun 2006 06:04:02 +0000 (06:04 +0000)]
PR libfortran/26769

* iresolve.c (gfc_resolve_reshape): Call reshape_r4 and
reshape_r8 instead of reshape_4 and reshape_8.
(gfc_resolve_transpose): Likewise for transpose.

* Makefile.am: Add r4 and r8 versions of reshape and transpose.
* Makefile.in: Regenerate.
* generated/reshape_r4.c: New file.
* generated/reshape_r8.c: New file.
* generated/transpose_r4.c: New file.
* generated/transpose_r8.c: New file.

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

17 years agoDaily bump.
gccadmin [Thu, 22 Jun 2006 00:17:19 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago2006-06-21 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 21 Jun 2006 22:21:45 +0000 (22:21 +0000)]
2006-06-21  Paolo Carlini  <pcarlini@suse.de>

* include/bits/postypes.h (operator==(const fpos<>&, const fpos<>&),
operator!=(const fpos<>&, const fpos<>&)): Add.
* testsuite/27_io/fpos/mbstate_t/6.cc: New.

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

17 years agogcc/
rsandifo [Wed, 21 Jun 2006 21:27:19 +0000 (21:27 +0000)]
gcc/
PR middle-end/28034
* coverage.c (coverage_counter_alloc): Leave the index type
unspecified.
(coverage_counter_alloc): Use null arguments for operands 2 and 3
of the ARRAY_REF.

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

17 years ago * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
kseitz [Wed, 21 Jun 2006 20:56:37 +0000 (20:56 +0000)]
    * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
        routine if signal is received and thread is flagged SUSPENDED.
        (suspend_self): New function.
        (GC_suspend_thread): New function.
        (GC_resume_thread): New function.
        * include/gc.h (GC_suspend_thread): Declare.
        (GC_resumet_thread): Declare.
        * include/private/pthread_support.h (SUSPENDED): New GC_thread
        flag.

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

17 years ago * trans-expr.c (gfc_conv_missing_dummy, gfc_conv_unary_op,
fxcoudert [Wed, 21 Jun 2006 20:44:31 +0000 (20:44 +0000)]
* trans-expr.c (gfc_conv_missing_dummy, gfc_conv_unary_op,
gfc_conv_cst_int_power, gfc_conv_string_tmp,
gfc_conv_function_call): Replace calls to convert on constant
integer nodes by build_int_cst.
* trans-stmt.c (gfc_trans_do): Likewise.
* trans-io.c (set_internal_unit, transfer_namelist_element):
Likewise.
* trans-decl.c (build_entry_thunks): Likewise.

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

17 years ago * sv.po: Update.
jsm28 [Wed, 21 Jun 2006 19:45:55 +0000 (19:45 +0000)]
* sv.po: Update.

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

17 years ago2006-06-21 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 21 Jun 2006 19:32:13 +0000 (19:32 +0000)]
2006-06-21  Andrew Pinski  <pinskia@physics.uc.edu>

        * doc/invoke.texi (-fopenmp) Move to "Options Controlling C Dialect"
        section from the "Options for Code Generation Conventions".

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

17 years ago PR target/26347
rth [Wed, 21 Jun 2006 18:31:56 +0000 (18:31 +0000)]
    PR target/26347
        PR target/27082
        * config/alpha/predicates.md (small_symbolic_operand): Deny weak
        symbols.
        (global_symbolic_operand): Allow weak symbols, even if local_p.

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

17 years ago2006-06-21 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 21 Jun 2006 16:35:27 +0000 (16:35 +0000)]
2006-06-21  Frank Ch. Eigler  <fche@redhat.com>

PR 21274
mf-runtime.h installation based on ssp patch for PR 26473 from
Mark Mitchell  <mark@codesourcery.com>.
* configure.ac (ACX_NONCANONICAL_TARGET): Use it.
* Makefile.am (target_noncanonical): Define.
(libsubincludedir): New variable.
(nobase_libsubinclude_HEADERS): Add mf-runtime.h.
(include_HEADERS): Remove.
* configure, aclocal.m4, config.h.in: Regenerated.
* Makefile.in, testsuite/Makefile.in: Likewise.
* mf-runtime.h: Add #ifndef protection for conflicting _REENTRANT
and _THREAD_SAFE redefinition values.

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

17 years ago2006-06-21 Bryce McKinlay <mckinlay@redhat.com>
bryce [Wed, 21 Jun 2006 16:27:14 +0000 (16:27 +0000)]
2006-06-21  Bryce McKinlay  <mckinlay@redhat.com>

        * include/win32-threads.h (_Jv_ThreadDesc_t): New typedef.
        (_Jv_GetPlatformThreadID): New function.
        * include/posix-threads.h (_Jv_ThreadDesc_t): New typedef.
        (_Jv_GetPlatformThreadID): New function.

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

17 years ago * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.
ebotcazou [Wed, 21 Jun 2006 15:09:36 +0000 (15:09 +0000)]
* tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.
(find_interesting_uses_address): Punt if above function returns true.

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

17 years ago2006-06-21 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 21 Jun 2006 11:48:04 +0000 (11:48 +0000)]
2006-06-21  Richard Guenther  <rguenther@suse.de>

        * configure: Regenerated.

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

17 years ago * config/mips/mips.c (function_arg): Where one part of a
jsm28 [Wed, 21 Jun 2006 10:36:53 +0000 (10:36 +0000)]
* config/mips/mips.c (function_arg): Where one part of a
complex argument is in registers and the other part in the stack,
return a REG not a PARALLEL.

testsuite:
* gcc.c-torture/execute/complex-7.c: New.

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

17 years ago * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): When
mmitchel [Wed, 21 Jun 2006 09:16:03 +0000 (09:16 +0000)]
* acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): When
cross-compiling, put headers in $prefix/$target/include/c++.
* configure: Regenerated.

* configure.ac: Set gcc_gxx_include_dir to $target/include/c++
when cross-compiling.  Do not substitute libstdcxx_incdir.
* configure: Regenerated.

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

17 years ago * critical.c (GOMP_critical_name_start): Fix *pptr initialization
jakub [Wed, 21 Jun 2006 08:59:44 +0000 (08:59 +0000)]
* critical.c (GOMP_critical_name_start): Fix *pptr initialization
when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is
defined.

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

17 years ago * varasm.c (mergeable_string_section): Check for embedded NULs and
jakub [Wed, 21 Jun 2006 08:58:44 +0000 (08:58 +0000)]
* varasm.c (mergeable_string_section): Check for embedded NULs and
NUL termination in the first int_size_in_bytes (TREE_TYPE (decl))
rather than TREE_STRING_LENGTH bytes.

* gcc.dg/merge-all-constants-1.c: New test.

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