1. 10 Jan, 2011 7 commits
  2. 09 Jan, 2011 12 commits
    • nicola's avatar
      In gcc/: · 3b77900e
      nicola authored
      2011-01-09  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	PR objc/47232
      	* c-parser.c (c_parser_declaration_or_fndef): Improved
      	error message.
      
      In gcc/testsuite/:
      2011-01-09  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	PR objc/47232
      	* objc.dg/attributes/invalid-attribute-1.m: New.
      	* obj-c++.dg/attributes/invalid-attribute-1.mm: New.	
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168619 138bc75d-0d04-0410-961f-82ee72b054a4
      3b77900e
    • janus's avatar
      2011-01-09 Janus Weil <janus@gcc.gnu.org> · 91d8fc2f
      janus authored
      	PR fortran/47224
      	* resolve.c (resolve_actual_arglist): Remove unneeded and buggy piece
      	of code.
      
      
      2011-01-09  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/47224
      	* gfortran.dg/proc_ptr_comp_28.f90: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168618 138bc75d-0d04-0410-961f-82ee72b054a4
      91d8fc2f
    • iains's avatar
      · c315e269
      iains authored
      gcc/testsuite:
      
      	* obj-c++.dg/gnu-api-2-class.mm: Skip for Darwin < 9.
      	* obj-c++.dg/gnu-api-2-ivar.mm: Likewise.
      	* obj-c++.dg/gnu-api-2-method.mm: Likewise.
      	* obj-c++.dg/gnu-api-2-objc.mm: Likewise.
      	* obj-c++.dg/gnu-api-2-object.mm: Likewise.
      	* obj-c++.dg/gnu-api-2-property.mm: Likewise.
      	* obj-c++.dg/gnu-api-2-protocol.mm: Likewise.
      	* obj-c++.dg/gnu-api-2-sel.mm: Likewise.
      	* objc.dg/gnu-api-2-class.m: Likewise.
      	* objc.dg/gnu-api-2-ivar.m: Likewise.
      	* objc.dg/gnu-api-2-method.m: Likewise.
      	* objc.dg/gnu-api-2-objc.m: Likewise.
      	* objc.dg/gnu-api-2-object.m: Likewise.
      	* objc.dg/gnu-api-2-property.m: Likewise.
      	* objc.dg/gnu-api-2-protocol.m: Likewise.
      	* objc.dg/gnu-api-2-sel.m: Likewise.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168617 138bc75d-0d04-0410-961f-82ee72b054a4
      c315e269
    • iains's avatar
      · 81501767
      iains authored
      gcc/testsuite:
      
      	* objc.dg/foreach-1.m: Skip for Darwin < 9.
      	* objc.dg/objc-foreach-4.m: Likewise.
      	* objc.dg/objc-foreach-5.m: Skip for Darwin < 9, adjust headers.
      	* objc.dg/foreach-2.m: Skip for Darwin < 9, return self from init.
      	* objc.dg/foreach-4.m: Likewise.
      	* objc.dg/foreach-5.m: Likewise.
      	* objc.dg/foreach-3.m: Return self from init.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168616 138bc75d-0d04-0410-961f-82ee72b054a4
      81501767
    • ktietz's avatar
      2011-01-09 Kai Tietz <kai.tietz@onevision.com> · c32bb9a3
      ktietz authored
              * config/i386/winnt.c (i386_pe_start_function): Make sure
              to switch back to function's section.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168615 138bc75d-0d04-0410-961f-82ee72b054a4
      c32bb9a3
    • tkoenig's avatar
      2011-01-09 Thomas Koenig <tkoenig@gcc.gnu.org> · c2244fab
      tkoenig authored
      	PR fortran/38536
      	* resolve.c (is_scalar_expr_ptr):  For a substring reference,
      	use gfc_dep_compare_expr to compare start and end expession.
      	Add FIXME for using gfc_deb_compare_expr elsewhere.
      
      2011-01-09  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/38536
      	* gfortran.dg/iso_c_binding_c_loc_char_1.f03:  New test.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168614 138bc75d-0d04-0410-961f-82ee72b054a4
      c2244fab
    • jsm28's avatar
      * ja.po, sv.po: Update. · 0029f71f
      jsm28 authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168613 138bc75d-0d04-0410-961f-82ee72b054a4
      0029f71f
    • hubicka's avatar
      · f9591cc0
      hubicka authored
      	PR lto/47225
      	* Makefile.in: Regenerate.
      	* Makefile.def (lto-plugin): Always pass enable-shared to the plugin
      	configure.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168612 138bc75d-0d04-0410-961f-82ee72b054a4
      f9591cc0
    • iains's avatar
      · bbcdd327
      iains authored
      	PR gcc/46902
      	PR testsuite/46912
      	* plugin.c: Move include of dlfcn.h from here...
      	* system.h: ... to here.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168611 138bc75d-0d04-0410-961f-82ee72b054a4
      bbcdd327
    • janus's avatar
      2011-01-09 Janus Weil <janus@gcc.gnu.org> · cf256393
      janus authored
      	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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168610 138bc75d-0d04-0410-961f-82ee72b054a4
      cf256393
    • rwild's avatar
      doc: cpp manual nits · 7ac54e71
      rwild authored
      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.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168609 138bc75d-0d04-0410-961f-82ee72b054a4
      7ac54e71
    • gccadmin's avatar
      Daily bump. · a99857d7
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168608 138bc75d-0d04-0410-961f-82ee72b054a4
      a99857d7
  3. 08 Jan, 2011 13 commits
    • tkoenig's avatar
      2011-01-08 Thomas Koenig <tkoenig@gcc.gnu.org> · 9aa131da
      tkoenig authored
      	PR fortran/46405
      	* invoke.texi:  Mention -ffree-line-length-none and
      	-ffixed-line-length-none for preprocessing.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168604 138bc75d-0d04-0410-961f-82ee72b054a4
      9aa131da
    • iains's avatar
      · 92199abb
      iains authored
      update gcc/objc/Changelog copyright years.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168603 138bc75d-0d04-0410-961f-82ee72b054a4
      92199abb
    • iains's avatar
      · 2999f661
      iains authored
      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.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168602 138bc75d-0d04-0410-961f-82ee72b054a4
      2999f661
    • nicola's avatar
      In gcc/: · 14a3bc63
      nicola authored
      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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168601 138bc75d-0d04-0410-961f-82ee72b054a4
      14a3bc63
    • pault's avatar
      2011-01-08 Paul Thomas <pault@gcc.gnu.org> · 8b0a2e85
      pault authored
      	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.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168600 138bc75d-0d04-0410-961f-82ee72b054a4
      8b0a2e85
    • jsm28's avatar
      * ja.po: Update. · eb5a8b64
      jsm28 authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168599 138bc75d-0d04-0410-961f-82ee72b054a4
      eb5a8b64
    • hubicka's avatar
      PR tree-optmization/46469 · 87ac7f21
      hubicka authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168598 138bc75d-0d04-0410-961f-82ee72b054a4
      87ac7f21
    • iains's avatar
      · 864ee2c8
      iains authored
      ObjC NeXT, split encode-support code from next-mapping.h 
      
      	* 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 ().
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168597 138bc75d-0d04-0410-961f-82ee72b054a4
      864ee2c8
    • tkoenig's avatar
      2011-01-08 Thomas Koenig <tkoenig@gcc.gnu.org> · d197251d
      tkoenig authored
      	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.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168596 138bc75d-0d04-0410-961f-82ee72b054a4
      d197251d
    • ebotcazou's avatar
      Fix long lines · 63e7c5f4
      ebotcazou authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168595 138bc75d-0d04-0410-961f-82ee72b054a4
      63e7c5f4
    • jsm28's avatar
      * opts.c (finish_options): Set opts->x_flag_opts_finished to true, · ae6f03e2
      jsm28 authored
      	not false.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168594 138bc75d-0d04-0410-961f-82ee72b054a4
      ae6f03e2
    • hubicka's avatar
      · de4d280b
      hubicka authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168593 138bc75d-0d04-0410-961f-82ee72b054a4
      de4d280b
    • gccadmin's avatar
      Daily bump. · 050b8e21
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168592 138bc75d-0d04-0410-961f-82ee72b054a4
      050b8e21
  4. 07 Jan, 2011 8 commits