aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2008-11-06reg-stack.c (reg_to_stack): Add missing braces in memset size calculation.Uros Bizjak3-5/+9
* reg-stack.c (reg_to_stack): Add missing braces in memset size calculation. From-SVN: r141654
2008-11-06bpabi.h (PROFILE_HOOK): New undef.Andrew Stubbs2-0/+11
2008-11-06 Andrew Stubbs <ams@codesourcery.com> * config/arm/bpabi.h (PROFILE_HOOK): New undef. (NO_PROFILE_COUNTERS): New define. From-SVN: r141649
2008-11-06re PR target/26397 (Program crashes when rethrowing exception)David Edelsohn4-1/+20
PR target/26397 * config/rs6000/aix.h (LIBSTDCXX_STATIC): Define. cp/ * g++spec.c (LIBSTDCXX_STATIC): New. (lang_spec_driver): Use LIBSTDCXX_STATIC when not shared_libgcc. From-SVN: r141646
2008-11-06re PR target/35574 (unrecognizable insn generated for vector move)Kazu Hirata5-23/+46
PR target/35574 * config/sparc/constraints.md (D): New. * config/sparc/predicates.md (const_double_or_vector_operand): New. * config/sparc/sparc.c (sparc_extra_constraint_check): Handle the 'D' constraint. * config/sparc/sparc.md (*movdf_insn_sp32_v9, *movdf_insn_sp64): Use the 'D' constraint in addition to 'F' in some alternatives. (DF splitter): Generalize for V64mode. * doc/md.texi (SPARC): Document the 'D' constraint. From-SVN: r141644
2008-11-06pr37969.c: New testcase.Richard Guenther2-0/+24
2008-11-06 Richard Guenther <rguenther@suse.de> * gcc.dg/c-torture/pr37969.c: New testcase. From-SVN: r141642
2008-11-06Makefile.in (SPARC/Solaris): Use a common set of files for the ↵Eric Botcazou2-34/+26
target-dependent part of the runtime. * gcc-interface/Makefile.in (SPARC/Solaris): Use a common set of files for the target-dependent part of the runtime. (SPARC/Linux): Likewise. From-SVN: r141641
2008-11-06reg-stack.c (reg_to_stack): Generate +QNaN using real_nan.Uros Bizjak2-5/+12
* reg-stack.c (reg_to_stack): Generate +QNaN using real_nan. From-SVN: r141640
2008-11-06decl.c (gnat_to_gnu_entity): If not optimizing...Eric Botcazou2-0/+24
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Out_Parameter>: If not optimizing, create a PARM_DECL pointing to the VAR_DECL for debugging purposes. From-SVN: r141639
2008-11-06misc.c (gnat_printable_name): Always return a copy in GC memory.Eric Botcazou2-3/+8
* gcc-interface/misc.c (gnat_printable_name): Always return a copy in GC memory. From-SVN: r141638
2008-11-06re PR ada/19419 (Overlapping memcpy with array slices)Eric Botcazou2-1/+29
PR ada/19419 * gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>: Generate a call to memmove for an assignment between overlapping array slices. From-SVN: r141637
2008-11-06* gcc.c: Remove ancient comment about a bug in Sun cc.Ben Elliston2-4/+5
From-SVN: r141636
2008-11-06Daily bump.GCC Administrator1-1/+1
From-SVN: r141633
2008-11-06sourcebuild.texi (Torture Tests): Add ADDITIONAL_TORTURE_OPTIONS.Janis Johnson7-1/+39
gcc/ * doc/sourcebuild.texi (Torture Tests): Add ADDITIONAL_TORTURE_OPTIONS. gcc/testsuite/ * lib/c-torture.exp: Use ADDITIONAL_TORTURE_OPTIONS if defined. * lib/gcc-dg.exp: Ditto. * lib/fortran-torture.exp: Ditto. * lib/objc-torture.exp: Ditto. From-SVN: r141630
2008-11-05Fix PR 38025Michael Meissner2-1/+8
From-SVN: r141628
2008-11-06* config/rs6000/rs6000.c (rs6000_override_options): Comment fix.Ben Elliston2-1/+5
From-SVN: r141626
2008-11-06rs6000.opt (mwarn-cell-microcode): Improve option description.Ben Elliston2-1/+6
* config/rs6000/rs6000.opt (mwarn-cell-microcode): Improve option description. From-SVN: r141625
2008-11-05* id.po: Update.Joseph Myers2-1997/+2007
From-SVN: r141623
2008-11-05re PR target/38016 (-fno-ivopts exposes CRIS port bug, more with -fno-gcse)Hans-Peter Nilsson3-0/+9
PR target/38016 * gcc.c-torture/execute/ieee/pr38016.c, gcc.c-torture/execute/ieee/pr38016.c: New test. From-SVN: r141615
2008-11-05re PR target/38016 (-fno-ivopts exposes CRIS port bug, more with -fno-gcse)Hans-Peter Nilsson2-4/+11
PR target/38016 * config/cris/cris.c (cris_order_for_addsi3): Test for !REG_P, not just MEM_P. From-SVN: r141614
2008-11-05re PR middle-end/37861 (Bogus array bounds warning)Martin Jambor5-0/+69
2008-11-05 Martin Jambor <mjambor@suse.cz> PR middle-end/37861 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't turn pointer arithmetics into array_ref if the array is accessed through an indirect_ref. * testsuite/gcc.dg/Warray-bounds-5.c: New file. * testsuite/gcc.dg/Warray-bounds-6.c: New file. From-SVN: r141613
2008-11-05re PR c++/32519 (g++ allows access to protected template member functions of ↵Fabien Chêne3-2/+12
base class) PR c++/35219 * cp-tree.h: Fix DECL_NONSTATIC_MEMBER_P to handle member template functions. From-SVN: r141612
2008-11-05re PR middle-end/37742 (ICE in vectorizer with restrict pointer)Richard Guenther12-32/+110
2008-11-05 Richard Guenther <rguenther@suse.de> PR middle-end/37742 * tree-ssa.c (useless_type_conversion_p_1): Check different restrict qualified pointer conversion before stripping qualifiers. * gimplify.c (create_tmp_from_val): Use correctly qualified type. * tree-flow.h (may_propagate_address_into_dereference): Declare. * tree-ssa-ccp.c (may_propagate_address_into_dereference): New function. (ccp_fold): Use it. * tree-ssa-forwprop.c (rhs_to_tree): Remove useless conversions, properly canonicalize binary ops. (forward_propagate_addr_expr_1): Use may_propagate_address_into_dereference. cp/ * decl.c (start_preparsed_function): Use the correct type for building the RESULT_DECL. * gcc.c-torture/compile/pr37742.c: New testcase. * g++.dg/pr37742.C: Likewise. * gcc.dg/tree-ssa/forwprop-7.c: Check for two volatile loads. From-SVN: r141606
2008-11-05re PR java/37068 (libgcj linkage failure: Incorrect library ABI version ↵Andrew Haley2-1/+33
detected) 2008-11-04 Andrew Haley <aph@redhat.com> PR java/37068 * jcf-parse.c (java_emit_static_constructor): Don't call cgraph_build_static_cdtor. Rewrite. From-SVN: r141604
2008-11-05re PR middle-end/37286 (gfortran, trunk: ICE subst_stack_regs_pat, at ↵Uros Bizjak4-50/+134
reg-stack.c:1537) PR middle-end/37286 * reg-stack.c (subst_stack_regs_pat) [MINUS, DIV, MULT, PLUS]: Initialize uninitialized input registers with a NaN. testsuite/ChangeLog: PR middle-end/37286 * gfortran.dg/pr37286.f90: New test. From-SVN: r141603
2008-11-05re PR middle-end/37883 ([graphite] ICE : in scan_tree_for_params, at ↵Tobias Grosser2-0/+15
graphite.c:2274) 2008-11-05 Tobias Grosser <grosser@fim.uni-passau.de> PR middle-end/37883 * graphite.c (scan_tree_for_params): Add POINTER_PLUS_EXPR. From-SVN: r141599
2008-11-05re PR middle-end/37943 ([graphite] ICE : in build_graphite_scops, at ↵Tobias Grosser2-6/+55
graphite.c:1823) 2008-11-05 Tobias Grosser <grosser@fim.uni-passau.de> PR middle-end/37943 * graphite.c (scopdet_basic_block_info): Fix loops with multiple exits and conditions. * testsuite/gcc.dg/graphite/pr37943.c: New. From-SVN: r141598
2008-11-05Daily bump.GCC Administrator1-1/+1
From-SVN: r141594
2008-11-04re PR fortran/37597 (internal procedure fails to access host-associated ↵Paul Thomas4-1/+34
module procedure) 2008-11-04 Paul Thomas <pault@gcc.gnu.org> PR fortran/37597 * parse.c (gfc_fixup_sibling_symbols ): Fixup contained, even when symbol not found. 2008-11-04 Paul Thomas <pault@gcc.gnu.org> PR fortran/37597 * gfortran.dg/host_assoc_call_5.f90: New test. From-SVN: r141588
2008-11-04re PR c/35430 (ICE with complex arithmetic)Jakub Jelinek5-5/+41
PR c/35430 * c-common.c (warn_for_sign_compare): For complex result_type use component's type. * gcc.dg/pr35430.c: New test. * g++.dg/warn/Wsign-compare-2.C: New test. Co-Authored-By: Andrew Pinski <andrew_pinski@playstation.sony.com> From-SVN: r141587
2008-11-04* print-tree.c (print_node): Use code instead of TREE_CODE (node).Jakub Jelinek2-50/+52
From-SVN: r141586
2008-11-04print-tree.c (print_node): Don't print DECL_INITIAL for PARM_DECL.Jakub Jelinek2-1/+6
* print-tree.c (print_node): Don't print DECL_INITIAL for PARM_DECL. From-SVN: r141585
2008-11-04re PR c/37106 (ICE with -fpic or -fPIC: in mems_in_disjoint_alias_sets_p, at ↵Jakub Jelinek5-0/+72
alias.c:278) PR c/37106 * c-common.c (parse_optimize_options): Save and restore flag_strict_aliasing around decode_options call. * gcc.dg/pr37106-1.c: New test. * gcc.dg/pr37106-2.c: New test. From-SVN: r141584
2008-11-04driver-i386.c (enum vendor_signatures): New enum.Uros Bizjak2-6/+18
* config/i386/driver-i386.c (enum vendor_signatures): New enum. (host_detect_local_cpu): Use it instead of casted strings to compare vendor signatures. From-SVN: r141579
2008-11-04re PR target/37989 (PR37528 fix broke --disable-shared on mingw32)Mikael Pettersson2-2/+12
2008-11-03 Mikael Pettersson <mikpe@it.uu.se> PR target/37989 * config/i386/mingw32.h (REAL_LIBGCC_SPEC): Only add libgcc_s.a or libgcc_eh.a to spec if ENABLE_SHARED_LIBGCC. From-SVN: r141575
2008-11-04Daily bump.GCC Administrator1-1/+1
From-SVN: r141572
2008-11-03* gcc.target/mips/dsp-ctrl.c: New test.Chao-ying Fu2-0/+84
From-SVN: r141569
2008-11-03mips.c (mips_conditional_register_usage): Handle the DSP control register.Catherine Moore3-1/+20
* config/mips.c (mips_conditional_register_usage): Handle the DSP control register. * doc/extend.texi: Document the DSP control register. From-SVN: r141568
2008-11-03re PR libfortran/37839 (st_parameter_dt has unwanted padding, is out of sync ↵Steve Ellcey6-0/+13
with compiler) * gfortran.dg/f2003_io_1.f03: XFAIL until PR37839 is fixed. * gfortran.dg/f2003_io_4.f03: Ditto. * gfortran.dg/f2003_io_5.f03: Ditto. * gfortran.dg/f2003_io_6.f03: Ditto. * gfortran.dg/f2003_io_7.f03: Ditto. From-SVN: r141566
2008-11-03re PR testsuite/37241 (FAIL: g++.dg/abi/key2.C)Jakub Jelinek2-3/+7
PR testsuite/37241 * g++.dg/abi/key2.C: Adjust regexps to allow __ZTV1f and __ZTI1f sharing one .section directive. From-SVN: r141565
2008-11-03re PR target/37812 (Invalid mnemonic 'lvlx')Jakub Jelinek4-2/+35
PR target/37812 * gcc.target/powerpc/altivec_check.h (altivec_cell_check): Abort if __PPU__ isn't defined. * lib/target-supports.exp (check_effective_target_powerpc_ppu_ok): New. * gcc.target/powerpc/altivec-cell-8.c: Use powerpc_ppu_ok. From-SVN: r141564
2008-11-03omp-low.c (expand_omp_for_generic): If iter_type has different precision ↵Steve Ellcey2-2/+22
than type and type is a pointer type... * omp-low.c (expand_omp_for_generic): If iter_type has different precision than type and type is a pointer type, cast n1 and n2 first to an integer type with the same precision as pointers and only afterwards to iter_type. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r141563
2008-11-03arm.md (UNSPEC_PIC_BASE): Update documentation.Richard Sandiford4-36/+49
gcc/ * config/arm/arm.md (UNSPEC_PIC_BASE): Update documentation. (UNSPEC_GOTSYM_OFF): New unspec. (pic_add_dot_plus_four): Simplify the UNSPEC_PIC_BASE operands. (pic_add_dot_plus_eight): Likewise. (tls_load_dot_plus_eight): Likewise. Update peephole2. * config/arm/thumb2.md (pic_load_dot_plus_four): Simplify the UNSPEC_PIC_BASE operands. * config/arm/arm.c (arm_load_pic_register): Use UNSPEC_GOTSYM_OFF. (arm_output_addr_const_extra): Handle it. From-SVN: r141560
2008-11-03i386.c (classify_argument): Promote partial integer class to full integer ↵Eric Botcazou4-1/+28
class if... * config/i386/i386.c (classify_argument) <ARRAY_TYPE>: Promote partial integer class to full integer class if the offset is not word-aligned. From-SVN: r141559
2008-11-03re PR rtl-optimization/37782 (Stage2 ada compiler miscompiled)Andrew Pinski2-5/+14
2008-11-03 Andrew Pinski <andrew_pinski@playstation.sony.com> PR rtl-opt/37782 * loop-doloop.c (doloop_modify): Add from_mode argument that says what mode count is in. (doloop_optimize): Update call to doloop_modify. From-SVN: r141558
2008-11-03* tree-sra.c (bitfield_overlaps_p): Fix oversight.Eric Botcazou4-0/+47
From-SVN: r141556
2008-11-03re PR other/37463 (All Solaris/x86 eh tests fail)Rainer Orth3-82/+141
PR other/37463 * configure.ac (gcc_cv_ld_ro_rw_mix): Move before gcc_cv_as_cfi_directive. (gcc_cv_as_cfi_directive) [*-*-solaris*]: Check if linker supports merging read-only and read-write sections or assembler emits read-write .eh_frame sections. * configure: Regenerate. From-SVN: r141555
2008-11-03Revert:Nathan Froyd4-27/+45
2008-10-31 Nathan Froyd <froydnj@codesourcery.com> * config/rs6000/rs6000.c (no_global_regs_above): Fix precedence problem. (rs6000_emit_prologue): Invert logic. * config/rs6000/rs6000.md (*save_gpregs_<mode>): Use explicit (reg:P 11) instead of match_operand. (*save_fpregs_<mode>): Likewise. (*restore_gpregs_<mode>): Likewise. (*return_and_restore_gpregs_<mode>): Likewise. (*return_and_restore_fpregs_<mode>): Likewise. * config/rs6000/spe.md (*save_gpregs_spe): Use explicit (reg:P 11) insted of match_operand. (*restore_gpregs_spe): Likewise. (*return_and_restore_gpregs_spe): Likewise. From-SVN: r141554
2008-11-03Correct ChangeLog entry for revision r141440 and remove white spaces.H.J. Lu1-31/+31
From-SVN: r141553
2008-11-03re PR tree-optimization/37684 ([graphite] basic block containing VDEF of a ↵Harsha Jagasia3-1/+100
scalar does not dominate basic block containing VUSE of the same scalar) 2008-11-03 Harsha Jagasia <harsha.jagasia@amd.com> PR tree-optimization/37684 * gcc.dg/graphite/pr37684.c: New. * graphite.c (exclude_component_ref): New. (is_simple_operand): Call exclude_component_ref. From-SVN: r141551
2008-11-03re PR bootstrap/36908 (bootstrap forever with BOOT_CFLAGS="-O2 ↵Sebastian Pop3-1/+135
-ftree-loop-distribution") 2008-11-03 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/36908 * testsuite/gcc.dg/tree-ssa/pr36908.c: New. * tree-loop-distribution.c (number_of_rw_in_rdg): New. (number_of_rw_in_partition): New. (partition_contains_all_rw): New. (ldist_gen): Do not distribute when one of the partitions contains all the memory operations. From-SVN: r141550