aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-01-07re PR bootstrap/47215 (Failed to bootstrap)Kai Tietz2-1/+6
2011-01-07 Kai Tietz <kai.tietz@onevision.com> PR bootstrap/47215 * decl.c (java_init_decl_processing): Initialize unsigned_type_node. From-SVN: r168585
2011-01-07* config/spu/spu.h (ASM_COMMENT_START): Define.Ulrich Weigand2-0/+6
From-SVN: r168584
2011-01-07Keep -m[arch|tune]=native in COLLECT_GCC_OPTIONS.H.J. Lu3-9/+30
2011-01-07 H.J. Lu <hongjiu.lu@intel.com> PR driver/42445 * gcc.c (%>S): New. (SWITCH_KEEP_FOR_GCC): Likewise. (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC. (do_spec_1): Handle "%>". * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>". From-SVN: r168583
2011-01-07re PR target/47201 (ICE: SIGSEGV in adjust_mems (var-tracking.c:814) with -O ↵Jakub Jelinek4-3/+36
-fPIC -g) PR target/47201 * config/i386/i386.c (ix86_delegitimize_address): If simplify_gen_subreg fails, return orig_x. * gcc.dg/pr47201.c: New test. From-SVN: r168582
2011-01-07re PR bootstrap/47187 (profiledbootstrap failure on i386)Jakub Jelinek4-1/+50
PR bootstrap/47187 * value-prof.c (gimple_stringop_fixed_value): Handle lhs of the call properly. * gcc.dg/tree-prof/pr47187.c: New test. From-SVN: r168581
2011-01-07re PR lto/45375 ([meta-bug] Issues with building Mozilla (i.e. Firefox) with ↵Jan Hubicka2-0/+9
LTO) PR lto/45375 * lto-opt.c (lto_reissue_options): Set flag_shlib. From-SVN: r168580
2011-01-07re PR fortran/41580 ([OOP] SAME_TYPE_AS and EXTENDS_TYPE_OF - add ↵Tobias Burnus6-5/+222
compile-time simplifcation) 2011-01-07 Tobias Burnus <burnus@net-b.de> PR fortran/41580 * class.c (gfc_build_class_symbol): Mark __vtab as attr.vtab. * intrinsic.c (add_functions): Use simplify functions for EXTENDS_TYPE_OF and SAME_TYPE_AS. * intrinsic.h (gfc_simplify_extends_type_of, gfc_simplify_same_type_as): New prototypes. * simplify.c (is_last_ref_vtab, gfc_simplify_extends_type_of, gfc_simplify_same_type_as): New functions. 2011-01-07 Tobias Burnus <burnus@net-b.de> PR fortran/41580 * gfortran.dg/extends_type_of_3.f90: New. From-SVN: r168579
2011-01-07* ru.po: New.Joseph Myers2-0/+957
From-SVN: r168573
2011-01-07dllexport-MI1.C: Adjust test.Kai Tietz17-27/+47
2011-01-07 Kai Tietz <kai.tietz@onevision.com> * g++.dg/ext/dllexport-MI1.C: Adjust test. * g++.dg/ext/dllimport-MI1.C: Likewise. * g++.dg/ext/dllimport1.C: Add test for x86_64-*-mingw*. * g++.dg/ext/dllimport10.C: Likewise. * g++.dg/ext/dllimport11.C: Likewise. * g++.dg/ext/dllimport12.C: Likewise. * g++.dg/ext/dllimport13.C: Likewise. * g++.dg/ext/dllimport2.C: Likewise. * g++.dg/ext/dllimport3.C: Likewise. * g++.dg/ext/dllimport4.C: Likewise. * g++.dg/ext/dllimport5.C: Likewise. * g++.dg/ext/dllimport6.C: Likewise. * g++.dg/ext/dllimport8.C: Likewise. * g++.dg/ext/dllimport9.C: Likewise. * g++.dg/ext/selectany2.C: Enable test for x86_64-*-mingw* targets, too. Additionally enable test for i?86-*-mingw*. * g++.dg/ext/selectany1.C: Likewise. Remove guard variable check. From-SVN: r168572
2011-01-07allow the target to label code fragments generated by partitioning.Iain Sandoe9-26/+75
* target.def (function_switched_text_sections): New Hook. * doc/tm.texi Regenerated. * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS) New. * final.c (default_function_switched_text_sections): New. (final_scan_insn): Call function_switched_text_sections when a mid-function section change occurs. * output.h (default_function_switched_text_sections): Declare. * config/darwin-protos.h (darwin_function_switched_text_sections) : Likewise. * config/darwin.c (darwin_function_switched_text_sections): New. * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS) New. From-SVN: r168571
2011-01-07provide pubnames when there are multiple code sectionsIain Sandoe2-24/+136
* dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for DWARF >= 3. Add pubnames for the primary section and a reduced DIE for the secondary code fragment when outputting for DWARF == 2. From-SVN: r168570
2011-01-07decl.c (java_init_decl_processing): Setup va_list_type_node.Kai Tietz2-0/+17
2011-01-07 Kai Tietz <kai.tietz@onevision.com> * decl.c (java_init_decl_processing): Setup va_list_type_node. From-SVN: r168569
2011-01-07xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.Anatoly Sokolov4-10/+14
* config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove. * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra): Remove. * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static. (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. From-SVN: r168568
2011-01-07re PR fortran/47189 ([OOP] calling STORAGE_SIZE on a NULL-initialized class ↵Janus Weil9-46/+88
pointer) 2011-01-07 Janus Weil <janus@gcc.gnu.org> PR fortran/47189 PR fortran/47194 * gfortran.h (gfc_lval_expr_from_sym): Moved prototype. * class.c (gfc_class_null_initializer): Initialize _vptr to declared type. * expr.c (gfc_lval_expr_from_sym): Moved here from symbol.c. * resolve.c (resolve_deallocate_expr): _data component will be added at translation stage. * symbol.c (gfc_lval_expr_from_sym): Moved to expr.c. * trans-stmt.c (gfc_trans_deallocate): Reset _vptr to declared type. 2011-01-07 Janus Weil <janus@gcc.gnu.org> PR fortran/47189 PR fortran/47194 * gfortran.dg/storage_size_3.f08: Extended. From-SVN: r168565
2011-01-07re PR c++/47022 (ICE: in tsubst_copy, at cp/pt.c:11682)Jakub Jelinek4-2/+65
PR c++/47022 * pt.c (tsubst_copy_and_build): Use tsubst instead of tsubst_copy for the second build_x_va_arg argument. * g++.dg/template/stdarg1.C: New test. From-SVN: r168564
2011-01-07Daily bump.GCC Administrator1-1/+1
From-SVN: r168562
2011-01-06Correct the formatting of the Changlog entryChangpeng Fang1-16/+16
* Changelog (2011-01-06 Changpeng Fang): Correct the format. From-SVN: r168558
2011-01-06re PR debug/46704 (Ada compiler fails to build itself)Eric Botcazou2-2/+8
PR debug/46704 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only when it is not empty. From-SVN: r168557
2011-01-06Bobcat (btver1) EnablementChangpeng Fang7-15/+154
* config.gcc (i[34567]86-*-linux* | ...): Add btver1. (case ${target}): Add btver1. * config/i386/driver-i386.c (host_detect_local_cpu): Let -march=native recognize btver1 processors. * config/i386/i386-c.c (ix86_target_macros_internal): Add btver1 def_and_undef * config/i386/i386.c (struct processor_costs btver1_cost): New btver1 cost table. (m_BTVER1): New definition. ( m_AMD_MULTIPLE): Includes m_BTVER1. (initial_ix86_tune_features): Add btver1 tune. (processor_target_table): Add btver1 entry. (static const char *const cpu_names): Add btver1 entry. (software_prefetching_beneficial_p): Add btver1. (ix86_option_override_internal): Add btver1 instruction sets. (ix86_issue_rate): Add btver1. (ix86_adjust_cost): Add btver1. * config/i386/i386.h (TARGET_BTVER1): New definition. (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1. (enum processor_type): Add PROCESSOR_BTVER1. * config/i386/i386.md (define_attr "cpu"): Add btver1. From-SVN: r168556
2011-01-06re PR fortran/47174 (libquadmath: Build now depends on makeinfo)Ralf Wildenhues4-24/+19
Fix PR fortran/47174 libquadmath/: PR fortran/47174 * Makefile.am (libquadmath.info): Unconditionally override target, not only if BUILD_LIBQUADMATH. * Makefile.in: Regenerate. * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to avoid warning from automake. From-SVN: r168555
2011-01-06re PR fortran/47195 (New Fortran test failures)Daniel Franke3-3/+22
2011-01-06 Daniel Franke <franke.daniel@gmail.com> PR fortran/47195 * gfortran.dg/interface_33.f90: Fixed dg-error declarations. * gfortran.dg/defined_operators_1.f90: Split the subroutine from the interface of functions to not hide the errors that shall be tested. From-SVN: r168554
2011-01-06re PR target/43309 (amd64 TLS IE code sequence on Solaris 2/x86 violates spec)Rainer Orth3-0/+32
PR target/43309 * config/i386/i386.c (legitimize_tls_address) <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS. * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare. (tls_initial_exec_64_sun): New pattern. From-SVN: r168553
2011-01-06invoke.texi (Overall Options): Improve wording and markup of the description ↵Gerald Pfeifer2-5/+11
of -wrapper. * doc/invoke.texi (Overall Options): Improve wording and markup of the description of -wrapper. From-SVN: r168552
2011-01-06sol2.opt (G, [...]): New Driver options.Joseph Myers2-1/+30
* config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads, rdynamic, threads): New Driver options. From-SVN: r168551
2011-01-06re PR target/38118 (gcc emits non-TLS data as TLS on Solaris 11/SPARC)Rainer Orth3-5/+10
PR target/38118 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss if coming from .tdata. * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. From-SVN: r168550
2011-01-06jni.exp (gcj_jni_get_cxxflags_invocation): Add -shared-libgcc to cxxflags ↵Rainer Orth2-1/+9
for *-*-solaris*. * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): Add -shared-libgcc to cxxflags for *-*-solaris*. Remove -lsocket. From-SVN: r168549
2011-01-06re PR lto/47188 (Undefined reference errors when combining IR and non-IR ↵Jan Hubicka5-1/+26
object files) PR lto/47188 * collect2.c (main): Do not enable LTOmode when plugin is active. * testsuite/gcc.dg/lto/pr47188_0.c: New testcase. * testsuite/gcc.dg/lto/pr47188_1.c: New testcase. From-SVN: r168548
2011-01-06re PR other/45915 (Check for gnu_unique_object in ld.so in gcc/configure.ac ↵Rainer Orth3-1/+10
is broken for non-glibc ldd) PR other/45915 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd --version output if supported. * configure: Regenerate. From-SVN: r168546
2011-01-06re PR fortran/33117 (Improve error message for generic interface with ↵Daniel Franke5-40/+86
subroutines & functions) gcc/fortran/: 2011-01-06 Daniel Franke <franke.daniel@gmail.com> PR fortran/33117 PR fortran/46478 * parse.c (parse_interface): Remove check for procedure types. * interface.c (check_interface0): Verify that procedures are either all SUBROUTINEs or all FUNCTIONs. gcc/testsuite/: 2011-01-06 Daniel Franke <franke.daniel@gmail.com> PR fortran/33117 PR fortran/46478 * gfortran.dg/interface_33.f90: New test. From-SVN: r168542
2011-01-06linux-android.opt (tno-android-cc, [...]): New Driver options.Joseph Myers2-1/+13
* config/linux-android.opt (tno-android-cc, tno-android-ld): New Driver options. From-SVN: r168538
2011-01-06re PR c/47150 (ICE in gimplify_expr at gimplify.c)Jakub Jelinek5-2/+53
PR c/47150 * c-convert.c (convert): When converting a complex expression other than COMPLEX_EXPR to a different complex type, ensure c_save_expr is called instead of save_expr, unless in_late_binary_op. * c-typeck.c (convert_for_assignment): Set in_late_binary_op also when converting COMPLEX_TYPE. * gcc.c-torture/compile/pr47150.c: New test. From-SVN: r168537
2011-01-06re PR libstdc++/47185 (UB in TR1 and C++0x placeholders and non conforming ↵Paolo Carlini6-37/+125
implementation) 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/47185 * src/placeholders.cc: New. * src/Makefile.am: Adjust. * src/Makefile.in: Regenerate. * include/std/functional (placeholders::_1, _2, ..., _29): Declare extern. * config/abi/pre/gnu.ver: Export. From-SVN: r168536
2011-01-06re PR tree-optimization/47139 (ice in process_use, at tree-vect-stmts.c:290)Ira Rosen4-4/+43
PR tree-optimization/47139 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that only the last reduction value is used outside the loop. Update documentation. From-SVN: r168535
2011-01-06Fix order in which recursive structs are converted to GENERIC.Ian Lance Taylor2-23/+95
From-SVN: r168534
2011-01-06Daily bump.GCC Administrator1-1/+1
From-SVN: r168533
2011-01-06rtems.opt: New.Joseph Myers3-1/+40
* config/rtems.opt: New. * config.gcc (*-*-rtems*): Use rtems.opt. From-SVN: r168529
2011-01-05safe_base.h (_Safe_iterator_base::_M_unlink): New.François Dumont5-10/+93
2011-01-05 François Dumont <francois.cppdevs@free.fr> * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New. * include/src/debug.cc: Use latter * include/debug/forward_list (forward_list<>::_M_swap): Fix to correctly handle before_begin iterators. * testsuite/23_containers/forward_list/debug/swap.cc: Remove now useless _GLIBCXX_DEBUG checks. From-SVN: r168528
2011-01-05Remove 3DNow instructions from the bdver1-supported instruction setsChangpeng Fang2-4/+9
* config/i386/i386.c (ix86_option_override_internal): Bulldozer processors do not support 3DNow instructions. From-SVN: r168527
2011-01-05re PR fortran/47180 ([OOP] EXTENDS_TYPE_OF returns the wrong result for ↵Janus Weil2-1/+7
disassociated polymorphic pointers) 2011-01-05 Janus Weil <janus@gcc.gnu.org> PR fortran/47180 * trans-expr.c (gfc_trans_class_assign): Bugfix for r168524 (make sure 'vtab' is initialized). From-SVN: r168526
2011-01-05spu.c (spu_option_override): Set parameter PARAM_MAX_COMPLETELY_PEEL_TIMES ↵Ulrich Weigand2-1/+6
to 4 instead of 1. * config/spu/spu.c (spu_option_override): Set parameter PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1. From-SVN: r168525
2011-01-05re PR fortran/47180 ([OOP] EXTENDS_TYPE_OF returns the wrong result for ↵Janus Weil4-14/+60
disassociated polymorphic pointers) 2011-01-05 Janus Weil <janus@gcc.gnu.org> PR fortran/47180 * trans-expr.c (gfc_trans_class_assign): For a polymorphic NULL pointer assignment, set the _vptr component to the declared type. 2011-01-05 Janus Weil <janus@gcc.gnu.org> PR fortran/47180 * gfortran.dg/extends_type_of_2.f03: New. From-SVN: r168524
2011-01-05lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified at the ↵Jan Hubicka2-6/+7
command line. * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified at the command line. From-SVN: r168520
2011-01-05re PR lto/47162 (LTO is broken)Martin Jambor2-17/+47
Fix PR lto/47162. 2011-01-05 Martin Jambor <mjambor@suse.cz> PR lto/47162 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk deltas on streamed outgoing edges. (output_node_opt_summary): Output info for outgoing edges only when the node is in new parameter set. (output_cgraph_opt_summary): New parameter set, passed to the two aforementioned functions. Update its forward declaration and its callee too. From-SVN: r168515
2011-01-05c-parser.c (c_parser_omp_atomic): Pass location of assignment operator to ↵Tom Tromey8-24/+50
c_finish_omp_atomic. gcc * c-parser.c (c_parser_omp_atomic): Pass location of assignment operator to c_finish_omp_atomic. * c-typeck.c (lvalue_or_else): Add 'loc' argument. (build_unary_op): Update. (build_modify_expr): Update. (build_asm_expr): Update. gcc/cp * typeck.c (cp_build_addr_expr_1): Update call to lvalue_error. (lvalue_or_else): Likewise. gcc/c-family * c-common.h (lvalue_error): Update. * c-common.c (lvalue_error): Add 'loc' argument. Call error_at, not error. From-SVN: r168514
2011-01-05re PR go/47176 (libgo doesn't compile if libunicode is installed)Ian Lance Taylor2-2/+4
PR go/47176 byte/libbytes.a depends on unicode.gox. From-SVN: r168512
2011-01-05spu.c (emit_nop_for_insn): Set INSN_LOCATOR for newly inserted insns.Ulrich Weigand2-3/+30
* config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for newly inserted insns. (pad_bb): Likewise. (spu_emit_branch_hint): Likewise. (insert_hbrp_for_ilb_runout): Likewise. (spu_machine_dependent_reorg): Call df_finish_pass after schedule_insns returns. From-SVN: r168510
2011-01-05spu.c (spu_expand_prologue): Support -fstack-usage.Ulrich Weigand4-0/+12
ChangeLog: * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage. testsuite/ChangeLog: * gcc.dg/stack-usage-1.c (SIZE): Provide proper value for __SPU__. From-SVN: r168509
2011-01-05re PR tree-optimization/47005 (ACATS c62002a is miscompiled at -O2)Eric Botcazou4-1/+50
PR tree-optimization/47005 * tree-sra.c (struct access): Add 'non_addressable' bit. (create_access): Set it for a DECL_NONADDRESSABLE_P field. (decide_one_param_reduction): Return 0 if the parameter is passed by reference and one of the accesses in the group is non_addressable. From-SVN: r168508
2011-01-05re PR fortran/46017 (Reject ALLOCATE(a, a%b) as "a%b" depends on the ↵Thomas Koenig4-9/+89
allocation status of "a") 2011-01-05 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/46017 * resolve.c (resolve_allocate_deallocate): Follow references to check for duplicate occurence of allocation/deallocation objects. 2011-01-05 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/46017 * gfortran.dg/allocate_error_2.f90: New test. From-SVN: r168506
2011-01-05re PR fortran/47024 ([OOP] STORAGE_SIZE (for polymorphic types): Segfault at ↵Janus Weil4-3/+41
run time) 2011-01-05 Janus Weil <janus@gcc.gnu.org> PR fortran/47024 * trans-decl.c (gfc_trans_deferred_vars): Initialize the _vpr component of polymorphic allocatables according to their declared type. 2011-01-05 Janus Weil <janus@gcc.gnu.org> PR fortran/47024 * gfortran.dg/storage_size_3.f08: New. From-SVN: r168505