1. 10 Jan, 2011 6 commits
  2. 09 Jan, 2011 12 commits
  3. 08 Jan, 2011 13 commits
    • re PR fortran/46405 (Preprocessor generated code can exceed 132 characters) · f90b55a6
      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
    • update gcc/objc/Changelog copyright years. · 28a2c1d5
      From-SVN: r168603
      Iain Sandoe committed
    • objc-act.c (objc_finish_foreach_loop): Mark collection expression as read. · 5d19c150
      
      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> · 046608a3
      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
    • re PR fortran/46896 (Wrong code with transpose(a) passed to subroutine) · f1f39033
      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
    • * ja.po: Update. · f69e4b94
      From-SVN: r168599
      Joseph Myers committed
    • re PR tree-optimization/46469 (ICE: verify_cgraph_node failed: inline clone is needed at -O) · 8cb114b9
      	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 NeXT, split encode-support code from next-mapping.h · d5dc93f4
      	* 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
    • re PR fortran/45777 (Alias analysis broken for arrays where LHS or RHS is a component ref) · ecb3baaa
      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
    • Fix long lines · 72e961c8
      From-SVN: r168595
      Eric Botcazou committed
    • opts.c (finish_options): Set opts->x_flag_opts_finished to true, not false. · b294a75e
      	* opts.c (finish_options): Set opts->x_flag_opts_finished to true,
      	not false.
      
      From-SVN: r168594
      Joseph Myers committed
    • Makefile.in: Regenerate. · 96bdf9b4
      
      	* 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
    • Daily bump. · f35cafc9
      From-SVN: r168592
      GCC Administrator committed
  4. 07 Jan, 2011 9 commits