aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-05-11re PR middle-end/27488 (ICE in tree_expr_nonnegative_p)Volker Reichelt4-0/+22
PR middle-end/27488 * fold-const.c (tree_expr_nonnegative_p): Return early on invalid expression. * gcc.dg/fold-nonneg-1.c: New test. From-SVN: r113699
2006-05-11re PR c++/27547 (ICE on invalid operator=)Volker Reichelt4-1/+22
PR c++/27547 * decl.c (copy_fn_p): Return early on non-member functions. * g++.dg/other/operator1.C: New test. From-SVN: r113696
2006-05-11natSharedLibLoader.cc (init): Remove debugging line.Andrew Haley2-1/+5
2006-05-11 Andrew Haley <aph@redhat.com> * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging line. From-SVN: r113693
2006-05-11re PR middle-end/27529 (Does not fold (char *)(size_t)char_ptr or ↵Richard Guenther4-4/+44
(size_t)(char *)size_t_var) 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. From-SVN: r113692
2006-05-11Daily bump.GCC Administrator1-1/+1
From-SVN: r113690
2006-05-10target-supports-dg.exp (check-flags): New.Janis Johnson2-21/+49
* lib/target-supports-dg.exp (check-flags): New. (dg-skip-if): Move flag checks. From-SVN: r113686
2006-05-10libstdc++.exp (check_v3_target_cxa_atexit): Move to gcc subdir.Steve Ellcey3-103/+7
* 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. From-SVN: r113685
2006-05-10target-supports-dg.exp (dg-require-cxa-atexit): New.Steve Ellcey3-0/+101
* lib/target-supports-dg.exp (dg-require-cxa-atexit): New. * lib/target-supports.dg (check_cxa_atexit_available): New. From-SVN: r113684
2006-05-10r113709@merlin: rearnsha | 2006-05-10 22:53:26 +0100Richard Earnshaw2-24/+7
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. From-SVN: r113683
2006-05-10re PR tree-optimization/27532 (__builtin_object_size does not handle &a + b.)Richard Guenther2-1/+6
2006-05-10 Richard Guenther <rguenther@suse.de> PR tree-optimization/27532 * tree-object-size.c (plus_expr_object_size): Fix typo. From-SVN: r113682
2006-05-10hashtable (hashtable_iterator<>::hashtable_iterator(), [...]): Add.Paolo Carlini3-6/+62
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. Co-Authored-By: Peter Doerfler <gcc@pdoerfler.com> From-SVN: r113681
2006-05-10re PR fortran/27470 (wrong memory allocator for derived types)Thomas Koenig4-1/+43
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. From-SVN: r113680
2006-05-10* gcc.target/arm/pr27387.C: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r113678
2006-05-10natClassLoader.cc: Add comments.Andrew Haley2-0/+28
2006-05-10 Andrew Haley <aph@redhat.com> * java/lang/natClassLoader.cc: Add comments. From-SVN: r113677
2006-05-10class.c (emit_indirect_register_classes): Fix comment.Andrew Haley2-2/+6
2006-05-10 Andrew Haley <aph@redhat.com> * class.c (emit_indirect_register_classes): Fix comment. From-SVN: r113676
2006-05-10re PR target/24949 (FAIL: gcc.c-torture/compile/20000403-2.c -O0)Kazu Hirata2-28/+34
PR target/24949 * config/m68k/m68k.md (ashrdi_const32, ashrdi_const32_mem, ashrdi_const, ashrdi3): Use a scratch register. From-SVN: r113675
2006-05-10prims.cc (_Jv_soleIndirectCompiledEngine): New.Andrew Haley7-21/+119
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(). From-SVN: r113674
2006-05-10pool_allocator.h: Add missing std:: qualifications.Marc Glisse8-19/+33
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. From-SVN: r113673
2006-05-10re PR fortran/20460 (Nasty extensions that should always warn)Francois-Xavier Coudert2-1/+7
PR fortran/20460 * resolve.c (gfc_resolve_index): Make REAL array indices a GFC_STD_LEGACY feature. From-SVN: r113672
2006-05-10re PR fortran/24549 ([4.1 only] ICE with invalid pseudo-declaration statement)Francois-Xavier Coudert4-1/+26
PR fortran/24549 * parse.c (reject_statement): Clear gfc_new_block. * gfortran.dg/error_recovery_1.f90: New test. From-SVN: r113671
2006-05-10re PR middle-end/27302 (Fold does not fold (i < j) == (j > i) to 1)Richard Guenther4-0/+43
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. From-SVN: r113670
2006-05-10tree-pretty-print.c (pretty_print_string): No need to handle '\0' as a ↵Ben Elliston2-3/+4
special character. * tree-pretty-print.c (pretty_print_string): No need to handle '\0' as a special character. From-SVN: r113669
2006-05-10tree.h: Include "hashtab.h".Ben Elliston3-2/+9
* tree.h: Include "hashtab.h". (iterative_hash_expr): Use hashval_t in its prototype. * Makefile.in (TREE_H): Add $(HASHTAB_H). From-SVN: r113668
2006-05-10Daily bump.GCC Administrator1-1/+1
From-SVN: r113666
2006-05-09re PR bootstrap/26872 (Internal Compiler Error when bootstrap GCC 4.1.0 with ↵Steve Ellcey2-10/+13
GCC 4.0.2) PR bootstrap/26872 * config.gcc (hppa[12]*-*-hpux10*): Set gas to yes. (hppa*64*-*-hpux11*): Ditto. (hppa[12]*-*-hpux11*): Ditto. From-SVN: r113661
2006-05-09re PR bootstrap/26545 (undeclared 64bit constants in c-common.c)David Edelsohn2-0/+8
PR target/26545 * config/rs6000/aix41.h (TARGET_64BIT): Define. From-SVN: r113659
2006-05-09Commit chnages missed in the previous commit.Steven G. Kargl2-1/+7
From-SVN: r113658
2006-05-09config.host (<i[34567]86-*-*, [...]): Set host_extra_gcc_objs and ↵Michael Matz8-3/+237
host_xmake_file. * 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". From-SVN: r113655
2006-05-09re PR middle-end/27498 (fold does not fold reads from constant static strings)Dirk Mueller4-1/+31
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. Co-Authored-By: Richard Guenther <rguenther@suse.de> From-SVN: r113651
2006-05-09re PR rtl-optimization/27335 (ICE in get_loop_body)Zdenek Dvorak4-15/+45
PR rtl-optimization/27335 * loop-unroll.c (peel_loops_completely): Use loops->parray to walk the loops. * gcc.dg/pr27335.c: New test. From-SVN: r113648
2006-05-09mips-ps-3d.md (scc_ps, s<code>_ps): New patterns.Richard Sandiford7-14/+143
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. From-SVN: r113644
2006-05-09Remove conflict marker around 2006-05-07.Ben Elliston1-2/+0
From-SVN: r113643
2006-05-09re PR tree-optimization/27093 (verify_ssa failed: definition does not ↵Daniel Berlin2-0/+18
dominate use) 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. From-SVN: r113641
2006-05-09hpux-unwind.h (pa_fallback_frame_state): Handle return parameter relocation ↵John David Anglin2-0/+41
and relocation stubs. * hpux-unwind.h (pa_fallback_frame_state): Handle return parameter relocation and relocation stubs. From-SVN: r113640
2006-05-09Daily bump.GCC Administrator1-1/+1
From-SVN: r113638
2006-05-08unwind-dw2-fde-darwin.c (examine_objects): Only check data section for ppc.Eric Christopher2-10/+14
2006-05-08 Eric Christopher <echristo@apple.com> * unwind-dw2-fde-darwin.c (examine_objects): Only check data section for ppc. From-SVN: r113634
2006-05-08re PR middle-end/25962 (Pointer (null) check after the use in cgraph.c)Jan Hubicka4-2/+23
PR middle-end/25962 * cgraphunit.c (decide_is_function_needed): When not optimizing even unused static functions are needed. * gcc.dg/pr25962.c: New. From-SVN: r113633
2006-05-08re PR target/27158 (ICE in extract_insn with -maltivec)Roger Sayle4-5/+42
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. From-SVN: r113632
2006-05-08re PR testsuite/27476 (ACATS: Ada testsuite Bourne shell compatibility ↵Laurent GUERBY2-1/+6
problem on hpux) 2006-05-08 Laurent GUERBY <laurent@guerby.net> PR testsuite/27476 * ada/acats/run_all.sh: Use test -z. From-SVN: r113630
2006-05-08re PR fortran/18271 (INT is allowed in a specification expression)Francois-Xavier Coudert2-0/+12
PR libfortran/18271 * gfortran.dg/spec_expr_3.f90: New test. From-SVN: r113627
2006-05-08re PR target/27277 (standard i387 constant loading insns (fldz, fld1) are ↵Uros Bizjak2-1/+23
not generated anymore) 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. From-SVN: r113622
2006-05-08see.c, [...]: Fix comment typos.Kazu Hirata4-8/+11
* see.c, tree-flow-inline.h, tree-phinodes.c: Fix comment typos. From-SVN: r113621
2006-05-08* config/arm/constraints.md (c): Fix a typo.Kazu Hirata1-0/+4
From-SVN: r113620
2006-05-08Remove the svn:mime-type property.Kazu Hirata1-1/+1
From-SVN: r113619
2006-05-07re PR target/24879 ([4.1]: SSE3 monitor intrinsic doesn't work in 64bit)H.J. Lu5-9/+63
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. From-SVN: r113617
2006-05-08pr27095.c: xfail *-*-darwin*.Alan Modra2-1/+5
* gcc.dg/pr27095.c: xfail *-*-darwin*. From-SVN: r113616
2006-05-08re PR c++/27447 (ICE on invalid ptr-to-member-function)Volker Reichelt4-0/+17
PR c++/27447 * decl2.c (build_memfn_type): Skip invalid functions and class types. * g++.dg/other/ptrmem7.C: New test. From-SVN: r113615
2006-05-08Daily bump.GCC Administrator1-1/+1
From-SVN: r113613
2006-05-07re PR target/27421 (ICE with invalid array in struct)Volker Reichelt4-0/+24
PR target/27421 * config/i386/i386.c (classify_argument): Skip fields with invalid types. * gcc.dg/array-9.c: New test. From-SVN: r113609
2006-05-07re PR middle-end/27409 (ICE in get_constraint_for_component_ref)Richard Guenther4-1/+36
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. From-SVN: r113607