OSDN Git Service
reichelt [Thu, 11 May 2006 14:58:54 +0000 (14:58 +0000)]
PR middle-end/27488
* fold-const.c (tree_expr_nonnegative_p): Return early on invalid
expression.
* gcc.dg/fold-nonneg-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113699
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Thu, 11 May 2006 14:41:03 +0000 (14:41 +0000)]
PR c++/27547
* decl.c (copy_fn_p): Return early on non-member functions.
* g++.dg/other/operator1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113696
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Thu, 11 May 2006 09:57:53 +0000 (09:57 +0000)]
2006-05-11 Andrew Haley <aph@redhat.com>
* gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113693
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 11 May 2006 08:29:40 +0000 (08:29 +0000)]
2006-05-11 Richard Guenther <rguenther@suse.de>
PR middle-end/27529
* fold-const.c (fold_unary): Handle intermediate conversion
to a pointer type like intermediate conversion to an integer
type in folding of (T1)(T2)var to var.
Match the code to the comment in the final conversion for
(T1)(T2)var to (T1)var regarding to type precision. Rather
than disallow T1 being of pointer type, assert that both T1
and var are of pointer type or not. Make sure not to fall
over the frontends lazyness wrt array to pointer decay though.
* gcc.dg/tree-ssa/foldcast-1.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113692
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 11 May 2006 00:17:24 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113690
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Wed, 10 May 2006 22:13:39 +0000 (22:13 +0000)]
* lib/target-supports-dg.exp (check-flags): New.
(dg-skip-if): Move flag checks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113686
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Wed, 10 May 2006 21:58:34 +0000 (21:58 +0000)]
* testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit):
Move to gcc subdir.
* testsuite/lib/dg-options.exp (dg-require-iconv): Remove.
(dg-require-cxa-atexit): Move to gcc subdir.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113685
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Wed, 10 May 2006 21:55:34 +0000 (21:55 +0000)]
* lib/target-supports-dg.exp (dg-require-cxa-atexit): New.
* lib/target-supports.dg (check_cxa_atexit_available): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113684
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Wed, 10 May 2006 21:54:06 +0000 (21:54 +0000)]
r113709@merlin: rearnsha | 2006-05-10 22:53:26 +0100
* arm.c (arm_struct_value_rtx): Delete.
(TARGET_STRUCT_VALUE_RTX): Use the default definition.
(arm_init_cumulative_args): Always initialize nregs to zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113683
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 10 May 2006 19:41:46 +0000 (19:41 +0000)]
2006-05-10 Richard Guenther <rguenther@suse.de>
PR tree-optimization/27532
* tree-object-size.c (plus_expr_object_size): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113682
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 10 May 2006 18:37:54 +0000 (18:37 +0000)]
2006-05-10 Paolo Carlini <pcarlini@suse.de>
Peter Doerfler <gcc@pdoerfler.com>
* include/tr1/hashtable (hashtable_iterator<>::hashtable_iterator(),
hashtable_const_iterator<>::hashtable_const_iterator(),
node_iterator<>::node_iterator(),
node_const_iterator<>::node_const_iterator()): Add.
(node_iterator<>::node_iterator(hash_node<>*),
node_const_iterator<>::node_const_iterator(hash_node<>*)): Tweak,
remove default.
* testsuite/tr1/6_containers/unordered/hashtable/
iterators_default_constructor.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113681
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Wed, 10 May 2006 18:26:51 +0000 (18:26 +0000)]
2005-05-10 Thomas Koenig <Thomas.Koenig@online.de>
PR fortran/27470
* trans-array.c(gfc_array_allocate): If ref->next exists
that is if there is a statement like ALLOCATE(foo%bar(2)),
F95 rules require that bar should be a pointer.
2005-05-10 Thomas Koenig <Thomas.Koenig@online.de>
PR fortran/27470
* gfortran.dg/multiple_allocation_2.f90: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113680
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 10 May 2006 17:50:34 +0000 (17:50 +0000)]
* gcc.target/arm/pr27387.C: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113678
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 10 May 2006 17:50:09 +0000 (17:50 +0000)]
2006-05-10 Andrew Haley <aph@redhat.com>
* java/lang/natClassLoader.cc: Add comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113677
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 10 May 2006 17:49:23 +0000 (17:49 +0000)]
2006-05-10 Andrew Haley <aph@redhat.com>
* class.c (emit_indirect_register_classes): Fix comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113676
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 10 May 2006 17:35:24 +0000 (17:35 +0000)]
PR target/24949
* config/m68k/m68k.md (ashrdi_const32, ashrdi_const32_mem,
ashrdi_const, ashrdi3): Use a scratch register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113675
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 10 May 2006 17:17:20 +0000 (17:17 +0000)]
2006-05-09 Andrew Haley <aph@redhat.com>
* prims.cc (_Jv_soleIndirectCompiledEngine): New.
* include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
Remove body.
(_Jv_CompiledEngine::allocate_field_initializers): New.
(_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
allocate_field_initializers.
(class _Jv_IndirectCompiledClass): New.
(struct _Jv_IndirectCompiledEngine): New.
* java/lang/Class.h: (IndirectCompiledEngine): New.
* java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
engine to _Jv_soleIndirectCompiledEngine
* link.cc (ensure_fields_laid_out): Call
engine->allocate_field_initializers().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113674
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 10 May 2006 15:43:20 +0000 (15:43 +0000)]
2006-05-10 Marc Glisse <marc.glisse@normalesup.org>
* include/ext/pool_allocator.h: Add missing std:: qualifications.
* include/ext/mt_allocator.h: Likewise.
* include/ext/pb_assoc/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Likewise.
* include/ext/pb_assoc/detail/resize_policy/
hash_standard_resize_policy_imp.hpp: Likewise.
* include/ext/pb_assoc/detail/lu_policy/
counter_lu_metadata_imp.hpp: Likewise.
* include/ext/pb_assoc/detail/map_debug_base.hpp: Likewise.
* libsupc++/eh_alloc.cc: Typo: memcpy -> memset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113673
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Wed, 10 May 2006 14:58:48 +0000 (14:58 +0000)]
PR fortran/20460
* resolve.c (gfc_resolve_index): Make REAL array indices a
GFC_STD_LEGACY feature.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113672
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Wed, 10 May 2006 14:51:26 +0000 (14:51 +0000)]
PR fortran/24549
* parse.c (reject_statement): Clear gfc_new_block.
* gfortran.dg/error_recovery_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113671
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 10 May 2006 10:22:39 +0000 (10:22 +0000)]
2006-05-10 Richard Guenther <rguenther@suse.de>
PR tree-optimization/27302
* fold-const.c (operand_equal_p): For two comparisons,
try comparison of one comparison code swapped if that yields
the same code.
* gcc.dg/torture/pr27302.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113670
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Wed, 10 May 2006 01:18:28 +0000 (01:18 +0000)]
* tree-pretty-print.c (pretty_print_string): No need to handle
'\0' as a special character.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113669
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Wed, 10 May 2006 01:10:11 +0000 (01:10 +0000)]
* tree.h: Include "hashtab.h".
(iterative_hash_expr): Use hashval_t in its prototype.
* Makefile.in (TREE_H): Add $(HASHTAB_H).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113668
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 10 May 2006 00:17:34 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113666
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Tue, 9 May 2006 20:00:55 +0000 (20:00 +0000)]
PR bootstrap/26872
* config.gcc (hppa[12]*-*-hpux10*): Set gas to yes.
(hppa*64*-*-hpux11*): Ditto.
(hppa[12]*-*-hpux11*): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113661
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 9 May 2006 17:09:06 +0000 (17:09 +0000)]
PR target/26545
* config/rs6000/aix41.h (TARGET_64BIT): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113659
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Tue, 9 May 2006 16:25:21 +0000 (16:25 +0000)]
Commit chnages missed in the previous commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113658
138bc75d-0d04-0410-961f-
82ee72b054a4
matz [Tue, 9 May 2006 15:40:12 +0000 (15:40 +0000)]
* config.host (<i[34567]86-*-*, x86_64-*-*>): Set
host_extra_gcc_objs and host_xmake_file.
(<*-*-linux*>): Don't overwrite host_xmake_file.
* gcc.c (static_spec_functions): Add EXTRA_SPEC_FUNCTIONS.
* config/i386/i386.h (EXTRA_SPEC_FUNCTIONS): Define.
(host_detect_local_cpu): Declare.
(CC1_CPU_SPEC): Add -march=native and -mtune=native cases.
* config/i386/i386.c (override_options): Handle -mtune=native
as -mtune=generic.
* config/i386/x-i386: New file.
* config/i386/driver-i386.c: New file.
* doc/invoke.texi (<i386 and x86-64 Options>): Describe
cpu-type "native".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113655
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 9 May 2006 14:16:50 +0000 (14:16 +0000)]
2006-05-09 Dirk Mueller <dmueller@suse.de>
Richard Guenther <rguenther@suse.de>
PR middle-end/27498
* fold-const.c (fold_read_from_constant_string): Relax check
for matching types to matching modes.
* gcc.dg/tree-ssa/pr27498.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113651
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Tue, 9 May 2006 09:10:15 +0000 (09:10 +0000)]
PR rtl-optimization/27335
* loop-unroll.c (peel_loops_completely): Use loops->parray to walk the
loops.
* gcc.dg/pr27335.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113648
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 9 May 2006 07:42:38 +0000 (07:42 +0000)]
2006-05-06 Chao-ying Fu <fu@mips.com>
Richard Sandiford <richard@codesourcery.com>
gcc/
* config/mips/mips-ps-3d.md (scc_ps, s<code>_ps): New patterns.
(vcondv2sf, sminv2sf3, smaxv2sf3): Likewise.
* config/mips/mips.md (UNSPEC_SCC): New constant.
* config/mips/mips-protos.h (mips_expand_vcondv2sf): Declare.
* config/mips/mips.c (mips_reverse_fp_cond_p): New function.
(mips_emit_compare): Use it.
(mips_expand_vcondv2sf): New function.
gcc/testsuite/
* gcc.target/mips/mips-ps-5.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113644
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Tue, 9 May 2006 05:25:08 +0000 (05:25 +0000)]
Remove conflict marker around 2006-05-07.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113643
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Tue, 9 May 2006 01:28:47 +0000 (01:28 +0000)]
2006-05-08 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/27093
* tree-ssa-alias.c (recalculate_used_alone): Mark variables for
renaming when they become not-used_alone.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113641
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Tue, 9 May 2006 00:36:11 +0000 (00:36 +0000)]
* hpux-unwind.h (pa_fallback_frame_state): Handle return parameter
relocation and relocation stubs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113640
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 9 May 2006 00:17:02 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113638
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Mon, 8 May 2006 22:16:31 +0000 (22:16 +0000)]
2006-05-08 Eric Christopher <echristo@apple.com>
* unwind-dw2-fde-darwin.c (examine_objects): Only check data
section for ppc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113634
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 8 May 2006 21:42:17 +0000 (21:42 +0000)]
PR middle-end/25962
* cgraphunit.c (decide_is_function_needed): When not optimizing even
unused static functions are needed.
* gcc.dg/pr25962.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113633
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Mon, 8 May 2006 21:09:49 +0000 (21:09 +0000)]
PR target/27158
* reload.c (find_reloads_toplev): Only return the simplified SUBREG
of a reg_equiv_constant if the result is a legitimate constant.
* gcc.target/powerpc/pr27158.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113632
138bc75d-0d04-0410-961f-
82ee72b054a4
guerby [Mon, 8 May 2006 16:50:40 +0000 (16:50 +0000)]
2006-05-08 Laurent GUERBY <laurent@guerby.net>
PR testsuite/27476
* ada/acats/run_all.sh: Use test -z.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113630
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Mon, 8 May 2006 09:59:09 +0000 (09:59 +0000)]
PR libfortran/18271
* gfortran.dg/spec_expr_3.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113627
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 8 May 2006 06:10:03 +0000 (06:10 +0000)]
PR target/27277
* config/i386/i386.c (ix86_rtx_costs) [FLOAT_EXTEND]: For
standard 80387 constants, raise the cost to prevent
compress_float_constant() to generate load from memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113622
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 8 May 2006 05:17:54 +0000 (05:17 +0000)]
* see.c, tree-flow-inline.h, tree-phinodes.c: Fix comment
typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113621
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 8 May 2006 05:10:07 +0000 (05:10 +0000)]
* config/arm/constraints.md (c): Fix a typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113620
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 8 May 2006 05:03:35 +0000 (05:03 +0000)]
Remove the svn:mime-type property.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113619
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 8 May 2006 03:43:07 +0000 (03:43 +0000)]
gcc/
2006-05-07 H.J. Lu <hongjiu.lu@intel.com>
PR target/24879
* config/i386/pmmintrin.h (_mm_monitor): Remove macro. Use
inline function.
(_mm_mwait): Likewise.
* config/i386/sse.md (sse3_mwait): Replace "mwait\t%0, %1" with
"mwait".
(sse3_monitor): Make it 32bit only.
(sse3_monitor64): New. 64bit monitor.
gcc/testsuite/
2006-05-07 H.J. Lu <hongjiu.lu@intel.com>
PR target/24879
* gcc.target/i386/monitor.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113617
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Mon, 8 May 2006 00:39:10 +0000 (00:39 +0000)]
* gcc.dg/pr27095.c: xfail *-*-darwin*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113616
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Mon, 8 May 2006 00:26:08 +0000 (00:26 +0000)]
PR c++/27447
* decl2.c (build_memfn_type): Skip invalid functions and class types.
* g++.dg/other/ptrmem7.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113615
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 8 May 2006 00:17:25 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113613
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Sun, 7 May 2006 21:15:33 +0000 (21:15 +0000)]
PR target/27421
* config/i386/i386.c (classify_argument): Skip fields with invalid
types.
* gcc.dg/array-9.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113609
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Sun, 7 May 2006 21:03:55 +0000 (21:03 +0000)]
2006-05-07 Richard Guenther <rguenther@suse.de>
PR tree-optimization/27409
* tree-ssa-structalias.c (get_constraint_for_component_ref):
Do not try to find zero-sized subvars.
* gcc.dg/torture/pr27409.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113607
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 7 May 2006 16:52:41 +0000 (16:52 +0000)]
2006-05-07 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits (integral_constant<>::value): Define.
* testsuite/tr1/4_metaprogramming/helper_classes/static_definition.cc:
New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113605
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Sun, 7 May 2006 16:36:41 +0000 (16:36 +0000)]
* ChangeLog: haste made me write my name, but I'm only the
commiter of revision 113603.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113604
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Sun, 7 May 2006 16:33:30 +0000 (16:33 +0000)]
PR fortran/27378
* parse.c (next_statement): Add check to avoid an ICE when
gfc_current_locus.lb is not set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113603
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Sun, 7 May 2006 13:46:02 +0000 (13:46 +0000)]
fortran/
PR fortran/27457
* match.c (match_case_eos): Error out on garbage following
CASE(...).
testsuite/
PR fortran/27457
* gfortran.dg/select_6.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113602
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Sun, 7 May 2006 13:07:22 +0000 (13:07 +0000)]
2006-05-07 Richard Guenther <rguenther@suse.de>
PR tree-optimization/27136
* tree-ssa-loop-niter.c (get_val_for): Correct function
comment, assert requirements.
(loop_niter_by_eval): Stop processing if the iterated
value did not simplify.
* gcc.dg/torture/pr27136.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113601
138bc75d-0d04-0410-961f-
82ee72b054a4
razya [Sun, 7 May 2006 08:21:25 +0000 (08:21 +0000)]
2006-05-07 Mircea Namolaru <namolaru@il.ibm.com>
* opts.c (flag_see): remove its setting at -O3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113598
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Sun, 7 May 2006 05:46:26 +0000 (05:46 +0000)]
2006-05-07 Paul Thomas <pault@gcc.gnu.org>
PR fortran/24813
* trans-array.c (get_array_ctor_strlen): Remove static attribute.
* trans.h: Add prototype for get_array_ctor_strlen.
* trans-intrinsic.c (gfc_conv_intrinsic_len): Switch on EXPR_ARRAY
and call get_array_ctor_strlen.
2006-05-07 Paul Thomas <pault@gcc.gnu.org>
PR fortran/24813
* gfortran.dg/char_cons_len_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113594
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 7 May 2006 00:17:25 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113592
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Sat, 6 May 2006 23:19:48 +0000 (23:19 +0000)]
r113612@merlin: rearnsha | 2006-05-07 00:19:18 +0100
* genpeep.c (main): Make insn-peep.c depend on flags.h.
* arm/constraints.md: New file.
* arm.h (REG_CLASS_FROM_LETTER_P): Delete.
(CONST_OK_FOR_ARM_LETTER, CONST_OK_FOR_THUMB_LETTER)
(CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_ARM_LETTER)
(CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT_STR_ARM)
(CONSTRAINT_LEN, EXTRA_CONSTRAINT_THUMB, EXTRA_CONSTRAINT_STR)
(EXTRA_MEMORY_CONSTRAINT): Likewise.
* arm.md: Include constraints.md.
(thumb_movsi_insn): Use satisfies_constraint_J.
(movhi, movqi): Use satisfies_constraint_I.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113588
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Sat, 6 May 2006 20:57:18 +0000 (20:57 +0000)]
2006-05-06 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
HP-UX and add appropriate extension for shared libraries, sl.
(gcj_jni_test_one): Likewise.
* testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
library extensions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113587
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Sat, 6 May 2006 20:49:20 +0000 (20:49 +0000)]
* config/avr/avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name for
atmega645 device.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113585
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Sat, 6 May 2006 20:40:23 +0000 (20:40 +0000)]
PR c++/27427
* pt.c (convert_nontype_argument): Return early on invalid arguments.
* g++.dg/template/incomplete2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113582
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Sat, 6 May 2006 17:37:53 +0000 (17:37 +0000)]
2006-05-06 Richard Guenther <rguenther@suse.de>
PR tree-optimization/27151
* tree-vect-transform.c (vectorizable_condition): Punt on
values that have a different type than the condition.
* gcc.dg/vect/pr27151.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113580
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sat, 6 May 2006 16:06:40 +0000 (16:06 +0000)]
Credit Stanislaw Skowronek in 2006-05-02 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113577
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Sat, 6 May 2006 00:44:29 +0000 (00:44 +0000)]
* pt.c (process_template_parm): Remove superfluous temporary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113573
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Sat, 6 May 2006 00:40:40 +0000 (00:40 +0000)]
PR c++/27430
* pt.c (process_template_parm): Handle erroneous non-type parameters.
* g++.dg/template/void1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113572
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Sat, 6 May 2006 00:32:27 +0000 (00:32 +0000)]
PR c++/27423
* typeck.c (convert_for_initialization): Skip erroneous types.
* g++.dg/other/void2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113571
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Sat, 6 May 2006 00:19:40 +0000 (00:19 +0000)]
PR c++/27422
* typeck.c (convert_arguments): Return early on args with
invalid types.
* g++.dg/conversion/void1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113568
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 6 May 2006 00:17:22 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113566
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Fri, 5 May 2006 23:14:50 +0000 (23:14 +0000)]
2006-05-05 Steven G. Kargl <kargls@comcast.net>
* invoke.texi: Update description of -fall-intrinsics
* options.c (gfc_post_options): Disable -Wnonstd-intrinsics if
-fall-intrinsics is used.
(gfc_handle_option): Permit -Wno-nonstd-intrinsics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113562
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Fri, 5 May 2006 19:57:38 +0000 (19:57 +0000)]
PR/21391
* c-parser.c (c_parser_cast_expression): Only insert casts into
hash table if pointer.
* function.c (used_types_insert_helper): Rename from
used_types_insert.
(used_types_insert): Call used_types_insert_helper.
* function.h (used_types_insert): Accept only one argument.
* cp/typeck.c (build_static_cast_1): Save casted types in used types
hash table.
(build_reinterpret_cast_1): Same.
* cp/rtti.c (build_dynamic_cast_1): Same.
* testsuite/g++.dg/other/unused1.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113561
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Fri, 5 May 2006 19:48:26 +0000 (19:48 +0000)]
PR objc/27240
* objc-act.c (objc_is_public): Return early on invalid type.
* objc.dg/member-1.m: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113559
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 5 May 2006 15:23:38 +0000 (15:23 +0000)]
* config/rs6000/rs6000.md: Mark all "X" constraints for clobbered
scratch with output modifier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113555
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 5 May 2006 15:05:20 +0000 (15:05 +0000)]
PR libgcj/27294:
* java/lang/natVMClassLoader.cc (defineClass): Throw
VirtualMachineError if no interpreter configured.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113554
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Fri, 5 May 2006 15:04:03 +0000 (15:04 +0000)]
* gfortran.dg/large_real_kind_form_io_2.f90: Use nearest.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113553
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Fri, 5 May 2006 11:08:23 +0000 (11:08 +0000)]
PR libfortran/26985
* m4/matmul.m4: Correct the condition for the memset call,
and remove the unneeded call to size0.
* 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.
* gfortran.dg/matmul_2.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113552
138bc75d-0d04-0410-961f-
82ee72b054a4
guerby [Fri, 5 May 2006 08:43:04 +0000 (08:43 +0000)]
2005-05-05 Laurent GUERBY <laurent@guerby.net>
* ada/acats/run_all.sh: Use sync when main not found.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113550
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 5 May 2006 00:59:48 +0000 (00:59 +0000)]
* java-tree.h (uses_jv_markobj_p): Declare.
* class.c (uses_jv_markobj_p): Removed.
* boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): New define.
(get_boehm_type_descriptor): Use it.
(uses_jv_markobj_p): Moved from class.c. Return bool.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113549
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 5 May 2006 00:17:24 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113547
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 4 May 2006 23:20:40 +0000 (23:20 +0000)]
* java-tree.def (THIS_EXPR): Now a tcc_expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113542
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 4 May 2006 20:40:52 +0000 (20:40 +0000)]
PR target/26481
* config/rs6000/rs6000.md (stmsi_power): Mark clobber constraint
with output modifier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113539
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 4 May 2006 20:13:37 +0000 (20:13 +0000)]
gcc/
PR target/26765
* config/mips/mips.c (mips_symbolic_address_p): Return true
for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL,
SYMBOL_GOTTPREL, and SYMBOL_TLS.
gcc/testsuite/
PR target/26765
* gcc.target/mips/pr26765.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113536
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Thu, 4 May 2006 18:44:53 +0000 (18:44 +0000)]
2006-05-04 Andrew Haley <aph@redhat.com>
* class.c (make_field_value): Always build_address_of fdecl if
there is an initializer.
2006-05-03 Andrew Haley <aph@redhat.com>
PR libgcj/27352
* expr.c (maybe_rewrite_invocation): New function.
(rewrite_arglist_getclass): Likewise.
(rules): New.
(expand_invoke): Call maybe_rewrite_invocation.
* parse.y (patch_invoke): Likewise.
* java-tree.h: (maybe_rewrite_invocation): New function.
2006-05-03 Andrew Haley <aph@redhat.com>
PR libgcj/27352
* java/lang/Class.java (getClassLoader(Class)): New.
forName(String, Class): New.
* java/lang/natClass.cc (getClassLoader(Class)): New.
2006-05-02 Andrew Haley <aph@redhat.com>
* prims.cc (_Jv_NewMultiArray): Check for phantom class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113532
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 4 May 2006 17:35:05 +0000 (17:35 +0000)]
PR libgcj/26861:
* interpret.cc (run) <insn_getfield>: Removed 0xffff check.
<insn_putfield>: Likewise.
(NULLCHECK): Define unconditionally.
* link.cc (ensure_class_linked): Removed dead code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113531
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 4 May 2006 15:29:22 +0000 (15:29 +0000)]
* java/lang/Class.h (JV_STATE_LOADING): Added comment.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
* gnu/gcj/runtime/natSystemClassLoader.cc: New file.
* gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
New field.
(loadedClasses): Removed.
(findClass): Declare.
(addClass): Add to nativeClasses, not loadedClasses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113530
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Thu, 4 May 2006 15:14:43 +0000 (15:14 +0000)]
* gcc.target/bfin: New directory.
* gcc.target/bfin/bfin.exp: New file.
* gcc.target/bfin/frmul.c: New file.
* gcc.target/bfin/arith.c: New file.
* gcc.target/bfin/mul-combine.c: New file.
* gcc.target/bfin/shift.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113529
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 4 May 2006 13:56:52 +0000 (13:56 +0000)]
2006-05-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/14287
PR tree-optimization/14844
PR tree-optimization/19792
PR tree-optimization/21608
PR tree-optimization/27090
* tree-ssa-pre.c (try_combine_conversion): New function.
(compute_avail): After constructing the value-handle
expression, use try_combine_conversion to combine NOP_EXPRs
with previous value-handle expressions and use the result if it
is available.
* gcc.dg/tree-ssa/ssa-fre-1.c: New testcase.
* gcc.dg/tree-ssa/ssa-fre-2.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-3.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-4.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-5.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113527
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Thu, 4 May 2006 13:54:15 +0000 (13:54 +0000)]
2006-05-04 Andrew Haley <aph@redhat.com>
PR java/26858
* testsuite/libjava.lang/PR26858.xfail: Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113526
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 4 May 2006 13:21:11 +0000 (13:21 +0000)]
* config/mips/linux64.h (DWARF_OFFSET_SIZE): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113524
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Thu, 4 May 2006 13:07:07 +0000 (13:07 +0000)]
* simplify.c (ascii_table): Fix wrong entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113523
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 4 May 2006 12:42:55 +0000 (12:42 +0000)]
PR middle-end/25962
* cgraphunit.c (verify_cgraph_node): Fix cgraph_hash testing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113522
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Thu, 4 May 2006 11:10:03 +0000 (11:10 +0000)]
* config/bfin/bfin.c: Include "optabs.h".
(bfin_rtx_costs): Some costs for vector operations, to allow combine
to do more work.
(enum bfin_builtins): Add a number of fractional and vector builtins.
(bfin_init_builtins): Likewise.
(struct builtin_description, bdesc_2arg, bdesc_1arg): New.
(safe_vector_operand, bfin_expand_binop_builtin,
bfin_expand_unop_builtin): New functions.
(bfin_expand_builtin): Handle the new builtins.
* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
__ADSPBLACKFIN__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113521
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Thu, 4 May 2006 11:03:41 +0000 (11:03 +0000)]
* config/bfin/predicates.md (const01_rtx): Tell generator programs
that this only matches CONST_INTs. All users changed to VOIDmode
operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113520
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 4 May 2006 09:37:56 +0000 (09:37 +0000)]
2006-05-04 Douglas Gregor <dgregor@cs.indiana.edu>
PR libstdc++/27404
* include/ext/rope (_Rope_const_iterator<>::operator*() const,
_Rope_iterator<>::operator*() const): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113519
138bc75d-0d04-0410-961f-
82ee72b054a4
razya [Thu, 4 May 2006 09:19:02 +0000 (09:19 +0000)]
2006-05-04 Leehod Baruch <leehod@il.ibm.com>
* see.c: New file.
* Makefile.in (OBJS-common): Add see.o.
(see.o): Add dependencies.
* common.opt (fsee): New flag for the see optimization was added.
* opts.c (flag_see): Initialized.
* passes.c (init_optimization_passes, pass_see): New pass.
* rtl.h (see_main): Declaration as extern.
* timevar.def (TV_SEE): New.
* tree-pass.h (pass_see): Declaration as extern.
* invoke.texi (-fsee): Document.
* recog.c (validate_simplify_insn): New function.
* recog.h (validate_simplify_insn): Declaration as extern.
* df-problems.c (df_chain_dump): Check for NULL.
2006-05-04 Kenneth Zadeck <zadeck@naturalbridge.com>
Daniel Berlin <dberlin@dberlin.org>
* cfgrtl.c (insert_insn_bb_end_new): New function.
* basic-block.h (insert_insn_bb_end_new): Declaration as extern.
2006-05-04 Leehod Baruch <leehod.baruch@weizmann.ac.il>
* df.h (struct web_entry): Moved from web.c.
(union_defs): Declaration as extern.
(unionfind_root): Likewise.
(unionfind_union): Likewise.
* web.c (struct web_entry): Moved to df.h.
(unionfind_root): Remove static declaration.
(unionfind_union): Likewise.
(union_defs): Likewise and generalize to use callback function.
(web_main): Update arguments for union_defs function call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113518
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 4 May 2006 07:44:37 +0000 (07:44 +0000)]
2006-05-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/26447
* tree-ssa-pre.c (realify_fake_stores): For necessary loads
produce SSA_NAME copies before the store stmt to avoid
breaking exception handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113517
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 4 May 2006 06:43:50 +0000 (06:43 +0000)]
PR tree-optimization/27285
* gcc.c-torture/execute/pr27285.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113516
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 4 May 2006 06:34:06 +0000 (06:34 +0000)]
PR middle-end/27388
* gimplify.c (omp_is_private): If var is shared in some outer context,
return false instead of true. Stop searching on parallel context
boundary.
* gcc.dg/gomp/pr27388-1.c: New test.
* gcc.dg/gomp/pr27388-2.c: New test.
* gcc.dg/gomp/pr27388-3.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113514
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 4 May 2006 06:29:16 +0000 (06:29 +0000)]
PR c++/27359
* parser.c (cp_parser_omp_for_loop): Only call
cp_parser_abort_tentative_parse if cp_parser_parse_definitely was not
called.
* g++.dg/gomp/pr27359.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113513
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 4 May 2006 02:02:01 +0000 (02:02 +0000)]
PR java/8260
* coverage.c: Use get_gcov_unsigned_t() instead of
unsigned_type_node all over.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113512
138bc75d-0d04-0410-961f-
82ee72b054a4