aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-11-05re PR middle-end/37943 ([graphite] ICE : in build_graphite_scops, at ↵Tobias Grosser3-6/+63
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-05re PR libstdc++/24803 ([c++0x] reference_wrapper and pointers to member ↵Jonathan Wakely6-2/+349
functions) PR libstdc++/24803 PR libstdc++/37351 * include/tr1_impl/functional (result_of,reference_wrapper): Update to use C++0x features. * testsuite/20_util/function_objects/return_types/result_of.cc: New. * testsuite/20_util/function_objects/return_types/result_of_neg.cc: New. * testsuite/20_util/function_objects/return_types/result_of_ref.cc: New. * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs. From-SVN: r141596
2008-11-05Daily bump.GCC Administrator1-1/+1
From-SVN: r141594
2008-11-05MAINTAINERS (Write after approval): Add myself.Thomas Schwinge2-0/+5
2008-11-04 Thomas Schwinge <tschwinge@gnu.org> * MAINTAINERS (Write after approval): Add myself. From-SVN: r141591
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-04re PR libgomp/37935 (omp_set_schedule not documented in libgomp.texi)Tobias Burnus2-60/+413
2008-11-04 Tobias Burnus <burnus@net-b.de> PR libgomp/37935 * libgomp.texi (Runtime library routines, environment * variables): Update for OpenMP version 3.0. From-SVN: r141583
2008-11-04configure.ac: Fix typo.David Edelsohn3-3/+8
* configure.ac: Fix typo. * configure: Rebuild. From-SVN: r141580
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
2008-11-03cfghooks.c (split_block): Set BB_IRREDUCIBLE_LOOP and EDGE_IRREDUCIBLE_LOOP.Sebastian Pop2-1/+15
2008-11-03 Sebastian Pop <sebastian.pop@amd.com> * cfghooks.c (split_block): Set BB_IRREDUCIBLE_LOOP and EDGE_IRREDUCIBLE_LOOP. From-SVN: r141549
2008-11-03bfin.c (bfin_optimize_loop): Properly handle case where we have one entry ↵Bernd Schmidt2-11/+35
point in the loop which isn't the head. * config/bfin/bfin.c (bfin_optimize_loop): Properly handle case where we have one entry point in the loop which isn't the head. From-SVN: r141548
2008-11-03re PR tree-optimization/37573 (gcc-4.4 regression: incorrect code generation ↵Richard Guenther4-0/+77
with -O1 -ftree-vectorize) 2008-11-03 Richard Guenther <rguenther@suse.de> PR middle-end/37573 * tree-data-ref.c (split_constant_offset_1): Fix tuplification. * gcc.c-torture/execute/pr37573.c: New testcase. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r141547
2008-11-03locale_facets.tcc (num_get<>::do_get(iter_type, iter_type, ios_base&, ↵Paolo Carlini4-5/+128
ios_base::iostate&, bool&): Tidy. 2008-11-03 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, bool&): Tidy. * testsuite/22_locale/num_get/get/char/37958.cc: Extend. * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise. From-SVN: r141546
2008-11-03re PR middle-end/37858 (ICE when "-fdump-ipa-all -dv" is used)Jakub Jelinek4-0/+23
PR middle-end/37858 * passes.c (execute_one_pass): Don't look at cfun->curr_properties for ipa and simple ipa passes. * gcc.dg/pr37858.c: New test. From-SVN: r141545
2008-11-03re PR fortran/37821 (gfortran is ignoring #includes with the syntax <file.h>)Tobias Burnus11-22/+91
2008-11-03 Tobias Burnus <burnus@net-b.de> PR fortran/37821 * cpp.c (gfc_cpp_add_include_path): Use BRACKET. * scanner.c (add_path_to_list): Argument to add at head. (gfc_add_include_path): Add new argument. (gfc_add_intrinsic_modules_path) Update call. (load_file): Print filename/line in the error message. * gfortran.h (gfc_add_include_path): Update prototype. * options.c (gfc_post_options,gfc_handle_module_path_options, gfc_handle_option): Update call. * lang-spec.h (F951_OPTIONS): Don't insert include path twice. * arith.c (arith_error): Add -fno-range-error to the message. 2008-11-03 Tobias Burnus <burnus@net-b.de> PR fortran/37821 * gfortran.dg/include_4.f90: New. * gfortran.dg/include_5.f90: New. * gfortran.dg/include_4.inc: New. From-SVN: r141544
2008-11-03re PR fortran/37445 (Host-associated proc not found if same-name generic is ↵Paul Thomas6-10/+167
use-associated) 2008-11-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/37445 * resolve.c (resolve_actual_arglist ): Correct comparison of FL_VARIABLE with e->expr_type. (resolve_call): Check that host association is correct. (resolve_actual_arglist ): Remove return is old_sym is use associated. Only reparse expression if old and new symbols have different types. PR fortran/PR35769 * resolve.c (gfc_resolve_assign_in_forall): Change error to a warning. 2008-11-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/37445 * gfortran.dg/host_assoc_call_3.f90: New test. * gfortran.dg/host_assoc_call_4.f90: New test. * gfortran.dg/host_assoc_function_4.f90: New test. From-SVN: r141543
2008-11-03Daily bump.GCC Administrator1-1/+1
From-SVN: r141541
2008-11-02re PR ada/37977 (Missing ada multilib support for s390x)Andreas Krebbel2-27/+34
2008-11-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> PR target/37977 * gcc-interface/Makefile.in: Add multilib handling for s390-linux and s390x-linux. From-SVN: r141537
2008-11-02* id.po: Update.Joseph Myers2-500/+504
From-SVN: r141535
2008-11-02re PR tree-optimization/37542 (PRE doesn't simplify during phi-translation)Richard Guenther6-25/+94
2008-11-02 Richard Guenther <rguenther@suse.de> PR tree-optimization/37542 * tree-ssa-pre.c (fully_constant_expression): Handle more cases. * tree-ssa-sccvn.c (vn_get_expr_for): Fix typo. (vn_nary_op_lookup_stmt): Adjust for unary reference trees. (vn_nary_op_insert_stmt): Likewise. (visit_use): Likewise. * gcc.dg/tree-ssa/ssa-pre-22.c: New testcase. * gcc.c-torture/compile/20081101-1.c: Likewise. From-SVN: r141534
2008-11-02avr.md (UNSPEC_SWAP): Remove constants.Anatoly Sokolov3-16/+217
* config/avr/avr.md (UNSPEC_SWAP): Remove constants. (*swap): Remove. (rotlqi3, *rotlqi3_4, rotlhi3, *rotlhi3_8, rotlsi3, *rotlsi3_8, *rotlsi3_16, *rotlsi3_24): New patterns. (ashlqi3_const4, ashlqi3_const5, ashlqi3_const6, ashlqi3_l_const4, ashlqi3_l_const5, ashlqi3_l_const6, lshrqi3_const4, lshrqi3_const5, lshrqi3_const6, lshrqi3_l_const4, lshrqi3_l_const4, lshrqi3_l_const6 peephole2's): Replace unspec with rotate. * config/avr/avr.c (avr_rtx_costs): Add ROTATE. From-SVN: r141533
2008-11-02re PR tree-optimization/37991 (excessive memory consumption - possible hang)Richard Guenther5-3/+34
2008-11-02 Richard Guenther <rguenther@suse.de> PR tree-optimization/37991 * tree-ssa-sccvn.h (copy_vuses_from_stmt): Remove. * tree-ssa-sccvn.c (copy_vuses_from_stmt): Make static. (set_ssa_val_to): Print if the value changed. (simplify_binary_expression): Strip useless conversions. * gcc.c-torture/compile/pr37991.c: New testcase. From-SVN: r141532
2008-11-02Daily bump.GCC Administrator1-1/+1
From-SVN: r141530
2008-11-01re PR target/37939 (CRIS port: no addi insn)Hans-Peter Nilsson2-0/+16
PR target/37939 * gcc.target/cris/biap.c: New test. From-SVN: r141525
2008-11-01re PR target/37939 (CRIS port: no addi insn)Hans-Peter Nilsson2-0/+21
PR target/37939 * config/cris/cris.c (cris_rtx_costs) <MULT>: Return 0 for an ADDI operand. From-SVN: r141524
2008-11-01PR libstdc++/37958 (cont again)Paolo Carlini4-8/+84
2008-11-01 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/37958 (cont again) * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, bool&): Fix again. * testsuite/22_locale/num_get/get/char/37958.cc: Extend. * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise. From-SVN: r141523
2008-11-01re PR fortran/36426 (Endless loop in gfc_apply_interface_mapping_to_expr)Janus Weil5-3/+43
2008-11-01 Janus Weil <janus@gcc.gnu.org> PR fortran/36426 * expr.c (replace_symbol): Replace all symbols which lie in the formal namespace of the interface and copy their attributes. * resolve.c (resolve_symbol): Add charlen to namespace. 2008-11-01 Janus Weil <janus@gcc.gnu.org> PR fortran/36426 * gfortran.dg/proc_decl_19.f90: New. From-SVN: r141522
2008-11-01locale_facets.tcc (num_get<>::do_get(, long&), [...]): Move inline...Paolo Carlini3-90/+44
2008-11-01 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/locale_facets.tcc (num_get<>::do_get(, long&), num_get<>::do_get(, unsigned short&), num_get<>::do_get(, unsigned int&), num_get<>::do_get(, unsigned long&), num_get<>::do_get(, long long&), num_get<>::do_get(, unsigned long long&), num_put<>::do_put(, long), num_put<>::do_put(, unsigned long), num_put<>::do_put(, long long), num_put<>::do_put(, unsigned long long)): Move inline... * include/bits/locale_facets.h: ... here. From-SVN: r141520
2008-11-01re PR fortran/19925 (Implied do-loop in an initialization expression is broken)Steven G. Kargl3-0/+27
2008-11-01 Steven G. Kargl <kargls@comcast.net> PR fortran/19925 * gfortran.dg/initialization_20.f90: New test. * gfortran.dg/initialization_21.f90: Ditto. From-SVN: r141519
2008-11-01re PR fortran/19925 (Implied do-loop in an initialization expression is broken)Steven G. Kargl7-17/+61
2008-11-01 Steven G. Kargl <kargls@comcast.net> PR fortran/19925 * trans-array.c (gfc_trans_array_constructor_value): Fix comment. (gfc_conv_array_initializer): Convert internal_error() to gfc_error_now. * array.c: Remove GFC_MAX_AC_EXPAND macro. (gfc_expand_constructor): Use gfc_option.flag_max_array_constructor. * gfortran.h (gfc_option): Add flag_max_array_constructor member. * lang.opt: Add -fmax-array-constructor option. * expr.c (gfc_match_init_expr): Fix error message to mention new option. * invoke.texi: Document new option. * options.c (gfc_init_options): Set default value for new option. (gfc_handle_option): Deal with commandline. From-SVN: r141518