OSDN Git Service
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
ro [Thu, 6 Jan 2011 18:29:39 +0000 (18:29 +0000)]
PR other/45915
* configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
--version output if supported.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168546
138bc75d-0d04-0410-961f-
82ee72b054a4
dfranke [Thu, 6 Jan 2011 16:08:24 +0000 (16:08 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168542
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 6 Jan 2011 13:04:59 +0000 (13:04 +0000)]
* config/linux-android.opt (tno-android-cc, tno-android-ld): New
Driver options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168538
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 6 Jan 2011 10:37:02 +0000 (10:37 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168537
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 6 Jan 2011 10:14:37 +0000 (10:14 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168536
138bc75d-0d04-0410-961f-
82ee72b054a4
irar [Thu, 6 Jan 2011 07:34:24 +0000 (07:34 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168535
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 6 Jan 2011 01:35:19 +0000 (01:35 +0000)]
Fix order in which recursive structs are converted to GENERIC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168534
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 6 Jan 2011 00:19:36 +0000 (00:19 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168533
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 6 Jan 2011 00:07:32 +0000 (00:07 +0000)]
* config/rtems.opt: New.
* config.gcc (*-*-rtems*): Use rtems.opt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168529
138bc75d-0d04-0410-961f-
82ee72b054a4
fdumont [Wed, 5 Jan 2011 20:52:36 +0000 (20:52 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168528
138bc75d-0d04-0410-961f-
82ee72b054a4
cfang [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168527
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Wed, 5 Jan 2011 19:14:56 +0000 (19:14 +0000)]
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).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168526
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 5 Jan 2011 18:44:54 +0000 (18:44 +0000)]
* config/spu/spu.c (spu_option_override): Set parameter
PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168525
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Wed, 5 Jan 2011 18:06:21 +0000 (18:06 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168524
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 5 Jan 2011 16:07:09 +0000 (16:07 +0000)]
* lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
at the command line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168520
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 5 Jan 2011 14:55:27 +0000 (14:55 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168515
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 5 Jan 2011 14:51:20 +0000 (14:51 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168514
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 5 Jan 2011 14:12:37 +0000 (14:12 +0000)]
PR go/47176
byte/libbytes.a depends on unicode.gox.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168512
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 5 Jan 2011 13:28:20 +0000 (13:28 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168510
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 5 Jan 2011 13:25:36 +0000 (13:25 +0000)]
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__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168509
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 5 Jan 2011 11:23:40 +0000 (11:23 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168508
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Wed, 5 Jan 2011 10:03:15 +0000 (10:03 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168506
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Wed, 5 Jan 2011 09:05:44 +0000 (09:05 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168505
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 5 Jan 2011 05:33:32 +0000 (05:33 +0000)]
PR go/47158
PR go/47159
PR go/47160
PR go/47161
Fix space leaks.
Patch from Ettl Martin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168504
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Wed, 5 Jan 2011 04:18:39 +0000 (04:18 +0000)]
2011-01-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/47154
* gfortran.dg/namelist_68.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168503
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Wed, 5 Jan 2011 03:53:15 +0000 (03:53 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168502
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 5 Jan 2011 01:24:51 +0000 (01:24 +0000)]
* de.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168501
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 5 Jan 2011 00:24:15 +0000 (00:24 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168500
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 5 Jan 2011 00:18:25 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168499
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 5 Jan 2011 00:07:59 +0000 (00:07 +0000)]
PR go/46958
PR go/46965
Call __builtin_return_address with 0 rather than 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168495
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 4 Jan 2011 23:29:49 +0000 (23:29 +0000)]
Check for identical package name and prefix in imported package.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168494
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 4 Jan 2011 23:22:31 +0000 (23:22 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168493
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 4 Jan 2011 23:18:12 +0000 (23:18 +0000)]
PR preprocessor/39213
* directives.c (end_directive): Call _cpp_remove_overlay for deferred
pragmas as well in traditional mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168490
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 4 Jan 2011 22:54:05 +0000 (22:54 +0000)]
Don't crash if append arguments are erroneous.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168489
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 4 Jan 2011 22:44:04 +0000 (22:44 +0000)]
* dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
initializer. Skip view conversions from aggregate types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168488
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 4 Jan 2011 22:37:26 +0000 (22:37 +0000)]
Don't crash when adding function calls that return multiple results.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168487
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 4 Jan 2011 22:18:20 +0000 (22:18 +0000)]
Don't look outside of function literal for break or continue label.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168486
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 4 Jan 2011 22:15:46 +0000 (22:15 +0000)]
Don't create erroneous COND_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168485
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 4 Jan 2011 21:15:26 +0000 (21:15 +0000)]
Don't crash if tuple init redefines non-variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168484
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 4 Jan 2011 20:18:31 +0000 (20:18 +0000)]
Don't crash if named constant has no type when converting to GENERIC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168483
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 4 Jan 2011 19:46:23 +0000 (19:46 +0000)]
Don't crash initializing multiple vars from a single result function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168482
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 4 Jan 2011 19:34:32 +0000 (19:34 +0000)]
Check for multiple default cases in switch or select.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168481
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 4 Jan 2011 19:02:47 +0000 (19:02 +0000)]
Fix handling of abstract types in temporary statements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168480
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Tue, 4 Jan 2011 18:53:32 +0000 (18:53 +0000)]
Ups missed ...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168479
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 4 Jan 2011 18:52:50 +0000 (18:52 +0000)]
Traverse expressions when looking for types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168478
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 4 Jan 2011 18:24:05 +0000 (18:24 +0000)]
Don't crash if package import fails.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168477
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 4 Jan 2011 18:16:17 +0000 (18:16 +0000)]
Fix building recover thunks which return multiple values.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168476
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Tue, 4 Jan 2011 18:05:06 +0000 (18:05 +0000)]
2011-01-04 Kai Tietz <kai.tietz@onevision.com>
PR bootstrap/47055
* libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168475
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Tue, 4 Jan 2011 17:59:39 +0000 (17:59 +0000)]
2011-01-04 Kai Tietz <kai.tietz@onevision.com>
PR libstdc++/47145
* configure.ac (AC_CHECK_FILE): Replaced by test -f.
* configure: Regenerated.
Unbreaking cross-compiling ...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168474
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 4 Jan 2011 17:42:21 +0000 (17:42 +0000)]
Avoid crash when selecting on non-channel.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168473
138bc75d-0d04-0410-961f-
82ee72b054a4
pthomas [Tue, 4 Jan 2011 16:59:42 +0000 (16:59 +0000)]
Fix obvious typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168471
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Tue, 4 Jan 2011 12:59:23 +0000 (12:59 +0000)]
2011-01-04 Janus Weil <janus@gcc.gnu.org>
PR fortran/46448
* class.c (gfc_find_derived_vtab): Set the module field for the copying
routine to make sure it receives module name mangling.
2011-01-04 Janus Weil <janus@gcc.gnu.org>
PR fortran/46448
* gfortran.dg/class_34.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168464
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Tue, 4 Jan 2011 12:20:45 +0000 (12:20 +0000)]
* function.c (thread_prologue_and_epilogue_insns): Do not crash
on empty epilogue sequences.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168463
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Tue, 4 Jan 2011 12:19:31 +0000 (12:19 +0000)]
* gcc.dg/torture/builtin-cproj-1.c: On the __SPU__ target, do not
use __builtin_inff. Skip all single-precision tests that require
Infinity.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168462
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 4 Jan 2011 11:48:04 +0000 (11:48 +0000)]
* config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
non-static): New Driver options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168461
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 4 Jan 2011 11:33:39 +0000 (11:33 +0000)]
* gcc-interface/decl.c: Disable Stdcall convention handling for 64-bit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168460
138bc75d-0d04-0410-961f-
82ee72b054a4
jiez [Tue, 4 Jan 2011 10:21:27 +0000 (10:21 +0000)]
PR driver/47137
* gcc.c (default_compilers[]): Set combinable field to 0
for all assembly languages.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168459
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 4 Jan 2011 09:50:33 +0000 (09:50 +0000)]
* gcc-interface/trans.c (Case_Statement_to_gnu): Put the SLOC of the
end-of-case on the end label and its associated gotos, if any.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168458
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 4 Jan 2011 09:43:56 +0000 (09:43 +0000)]
* gcc-interface/trans.c (Subprogram_Body_to_gnu): Evaluate the
expressions of the parameter cache within the statement group of
the CICO mechanism.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168456
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 4 Jan 2011 09:30:06 +0000 (09:30 +0000)]
* gcc-interface/trans.c (BLOCK_SOURCE_END_LOCATION): Provide default.
(set_end_locus_from_node): New function.
(Subprogram_Body_to_gnu): Use it to mark both the inner BIND_EXPR we
make and the function end_locus.
(Compilation_Unit_to_gnu): Call it instead of a straight Sloc_to_locus
for the elaboration subprogram.
(set_gnu_expr_location_from_node) <default case>: Use it to attempt to
set the end_locus of the expression as well.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168455
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 4 Jan 2011 08:58:02 +0000 (08:58 +0000)]
PR ada/47131
* gcc-interface/trans.c (Identifier_to_gnu): In SJLJ mode, do not make
variables that are referenced in exception handlers volatile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168454
138bc75d-0d04-0410-961f-
82ee72b054a4
xmj [Tue, 4 Jan 2011 02:53:50 +0000 (02:53 +0000)]
Add the pipeline description for Loongson3A.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168452
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 4 Jan 2011 00:18:03 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168451
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 3 Jan 2011 23:59:55 +0000 (23:59 +0000)]
PR middle-end/47017
* expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
instead of convert_memory_address_addr_space on the base expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168447
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 3 Jan 2011 23:16:17 +0000 (23:16 +0000)]
* g++.dg/torture/pr46111.C: Add dg-require-effective-target pthread.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168446
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 3 Jan 2011 23:15:03 +0000 (23:15 +0000)]
* config/spu/spu.c (spu_option_override): Update error text
for bad -march= / -mtune= values.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168445
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 3 Jan 2011 23:14:18 +0000 (23:14 +0000)]
* config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
if branch-hint optimization will be performed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168444
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 3 Jan 2011 23:13:48 +0000 (23:13 +0000)]
Fix incorrect date.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168443
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 3 Jan 2011 21:10:31 +0000 (21:10 +0000)]
PR tree-optimization/47148
* ipa-split.c (split_function): Convert arguments to
DECL_ARG_TYPE if possible.
* gcc.c-torture/execute/pr47148.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168441
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 3 Jan 2011 21:01:14 +0000 (21:01 +0000)]
PR tree-optimization/47155
* tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
when computing uns.
* gcc.c-torture/execute/pr47155.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168440
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 3 Jan 2011 20:59:20 +0000 (20:59 +0000)]
PR rtl-optimization/47157
* combine.c (try_combine): If undobuf.other_insn becomes
(set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
and set *new_direct_jump_p too.
* gcc.c-torture/compile/pr47157.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168439
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 3 Jan 2011 20:52:22 +0000 (20:52 +0000)]
Update Copyright years for files modified in 2010.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168438
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 3 Jan 2011 18:02:35 +0000 (18:02 +0000)]
* gcc.dg/torture/vector-shift2.c (schar): Define.
(main): Always use schar or uchar instead of plain "char" to avoid
dependencies on implementation-defined char signedness.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168437
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 3 Jan 2011 17:09:12 +0000 (17:09 +0000)]
2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/46922
* config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168435
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Mon, 3 Jan 2011 17:01:36 +0000 (17:01 +0000)]
Fix PR47021: ADDR_EXPRs don't contain SCoP parameters.
2011-01-03 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/47021
* graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168433
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 3 Jan 2011 16:14:57 +0000 (16:14 +0000)]
gcc/
* gcc.c (process_command): Update copyright notice dates.
* gcov.c (print_version): Likewise.
* gcov-dump.c (print_version): Likewise.
* mips-tfile.c (main): Likewise.
* mips-tdump.c (main): Likewise.
gcc/fortran/
* gfortranspec.c (lang_specific_driver): Update copyright notice
dates.
gcc/java/
* jcf-dump.c (version): Update copyright notice dates.
libmudflap/
* mf-runtime.c (__mf_usage): Update copyright notice dates.
libjava/
* gnu/gcj/convert/Convert.java (version): Update copyright notice
dates.
* gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise.
libjava/classpath/
* gnu/java/rmi/registry/RegistryImpl.java (version): Update
copyright notice dates.
* tools/gnu/classpath/tools/orbd/Main.java (run): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168432
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Mon, 3 Jan 2011 15:43:23 +0000 (15:43 +0000)]
2011-01-03 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/46801
* tree-sra.c (type_internals_preclude_sra_p): Check whether
aggregate fields start at byte boundary instead of the bit-field flag.
* testsuite/gnat.dg/pack9.adb: Remove xfail.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168431
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 3 Jan 2011 15:03:05 +0000 (15:03 +0000)]
Revert revision 168407.
2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
PR driver/47137
* gcc.c (main): Revert revision 168407.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168429
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Mon, 3 Jan 2011 13:32:44 +0000 (13:32 +0000)]
2011-01-03 Martin Jambor <mjambor@suse.cz>
* lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168424
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 3 Jan 2011 13:25:25 +0000 (13:25 +0000)]
* tree-vect-generic.c (expand_vector_operations_1): When using vector/
vector optab to expand vector/scalar shift, update gimple to vector.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168423
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Mon, 3 Jan 2011 13:15:35 +0000 (13:15 +0000)]
2011-01-03 Martin Jambor <mjambor@suse.cz>
* cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
a thunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168422
138bc75d-0d04-0410-961f-
82ee72b054a4