OSDN Git Service
rth [Tue, 11 Jan 2011 18:52:43 +0000 (18:52 +0000)]
mn10300: Clean up costing.
Address, register, memory and rtx costs bore little relation to reality.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168678
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 11 Jan 2011 18:40:19 +0000 (18:40 +0000)]
Oops, forgot predicates.md line in last Changelog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168677
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 11 Jan 2011 18:38:48 +0000 (18:38 +0000)]
mn10300: Remove bset/bclr patterns.
These instructions do not use normal addressing modes and are
incorrectly implemented for that. Corrections to legitimate
addresses expose problems here.
Delete them for now. To be re-instated later in the form of
atomic operation builtins.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168676
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 11 Jan 2011 18:28:59 +0000 (18:28 +0000)]
mn10300: Define the A and D constraints.
This will allow combining am33 and mn103 alternatives
without having to resort to the enabled attribute.
The existing 'A' constraint renamed to 'c'. Thankfully
this existing accumulator constraint doesn't appear in
either newlib or eglibc sources.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168675
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 11 Jan 2011 18:26:16 +0000 (18:26 +0000)]
mn10300: Add attribute enabled.
This will allow merging am33 and mn103 patterns for which the
set of alternatives can't be merged via constraint letters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168674
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 11 Jan 2011 18:24:46 +0000 (18:24 +0000)]
mn10300: fp insn cleanup
Delete integer-mode abssf2, negsf2; these will be handled
by the middle-end now. Delete unnecessary expanders.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168673
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 11 Jan 2011 18:20:37 +0000 (18:20 +0000)]
mn10300: Fix debug offsets into the stack frame
We were using debugging hooks to semi-correct a mistake
in the lack of ARG_POINTER_CFA_OFFSET.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168672
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 11 Jan 2011 18:17:25 +0000 (18:17 +0000)]
mn10300: Emit the movm stores in the correct order.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168671
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 11 Jan 2011 18:13:47 +0000 (18:13 +0000)]
mn10300: Delete ASM_PN_FORMAT.
Is there any real reason for this? It causes testsuite failures
because the pattern doesn't match many of the dumps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168670
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 11 Jan 2011 18:12:40 +0000 (18:12 +0000)]
mn10300: Disable test tree-ssa/vrp47.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168669
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 11 Jan 2011 18:11:07 +0000 (18:11 +0000)]
mn10300: Better definition of INCOMING_RETURN_ADDR_RTX.
The new definition is more useful to the unwinder.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168668
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 11 Jan 2011 17:33:52 +0000 (17:33 +0000)]
Fix incorrectly applied patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168667
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 11 Jan 2011 17:29:52 +0000 (17:29 +0000)]
PR lto/45721
PR lto/45375
* tree.h (symbol_alias_set_t): Move typedef here from varasm.c
(symbol_alias_set_destroy, symbol_alias_set_contains,
propagate_aliases_backward): Declare.
* lto-streamer-out.c (struct sets): New sturcture.
(trivally_defined_alias): New function.
(output_alias_pair_p): Rewrite.
(output_unreferenced_globals): Fix output of alias pairs.
(produce_symtab): Likewise.
* ipa.c (function_and_variable_visibility): Set weak alias destination
as needed in lto.
* varasm.c (symbol_alias_set_t): Remove.
(symbol_alias_set_destroy): Export.
(propagate_aliases_forward, propagate_aliases_backward): New functions
based on ...
(compute_visible_aliases): ... this one; remove.
(trivially_visible_alias): New
(trivially_defined_alias): New.
(remove_unreachable_alias_pairs): Rewrite.
(finish_aliases_1): Reorganize code checking if alias is defined.
* passes.c (rest_of_decl_compilation): Do not call assemble_alias when
in LTO mode.
* lto.c (partition_cgraph_node_p, partition_varpool_node_p): Weakrefs are
not partitioned.
* testsuite/gcc.dg/lto/pr45721_1.c: New file.
* testsuite/gcc.dg/lto/pr45721_0.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168666
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 11 Jan 2011 17:01:37 +0000 (17:01 +0000)]
2011-01-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/46076
* tree-ssa.c (useless_type_conversion_p): Conversions from
unprototyped to empty argument list function types are useless.
* gcc.dg/tree-ssa/pr46076.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168665
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 11 Jan 2011 16:43:25 +0000 (16:43 +0000)]
2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
* aclocal.m4: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168664
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 11 Jan 2011 15:41:17 +0000 (15:41 +0000)]
2011-01-11 Richard Guenther <rguenther@suse.de>
PR middle-end/45235
* emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
volatile MEMs as MEM_READONLY_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168663
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Tue, 11 Jan 2011 14:51:07 +0000 (14:51 +0000)]
2011-01-11 Kai Tietz <kai.tietz@onevision.com>
PR bootstrap/47215
* decl.c (java_init_decl_processing): Initialize
long_integer_type_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168662
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 11 Jan 2011 14:23:20 +0000 (14:23 +0000)]
2011-01-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/47239
* tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168661
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 11 Jan 2011 14:10:54 +0000 (14:10 +0000)]
* PR tree-optimization/47086
* tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
IVs from statements that might throw.
* PR tree-optimization/47086
* gcc.dg/pr47086.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168659
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 11 Jan 2011 11:30:07 +0000 (11:30 +0000)]
PR c++/46658
* init.c (build_new_1): Handle value-init in templates differently.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168655
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 11 Jan 2011 11:29:58 +0000 (11:29 +0000)]
PR c++/45520
* tree.c (maybe_dummy_object): Check current_class_ref against
context, not current_class_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168654
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [Tue, 11 Jan 2011 10:14:48 +0000 (10:14 +0000)]
gcc/testsuite:
* objc-obj-c++-shared/next-mapping.h: Add copyright header.
Split type definitions and NSConstantString class into...
* objc-obj-c++-shared/objc-test-suite-types.h: New.
* objc-obj-c++-shared/nsconstantstring-class.h: New.
* objc-obj-c++-shared/nsconstantstring-class-impl.h: New.
* objc-obj-c++-shared/nsconstantstring-class-impl.m: New.
* objc-obj-c++-shared/nsconstantstring-class-impl.mm: New.
* objc-obj-c++-shared/next-abi.h: Add copyright header, minor update
to comments.
* objc-obj-c++-shared/objc-test-suite-next-encode-assist.h: Adjust
encode defines for newer NeXT system headers.
* obj-c++.dg/template-4.mm: Adjust to use nsconstantstring headers.
* obj-c++.dg/torture/strings/string1.mm: Likewise.
* objc.dg/foreach-5.m: Likewise.
* objc.dg/foreach-2.m: Likewise.
* objc.dg/foreach-4.m: Likewise.
* objc.dg/torture/strings/string1.m: Likewise.
* objc.dg/torture/strings/string2.m: Likewise.
* objc.dg/torture/strings/string3.m: Likewise.
* objc.dg/torture/strings/string4.m: Likewise.
* obj-c++.dg/torture/strings/const-str-3.mm: Adjust to use type
header and stand alone.
* obj-c++.dg/strings/strings-2.mm: Likewise.
* objc.dg/torture/strings/const-str-3.m: Likewise.
* objc.dg/strings/strings-2.m: Likewise.
* objc.dg/strings/const-str-12b.m: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168653
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 11 Jan 2011 10:09:15 +0000 (10:09 +0000)]
2011-01-12 Richard Guenther <rguenther@suse.de>
PR middle-end/32511
* c-common.c (handle_weak_attribute): Warn instead of error
on declaring an inline function weak.
* gcc.dg/attr-weak-1.c: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168652
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Tue, 11 Jan 2011 05:19:20 +0000 (05:19 +0000)]
2011-01-11 Paul Thomas <pault@gcc.gnu.org>
PR fortran/47051
* trans-array.c (gfc_alloc_allocatable_for_assignment): Change
to be standard compliant by testing for shape rather than size
before skipping reallocation. Improve comments.
2011-01-11 Paul Thomas <pault@gcc.gnu.org>
PR fortran/47051
* gfortran.dg/realloc_on_assign_2.f03 : Modify 'test1' to be
standard compliant and comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168650
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 11 Jan 2011 00:18:20 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168649
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 10 Jan 2011 23:43:54 +0000 (23:43 +0000)]
* config/bootstrap-lto.mk: -fuse-linker-plugin is default now;
pass -fno-lto to STAGEprofile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168645
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 10 Jan 2011 23:37:45 +0000 (23:37 +0000)]
PR lto/45375
* lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168644
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 10 Jan 2011 23:37:11 +0000 (23:37 +0000)]
PR lto/45375
* profile.c (read_profile_edge_counts): Ignore profile inconistency
when correcting profile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168643
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 10 Jan 2011 21:54:33 +0000 (21:54 +0000)]
PR lto/46083
* lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
DECL_FINI_PRIORITY.
* lto-streamer-in.c (unpack_ts_function_decl_value_fields):
Restore DECL_FINI_PRIORITY.
* gcc.dg/initpri3.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168642
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 10 Jan 2011 19:58:57 +0000 (19:58 +0000)]
Add __attribute__((externally_visible)).
2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
PR lto/47222
* g++.dg/torture/stackalign/test-unwind.h (g_edi): Mark it
externally visible.
(g_esi): Likewise.
(g_ebx): Likewise.
(g_ebp): Likewise.
(g_esp): Likewise.
(g_ebp_save): Likewise.
(g_esp_save): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168640
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Mon, 10 Jan 2011 19:41:39 +0000 (19:41 +0000)]
2010-08-17 Jack Howarth <howarth@bromo.med.uc.edu>
PR target/45258
* gcc.c (spec_function): Add remove-outfile.
(remove_outfile_spec_function): New function.
* config/darwin.h (LINK_SPEC): Add removal of -ldl, -lm and -lpthread.
* invoke.texi (replace-outfile): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168639
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Mon, 10 Jan 2011 19:02:28 +0000 (19:02 +0000)]
* g++.dg/ipa/pr46984.C: Add dg-require-effective-target lto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168638
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [Mon, 10 Jan 2011 19:00:10 +0000 (19:00 +0000)]
doc: fix deftypefn markup in gccint manual.
gcc/:
* doc/gimple.texi: Fix quoting of multi-word return values in
@deftypefn statements. Ensure presence of return value. Wrap
overlong @deftypefn lines.
(is_gimple_operand, is_gimple_min_invariant_address): Remove
descriptions of removed functions.
* doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
of multi-word return value in @deftypefn statement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168637
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [Mon, 10 Jan 2011 18:59:56 +0000 (18:59 +0000)]
doc: avoid extra indentation in gimple.texi
gcc/:
* doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
(Conditional Expressions, Logical Operators)
(Statement and operand traversals): Do not indent smallexample
code. Fix duplicate function argument in example.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168636
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Mon, 10 Jan 2011 18:19:45 +0000 (18:19 +0000)]
PR tree-optimization/46021
* gcc.dg/tree-ssa/
20040204-1.c: Don't XFAIL on alpha*-*-*,
i?86-*-*, x86_64-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168635
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 10 Jan 2011 16:48:42 +0000 (16:48 +0000)]
* PR tree-optimization/47141
* ipa-split.c (split_function): Handle case where we are returning a
value and the return block has a virtual operand phi.
* gcc.c-torture/compile/pr47141.c: New test.
Approved by richie in IRC
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168634
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 10 Jan 2011 14:33:04 +0000 (14:33 +0000)]
PR tree-optimization/47234
* tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
(pass_feedback_split_functions): Declare.
* passes.c (init_optimization_passes): Add ipa-split as subpass of
tree-profile.
* ipa-split.c (gate_split_functions): Update comments; disable
split-functions for profile_arc_flag and branch_probabilities.
(gate_feedback_split_functions): New function.
(execute_feedback_split_functions): New function.
(pass_feedback_split_functions): New global var.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168632
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 10 Jan 2011 13:24:27 +0000 (13:24 +0000)]
Check e->call_stmt before calling gimple_call_set_cannot_inline.
2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
PR lto/46760
* tree-inline.c (tree_can_inline_p): Check e->call_stmt before
calling gimple_call_set_cannot_inline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168631
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 10 Jan 2011 13:19:40 +0000 (13:19 +0000)]
* ja.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168630
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 10 Jan 2011 12:51:00 +0000 (12:51 +0000)]
PR testsuite/46230
* gcc.dg/vect/vect-vfa-slp.c: Remove XFAIL.
* gcc.dg/vect/slp-23.c: Remove XFAIL for SLP.
* gcc.dg/vect/slp-35.c: Remove XFAILs.
* gcc.dg/vect/no-tree-pre-slp-29.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168629
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 10 Jan 2011 12:41:40 +0000 (12:41 +0000)]
PR testsuite/46230
* gcc.dg/vect/vect-peel-1.c (main): Prevent initialization loop from
being vectorized. Adjust dg-final pattern. Remove XFAIL.
* gcc.dg/vect/vect-peel-2.c (main): Likewise.
* gcc.dg/vect/vect-peel-4.c (main): Prevent initialization loop from
being vectorized. Adjust dg-final pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168628
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 10 Jan 2011 12:11:59 +0000 (12:11 +0000)]
PR testsuite/46230
* gcc.dg/vect/pr33804.c: XFAIL only for ilp32.
* gcc.dg/vect/slp-24.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168627
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [Mon, 10 Jan 2011 08:41:58 +0000 (08:41 +0000)]
gcc:
* config/darwin-sections.def: Remove unused section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168626
138bc75d-0d04-0410-961f-
82ee72b054a4
davek [Mon, 10 Jan 2011 00:33:32 +0000 (00:33 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168624
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 10 Jan 2011 00:18:33 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168623
138bc75d-0d04-0410-961f-
82ee72b054a4
nicola [Sun, 9 Jan 2011 22:47:22 +0000 (22:47 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168619
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Sun, 9 Jan 2011 21:01:38 +0000 (21:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168618
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [Sun, 9 Jan 2011 16:59:00 +0000 (16:59 +0000)]
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
iains [Sun, 9 Jan 2011 16:24:46 +0000 (16:24 +0000)]
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
ktietz [Sun, 9 Jan 2011 16:20:13 +0000 (16:20 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168615
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sun, 9 Jan 2011 15:37:47 +0000 (15:37 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168614
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 9 Jan 2011 14:57:15 +0000 (14:57 +0000)]
* ja.po, sv.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168613
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 9 Jan 2011 14:34:41 +0000 (14:34 +0000)]
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
iains [Sun, 9 Jan 2011 12:41:33 +0000 (12:41 +0000)]
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
janus [Sun, 9 Jan 2011 10:35:50 +0000 (10:35 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168610
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168609
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 9 Jan 2011 00:18:03 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168608
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sat, 8 Jan 2011 22:59:42 +0000 (22:59 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168604
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [Sat, 8 Jan 2011 20:47:27 +0000 (20:47 +0000)]
update gcc/objc/Changelog copyright years.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168603
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [Sat, 8 Jan 2011 20:32:32 +0000 (20:32 +0000)]
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
nicola [Sat, 8 Jan 2011 19:44:30 +0000 (19:44 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168601
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Sat, 8 Jan 2011 19:17:03 +0000 (19:17 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168600
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 8 Jan 2011 16:41:39 +0000 (16:41 +0000)]
* ja.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168599
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 8 Jan 2011 16:33:57 +0000 (16:33 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168598
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [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 ().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168597
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sat, 8 Jan 2011 09:38:13 +0000 (09:38 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168596
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 8 Jan 2011 07:56:36 +0000 (07:56 +0000)]
Fix long lines
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168595
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168594
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 8 Jan 2011 01:37:00 +0000 (01:37 +0000)]
* 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
gccadmin [Sat, 8 Jan 2011 00:18:00 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168592
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 7 Jan 2011 23:29:27 +0000 (23:29 +0000)]
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168588
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 7 Jan 2011 22:52:54 +0000 (22:52 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168587
138bc75d-0d04-0410-961f-
82ee72b054a4
wschmidt [Fri, 7 Jan 2011 21:54:14 +0000 (21:54 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168586
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Fri, 7 Jan 2011 21:11:48 +0000 (21:11 +0000)]
2011-01-07 Kai Tietz <kai.tietz@onevision.com>
PR bootstrap/47215
* decl.c (java_init_decl_processing): Initialize unsigned_type_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168585
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Fri, 7 Jan 2011 21:08:03 +0000 (21:08 +0000)]
* config/spu/spu.h (ASM_COMMENT_START): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168584
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [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 "%>".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168583
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 7 Jan 2011 18:41:40 +0000 (18:41 +0000)]
PR target/47201
* config/i386/i386.c (ix86_delegitimize_address): If
simplify_gen_subreg fails, return orig_x.
* gcc.dg/pr47201.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168582
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 7 Jan 2011 18:39:11 +0000 (18:39 +0000)]
PR bootstrap/47187
* value-prof.c (gimple_stringop_fixed_value): Handle
lhs of the call properly.
* gcc.dg/tree-prof/pr47187.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168581
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 7 Jan 2011 18:21:00 +0000 (18:21 +0000)]
PR lto/45375
* lto-opt.c (lto_reissue_options): Set flag_shlib.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168580
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Fri, 7 Jan 2011 16:19:29 +0000 (16:19 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168579
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 7 Jan 2011 14:34:04 +0000 (14:34 +0000)]
* ru.po: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168573
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Fri, 7 Jan 2011 14:12:43 +0000 (14:12 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168572
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168571
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168570
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Fri, 7 Jan 2011 13:50:15 +0000 (13:50 +0000)]
2011-01-07 Kai Tietz <kai.tietz@onevision.com>
* decl.c (java_init_decl_processing): Setup va_list_type_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168569
138bc75d-0d04-0410-961f-
82ee72b054a4
aesok [Fri, 7 Jan 2011 13:45:04 +0000 (13:45 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168568
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Fri, 7 Jan 2011 12:08:21 +0000 (12:08 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168565
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 7 Jan 2011 11:49:44 +0000 (11:49 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168564
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 7 Jan 2011 00:18:11 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168562
138bc75d-0d04-0410-961f-
82ee72b054a4
cfang [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168558
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 6 Jan 2011 23:36:25 +0000 (23:36 +0000)]
PR debug/46704
* dwarf2out.c (dwarf2out_finish): Output the debug_aranges section
only when it is not empty.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168557
138bc75d-0d04-0410-961f-
82ee72b054a4
cfang [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168556
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [Thu, 6 Jan 2011 22:09:41 +0000 (22:09 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168555
138bc75d-0d04-0410-961f-
82ee72b054a4
dfranke [Thu, 6 Jan 2011 21:42:53 +0000 (21:42 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168554
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Thu, 6 Jan 2011 19:44:32 +0000 (19:44 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168553
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Thu, 6 Jan 2011 19:37:01 +0000 (19:37 +0000)]
* doc/invoke.texi (Overall Options): Improve wording and markup
of the description of -wrapper.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168552
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 6 Jan 2011 19:01:28 +0000 (19:01 +0000)]
* config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
rdynamic, threads): New Driver options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168551
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Thu, 6 Jan 2011 19:00:10 +0000 (19:00 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168550
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Thu, 6 Jan 2011 18:56:58 +0000 (18:56 +0000)]
* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
Add -shared-libgcc to cxxflags for *-*-solaris*.
Remove -lsocket.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168549
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 6 Jan 2011 18:50:20 +0000 (18:50 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168548
138bc75d-0d04-0410-961f-
82ee72b054a4