platform/upstream/linaro-gcc.git
18 years ago2006-09-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Sep 2006 16:03:52 +0000 (16:03 +0000)]
2006-09-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/29099
* intrinsics/date_and_time.c (secnds): Fix case of zero time.

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

18 years ago * doc/contrib.texi: Add my entry.
uros [Fri, 15 Sep 2006 15:59:33 +0000 (15:59 +0000)]
    * doc/contrib.texi: Add my entry.

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

18 years ago* doc/md.texi (Processor pipeline description): Fix typo in
nickc [Fri, 15 Sep 2006 15:27:43 +0000 (15:27 +0000)]
* doc/md.texi (Processor pipeline description): Fix typo in
  example of how to use the absence_set directive and reword the
  description to make it slightly easier to read.

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

18 years ago * config/bfin/bfin.c (struct loop_info): New members block_bitmap and
bernds [Fri, 15 Sep 2006 14:41:43 +0000 (14:41 +0000)]
* config/bfin/bfin.c (struct loop_info): New members block_bitmap and
bad.
(struct loop_work and related VEC declarations): Delete.
(bfin_dump_loops): Print out new member bad.
(bfin_bb_in_loop): Use plain bitmap test.  Don't recurse.
(bfin_scan_loop): Don't recurse.
(bfin_optimize_loop): Don't use a loop depth of -1 to indicate bad
loops.  No longer need to update outer loops if the current one is
found bad.  Move some validitiy checks to bfin_discover_loop.
(bfin_discover_loop): New function, mostly split from bfin_reorg_loops,
but changed not to check for nesting.  Also changed to use the new bad
flag.
(bfin_reorg_loops): Use bfin_discover_loop to find single loops one at a
time.  Use bitmap based test to discover loop nesting.

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

18 years ago2006-09-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Sep 2006 13:32:12 +0000 (13:32 +0000)]
2006-09-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/29053
* gfortran.dg/streamio_9.f90: New test.
* gfortran.dg/streamio_10.f90: New test.

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

18 years ago2006-09-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Sep 2006 13:16:15 +0000 (13:16 +0000)]
2006-09-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/29053
* io.h (gfc_unit): Add variable, strm_pos, to track
STREAM I/O file position.
* file_pos.c (st_rewind): Set strm_pos to beginning.
* open.c (new_unit): Initialize strm_pos.
* read.c (read_x): Bump strm_pos.
* inquire.c (inquire_via_unit): Return strm_pos value.
* transfer.c (read_block),(read_block_direct),(write_block)
(write_buf): Seek to strm_pos - 1.  Update strm_pos when done.
(pre_position): Initialize strm_pos.
(data_transfer_init): Set strm_pos if DT_HAS_REC.
(finalize_transfer): Flush file, no need to update strm_pos.

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

18 years ago * cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.
bernds [Fri, 15 Sep 2006 12:41:08 +0000 (12:41 +0000)]
* cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.

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

18 years ago * cfgrtl.c (emit_insn_at_entry): New function.
bernds [Fri, 15 Sep 2006 12:35:43 +0000 (12:35 +0000)]
* cfgrtl.c (emit_insn_at_entry): New function.
* rtl.h (emit_insn_at_entry): Declare it.
* integrate.c (emit_initial_value_sets): Use it.

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

18 years ago * config/bfin/bfin.c (bfin_rtx_costs): Handle UDIV, UMOD.
bernds [Fri, 15 Sep 2006 11:23:09 +0000 (11:23 +0000)]
* config/bfin/bfin.c (bfin_rtx_costs): Handle UDIV, UMOD.

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

18 years ago * params.def (PARAM_MAX_ITERATIONS_COMPUTATION_COST): New.
bernds [Fri, 15 Sep 2006 11:17:18 +0000 (11:17 +0000)]
* params.def (PARAM_MAX_ITERATIONS_COMPUTATION_COST): New.
* loop-doloop.c (doloop_optimize): Use it to limit costs of
expanding the number of iterations.

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

18 years ago PR ada/18817
ebotcazou [Fri, 15 Sep 2006 08:59:02 +0000 (08:59 +0000)]
PR ada/18817
* utils.c (max_size): Perform constant folding of (A ? B : C) - D
into A ? B - D : C - D when calculating the size of a MINUS_EXPR.

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

18 years ago2006-09-14 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 15 Sep 2006 04:50:04 +0000 (04:50 +0000)]
2006-09-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/29002
        * init.c (build_zero_init): If we have an error mark node for
        the array size, return.

2006-09-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/29002
        * g++.dg/init/array22.C: New test.
        * g++.dg/init/array23.C: New test.

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

18 years ago * doc/tm.texi (TARGET_FUNCTION_VALUE): Put @deftypefn all in
kazu [Fri, 15 Sep 2006 02:13:04 +0000 (02:13 +0000)]
* doc/tm.texi (TARGET_FUNCTION_VALUE): Put @deftypefn all in
one line.

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

18 years agoDaily bump.
gccadmin [Fri, 15 Sep 2006 00:17:14 +0000 (00:17 +0000)]
Daily bump.

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

18 years ago2006-09-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 14 Sep 2006 22:28:55 +0000 (22:28 +0000)]
2006-09-14  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/concurrence.h (__mutex::__mutex): Pass address of
mutex to *_MUTEX_INIT_FUNCTION.

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

18 years ago * norun.lst: Adjust for previous change.
ebotcazou [Thu, 14 Sep 2006 21:27:10 +0000 (21:27 +0000)]
* norun.lst: Adjust for previous change.

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

18 years ago PR middle-end/28884.
kazu [Thu, 14 Sep 2006 21:15:12 +0000 (21:15 +0000)]
PR middle-end/28884.
* doc/tm.texi (TARGET_FUNCTION_VALUE): Document.
(FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE): Deprecate.
Replace mentions of FUNCTION_VALUE and FUNCTION_OUTGOING_VALUE
with TARGET_FUNCTION_VALUE.

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

18 years ago PR target/26504
aesok [Thu, 14 Sep 2006 21:11:33 +0000 (21:11 +0000)]
PR target/26504
* config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Define.

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

18 years agolibjava
tromey [Thu, 14 Sep 2006 18:06:04 +0000 (18:06 +0000)]
libjava
PR boehm-gc/29068:
* boehm.cc (_Jv_GCAttachThread): Disable on Solaris.
(_Jv_GCDetachThread): Likewise.
boehm-gc
PR boehm-gc/29068.
* misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on
Solaris.

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

18 years ago * gnat.dg/in_out_parameter.adb: New test.
ebotcazou [Thu, 14 Sep 2006 14:24:22 +0000 (14:24 +0000)]
* gnat.dg/in_out_parameter.adb: New test.

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

18 years agoUpdate list of tests requiring stack checking
charlet [Thu, 14 Sep 2006 10:12:03 +0000 (10:12 +0000)]
Update list of tests requiring stack checking
Add handling of tests using Ada 95 semantics and thus requiring -gnat95 switch

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

18 years ago * posix-threads.cc: Include "posix.h".
schwab [Thu, 14 Sep 2006 09:55:47 +0000 (09:55 +0000)]
* posix-threads.cc: Include "posix.h".

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

18 years ago2006-09-13 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 14 Sep 2006 09:48:15 +0000 (09:48 +0000)]
2006-09-13  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/atomicity.h: Move to...
* include/ext/atomicity.h: ...here.
* include/bits/concurrence.h: Move to...
* include/ext/concurrence.h: ...here.
* include/Makefile.am (ext_headers): Additions.
(bits_headers): Subtractions.
* include/Makefile.in: Regenerate.

* include/ext/bitmap_allocator.h (_Mutex), __threads_enabled,
_Lock, _Auto_Lock): Subsume into...
* include/bits/concurrence.h (__mutex): ..this. Error check
locking and unlocking.
(lock): Uglify to...
(__scoped_lock): Use __mutex.
(__glibcxx_mutex_define_initialized): Remove.
(__glibcxx_mutex_type): Remove.

* include/tr1/boost_shared_ptr.h: Formating tweaks, adjustments.
(_Lock_policy): Move from here...
* include/ext/concurrence.h: ... to here.
(__shared_ptr_default_lock_mode): To __default_lock_policy.
(_S_lockfree): To _S_atomic.
Document.

* libsupc++/guard.cc (static_mutex): Subsume into and fixup for...
* include/ext/concurrence.h (__recursive_mutex): ...this. Error
check locking and unlocking.
* libsupc++/eh_alloc.cc: Use __scoped_lock.

* config/os/aix/atomicity.h: Fixups for include paths, mutex to
__scoped_mutex change, removal of locking defines.
* config/os/irix/atomicity.h: Same.
* config/cpu/cris/atomicity.h: Same.
* config/cpu/m68k/atomicity.h: Same.
* config/cpu/hppa/atomicity.h: Same.
* config/cpu/mips/atomicity.h: Same.
* config/cpu/sparc/atomicity.h: Same.
* config/cpu/i386/atomicity.h: Same.
* config/cpu/i486/atomicity.h: Same.
* config/cpu/sh/atomicity.h: Same.
* config/cpu/generic/atomicity_mutex/atomicity.h: Same.
* include/ext/pool_allocator.h: Same.
* include/ext/bitmap_allocator.h: Same.
* include/ext/rc_string_base.h: Same.
* include/ext/mt_allocator.h: Same.
* include/bits/locale_classes.h: Same.
* include/bits/basic_string.h: Same.
* include/bits/ios_base.h: Same.
* include/tr1/memory: Same.
* src/pool_allocator.cc: Same.
* src/mt_allocator.cc: Same.
* src/locale_init.cc: Same.
* src/ios.cc: Same.
* src/locale.cc: Same.
* src/bitmap_allocator.cc: Same.
* src/ios_init.cc: Same.
* src/debug.cc: Same.

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

18 years ago * posix.cc (_Jv_platform_nanotime): Return nanoseconds, not
geoffk [Thu, 14 Sep 2006 01:17:31 +0000 (01:17 +0000)]
* posix.cc (_Jv_platform_nanotime): Return nanoseconds, not
microseconds; use gettimeofday when available.
* posix-threads.cc (_Jv_CondWait): Improve accuracy and range of
timeout calculation.
* testsuite/libjava.lang/Thread_Sleep_2.java: New.
* testsuite/libjava.lang/Thread_Sleep_2.out: New.
* testsuite/libjava.lang/Thread_Sleep_2.xfail: New.

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

18 years ago * doc/tree-ssa.texi (Jumps): RESULT_DECL can also be an operand
aldyh [Thu, 14 Sep 2006 01:17:15 +0000 (01:17 +0000)]
    * doc/tree-ssa.texi (Jumps): RESULT_DECL can also be an operand
        of a RETURN_EXPR

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

18 years ago2006-09-13 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 14 Sep 2006 00:37:14 +0000 (00:37 +0000)]
2006-09-13  Andrew Pinski  <pinskia@physics.uc.edu>

PR debug/28980
        * dwarf2out.c (loc_descriptor_from_tree_1): Handle
        FUNCTION_DECL.

2006-09-13  Andrew Pinski  <pinskia@physics.uc.edu>

PR debug/28980
        * gcc.c-torture/compile/debugvlafunction-1.c: New test.

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

18 years agoDaily bump.
gccadmin [Thu, 14 Sep 2006 00:17:28 +0000 (00:17 +0000)]
Daily bump.

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

18 years ago PR other/23541
ebotcazou [Wed, 13 Sep 2006 21:23:28 +0000 (21:23 +0000)]
PR other/23541
PR other/26507
Backport from gettext repository:

2003-09-04  Bruno Haible  <bruno@clisp.org>
* dgettext.c: Include <locale.h> after gettextP.h, not before. This
ensures that libintl_dcgettext is correctly declared on Solaris.
(Needed because Solaris <locale.h> includes libintl.h.)
* dngettext.c: Likewise, for the libintl_dcngettext declaration.

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

18 years ago PR ada/29025
ebotcazou [Wed, 13 Sep 2006 18:48:21 +0000 (18:48 +0000)]
PR ada/29025
* trans.c (gnat_gimplify_expr) <ADDR_EXPR>: When taking the address
of a SAVE_EXPR, just make the operand addressable/not-readonly and
let the common gimplifier code make and propagate a temporary copy.
(call_to_gnu): Clarify the use of SAVE_EXPR for not addressable
out/in-out actuals and defer setting the addressable/readonly bits
to the gimplifier.

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

18 years ago PR ada/28591
ebotcazou [Wed, 13 Sep 2006 18:40:26 +0000 (18:40 +0000)]
PR ada/28591
* decl.c (components_to_record): Defer emitting debug info for the
record type associated with the variant until after we are sure to
actually use it.

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

18 years ago PR ada/21952
ebotcazou [Wed, 13 Sep 2006 18:27:24 +0000 (18:27 +0000)]
PR ada/21952
* gigi.h (gnat_internal_attribute_table): Declare.
* misc.c (LANG_HOOKS_ATTRIBUTE_TABLE): Define to above.
* utils.c (gnat_internal_attribute_table): New global variable.
(builtin_function): Always call decl_attributes on the builtin.
(handle_const_attribute): New static function.
(handle_nothrow_attribute): Likewise.

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

18 years ago * basic-block.h (bb_has_eh_pred): Fix comment.
krebbel [Wed, 13 Sep 2006 13:00:57 +0000 (13:00 +0000)]
* basic-block.h (bb_has_eh_pred): Fix comment.

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

18 years ago2006-09-13 Wolfgang Gellerich <gellerich@de.ibm.com>
krebbel [Wed, 13 Sep 2006 12:36:26 +0000 (12:36 +0000)]
2006-09-13  Wolfgang Gellerich  <gellerich@de.ibm.com>

* trans-expr.c (gfc_add_interface_mapping): For characters, dereference
pointer if necessary and then perform the cast.

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

18 years ago2006-09-13 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Wed, 13 Sep 2006 10:59:03 +0000 (10:59 +0000)]
2006-09-13  Andreas Krebbel  <krebbel1@de.ibm.com>

* flow.c (calculate_global_regs_live): Invalidate eh registers
on eh edges. Renamed invalidated_by_call to invalidated_by_eh_edge.
(propagate_block): Handle eh registers as if they were set at basic
block start.
* except.c (dw2_build_landing_pads): Don't emit clobbers for eh
registers.
* global.c (global_conflicts): Make eh registers to conflict with
pseudos live at basic block begin.
* basic_block.h (bb_has_eh_pred): New function.

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

18 years agogcc/
rsandifo [Wed, 13 Sep 2006 06:30:59 +0000 (06:30 +0000)]
gcc/
PR rtl-optimization/28982
* reload.c (find_reloads_address_1): Use RELOAD_OTHER for the
index of a PRE_MODIFY or POST_MODIFY address.
* reload1.c (inc_for_reload): Use find_replacement on the original
base and index registers.

gcc/testsuite/
PR rtl-optimization/28982
* gcc.c-torture/execute/pr28982a.c: New test.
* gcc.c-torture/execute/pr28982b.c: Likewise.

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

18 years ago2006-09-12 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 13 Sep 2006 05:59:30 +0000 (05:59 +0000)]
2006-09-12  H.J. Lu  <hongjiu.lu@intel.com>

* doc/invoke.texi (mpreferred-stack-boundary): Remove exception
for -Os. Update __m128 alignment requirement.

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

18 years ago2006-09-12 Eric Christopher <echristo@apple.com>
echristo [Wed, 13 Sep 2006 01:07:27 +0000 (01:07 +0000)]
2006-09-12  Eric Christopher  <echristo@apple.com>

        * gcc.target/x86_64/abi/asm-support-darwin.s: New.
        * gcc.target/x86_64/abi/abi-x86_64.exp: Use.

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

18 years agolibcpp:
jsm28 [Wed, 13 Sep 2006 01:04:18 +0000 (01:04 +0000)]
libcpp:
PR c/28768
PR preprocessor/14634
* lex.c (lex_string): Pedwarn for unterminated literals.

libgomp:
* configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument
to AC_DEFINE.
* configure: Regenerate.

gcc/testsuite:
* gcc.dg/cpp/include2.c, gcc.dg/cpp/macspace1.c,
gcc.dg/cpp/macspace2.c, gcc.dg/cpp/multiline.c,
gcc.dg/cpp/trad/literals-2.c: Update expected diagnostics.

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

18 years agoDaily bump.
gccadmin [Wed, 13 Sep 2006 00:17:09 +0000 (00:17 +0000)]
Daily bump.

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

18 years ago * cfganal.c (compute_dominance_frontiers_1): Don't be quadratic.
hubicka [Tue, 12 Sep 2006 22:54:38 +0000 (22:54 +0000)]
* cfganal.c (compute_dominance_frontiers_1): Don't be quadratic.

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

18 years ago PR rtl-optimization/28243
ebotcazou [Tue, 12 Sep 2006 21:48:40 +0000 (21:48 +0000)]
PR rtl-optimization/28243
* combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past
the insn to which the note was originally attached.

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

18 years ago * expr.c (push_value): Always flush quick stack.
tromey [Tue, 12 Sep 2006 19:51:08 +0000 (19:51 +0000)]
* expr.c (push_value): Always flush quick stack.

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

18 years ago2006-09-12 Paul Thomas <pault@gcc.gnu.org>
pault [Tue, 12 Sep 2006 19:38:48 +0000 (19:38 +0000)]
2006-09-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28971
gfortran.dg/pr28971.f90: New test to act as a backstop in case
this undiagnosed regression reappears.

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

18 years ago * dwarf2out.c (file_table_last_lookup): Move this GC'd declaration
sayle [Tue, 12 Sep 2006 19:31:09 +0000 (19:31 +0000)]
* dwarf2out.c (file_table_last_lookup): Move this GC'd declaration
outside of #ifdef DWARF2_DEBUGGING_INFO to fix bootstrap failure
on platforms that don't use dwarf for debug info.

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

18 years agogcc/java
tromey [Tue, 12 Sep 2006 19:00:48 +0000 (19:00 +0000)]
gcc/java
PR java/29013:
* jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Always note
the push of the called method's return result.
libjava
PR java/29013:
* testsuite/libjava.lang/PR29013.out: Likewise.
* testsuite/libjava.lang/PR29013.java: New file.

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

18 years ago * jvspec.c (lang_specific_driver): Read spec file even if
tromey [Tue, 12 Sep 2006 18:54:36 +0000 (18:54 +0000)]
* jvspec.c (lang_specific_driver): Read spec file even if
-fsyntax-only.

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

18 years ago PR middle-end/28493
jason [Tue, 12 Sep 2006 18:02:36 +0000 (18:02 +0000)]
    PR middle-end/28493
        * builtins.c (expand_builtin_setjmp_receiver): Clobber
        hard_frame_pointer_rtx after using it to update the frame pointer.

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

18 years ago2006-09-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 12 Sep 2006 17:48:45 +0000 (17:48 +0000)]
2006-09-12  Benjamin Kosnik  <bkoz@redhat.com>

* libsupc++/eh_globals.cc: Remove __gnu_internal.
* config/io/basic_file_stdio.cc: Same.
* config/abi/compatibility.h: Same.
* config/cpu/generic/atomicity_mutex/atomicity.h: Same.
* config/cpu/sh/atomicity.h: Same.

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

18 years ago * target-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef.
sayle [Tue, 12 Sep 2006 17:29:05 +0000 (17:29 +0000)]
* target-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef.
(TARGET_ASM_CLOSE_PAREN): Likewise.
* config/alpha/osf5.h (TARGET_ASM_OPEN_PAREN): Define.
(TARGET_ASM_CLOSE_PAREN): Likewise.

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

18 years ago PR target/22223
sayle [Tue, 12 Sep 2006 17:13:55 +0000 (17:13 +0000)]
PR target/22223
* config/alpha/alpha.c (alpha_start_function): Don't emit stack
frame information for frames larger than 512 Kbytes on Tru64 when
using the native assembler.

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

18 years ago * lib/c-torture.exp (c-torture-compile, c-torture-execute):
kazu [Tue, 12 Sep 2006 17:12:49 +0000 (17:12 +0000)]
* lib/c-torture.exp (c-torture-compile, c-torture-execute):
Treat $srcdir as a literal.
* lib/fortran-torture.exp (fortran-torture-compile,
fortran-torture-execute): Likewise.
* lib/objc-torture.exp (objc-torture-compile,
objc-torture-execute): Likewise.
* lib/profopt.exp (profopt-execute): Likewise.

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

18 years ago PR libffi/23935
daney [Tue, 12 Sep 2006 16:51:43 +0000 (16:51 +0000)]
PR libffi/23935
* include/Makefile.am: Install both ffi.h and ffitarget.h in
$(libdir)/gcc/$(target_alias)/$(gcc_version)/include.
* aclocal.m4: Regenerated for automake 1.9.6.
* Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.

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

18 years ago * testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.
tromey [Tue, 12 Sep 2006 16:28:43 +0000 (16:28 +0000)]
* testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.

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

18 years ago PR middle-end/4520
sayle [Tue, 12 Sep 2006 16:02:31 +0000 (16:02 +0000)]
PR middle-end/4520
PR bootstrap/28784
* cselib.c (cselib_hash_rtx): Avoid hashing on the address of labels
and symbols.  Instead use the implementation from cse.c's hash_rtx.

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

18 years ago PR java/28754:
tromey [Tue, 12 Sep 2006 15:55:07 +0000 (15:55 +0000)]
PR java/28754:
* expr.c (expand_java_field_op): Initialize field's declaring
interface if necessary.

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

18 years ago PR java/28892:
tromey [Tue, 12 Sep 2006 15:47:26 +0000 (15:47 +0000)]
PR java/28892:
* expr.c (expand_java_field_op): No error for assignments not in
class initializer or constructor.

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

18 years ago PR rtl-optimization/28071
hubicka [Tue, 12 Sep 2006 10:11:04 +0000 (10:11 +0000)]
PR rtl-optimization/28071
* tree-vect-transform.c (vect_create_data_ref_ptr): Kill cast.
(vect_transform_loop): Likewise.
* tree-vectorizer.c (new_loop_vec_info): Likewise.
(new_loop_vec_info): Likewise.
(destroy_loop_vec_info): Likewise.
* tree-dfa.c (create_var_ann): Use GCC_CNEW.
(create_stmt_ann): Likewise.
(create_tree_ann): Rename to ...
(create_tree_common_ann): ... this one; allocate only the common part
of annotations.
* tree-vn.c (set_value_handle): Use get_tree_common_ann.
(get_value_handle): Likewise.
* tree-ssa-pre.c (phi_translate): Delay annotation allocation for
get_tree_common_ann.
* tree-vectorizer.h (set_stmt_info): Take stmt annotation.
(vinfo_for_stmt): Use stmt annotations.
* tree-flow.h (tree_ann_common_t): New type.
(tree_common_ann, get_tree_common_ann, create_tree_common_ann): New.
(tree_ann, get_tree_ann, create_tree_ann): New.
* tree-flow-inline.h (get_function_ann): Do more type checking.
(stmt_ann): Likewise.
(tree_ann): Rename to ...
(tree_common_ann): ... this one; return ony common_ann
(get_tree_ann): Rename to ...
(tree_common_ann): This one; return only common_ann.
* tree-vect-patterns.c (vect_pattern_recog_1): Update call
of set_stmt_info.

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

18 years agoFix some whitespace issues in the changelog.
pinskia [Tue, 12 Sep 2006 07:51:16 +0000 (07:51 +0000)]
Fix some whitespace issues in the changelog.

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

18 years agoFix some whitespace issues in the changelog.
pinskia [Tue, 12 Sep 2006 07:49:23 +0000 (07:49 +0000)]
Fix some whitespace issues in the changelog.

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

18 years agoFix some whitespace issues in the changelog.
pinskia [Tue, 12 Sep 2006 07:48:26 +0000 (07:48 +0000)]
Fix some whitespace issues in the changelog.

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

18 years agoFix some whitespace issues in the changelog.
pinskia [Tue, 12 Sep 2006 07:46:08 +0000 (07:46 +0000)]
Fix some whitespace issues in the changelog.

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

18 years agoFix some whitespace issues in the changelog.
pinskia [Tue, 12 Sep 2006 07:44:52 +0000 (07:44 +0000)]
Fix some whitespace issues in the changelog.

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

18 years agoFix some whitespace issues in the changelog.
pinskia [Tue, 12 Sep 2006 07:44:18 +0000 (07:44 +0000)]
Fix some whitespace issues in the changelog.

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

18 years agoFix some whitespace issues in the changeLog.
pinskia [Tue, 12 Sep 2006 07:43:23 +0000 (07:43 +0000)]
Fix some whitespace issues in the changeLog.

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

18 years agoFix some white space issues in the changelog.
pinskia [Tue, 12 Sep 2006 07:42:10 +0000 (07:42 +0000)]
Fix some white space issues in the changelog.

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

18 years agoFix white space issues in the ChangeLog.
pinskia [Tue, 12 Sep 2006 07:39:10 +0000 (07:39 +0000)]
Fix white space issues in the ChangeLog.

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

18 years ago * config.gcc (i[34567]86-*-darwin*): Set with_arch and
geoffk [Tue, 12 Sep 2006 06:09:05 +0000 (06:09 +0000)]
* config.gcc (i[34567]86-*-darwin*): Set with_arch and
with_cpu by default.

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

18 years ago * dwarf2out.c (dwarf_file_data): New.
geoffk [Tue, 12 Sep 2006 05:54:00 +0000 (05:54 +0000)]
* dwarf2out.c (dwarf_file_data): New.
(enum dw_val_class): Add dw_val_class_file.
(struct dw_val_struct): Add val_file.
(file_table): Change to a hash table.
(file_table_emitted): Delete.
(file_table_last_lookup_index): Delete.
(emitcount): Delete.
(last_emitted_file): New.
(lookup_filename): Change prototype to return a struct dwarf_file_data.
(init_file_table): Delete.
(maybe_emit_file): Change prototype to take a struct dwarf_file_data.
(AT_addr): Add comment.
(add_AT_file): New.
(AT_file): New.
(get_AT_file): New.
(print_die): Handle dw_val_class_file.
(print_dwarf_line_table): Update for new file table structure.
(attr_checksum): Do checksum a filename.
(same_dw_val_p, same_attr_p): Do compare a filename.
(size_of_die): Handle dw_val_class_file.
(value_format): Likewise.
(output_die): Likewise.  Also, call maybe_emit_file here.
(struct file_info): Constify filenames.  Make file_idx a pointer
to a struct dwarf_file_data.
(struct dir_info): Constify directory names.  Remove 'used' field.
(struct file_name_acquire_data): New.
(file_name_acquire): New.
(output_file_names): Modify to handle new file data structures.
(add_src_coords_attributes): Use add_AT_file.
(add_call_src_coords_attributes): Likewise.
(dwarf2out_imported_module_or_decl): Likewise.
(gen_subprogram_die): Modify for new file data structures.
(gen_variable_die): Likewise.
(file_table_eq): New.
(file_table_hash): New.
(file_table_last_lookup): New.
(lookup_filename): Rewrite to handle new file data structures.
(maybe_emit_file): Rewrite to handle new file data structures.
(dwarf2out_source_line): Always call lookup_filename and
maybe_emit_file.
(dwarf2out_init): Create file_table here.
(prune_unused_types_walk_attribs): Don't call maybe_emit_file here.
(file_table_relative_p): New.
(dwarf2out_finish): Change detection of relative filenames
to work with new file data structures.  Move output_line_info call
after debug_info output.

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

18 years ago2006-09-11 Jack Howarth <howarth@bromo.med.uc.edu>
janis [Tue, 12 Sep 2006 00:34:18 +0000 (00:34 +0000)]
2006-09-11  Jack Howarth  <howarth@bromo.med.uc.edu>

        PR testsuite/28950
        * gcc.target/powerpc/ppc-and-1.c: Fix regex.

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

18 years agoDaily bump.
gccadmin [Tue, 12 Sep 2006 00:17:24 +0000 (00:17 +0000)]
Daily bump.

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

18 years ago2006-09-11 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Mon, 11 Sep 2006 22:29:39 +0000 (22:29 +0000)]
2006-09-11  Steven G. Kargl  <kargl@gcc.gnu.org>

* intrinsic.c: Update Copyright date.
* intrinsic.h: Ditto.

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

18 years agogcc/
hjl [Mon, 11 Sep 2006 21:34:06 +0000 (21:34 +0000)]
gcc/

2006-09-11  H.J. Lu  <hongjiu.lu@intel.com>

PR target/13685
PR target/27537
PR target/28621
* config/i386/i386.c (override_options): Always default to 16
byte stack boundary.

gcc/testsuite/

2006-09-11  H.J. Lu  <hongjiu.lu@intel.com>

PR target/13685
* gcc.target/i386/pr13685.c: New test.

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

18 years ago2006-09-11 Alexandre Oliva <aoliva@redhat.com>
hjl [Mon, 11 Sep 2006 21:30:07 +0000 (21:30 +0000)]
2006-09-11  Alexandre Oliva  <aoliva@redhat.com>

PR target/28672
* var-tracking.c (dump_dataflow_set): Start dumping at
register zero.
(clobber_variable_part): Kill only the variable part in
registers holding it, leaving other variables alone.

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

18 years ago2006-09-11 Josh Triplett <josh@freedesktop.org>
geoffk [Mon, 11 Sep 2006 21:25:45 +0000 (21:25 +0000)]
2006-09-11  Josh Triplett  <josh@freedesktop.org>

* doc/extend.texi (Other Builtins): Actually use the macro
argument in the documentation example for
__builtin_types_compatible_p.

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

18 years ago PR rtl-optimization/28726
ebotcazou [Mon, 11 Sep 2006 19:28:11 +0000 (19:28 +0000)]
PR rtl-optimization/28726
* sched-deps.c (sched_analyze_reg): New function extracted from...
(sched_analyze_1): ...here.  Call it to analyze references to
registers.  Treat again writes to a stack register as writing to the
register.
(sched_analyze_2): ...and here.  Call it to analyze references to
registers.  Treat again reads of a stack register as reading the
register.

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

18 years ago* gcc.dg/nrv3.c: Increase size of structure.
jconner [Mon, 11 Sep 2006 18:54:29 +0000 (18:54 +0000)]
* gcc.dg/nrv3.c: Increase size of structure.
* gcc.dg/nrv4.c: Likewise.
* gcc.dg/nrv5.c: Likewise.

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

18 years ago PR classpath/28580
daney [Mon, 11 Sep 2006 18:15:27 +0000 (18:15 +0000)]
   PR classpath/28580
       * gnu/java/net/protocol/http/Request.java (readResponse):  Call
       createResponseBodyStream in more cases and with new parameter.
       (createResponseBodyStream):  Added new parameter mayHaveBody. Handle
       HEAD and !mayHaveBody responses specially.

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

18 years ago2006-09-11 Guenter Roeck <guenter@roeck-us.net>
dje [Mon, 11 Sep 2006 17:05:15 +0000 (17:05 +0000)]
2006-09-11  Guenter Roeck  <guenter@roeck-us.net>
            David Edelsohn  <edelsohn@gnu.org>

        PR target/27287
        * config/rs6000/spe.md (frob_df_di): Remove %H.
        (frob_di_df): Remove %H.  Change evmergelo to mr.
        (frob_di_df_2): Remove %H.  Change evldd to two loads.

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

18 years agogcc/
rsandifo [Mon, 11 Sep 2006 08:33:49 +0000 (08:33 +0000)]
gcc/
2006-09-11  Hideki Iwamoto  <h-iwamoto@kit.hi-ho.ne.jp>

* doc/cpp.texi: Fix names of charset options.

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

18 years ago2006-09-11 Paul Thomas <pault@gcc.gnu.org>
pault [Mon, 11 Sep 2006 05:02:58 +0000 (05:02 +0000)]
2006-09-11  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28890
trans-expr.c (gfc_conv_function_call): Obtain the string length
of a dummy character(*) function from the symbol if it is not
already translated.  For a call to a character(*) function, use
the passed, hidden string length argument, which is available
from the backend_decl of the formal argument.
resolve.c (resolve_function): It is an error if a function call
to a character(*) function is other than a dummy procedure or
an intrinsic.

2006-09-11  Paul Thomas  <pault@gcc.gnu.org>

PR libfortran/28890
gfortran.dg/assumed_charlen_function_5.f90: New test.

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

18 years ago PR c++/28991
mmitchel [Mon, 11 Sep 2006 00:40:15 +0000 (00:40 +0000)]
PR c++/28991
* cp-objcp-common.c (cxx_staticp): New function.
* cp-objcp-common.h (LANG_HOOOKS_STATICP): Use it.
* cp-tree.h (cxx_staticp): New function.
PR c++/289991
* g++.dg/init/static3.C: New test.

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

18 years agoDaily bump.
gccadmin [Mon, 11 Sep 2006 00:17:28 +0000 (00:17 +0000)]
Daily bump.

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

18 years ago2006-09-10 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 10 Sep 2006 23:15:31 +0000 (23:15 +0000)]
2006-09-10  Andrew Pinski  <pinskia@physics.uc.edu>

        PR testsuite/29007
        * gcc.dg/long-long-cst1.c (t): Add cast to
        __SIZE_TYPE__ before casting to int.
        (main): Return 0 on success.

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

18 years ago2006-09-10 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 10 Sep 2006 23:05:00 +0000 (23:05 +0000)]
2006-09-10  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/29009
        * config/i386/i386.c (override_options): Use 128-bit
        stack boundary always for 64bits.

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

18 years ago PR rtl-optimization/28636
ebotcazou [Sun, 10 Sep 2006 21:27:36 +0000 (21:27 +0000)]
PR rtl-optimization/28636
* combine.c (force_to_mode): Test for side-effects before
substituting by zero.
(simplify_shift_const): Likewise for zero or other constants.

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

18 years agoPR middle-end/26983
steven [Sun, 10 Sep 2006 20:08:58 +0000 (20:08 +0000)]
PR middle-end/26983

gcc/
* builtins.c (expand_builtin_setjmp): Force next_lab to be
preserved.

testsuite/
* gcc.dg/pr26983.c: New test.

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

18 years agogcc/
rsandifo [Sun, 10 Sep 2006 19:28:48 +0000 (19:28 +0000)]
gcc/
PR target/29006
* config/mips/mips-protos.h (mips_mem_fits_mode_p): Declare.
* config/mips/mips.c (mips_expand_unaligned_store): Use the mode
returned by mode_for_size, rather than the mode of src itself,
to choose between 32-bit and 64-bit patterns.
(mips_mem_fits_mode_p): New function.
* config/mips/mips.md (mov_<load>l, mov_<load>r): Use it to check
that the size of the source matches the size of the destination.
(mov_<store>l, mov_<store>r): Likewise.

gcc/testsuite/
PR target/29006
* gcc.c-torture/execute/pr29006.c: New test.

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

18 years ago2006-09-10 Eric Christopher <echristo@apple.com>
echristo [Sun, 10 Sep 2006 19:28:17 +0000 (19:28 +0000)]
2006-09-10  Eric Christopher  <echristo@apple.com>

        * config/darwin.c (machopic_select_rtx_section): Add CONST_VECTOR
        for literal16.

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

18 years agoAdd missing ChangeLog entry.
hjl [Sun, 10 Sep 2006 17:33:17 +0000 (17:33 +0000)]
Add missing ChangeLog entry.

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

18 years ago2006-09-10 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 10 Sep 2006 17:21:44 +0000 (17:21 +0000)]
2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR libfortran/28947
* m4/matmul.m4: For the case where the second input argument is
transposed, ensure that the case with rank (a) == 1 is
correctly calculated.
* generated/matmul_r4.c: Regenerate.
* generated/matmul_r8.c: Regenerate.
* generated/matmul_r10.c: Regenerate.
* generated/matmul_r16.c: Regenerate.
* generated/matmul_c4.c: Regenerate.
* generated/matmul_c8.c: Regenerate.
* generated/matmul_c10.c: Regenerate.
* generated/matmul_c16.c: Regenerate.
* generated/matmul_i4.c: Regenerate.
* generated/matmul_i8.c: Regenerate.
* generated/matmul_i16.c: Regenerate.

2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR libfortran/28947
gfortran.dg/matmul_4.f90: New test.

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

18 years ago2006-09-10 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 10 Sep 2006 17:17:57 +0000 (17:17 +0000)]
2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28959
trans-types.c (gfc_get_derived_type): Use the parent namespace of
the procedure if the type's own namespace does not have a parent.

2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28959
gfortran.dg/used_types_10: New test.

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

18 years ago2006-09-10 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 10 Sep 2006 17:13:29 +0000 (17:13 +0000)]
2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28923
expr.c (find_array_section): Only use the array lower and upper
bounds for the start and end of the sections, where the expr is
NULL.

2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR libfortran/28923
gfortran.dg/array_initializer_2.f90: Fill in missing index start value.
gfortran.dg/array_initializer_3.f90: New test.

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

18 years ago * MAINTAINERS: Add self as soft-fp maintainer.
jsm28 [Sun, 10 Sep 2006 10:51:11 +0000 (10:51 +0000)]
* MAINTAINERS: Add self as soft-fp maintainer.

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

18 years ago2006-09-10 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 10 Sep 2006 09:23:59 +0000 (09:23 +0000)]
2006-09-10  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_heap.h (sort_heap): Iterator post-decrement is
only required to be convertible to the iterator type.

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

18 years ago2006-09-09 Eric Christopher <echristo@apple.com>
echristo [Sun, 10 Sep 2006 07:09:38 +0000 (07:09 +0000)]
2006-09-09  Eric Christopher  <echristo@apple.com>

        PR target/28995
        * config/darwin.c (machopic_select_rtx_section): Add TARGET_64BIT
        for literal16.

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

18 years ago2006-09-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 10 Sep 2006 04:58:29 +0000 (04:58 +0000)]
2006-09-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/28914
* gfortran.dg/actual_array_constructor_3.f90: New test.

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

18 years ago2006-09-09 Paul Thomas <pault@gcc.gnu.org>
jvdelisle [Sun, 10 Sep 2006 04:53:18 +0000 (04:53 +0000)]
2006-09-09  Paul Thomas <pault@gcc.gnu.org>

PR fortran/28914
* trans-array.c (gfc_trans_array_constructor_value): Create a temporary
loop variable to hold the current loop variable in case it is modified
by the array constructor.

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

18 years ago * dwarf2out.c (convert_cfa_to_fb_loc_list): Handle DW_CFA_set_loc.
sayle [Sun, 10 Sep 2006 00:28:05 +0000 (00:28 +0000)]
* dwarf2out.c (convert_cfa_to_fb_loc_list): Handle DW_CFA_set_loc.

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

18 years agoDaily bump.
gccadmin [Sun, 10 Sep 2006 00:17:35 +0000 (00:17 +0000)]
Daily bump.

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

18 years ago * config/m68k/m68k.md (bungt_rev): New pattern.
schwab [Sat, 9 Sep 2006 22:59:53 +0000 (22:59 +0000)]
* config/m68k/m68k.md (bungt_rev): New pattern.

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