- 09 Jan, 2011 6 commits
-
-
From-SVN: r168613
Joseph Myers committed -
re PR lto/47225 (cross-compile fails while configuring libgcc with "xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found") PR lto/47225 * Makefile.in: Regenerate. * Makefile.def (lto-plugin): Always pass enable-shared to the plugin configure. From-SVN: r168612
Jan Hubicka committed -
PR gcc/46902 PR testsuite/46912 * plugin.c: Move include of dlfcn.h from here... * system.h: ... to here. From-SVN: r168611
Iain Sandoe committed -
2011-01-09 Janus Weil <janus@gcc.gnu.org> PR fortran/46313 * class.c (get_unique_type_string): Make type name start with upper case letter. 2011-01-09 Janus Weil <janus@gcc.gnu.org> PR fortran/46313 * gfortran.dg/class_35.f90: New. From-SVN: r168610
Janus Weil committed -
gcc/: * doc/cpp.texi (C++ Named Operators): Fix markup for header file name. * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid two extra empty pages in PDF output. From-SVN: r168609
Ralf Wildenhues committed -
From-SVN: r168608
GCC Administrator committed
-
- 08 Jan, 2011 13 commits
-
-
2011-01-08 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/46405 * invoke.texi: Mention -ffree-line-length-none and -ffixed-line-length-none for preprocessing. From-SVN: r168604
Thomas Koenig committed -
From-SVN: r168603
Iain Sandoe committed -
gcc/objc: * objc-act.c (objc_finish_foreach_loop): Mark collection expression as read. gcc/testsuite: * objc.dg/foreach-1.m: Add "-Wall" to flags. From-SVN: r168602
Iain Sandoe committed -
In gcc/: 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com> PR objc/47078 * c-parser.c (c_parser_objc_type_name): If the type is unknown, for error recovery purposes behave as if it was not specified so that the default type is usd. In gcc/testsuite/: 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com> PR objc/47078 * objc.dg/invalid-method-2.m: New. * obj-c++.dg/invalid-method-2.mm: New. In gcc/cp/: 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com> PR objc/47078 * parser.c (cp_parser_objc_typename): If the type is unknown, for error recovery purposes behave as if it was not specified so that the default type is used. From-SVN: r168601
Nicola Pero committed -
2011-01-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/46896 * trans-expr.c (gfc_conv_procedure_call): With a non-copying procedure argument (eg TRANSPOSE) use a temporary if there is any chance of aliasing due to host or use association. (arrayfunc_assign_needs_temporary): Correct logic for function results and do not use a temporary for implicitly PURE variables. Use a temporary for Cray pointees. * symbol.c (gfc_add_save): Explicit SAVE not compatible with implicit pureness of containing procedure. * decl.c (match_old_style_init, gfc_match_data): Where decl would fail in PURE procedure, set implicit_pure to zero. * gfortran.h : Add implicit_pure to structure symbol_attr and add prototype for function gfc_implicit_pure. * expr.c (gfc_check_pointer_assign, gfc_check_vardef_context): Where decl would fail in PURE procedure, reset implicit_pure. * io.c (match_vtag, gfc_match_open, gfc_match_close, gfc_match_print, gfc_match_inquire, gfc_match_wait): The same. * match.c (gfc_match_critical, gfc_match_stopcode, sync_statement, gfc_match_allocate, gfc_match_deallocate): The same. * parse.c (decode_omp_directive): The same. (parse_contained): If not PURE, set implicit pure attribute. * resolve.c (resolve_formal_arglist, resolve_structure_cons, resolve_function, resolve_ordinary_assign) : The same. (gfc_implicit_pure): New function. * module.c (mio_symbol_attribute): Introduce AB_IMPLICIT_PURE to ab_attribute enum and use it in this function. 2011-01-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/46896 * gfortran.dg/transpose_optimization_2.f90 : New test. From-SVN: r168600
Paul Thomas committed -
From-SVN: r168599
Joseph Myers committed -
PR tree-optmization/46469 * ipa.c (function_and_variable_visibility): Clear needed flags on nodes with external decls; handle weakrefs merging correctly. * g++.dg/torture/pr46469.C: New testcase. From-SVN: r168598
Jan Hubicka committed -
* objc-obj-c++-shared/next-mapping.h: Move code and definitions for emulation of libobjc-gnu structure layout functionality to .. * objc-obj-c++-shared/objc-test-suite-next-encode-assist.h: New. * objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h: New. * objc/execute/bf-common.h: Adjust headers. * objc/execute/bf-1.m: Likewise. * objc/execute/bf-2.m: Likewise. * objc/execute/bf-3.m: Likewise. * objc/execute/bf-4.m: Likewise. * objc/execute/bf-5.m: Likewise. * objc/execute/bf-6.m: Likewise. * objc/execute/bf-7.m: Likewise. * objc/execute/bf-8.m: Likewise. * objc/execute/bf-9.m: Likewise. * objc/execute/bf-10.m: Likewise. * objc/execute/bf-11.m: Likewise. * objc/execute/bf-12.m: Likewise. * objc/execute/bf-13.m: Likewise. * objc/execute/bf-14.m: Likewise. * objc/execute/bf-15.m: Likewise. * objc/execute/bf-16.m: Likewise. * objc/execute/bf-17.m: Likewise. * objc/execute/bf-18.m: Likewise. * objc/execute/bf-19.m: Likewise. * objc/execute/bf-20.m: Likewise. * objc/execute/bf-21.m: Likewise. * objc/execute/bycopy-3.m: Adjust headers, add next-specific code for objc_get_type_qualifiers (). From-SVN: r168597
Iain Sandoe committed -
2011-01-08 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/45777 * symbol.c (gfc_symbols_could_alias): Strip gfc_ prefix, make static and move in front of its only caller, to ... * trans-array.c (symbols_could_alias): ... here. Pass information about pointer and target status as arguments. Allocatable arrays don't alias anything unless they have the POINTER attribute. (gfc_could_be_alias): Keep track of pointer and target status when following references. Also check if typespecs of components match those of other components or symbols. 2011-01-08 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/45777 * gfortran.dg/dependency_39.f90: New test. From-SVN: r168596
Thomas Koenig committed -
From-SVN: r168595
Eric Botcazou committed -
* opts.c (finish_options): Set opts->x_flag_opts_finished to true, not false. From-SVN: r168594
Joseph Myers committed -
* Makefile.in: Regenerate. * Makefile.def (gcc host module) and soft dependency on lto-plugin and configure dependency on lto-plugin configure. (lto-plugin module): Remove dependency on GCC; add dependency on liniberty. * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults and no longer claim that gold is required for linker plugin. * configure: Regenerate. * gcc.c (PLUGIN_COND): New macro. (LINK_COMMAND_SPEC): Use it. (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set. * config.in (HAVE_LTO_PLUGIN): New. * configure.ac (--with-lto-plugin): New parameter; autodetect HAVE_LTO_PLUGIN. From-SVN: r168593
Jan Hubicka committed -
From-SVN: r168592
GCC Administrator committed
-
- 07 Jan, 2011 19 commits
-
-
* gcc.c-torture/execute/builtins/memcpy-chk.c (s2,s3,l1): Mark volatile. * gcc.c-torture/execute/builtins/memops-asm-lib.c (my_memcpy, my_bcopy, my_memset, my_bzero): Mark used. * gcc.c-torture/execute/builtins/memset-chk.c (l1, l3): Mark volatile. * gcc.c-torture/execute/builtins/memmove-chk.c (s1,s2,s3,l1): Mark volatile. * gcc.c-torture/execute/builtins/mempcpy-chk.c (s2,s3,l1): Mark volatile From-SVN: r168588
Jan Hubicka committed -
PR tree-optimization/46367 * g++.dg/torture/pr46367.C: New file. * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only when we can update original. (cgraph_mark_inline_edge): Sanity check. * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check. From-SVN: r168587
Jan Hubicka committed -
From-SVN: r168586
William Schmidt committed -
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
Kai Tietz committed -
From-SVN: r168584
Ulrich Weigand committed -
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
H.J. Lu committed -
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
Jakub Jelinek committed -
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
Jakub Jelinek committed -
PR lto/45375 * lto-opt.c (lto_reissue_options): Set flag_shlib. From-SVN: r168580
Jan Hubicka committed -
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
Tobias Burnus committed -
From-SVN: r168573
Joseph Myers committed -
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
Kai Tietz committed -
* 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
Iain Sandoe committed -
* 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
Iain Sandoe committed -
2011-01-07 Kai Tietz <kai.tietz@onevision.com> * decl.c (java_init_decl_processing): Setup va_list_type_node. From-SVN: r168569
Kai Tietz committed -
* 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
Anatoly Sokolov committed -
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
Janus Weil committed -
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
Jakub Jelinek committed -
From-SVN: r168562
GCC Administrator committed
-
- 06 Jan, 2011 2 commits
-
-
* Changelog (2011-01-06 Changpeng Fang): Correct the format. From-SVN: r168558
Changpeng Fang committed -
PR debug/46704 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only when it is not empty. From-SVN: r168557
Eric Botcazou committed
-