]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
13 years agore PR c++/47218 (C++ multiple definitions of non-virtual thunk problem)
Dave Korn [Mon, 10 Jan 2011 00:33:32 +0000 (00:33 +0000)] 
re PR c++/47218 (C++ multiple definitions of non-virtual thunk problem)

gcc/ChangeLog:

PR c++/47218
* cgraphunit.c (assemble_thunk): Call resolve_unique_section.

gcc/testsuite/ChangeLog:

PR c++/47218
* g++.dg/other/pr47218-1.C: New test file.
* g++.dg/other/pr47218.C: Likewise.
* g++.dg/other/pr47218.h: New supporting header.

From-SVN: r168624

13 years agoDaily bump.
GCC Administrator [Mon, 10 Jan 2011 00:18:33 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168623

13 years agoIn gcc/: 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
Nicola Pero [Sun, 9 Jan 2011 22:47:22 +0000 (22:47 +0000)] 
In gcc/: 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>

In gcc/:
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.

From-SVN: r168619

13 years agore PR fortran/47224 ([F03] ICE with procedure pointer component)
Janus Weil [Sun, 9 Jan 2011 21:01:38 +0000 (22:01 +0100)] 
re PR fortran/47224 ([F03] ICE with procedure pointer component)

2011-01-09  Janus Weil  <janus@gcc.gnu.org>

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.

From-SVN: r168618

13 years agognu-api-2-class.mm: Skip for Darwin < 9.
Iain Sandoe [Sun, 9 Jan 2011 16:59:00 +0000 (16:59 +0000)] 
gnu-api-2-class.mm: Skip for Darwin < 9.

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.

From-SVN: r168617

13 years agoforeach-1.m: Skip for Darwin < 9.
Iain Sandoe [Sun, 9 Jan 2011 16:24:46 +0000 (16:24 +0000)] 
foreach-1.m: Skip for Darwin < 9.

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.

From-SVN: r168616

13 years agowinnt.c (i386_pe_start_function): Make sure to switch back to function's section.
Kai Tietz [Sun, 9 Jan 2011 16:20:13 +0000 (16:20 +0000)] 
winnt.c (i386_pe_start_function): Make sure to switch back to function's section.

2011-01-09  Kai Tietz  <kai.tietz@onevision.com>

        * config/i386/winnt.c (i386_pe_start_function): Make sure
        to switch back to function's section.

From-SVN: r168615

13 years agore PR fortran/38536 (ICE with C_LOC in resolve.c due to not properly going through...
Thomas Koenig [Sun, 9 Jan 2011 15:37:47 +0000 (15:37 +0000)] 
re PR fortran/38536 (ICE with C_LOC in resolve.c due to not properly going through expr->ref)

2011-01-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

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.

From-SVN: r168614

13 years ago* ja.po, sv.po: Update.
Joseph Myers [Sun, 9 Jan 2011 14:57:15 +0000 (14:57 +0000)] 
* ja.po, sv.po: Update.

From-SVN: r168613

13 years agore PR lto/47225 (cross-compile fails while configuring libgcc with "xgcc: fatal error...
Jan Hubicka [Sun, 9 Jan 2011 14:34:41 +0000 (15:34 +0100)] 
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

13 years agore PR c/46902 (gcc.dg/plugin/plugindir*.c gives ICEs on powerpc-apple-darwin9)
Iain Sandoe [Sun, 9 Jan 2011 12:41:33 +0000 (12:41 +0000)] 
re PR c/46902 (gcc.dg/plugin/plugindir*.c gives ICEs on powerpc-apple-darwin9)

PR gcc/46902
PR testsuite/46912
* plugin.c: Move include of dlfcn.h from here...
* system.h: ... to here.

From-SVN: r168611

13 years agore PR fortran/46313 ([OOP] class container naming collisions)
Janus Weil [Sun, 9 Jan 2011 10:35:50 +0000 (11:35 +0100)] 
re PR fortran/46313 ([OOP] class container naming collisions)

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

13 years agodoc: cpp manual nits
Ralf Wildenhues [Sun, 9 Jan 2011 07:18:42 +0000 (07:18 +0000)] 
doc: cpp manual nits

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

13 years agoDaily bump.
GCC Administrator [Sun, 9 Jan 2011 00:18:03 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168608

13 years agore PR fortran/46405 (Preprocessor generated code can exceed 132 characters)
Thomas Koenig [Sat, 8 Jan 2011 22:59:42 +0000 (22:59 +0000)] 
re PR fortran/46405 (Preprocessor generated code can exceed 132 characters)

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

13 years agoupdate gcc/objc/Changelog copyright years.
Iain Sandoe [Sat, 8 Jan 2011 20:47:27 +0000 (20:47 +0000)] 
update gcc/objc/Changelog copyright years.

From-SVN: r168603

13 years agoobjc-act.c (objc_finish_foreach_loop): Mark collection expression as read.
Iain Sandoe [Sat, 8 Jan 2011 20:32:32 +0000 (20:32 +0000)] 
objc-act.c (objc_finish_foreach_loop): Mark collection expression as read.

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

13 years agoIn gcc/: 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
Nicola Pero [Sat, 8 Jan 2011 19:44:30 +0000 (19:44 +0000)] 
In gcc/: 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>

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

13 years agore PR fortran/46896 (Wrong code with transpose(a) passed to subroutine)
Paul Thomas [Sat, 8 Jan 2011 19:17:03 +0000 (19:17 +0000)] 
re PR fortran/46896 (Wrong code with transpose(a) passed to subroutine)

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

13 years ago* ja.po: Update.
Joseph Myers [Sat, 8 Jan 2011 16:41:39 +0000 (16:41 +0000)] 
* ja.po: Update.

From-SVN: r168599

13 years agore PR tree-optimization/46469 (ICE: verify_cgraph_node failed: inline clone is needed...
Jan Hubicka [Sat, 8 Jan 2011 16:33:57 +0000 (17:33 +0100)] 
re PR tree-optimization/46469 (ICE: verify_cgraph_node failed: inline clone is needed at -O)

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

13 years agoObjC NeXT, split encode-support code from next-mapping.h
Iain Sandoe [Sat, 8 Jan 2011 14:12:14 +0000 (14:12 +0000)] 
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 ().

From-SVN: r168597

13 years agore PR fortran/45777 (Alias analysis broken for arrays where LHS or RHS is a component...
Thomas Koenig [Sat, 8 Jan 2011 09:38:13 +0000 (09:38 +0000)] 
re PR fortran/45777 (Alias analysis broken for arrays where LHS or RHS is a component ref)

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

13 years agoFix long lines
Eric Botcazou [Sat, 8 Jan 2011 07:56:36 +0000 (07:56 +0000)] 
Fix long lines

From-SVN: r168595

13 years agoopts.c (finish_options): Set opts->x_flag_opts_finished to true, not false.
Joseph Myers [Sat, 8 Jan 2011 01:59:33 +0000 (01:59 +0000)] 
opts.c (finish_options): Set opts->x_flag_opts_finished to true, not false.

* opts.c (finish_options): Set opts->x_flag_opts_finished to true,
not false.

From-SVN: r168594

13 years agoMakefile.in: Regenerate.
Jan Hubicka [Sat, 8 Jan 2011 01:37:00 +0000 (02:37 +0100)] 
Makefile.in: Regenerate.

* 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

13 years agoDaily bump.
GCC Administrator [Sat, 8 Jan 2011 00:18:00 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168592

13 years agoGet builtins tests ready for linker plugin.
Jan Hubicka [Fri, 7 Jan 2011 23:29:27 +0000 (00:29 +0100)] 
Get builtins tests ready for linker plugin.

* 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

13 years agore PR tree-optimization/46367 (ICE during cgraph edge cloning)
Jan Hubicka [Fri, 7 Jan 2011 22:52:54 +0000 (23:52 +0100)] 
re PR tree-optimization/46367 (ICE during cgraph edge cloning)

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

13 years ago* MAINTAINERS (Write After Approval): Add myself.
William Schmidt [Fri, 7 Jan 2011 21:54:14 +0000 (21:54 +0000)] 
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r168586

13 years agore PR bootstrap/47215 (Failed to bootstrap)
Kai Tietz [Fri, 7 Jan 2011 21:11:48 +0000 (21:11 +0000)] 
re PR bootstrap/47215 (Failed to bootstrap)

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

13 years ago* config/spu/spu.h (ASM_COMMENT_START): Define.
Ulrich Weigand [Fri, 7 Jan 2011 21:08:03 +0000 (21:08 +0000)] 
* config/spu/spu.h (ASM_COMMENT_START): Define.

From-SVN: r168584

13 years agoKeep -m[arch|tune]=native in COLLECT_GCC_OPTIONS.
H.J. Lu [Fri, 7 Jan 2011 20:35:05 +0000 (20:35 +0000)] 
Keep -m[arch|tune]=native in COLLECT_GCC_OPTIONS.

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

13 years agore PR target/47201 (ICE: SIGSEGV in adjust_mems (var-tracking.c:814) with -O -fPIC -g)
Jakub Jelinek [Fri, 7 Jan 2011 18:41:40 +0000 (19:41 +0100)] 
re PR target/47201 (ICE: SIGSEGV in adjust_mems (var-tracking.c:814) with -O -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

13 years agore PR bootstrap/47187 (profiledbootstrap failure on i386)
Jakub Jelinek [Fri, 7 Jan 2011 18:39:11 +0000 (19:39 +0100)] 
re PR bootstrap/47187 (profiledbootstrap failure on i386)

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

13 years agore PR lto/45375 ([meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO)
Jan Hubicka [Fri, 7 Jan 2011 18:21:00 +0000 (19:21 +0100)] 
re PR lto/45375 ([meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO)

PR lto/45375
* lto-opt.c (lto_reissue_options): Set flag_shlib.

From-SVN: r168580

13 years agore PR fortran/41580 ([OOP] SAME_TYPE_AS and EXTENDS_TYPE_OF - add compile-time simpli...
Tobias Burnus [Fri, 7 Jan 2011 16:19:29 +0000 (17:19 +0100)] 
re PR fortran/41580 ([OOP] SAME_TYPE_AS and EXTENDS_TYPE_OF - add 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

13 years ago* ru.po: New.
Joseph Myers [Fri, 7 Jan 2011 14:34:04 +0000 (14:34 +0000)] 
* ru.po: New.

From-SVN: r168573

13 years agodllexport-MI1.C: Adjust test.
Kai Tietz [Fri, 7 Jan 2011 14:12:43 +0000 (14:12 +0000)] 
dllexport-MI1.C: Adjust test.

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

13 years agoallow the target to label code fragments generated by partitioning.
Iain Sandoe [Fri, 7 Jan 2011 13:57:45 +0000 (13:57 +0000)] 
allow the target to label code fragments generated by partitioning.

* 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

13 years agoprovide pubnames when there are multiple code sections
Iain Sandoe [Fri, 7 Jan 2011 13:52:29 +0000 (13:52 +0000)] 
provide pubnames when there are multiple code sections

* 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

13 years agodecl.c (java_init_decl_processing): Setup va_list_type_node.
Kai Tietz [Fri, 7 Jan 2011 13:50:15 +0000 (13:50 +0000)] 
decl.c (java_init_decl_processing): Setup va_list_type_node.

2011-01-07  Kai Tietz  <kai.tietz@onevision.com>

        * decl.c (java_init_decl_processing): Setup va_list_type_node.

From-SVN: r168569

13 years agoxtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
Anatoly Sokolov [Fri, 7 Jan 2011 13:45:04 +0000 (16:45 +0300)] 
xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.

* 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

13 years agore PR fortran/47189 ([OOP] calling STORAGE_SIZE on a NULL-initialized class pointer)
Janus Weil [Fri, 7 Jan 2011 12:08:21 +0000 (13:08 +0100)] 
re PR fortran/47189 ([OOP] calling STORAGE_SIZE on a NULL-initialized class 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

13 years agore PR c++/47022 (ICE: in tsubst_copy, at cp/pt.c:11682)
Jakub Jelinek [Fri, 7 Jan 2011 11:49:44 +0000 (12:49 +0100)] 
re PR c++/47022 (ICE: in tsubst_copy, at cp/pt.c:11682)

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

13 years agoDaily bump.
GCC Administrator [Fri, 7 Jan 2011 00:18:11 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168562

13 years agoCorrect the formatting of the Changlog entry
Changpeng Fang [Thu, 6 Jan 2011 23:55:43 +0000 (23:55 +0000)] 
Correct the formatting of the Changlog entry

* Changelog (2011-01-06  Changpeng Fang): Correct the format.

From-SVN: r168558

13 years agore PR debug/46704 (Ada compiler fails to build itself)
Eric Botcazou [Thu, 6 Jan 2011 23:36:25 +0000 (23:36 +0000)] 
re PR debug/46704 (Ada compiler fails to build itself)

PR debug/46704
* dwarf2out.c (dwarf2out_finish): Output the debug_aranges section
only when it is not empty.

From-SVN: r168557

13 years agoBobcat (btver1) Enablement
Changpeng Fang [Thu, 6 Jan 2011 22:59:46 +0000 (22:59 +0000)] 
Bobcat (btver1) Enablement

* 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

13 years agore PR fortran/47174 (libquadmath: Build now depends on makeinfo)
Ralf Wildenhues [Thu, 6 Jan 2011 22:09:41 +0000 (22:09 +0000)] 
re PR fortran/47174 (libquadmath: Build now depends on makeinfo)

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

13 years agore PR fortran/47195 (New Fortran test failures)
Daniel Franke [Thu, 6 Jan 2011 21:42:53 +0000 (16:42 -0500)] 
re PR fortran/47195 (New Fortran test failures)

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

13 years agore PR target/43309 (amd64 TLS IE code sequence on Solaris 2/x86 violates spec)
Rainer Orth [Thu, 6 Jan 2011 19:44:32 +0000 (19:44 +0000)] 
re PR target/43309 (amd64 TLS IE code sequence on Solaris 2/x86 violates spec)

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

13 years agoinvoke.texi (Overall Options): Improve wording and markup of the description of ...
Gerald Pfeifer [Thu, 6 Jan 2011 19:37:01 +0000 (19:37 +0000)] 
invoke.texi (Overall Options): Improve wording and markup of the description of -wrapper.

* doc/invoke.texi (Overall Options): Improve wording and markup
of the description of -wrapper.

From-SVN: r168552

13 years agosol2.opt (G, [...]): New Driver options.
Joseph Myers [Thu, 6 Jan 2011 19:01:28 +0000 (19:01 +0000)] 
sol2.opt (G, [...]): New Driver options.

* config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
rdynamic, threads): New Driver options.

From-SVN: r168551

13 years agore PR target/38118 (gcc emits non-TLS data as TLS on Solaris 11/SPARC)
Rainer Orth [Thu, 6 Jan 2011 19:00:10 +0000 (19:00 +0000)] 
re PR target/38118 (gcc emits non-TLS data as TLS on Solaris 11/SPARC)

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

13 years agojni.exp (gcj_jni_get_cxxflags_invocation): Add -shared-libgcc to cxxflags for *-...
Rainer Orth [Thu, 6 Jan 2011 18:56:58 +0000 (18:56 +0000)] 
jni.exp (gcj_jni_get_cxxflags_invocation): Add -shared-libgcc to cxxflags for *-*-solaris*.

* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
Add -shared-libgcc to cxxflags for *-*-solaris*.
Remove -lsocket.

From-SVN: r168549

13 years agore PR lto/47188 (Undefined reference errors when combining IR and non-IR object files)
Jan Hubicka [Thu, 6 Jan 2011 18:50:20 +0000 (19:50 +0100)] 
re PR lto/47188 (Undefined reference errors when combining IR and non-IR 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

13 years agore PR other/45915 (Check for gnu_unique_object in ld.so in gcc/configure.ac is broken...
Rainer Orth [Thu, 6 Jan 2011 18:29:39 +0000 (18:29 +0000)] 
re PR other/45915 (Check for gnu_unique_object in ld.so in gcc/configure.ac 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

13 years agore PR fortran/33117 (Improve error message for generic interface with subroutines...
Daniel Franke [Thu, 6 Jan 2011 16:08:24 +0000 (11:08 -0500)] 
re PR fortran/33117 (Improve error message for generic interface with 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

13 years agolinux-android.opt (tno-android-cc, [...]): New Driver options.
Joseph Myers [Thu, 6 Jan 2011 13:04:59 +0000 (13:04 +0000)] 
linux-android.opt (tno-android-cc, [...]): New Driver options.

* config/linux-android.opt (tno-android-cc, tno-android-ld): New
Driver options.

From-SVN: r168538

13 years agore PR c/47150 (ICE in gimplify_expr at gimplify.c)
Jakub Jelinek [Thu, 6 Jan 2011 10:37:02 +0000 (11:37 +0100)] 
re PR c/47150 (ICE in gimplify_expr at gimplify.c)

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

13 years agore PR libstdc++/47185 (UB in TR1 and C++0x placeholders and non conforming implementa...
Paolo Carlini [Thu, 6 Jan 2011 10:14:37 +0000 (10:14 +0000)] 
re PR libstdc++/47185 (UB in TR1 and C++0x placeholders and non conforming 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

13 years agore PR tree-optimization/47139 (ice in process_use, at tree-vect-stmts.c:290)
Ira Rosen [Thu, 6 Jan 2011 07:34:24 +0000 (07:34 +0000)] 
re PR tree-optimization/47139 (ice in process_use, at tree-vect-stmts.c:290)

        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

13 years agoFix order in which recursive structs are converted to GENERIC.
Ian Lance Taylor [Thu, 6 Jan 2011 01:35:19 +0000 (01:35 +0000)] 
Fix order in which recursive structs are converted to GENERIC.

From-SVN: r168534

13 years agoDaily bump.
GCC Administrator [Thu, 6 Jan 2011 00:19:36 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r168533

13 years agortems.opt: New.
Joseph Myers [Thu, 6 Jan 2011 00:07:32 +0000 (00:07 +0000)] 
rtems.opt: New.

* config/rtems.opt: New.
* config.gcc (*-*-rtems*): Use rtems.opt.

From-SVN: r168529

13 years agosafe_base.h (_Safe_iterator_base::_M_unlink): New.
François Dumont [Wed, 5 Jan 2011 20:52:36 +0000 (21:52 +0100)] 
safe_base.h (_Safe_iterator_base::_M_unlink): New.

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

13 years agoRemove 3DNow instructions from the bdver1-supported instruction sets
Changpeng Fang [Wed, 5 Jan 2011 19:55:13 +0000 (19:55 +0000)] 
Remove 3DNow instructions from the bdver1-supported instruction sets

* config/i386/i386.c (ix86_option_override_internal): Bulldozer
processors do not support 3DNow instructions.

From-SVN: r168527

13 years agore PR fortran/47180 ([OOP] EXTENDS_TYPE_OF returns the wrong result for disassociated...
Janus Weil [Wed, 5 Jan 2011 19:14:56 +0000 (20:14 +0100)] 
re PR fortran/47180 ([OOP] EXTENDS_TYPE_OF returns the wrong result for 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

13 years agospu.c (spu_option_override): Set parameter PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 inste...
Ulrich Weigand [Wed, 5 Jan 2011 18:44:54 +0000 (18:44 +0000)] 
spu.c (spu_option_override): Set parameter PARAM_MAX_COMPLETELY_PEEL_TIMES 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

13 years agore PR fortran/47180 ([OOP] EXTENDS_TYPE_OF returns the wrong result for disassociated...
Janus Weil [Wed, 5 Jan 2011 18:06:21 +0000 (19:06 +0100)] 
re PR fortran/47180 ([OOP] EXTENDS_TYPE_OF returns the wrong result for 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

13 years agolto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified at the command...
Jan Hubicka [Wed, 5 Jan 2011 16:07:09 +0000 (17:07 +0100)] 
lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified at the command line.

* lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
at the command line.

From-SVN: r168520

13 years agore PR lto/47162 (LTO is broken)
Martin Jambor [Wed, 5 Jan 2011 14:55:27 +0000 (15:55 +0100)] 
re PR lto/47162 (LTO is broken)

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

13 years agoc-parser.c (c_parser_omp_atomic): Pass location of assignment operator to c_finish_om...
Tom Tromey [Wed, 5 Jan 2011 14:51:20 +0000 (14:51 +0000)] 
c-parser.c (c_parser_omp_atomic): Pass location of assignment operator to 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

13 years agore PR go/47176 (libgo doesn't compile if libunicode is installed)
Ian Lance Taylor [Wed, 5 Jan 2011 14:12:37 +0000 (14:12 +0000)] 
re PR go/47176 (libgo doesn't compile if libunicode is installed)

PR go/47176
byte/libbytes.a depends on unicode.gox.

From-SVN: r168512

13 years agospu.c (emit_nop_for_insn): Set INSN_LOCATOR for newly inserted insns.
Ulrich Weigand [Wed, 5 Jan 2011 13:28:20 +0000 (13:28 +0000)] 
spu.c (emit_nop_for_insn): Set INSN_LOCATOR for newly inserted insns.

* 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

13 years agospu.c (spu_expand_prologue): Support -fstack-usage.
Ulrich Weigand [Wed, 5 Jan 2011 13:25:36 +0000 (13:25 +0000)] 
spu.c (spu_expand_prologue): Support -fstack-usage.

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

13 years agore PR tree-optimization/47005 (ACATS c62002a is miscompiled at -O2)
Eric Botcazou [Wed, 5 Jan 2011 11:23:40 +0000 (11:23 +0000)] 
re PR tree-optimization/47005 (ACATS c62002a is miscompiled at -O2)

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

13 years agore PR fortran/46017 (Reject ALLOCATE(a, a%b) as "a%b" depends on the allocation...
Thomas Koenig [Wed, 5 Jan 2011 10:03:15 +0000 (10:03 +0000)] 
re PR fortran/46017 (Reject  ALLOCATE(a, a%b) as  "a%b" depends on the 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

13 years agore PR fortran/47024 ([OOP] STORAGE_SIZE (for polymorphic types): Segfault at run...
Janus Weil [Wed, 5 Jan 2011 09:05:44 +0000 (10:05 +0100)] 
re PR fortran/47024 ([OOP] STORAGE_SIZE (for polymorphic types): Segfault at 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

13 years agore PR go/47158 ([cppcheck][PATCH] found a memory leaks in gcc/gcc/go/gofrontend/gogo...
Ian Lance Taylor [Wed, 5 Jan 2011 05:33:32 +0000 (05:33 +0000)] 
re PR go/47158 ([cppcheck][PATCH] found a memory leaks in gcc/gcc/go/gofrontend/gogo-tree.cc)

PR go/47158
PR go/47159
PR go/47160
PR go/47161
Fix space leaks.
Patch from Ettl Martin.

From-SVN: r168504

13 years agore PR libfortran/47154 (END= does not work in namelist read)
Jerry DeLisle [Wed, 5 Jan 2011 04:18:39 +0000 (04:18 +0000)] 
re PR libfortran/47154 (END= does not work in namelist read)

2011-01-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/47154
* gfortran.dg/namelist_68.f90: New test.

From-SVN: r168503

13 years agore PR libfortran/47154 (END= does not work in namelist read)
Jerry DeLisle [Wed, 5 Jan 2011 03:53:15 +0000 (03:53 +0000)] 
re PR libfortran/47154 (END= does not work in namelist read)

2011-01-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/47154
* io/list_read.c (namelist_read): Remove calls to hit_eof to avoid the
duplicate calls via next_record.

From-SVN: r168502

13 years ago* de.po: Update.
Joseph Myers [Wed, 5 Jan 2011 01:24:51 +0000 (01:24 +0000)] 
* de.po: Update.

From-SVN: r168501

13 years agore PR go/46959 (M68K Not Supported by Go)
Ian Lance Taylor [Wed, 5 Jan 2011 00:24:15 +0000 (00:24 +0000)] 
re PR go/46959 (M68K Not Supported by Go)

PR go/46959
PR go/46960
PR go/46961
PR go/46962
PR go/46963
PR go/46964
Use __builtin_unwind_init rather than the SAVE_REGS hack.

From-SVN: r168500

13 years agoDaily bump.
GCC Administrator [Wed, 5 Jan 2011 00:18:25 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168499

13 years agore PR go/46958 (ARM Go Does Not Compile (__builtin_return_address))
Ian Lance Taylor [Wed, 5 Jan 2011 00:07:59 +0000 (00:07 +0000)] 
re PR go/46958 (ARM Go Does Not Compile (__builtin_return_address))

PR go/46958
PR go/46965
Call __builtin_return_address with 0 rather than 1.

From-SVN: r168495

13 years agoCheck for identical package name and prefix in imported package.
Ian Lance Taylor [Tue, 4 Jan 2011 23:29:49 +0000 (23:29 +0000)] 
Check for identical package name and prefix in imported package.

From-SVN: r168494

13 years agore PR tree-optimization/47056 (10 Ada ACATS tests fail to link with undefined referen...
Eric Botcazou [Tue, 4 Jan 2011 23:22:31 +0000 (23:22 +0000)] 
re PR tree-optimization/47056 (10 Ada ACATS tests fail to link with undefined reference on ia64-linux)

PR tree-optimization/47056
* cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
(mark_load): Likewise.  Handle FUNCTION_DECL specially.
(mark_store): Likewise.  Pass STMT to ipa_record_reference.

From-SVN: r168493

13 years agore PR preprocessor/39213 (Preprocessor ICE with -m64 and --traditional-cpp)
Eric Botcazou [Tue, 4 Jan 2011 23:18:12 +0000 (23:18 +0000)] 
re PR preprocessor/39213 (Preprocessor ICE with -m64 and --traditional-cpp)

PR preprocessor/39213
* directives.c (end_directive): Call _cpp_remove_overlay for deferred
pragmas as well in traditional mode.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r168490

13 years agoDon't crash if append arguments are erroneous.
Ian Lance Taylor [Tue, 4 Jan 2011 22:54:05 +0000 (22:54 +0000)] 
Don't crash if append arguments are erroneous.

From-SVN: r168489

13 years agodwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the initializer.
Eric Botcazou [Tue, 4 Jan 2011 22:44:04 +0000 (22:44 +0000)] 
dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the initializer.

* dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
initializer.  Skip view conversions from aggregate types.

From-SVN: r168488

13 years agoDon't crash when adding function calls that return multiple results.
Ian Lance Taylor [Tue, 4 Jan 2011 22:37:26 +0000 (22:37 +0000)] 
Don't crash when adding function calls that return multiple results.

From-SVN: r168487

13 years agoDon't look outside of function literal for break or continue label.
Ian Lance Taylor [Tue, 4 Jan 2011 22:18:20 +0000 (22:18 +0000)] 
Don't look outside of function literal for break or continue label.

From-SVN: r168486

13 years agoDon't create erroneous COND_EXPR.
Ian Lance Taylor [Tue, 4 Jan 2011 22:15:46 +0000 (22:15 +0000)] 
Don't create erroneous COND_EXPR.

From-SVN: r168485

13 years agoDon't crash if tuple init redefines non-variable.
Ian Lance Taylor [Tue, 4 Jan 2011 21:15:26 +0000 (21:15 +0000)] 
Don't crash if tuple init redefines non-variable.

From-SVN: r168484

13 years agoDon't crash if named constant has no type when converting to GENERIC.
Ian Lance Taylor [Tue, 4 Jan 2011 20:18:31 +0000 (20:18 +0000)] 
Don't crash if named constant has no type when converting to GENERIC.

From-SVN: r168483

13 years agoDon't crash initializing multiple vars from a single result function.
Ian Lance Taylor [Tue, 4 Jan 2011 19:46:23 +0000 (19:46 +0000)] 
Don't crash initializing multiple vars from a single result function.

From-SVN: r168482

13 years agoCheck for multiple default cases in switch or select.
Ian Lance Taylor [Tue, 4 Jan 2011 19:34:32 +0000 (19:34 +0000)] 
Check for multiple default cases in switch or select.

From-SVN: r168481

13 years agoFix handling of abstract types in temporary statements.
Ian Lance Taylor [Tue, 4 Jan 2011 19:02:47 +0000 (19:02 +0000)] 
Fix handling of abstract types in temporary statements.

From-SVN: r168480