Ian Lance Taylor [Tue, 4 Jan 2011 17:42:21 +0000 (17:42 +0000)]
Avoid crash when selecting on non-channel.
From-SVN: r168473
Philipp Thomas [Tue, 4 Jan 2011 16:59:42 +0000 (16:59 +0000)]
Fix obvious typo.
From-SVN: r168471
Janus Weil [Tue, 4 Jan 2011 12:59:23 +0000 (13:59 +0100)]
re PR fortran/46448 ([OOP] symbol `__copy_...' is already defined)
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.
From-SVN: r168464
Ulrich Weigand [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.
* function.c (thread_prologue_and_epilogue_insns): Do not crash
on empty epilogue sequences.
From-SVN: r168463
Ulrich Weigand [Tue, 4 Jan 2011 12:19:31 +0000 (12:19 +0000)]
builtin-cproj-1.c: On the __SPU__ target, do not use __builtin_inff.
* gcc.dg/torture/builtin-cproj-1.c: On the __SPU__ target, do not
use __builtin_inff. Skip all single-precision tests that require
Infinity.
From-SVN: r168462
Joseph Myers [Tue, 4 Jan 2011 11:48:04 +0000 (11:48 +0000)]
vxworks.opt (Bdynamic, [...]): New Driver options.
* config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
non-static): New Driver options.
From-SVN: r168461
Pascal Obry [Tue, 4 Jan 2011 11:33:39 +0000 (11:33 +0000)]
decl.c: Disable Stdcall convention handling for 64-bit.
* gcc-interface/decl.c: Disable Stdcall convention handling for 64-bit.
Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r168460
Jie Zhang [Tue, 4 Jan 2011 10:21:27 +0000 (10:21 +0000)]
re PR driver/47137 (gcc incorrectly combines assembly inputs)
PR driver/47137
* gcc.c (default_compilers[]): Set combinable field to 0
for all assembly languages.
From-SVN: r168459
Eric Botcazou [Tue, 4 Jan 2011 09:50:33 +0000 (09:50 +0000)]
trans.c (Case_Statement_to_gnu): Put the SLOC of the end-of-case on the end label and its associated gotos, if any.
* 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.
From-SVN: r168458
Eric Botcazou [Tue, 4 Jan 2011 09:43:56 +0000 (09:43 +0000)]
trans.c (Subprogram_Body_to_gnu): Evaluate the expressions of the parameter cache within the statement group of...
* gcc-interface/trans.c (Subprogram_Body_to_gnu): Evaluate the
expressions of the parameter cache within the statement group of
the CICO mechanism.
From-SVN: r168456
Olivier Hainque [Tue, 4 Jan 2011 09:30:06 +0000 (09:30 +0000)]
trans.c (BLOCK_SOURCE_END_LOCATION): Provide default.
* 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.
Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r168455
Eric Botcazou [Tue, 4 Jan 2011 08:58:02 +0000 (08:58 +0000)]
re PR ada/47131 (internal error for ACATS
C34011B on SJLJ targets)
PR ada/47131
* gcc-interface/trans.c (Identifier_to_gnu): In SJLJ mode, do not make
variables that are referenced in exception handlers volatile.
From-SVN: r168454
Mingjie Xing [Tue, 4 Jan 2011 02:53:50 +0000 (02:53 +0000)]
Add the pipeline description for Loongson3A.
From-SVN: r168452
GCC Administrator [Tue, 4 Jan 2011 00:18:03 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r168451
Eric Botcazou [Mon, 3 Jan 2011 23:59:55 +0000 (23:59 +0000)]
re PR middle-end/47017 (gnatlib ICE on sparc64-linux)
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.
From-SVN: r168447
Ulrich Weigand [Mon, 3 Jan 2011 23:16:17 +0000 (23:16 +0000)]
* g++.dg/torture/pr46111.C: Add dg-require-effective-target pthread.
From-SVN: r168446
Ulrich Weigand [Mon, 3 Jan 2011 23:15:03 +0000 (23:15 +0000)]
spu.c (spu_option_override): Update error text for bad -march= / -mtune= values.
* config/spu/spu.c (spu_option_override): Update error text
for bad -march= / -mtune= values.
From-SVN: r168445
Ulrich Weigand [Mon, 3 Jan 2011 23:14:18 +0000 (23:14 +0000)]
spu.c (asm_file_start): Only reset flag_var_tracking if branch-hint optimization will be performed.
* config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
if branch-hint optimization will be performed.
From-SVN: r168444
Ulrich Weigand [Mon, 3 Jan 2011 23:13:48 +0000 (23:13 +0000)]
Fix incorrect date.
From-SVN: r168443
Jakub Jelinek [Mon, 3 Jan 2011 21:10:31 +0000 (22:10 +0100)]
re PR target/47148 (likely wrong code bug)
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.
From-SVN: r168441
Jakub Jelinek [Mon, 3 Jan 2011 21:01:14 +0000 (22:01 +0100)]
re PR tree-optimization/47155 (ccp caused miscompilation)
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.
From-SVN: r168440
Jakub Jelinek [Mon, 3 Jan 2011 20:59:20 +0000 (21:59 +0100)]
re PR rtl-optimization/47157 (ICE: in calc_dfs_tree, at dominance.c:395 with -O)
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.
From-SVN: r168439
Jakub Jelinek [Mon, 3 Jan 2011 20:52:22 +0000 (21:52 +0100)]
Update Copyright years for files modified in 2010.
From-SVN: r168438
Ulrich Weigand [Mon, 3 Jan 2011 18:02:35 +0000 (18:02 +0000)]
vector-shift2.c (schar): Define.
* 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.
From-SVN: r168437
Paolo Carlini [Mon, 3 Jan 2011 17:09:12 +0000 (17:09 +0000)]
re PR libstdc++/46922 (Missing exported symbols from libstdc++)
2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/46922
* config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
From-SVN: r168435
Sebastian Pop [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.
From-SVN: r168433
Jakub Jelinek [Mon, 3 Jan 2011 16:14:57 +0000 (17:14 +0100)]
gcc.c (process_command): Update copyright notice dates.
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.
From-SVN: r168432
Martin Jambor [Mon, 3 Jan 2011 15:43:23 +0000 (16:43 +0100)]
re PR tree-optimization/46801 (FAIL: gnat.dg/pack9.adb scan-tree-dump-not optimized "gnat_rcheck")
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.
From-SVN: r168431
H.J. Lu [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.
From-SVN: r168429
Martin Jambor [Mon, 3 Jan 2011 13:32:44 +0000 (14:32 +0100)]
lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
2011-01-03 Martin Jambor <mjambor@suse.cz>
* lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
From-SVN: r168424
Ulrich Weigand [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...
* tree-vect-generic.c (expand_vector_operations_1): When using vector/
vector optab to expand vector/scalar shift, update gimple to vector.
From-SVN: r168423
Martin Jambor [Mon, 3 Jan 2011 13:15:35 +0000 (14:15 +0100)]
cgraphunit.c (verify_cgraph_node): Verify there is no direct call to a thunk.
2011-01-03 Martin Jambor <mjambor@suse.cz>
* cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
a thunk.
From-SVN: r168422
Martin Jambor [Mon, 3 Jan 2011 13:06:54 +0000 (14:06 +0100)]
re PR tree-optimization/46984 (g++.dg/torture/pr45699.C FAILs with -fno-early-inlining -flto)
2011-01-03 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/46984
* cgraph.h (cgraph_indirect_call_info): make field thunk_delta
HOST_WIDE_INT.
(cgraph_create_indirect_edge): Fixed line length.
(cgraph_indirect_call_info): Declare.
(cgraph_make_edge_direct) Update declaration.
* cgraph.c (cgraph_allocate_init_indirect_info): New function.
(cgraph_create_indirect_edge): Use it.
(cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
callees.
* cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
the new thunk_delta representation.
* ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
HOST_WIDE_INT.
(ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
(ipa_read_indirect_edge_info): Likewise.
* lto-cgraph.c (output_edge_opt_summary): New function.
(output_node_opt_summary): Call it on all outgoing edges.
(input_edge_opt_summary): New function.
(input_node_opt_summary): Call it on all outgoing edges.
* testsuite/g++.dg/ipa/pr46984.C: New test.
From-SVN: r168420
Eric Botcazou [Mon, 3 Jan 2011 11:52:37 +0000 (11:52 +0000)]
Fix wrong date
From-SVN: r168417
Janus Weil [Mon, 3 Jan 2011 10:26:05 +0000 (11:26 +0100)]
intrinsic.texi (LEADZ): Fix example.
2011-01-03 Janus Weil <janus@gcc.gnu.org>
* intrinsic.texi (LEADZ): Fix example.
From-SVN: r168415
GCC Administrator [Mon, 3 Jan 2011 00:17:57 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r168414
Janus Weil [Sun, 2 Jan 2011 21:01:50 +0000 (22:01 +0100)]
re PR fortran/46408 ([OOP] Segfault when running gfortran.dg/class_allocate_6.f03)
2011-01-02 Janus Weil <janus@gcc.gnu.org>
PR fortran/46408
* class.c (gfc_find_derived_vtab): Use EXEC_INIT_ASSIGN for __copy_
routine.
2011-01-02 Janus Weil <janus@gcc.gnu.org>
PR fortran/46408
* gfortran.dg/class_19.f03: Adjust counting of __builtin_free.
From-SVN: r168409
Joseph Myers [Sun, 2 Jan 2011 20:36:01 +0000 (20:36 +0000)]
* de.po: Update.
From-SVN: r168408
H.J. Lu [Sun, 2 Jan 2011 17:54:22 +0000 (17:54 +0000)]
Don't check have_o when settting combine_inputs.
2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR driver/47137
* gcc.c (main): Don't check have_o when settting combine_inputs.
From-SVN: r168407
Joseph Myers [Sun, 2 Jan 2011 17:41:32 +0000 (17:41 +0000)]
* sv.po: Update.
From-SVN: r168406
Joseph Myers [Sun, 2 Jan 2011 17:40:15 +0000 (17:40 +0000)]
* ja.po: Update.
From-SVN: r168405
Eric Botcazou [Sun, 2 Jan 2011 17:28:24 +0000 (17:28 +0000)]
regrename.c: Add general comment describing the pass.
* regrename.c: Add general comment describing the pass.
(struct du_head): Remove 'length' field.
(get_element, merge_sort_comparison, merge, sort_du_head): Remove.
(regrename_optimize): Do not sort chains. Rework comments, add others.
Force renaming to the preferred class (if any) in the first pass and do
not consider registers that belong to it in the second pass.
(create_new_chain): Do not set 'length' field.
(scan_rtx_reg): Likewise.
From-SVN: r168404
Jakub Jelinek [Sun, 2 Jan 2011 17:23:22 +0000 (18:23 +0100)]
Bump Copyright years.
From-SVN: r168403
Jakub Jelinek [Sun, 2 Jan 2011 17:09:08 +0000 (18:09 +0100)]
re PR tree-optimization/47140 (error: conversion of register to a different size)
PR tree-optimization/47140
* tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
to bit_value_binop.
* gcc.c-torture/compile/pr47140.c: New test.
From-SVN: r168402
Jakub Jelinek [Sun, 2 Jan 2011 17:07:15 +0000 (18:07 +0100)]
re PR rtl-optimization/47028 (gcc.dg/tree-ssa/tailrecursion-[57].c FAIL with -foptimize-sibling-calls -fno-forward-propagate -fno-tree-copy-prop -fno-tree-dominator-opts)
PR rtl-optimization/47028
* cfgexpand.c (gimple_expand_cfg): Insert entry edge
insertions after parm_birth_insn instead of at the beginning
of first bb.
* gcc.dg/pr47028.c: New test.
From-SVN: r168401
H.J. Lu [Sun, 2 Jan 2011 16:24:44 +0000 (16:24 +0000)]
Fix a typo.
2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
* objc-act.c (check_that_protocol_is_defined): Fix a typo.
From-SVN: r168400
H.J. Lu [Sun, 2 Jan 2011 16:22:05 +0000 (08:22 -0800)]
Rotate ChangeLogs.
From-SVN: r168399
Nicola Pero [Sun, 2 Jan 2011 10:19:42 +0000 (10:19 +0000)]
In gcc/objc/: 2011-01-02 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/objc/:
2011-01-02 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-act.c (check_that_protocol_is_defined): New.
(lookup_protocol): Call check_that_protocol_is_defined.
In gcc/testsuite/:
2011-01-02 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/protocol-forward-1.m: Removed TODO.
* objc.dg/protocol-forward-2.m: New.
* obj-c++.dg/protocol-forward-2.mm: Removed TODO.
* obj-c++.dg/protocol-forward-2.mm: New.
From-SVN: r168398
Mingjie Xing [Sun, 2 Jan 2011 01:54:33 +0000 (01:54 +0000)]
Correct the year for the last commit. It's 2011 now.
From-SVN: r168397
Mingjie Xing [Sun, 2 Jan 2011 01:30:55 +0000 (01:30 +0000)]
Remove duplicated '@subsubsection Statements'.
From-SVN: r168396
GCC Administrator [Sun, 2 Jan 2011 00:18:31 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r168395
Jan Hubicka [Sat, 1 Jan 2011 13:25:17 +0000 (14:25 +0100)]
tree-loop-distribution.c (tree_loop_distribution): Do not use freed memory.
* tree-loop-distribution.c (tree_loop_distribution): Do not
use freed memory.
From-SVN: r168391
Joseph Myers [Sat, 1 Jan 2011 12:05:40 +0000 (12:05 +0000)]
* ja.po: Update.
From-SVN: r168390
Kai Tietz [Sat, 1 Jan 2011 11:05:41 +0000 (11:05 +0000)]
ChangeLog gcc/
2011-01-01 Kai Tietz <kai.tietz@onevision.com>
PR target/38662
* tree.c (type_hash_eq): Call
language hook for METHOD_TYPEs, too.
ChangeLog gcc/cp
2011-01-01 Kai Tietz <kai.tietz@onevision.com>
PR target/38662
* tree.c (cxx_type_hash_eq):
Allow METHOD_TYPE, too.
ChangeLog gcc/testsuite
2011-01-01 Kai Tietz <kai.tietz@onevision.com>
PR target/38662
* g++.dg/eh/pr38662.C: New testcase.
From-SVN: r168389
Chung-Lin Tang [Sat, 1 Jan 2011 08:52:03 +0000 (08:52 +0000)]
vfp-1.c (test_ldst): Fixed fsts test to scan for newline '\n'.
2011-01-01 Chung-Lin Tang <cltang@codesourcery.com>
* gcc.target/arm/vfp-1.c (test_ldst): Fixed fsts test to
scan for newline '\n'.
From-SVN: r168388
GCC Administrator [Sat, 1 Jan 2011 00:17:39 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r168387
Paul Koning [Fri, 31 Dec 2010 23:00:20 +0000 (18:00 -0500)]
pr46534.c: Skip if pdp11.
* gcc.c-torture/compile/pr46534.c: Skip if pdp11.
* gcc.c-torture/compile/920520-1.c: Ditto.
* gcc.c-torture/compile/pr35318.c: Ditto.
From-SVN: r168383
Benjamin Kosnik [Fri, 31 Dec 2010 22:20:22 +0000 (22:20 +0000)]
run_doxygen: Allow doxygen 1.7.1 again.
2010-12-31 Benjamin Kosnik <bkoz@redhat.com>
* scripts/run_doxygen: Allow doxygen 1.7.1 again.
* doc/xml/manual/build_hacking.xml: Update.
* doc/xml/images/confdeps.dot: Same.
* doc/xml/images/confdeps.png: Same.
* configure.ac: Define BUILD_INFO, BUILD_XML, BUILD_HTML,
BUILD_MAN, BUILD_PDF, BUILD_EPUB conditionally.
* Makefile.am (xml, html, pdf, man, info, pd, dvi, epub): Define,
and install rules.
* doc/Makefile.am: Same. Add stamp rules.
(doc-epub-docbook): Add.
(stamp-xml-single-docbook): Make set too.
* configure: Regenerate.
* Makefile.in: Same.
* doc/Makefile.in: Same.
* include/Makefile.in: Same.
* libsupc++/Makefile.in: Same.
* po/Makefile.in: Same.
* python/Makefile.in: Same.
* src/Makefile.in: Same.
* testsuite/Makefile.in: Same.
* aclocal.m4: Same.
2010-12-31 Benjamin Kosnik <bkoz@redhat.com>
* doc/doxygen/user.cfg.in: Disable PDF_HYPERLINKS.
From-SVN: r168382
Eric Botcazou [Fri, 31 Dec 2010 18:19:33 +0000 (18:19 +0000)]
decl.c (substitute_in_type): Do not deal with LANG_TYPE, METHOD_TYPE or OFFSET_TYPE.
* gcc-interface/decl.c (substitute_in_type): Do not deal with
LANG_TYPE, METHOD_TYPE or OFFSET_TYPE.
* gcc-interface/utils.c (handle_vector_size_attribute): Do not deal
with METHOD_TYPE or OFFSET_TYPE.
From-SVN: r168381
Janus Weil [Fri, 31 Dec 2010 17:06:53 +0000 (18:06 +0100)]
intrinsic.texi (IANY): Correct section title.
2010-12-31 Janus Weil <janus@gcc.gnu.org>
* intrinsic.texi (IANY): Correct section title.
(IALL, IANY, IPARITY): Fix example codes.
From-SVN: r168380
Gerald Pfeifer [Fri, 31 Dec 2010 16:37:58 +0000 (16:37 +0000)]
install.texi (powerpc-*-darwin*): Update reference to Apple Developer Tools.
* doc/install.texi (powerpc-*-darwin*): Update reference to
Apple Developer Tools.
From-SVN: r168379
Joern Rennecke [Fri, 31 Dec 2010 14:34:26 +0000 (14:34 +0000)]
re PR target/47084 (am33_2.0-linux fails to build)
PR target/47084
* config/mn10300/linux.h (PRINT_OPERAND): Update for name changes
to mn10300_print_operand / mn10300_print_operand_address.
From-SVN: r168378
Joern Rennecke [Fri, 31 Dec 2010 14:07:32 +0000 (14:07 +0000)]
re PR target/47114 (powerpc-wrs-vxworks: rs6000_elf_asm_out_{con,de}structor defined but not used)
PR target/47114
* config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): Add
ATTRIBUTE_UNUSED to declaration.
(rs6000_elf_asm_out_destructor): Likewise.
From-SVN: r168377
Joern Rennecke [Fri, 31 Dec 2010 13:42:20 +0000 (13:42 +0000)]
re PR target/47135 (pdp11.c: incompatible type for TARGET_PRINT_OPERAND_PUNCT_VALID_P)
PR target/47135
* config/pdp11/pdp11.c (pdp11_asm_print_operand_punct_valid_p): Change
type to match target.def .
From-SVN: r168376
Ken Werner [Fri, 31 Dec 2010 13:25:33 +0000 (13:25 +0000)]
sync.md (sync_clobber, [...]): New code attribute.
gcc/
2010-12-15 Ken Werner <ken.werner@de.ibm.com>
* config/arm/sync.md (sync_clobber, sync_t2_reqd): New code attribute.
(arm_sync_old_<sync_optab>si, arm_sync_old_<sync_optab><mode>): Use
the sync_clobber and sync_t2_reqd code attributes.
* config/arm/arm.c (arm_output_sync_loop): Reverse the operation if
the t2 argument is NULL.
From-SVN: r168375
Gerald Pfeifer [Fri, 31 Dec 2010 12:35:36 +0000 (12:35 +0000)]
* doc/sourcebuild.texi (Top Level): Adjust link to libgo.
From-SVN: r168374
Joern Rennecke [Fri, 31 Dec 2010 12:24:12 +0000 (12:24 +0000)]
re PR go/47113 (go_field_alignment: field set but not used)
PR go/47113
* go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
variable ‘field’ .
From-SVN: r168373
Gerald Pfeifer [Fri, 31 Dec 2010 12:17:31 +0000 (12:17 +0000)]
* doc/install.texi (Specific): Remove reference to interix.com.
From-SVN: r168372
Joseph Myers [Fri, 31 Dec 2010 11:57:00 +0000 (11:57 +0000)]
* ja.po: Update.
From-SVN: r168371
Paul Koning [Fri, 31 Dec 2010 11:52:20 +0000 (06:52 -0500)]
ieee.exp: Skip if pdp11.
* gcc.c-torture/execute/ieee/ieee.exp: Skip if pdp11.
* gcc.c-torture/compile/
20000804-1.c: Skip if pdp11 -O0.
* gcc.c-torture/compile/
20020312-1.c: Ditto.
* gcc.c-torture/compile/
20040101-1.c: Skip if pdp11 -O1, -O2, or
-Os.
From-SVN: r168370
Joern Rennecke [Fri, 31 Dec 2010 11:48:03 +0000 (11:48 +0000)]
re PR target/47112 (mipstx39-*-elf*: Redefined target macros)
PR target/47112
* config/mips/r3900.h: Update Copyright years.
(MIPS_CPU_STRING_DEFAULT): Undef before defining.
(MULTILIB_DEFAULTS, MIPS_ABI_DEFAULT, SUBTARGET_CC1_SPEC): Likewise.
From-SVN: r168369
Paul Koning [Fri, 31 Dec 2010 11:43:48 +0000 (06:43 -0500)]
pdp11.h (PRINT_OPERAND): Delete.
* config/pdp11/pdp11.h (PRINT_OPERAND): Delete.
* config/pdp11/pdp11.c (TARGET_PRINT_OPERAND,
TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define
(pdp11_asm_print_operand, pdp11_asm_print_operand_punct_valid_p):
New function.
* config/pdp11/pdp11.md (tablejump): Fix generated assembly.
From-SVN: r168368
Thomas Koenig [Fri, 31 Dec 2010 11:32:16 +0000 (11:32 +0000)]
re PR fortran/47065 (Replace trim(a) by a(1:len_trim(a)))
2010-12-31 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/47065
* frontend-passes.c (count_arglist): Static variable to
count the nesting of argument lists.
(optimize_code): Set count_arglist to 1 if within a call
statement, to 0 otherwise.
(optimize_trim): New function.
(optimize_expr): Adjust count_arglist. Call optimize_trim.
2010-12-31 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/47065
* gfortran.dg/trim_optimize_3.f90: New test.
* gfortran.dg/trim_optimize_4.f90: New test.
From-SVN: r168367
Thomas Koenig [Fri, 31 Dec 2010 11:20:22 +0000 (11:20 +0000)]
re PR fortran/45338 (Failure on interfacing a function passed as an argument as a custom operator)
2010-12-31 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/45338
* resolve.c (resolve_operator): Mark function for user-defined
operator as referenced.
2010-12-31 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/45338
* gfortran.dg/userdef_operator_2.f90: New test case.
From-SVN: r168366
Joern Rennecke [Fri, 31 Dec 2010 10:29:30 +0000 (10:29 +0000)]
re PR target/47111 (mips-rtems: redefinition of NO_IMPLICIT_EXTERN_C)
PR target/47111
* config/rtems.h (NO_IMPLICIT_EXTERN_C): Undef before defining.
From-SVN: r168365
Mingjie Xing [Fri, 31 Dec 2010 10:18:45 +0000 (10:18 +0000)]
Update the the macro SHIFT_COUNT_TRUNCATED for loongson.
From-SVN: r168364
Janus Weil [Fri, 31 Dec 2010 10:08:17 +0000 (11:08 +0100)]
re PR fortran/46971 ([OOP] ICE on long class names)
2010-12-31 Janus Weil <janus@gcc.gnu.org>
PR fortran/46971
* gfortran.h (gfc_hash_value): Add prototype.
* class.c (get_unique_type_string): Check if proc_name is present and
make sure string contains an underscore.
(get_unique_hashed_string): New function which creates a hashed string
if the given unique string is too long.
(gfc_hash_value): Moved here from decl.c, renamed and simplified.
(gfc_build_class_symbol, gfc_find_derived_vtab): Use hashed strings.
* decl.c (hash_value): Moved to class.c.
(gfc_match_derived_decl): Renamed 'hash_value'.
2010-12-31 Janus Weil <janus@gcc.gnu.org>
PR fortran/46971
* gfortran.dg/class_33.f90: New.
From-SVN: r168363
GCC Administrator [Fri, 31 Dec 2010 00:18:09 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r168362
Joseph Myers [Thu, 30 Dec 2010 22:20:56 +0000 (22:20 +0000)]
openbsd.opt: New.
* config/openbsd.opt: New.
* config.gcc (alpha*-*-openbsd*,
i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123],
i[34567]86-*-openbsd*, m68k*-*-openbsd*, mips*-*-openbsd*,
sparc64-*-openbsd*, vax-*-openbsd*): Use openbsd.opt.
From-SVN: r168358
Nicola Pero [Thu, 30 Dec 2010 22:03:02 +0000 (22:03 +0000)]
Fixed typo in one of my last changelog entries
From-SVN: r168357
Nicola Pero [Thu, 30 Dec 2010 22:02:09 +0000 (22:02 +0000)]
In gcc/objc/: 2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/objc/:
2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-act.c (objc_types_are_equivalent): Fixed comparing protocol
lists. Check them two-ways to fix comparisons when one protocol
implements the other one, or when one list contains duplicated
protocols.
In gcc/testsuite/:
2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/method-conflict-3.m: New.
* objc.dg/method-conflict-4.m: New.
* obj-c++.dg/method-conflict-3.m: New.
* obj-c++.dg/method-conflict-4.mm: New.
From-SVN: r168356
John David Anglin [Thu, 30 Dec 2010 21:33:48 +0000 (21:33 +0000)]
pa.md: Add ",*" condition to 64-bit add/subtract boolean patterns.
* config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean
patterns.
From-SVN: r168352
Eric Botcazou [Thu, 30 Dec 2010 21:31:04 +0000 (21:31 +0000)]
re PR target/47038 (failure of gcc.dg/pr46685.c)
PR target/47038
* config/sparc/sparc.c (sparc_file_end): Call resolve_unique_section
on the GOT helper if USE_HIDDEN_LINKONCE.
From-SVN: r168351
Nicola Pero [Thu, 30 Dec 2010 18:26:56 +0000 (18:26 +0000)]
In gcc/objc/: 2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/objc/:
2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-act.c (objc_add_method): When emitting an error because a
method with the same name but conflicting types is found in the
same class or category interface, print a note with the location
of the original method. Also, improved the error message to
clearly state that the conflict is due to conflicting types, and
produce it for protocols as well. Emit an error if two identical
methods are declared in a protocol, but one is @required and the
other one is @optional. When
In gcc/testsuite/:
2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/class-extension-3.m: Updated.
* objc.dg/method-1.m: Updated.
* objc.dg/method-conflict-1.m: New.
* objc.dg/method-conflict-2.m: New.
* obj-c++.dg/class-extension-3.mm: Updated.
* obj-c++.dg/method-8.mm: Updated.
* obj-c++.dg/method-conflict-1.mm: New.
* obj-c++.dg/method-conflict-2.mm: New.
From-SVN: r168350
Joern Rennecke [Thu, 30 Dec 2010 18:26:17 +0000 (18:26 +0000)]
re PR target/47097 (i686-lynxos fails building dbxout.o)
PR target/47097
* config/i386/lynx.h (DBX_REGISTER_NUMBER): Add cast to avoid
mixing signed and unsigned types in conditional expression.
From-SVN: r168349
Joseph Myers [Thu, 30 Dec 2010 18:24:03 +0000 (18:24 +0000)]
re PR c/46889 (Missing diagnosis on duplicate struct member with anonymous union)
PR c/46889
* c-decl.c (detect_field_duplicates): Ensure hash is used for
finding duplicates when first field is anonymous.
testsuite:
* gcc.dg/anon-struct-15.c: New test.
From-SVN: r168348
Nathan Froyd [Thu, 30 Dec 2010 15:47:43 +0000 (15:47 +0000)]
re PR target/44606 (Wrong SPE floating point during computation)
gcc/
PR target/44606
* reload1.c (choose_reload_regs): Don't look for equivalences for
output reloads of constant loads.
gcc/testsuite/
PR target/44606
* gcc.dg/pr44606.c: New test.
From-SVN: r168347
Joern Rennecke [Thu, 30 Dec 2010 14:19:06 +0000 (14:19 +0000)]
re PR target/47101 (ia64-hp-vms: main_input_filename clash)
PR target/47101
* vmsdbgout.c (vmsdbgout_init): Rename main_input_filename to filename.
(vmsdbgout_finish): Likewise.
From-SVN: r168346
Joern Rennecke [Thu, 30 Dec 2010 14:17:08 +0000 (14:17 +0000)]
re PR target/47063 (ada fails to build for alpha64-dec-vms)
PR target/47063
* config/alpha/vms.h (MALLOC_ALIGNMENT): Don't undef / define.
(MALLOC_ABI_ALIGNMENT): Undef / define.
From-SVN: r168345
Ulrich Weigand [Thu, 30 Dec 2010 13:28:05 +0000 (13:28 +0000)]
emit-rtl.c (set_mem_attributes_minus_bitpos): Explicitly derive default values from MEM mode if no memory attributes are present.
* emit-rtl.c (set_mem_attributes_minus_bitpos): Explicitly derive
default values from MEM mode if no memory attributes are present.
Do not use mode alignment, even on STRICT_ALIGNMENT targets, when
called with an expression (not a type).
From-SVN: r168344
H.J. Lu [Thu, 30 Dec 2010 13:13:13 +0000 (13:13 +0000)]
Short circuit if upper 128bits are unchanged in the block.
2010-12-30 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (upper_128bits_state): Remove comments.
(block_info_def): Add unchanged.
(move_or_delete_vzeroupper_2): Short circuit if upper 128bits
are unchanged in the block.
From-SVN: r168343
H.J. Lu [Thu, 30 Dec 2010 13:12:02 +0000 (13:12 +0000)]
Repeat processing all basic blocks for vzeroupper optimization.
gcc/
2010-12-30 H.J. Lu <hongjiu.lu@intel.com>
PR target/46519
* config/i386/i386.c (block_info_def): Remove referenced, count
and rescanned.
(move_or_delete_vzeroupper_2): Updated.
(move_or_delete_vzeroupper_1): Rewritten to avoid recursive call.
(rescan_move_or_delete_vzeroupper): Removed.
(move_or_delete_vzeroupper): Repeat processing all basic blocks
until no basic block state is changed to used at exit.
gcc/testsuite/
2010-12-30 H.J. Lu <hongjiu.lu@intel.com>
PR target/46519
* gfortran.dg/pr46519-2.f90: New.
From-SVN: r168342
Joseph Myers [Thu, 30 Dec 2010 12:11:31 +0000 (12:11 +0000)]
* ja.po: Update.
From-SVN: r168341
Janus Weil [Thu, 30 Dec 2010 11:53:35 +0000 (12:53 +0100)]
re PR fortran/47085 ([OOP] Problem in allocate( SOURCE=) for polymorphic component)
2010-12-30 Janus Weil <janus@gcc.gnu.org>
PR fortran/47085
* match.c (gfc_match_allocate): Check for 'class_ok'.
* primary.c (gfc_match_varspec): Ditto.
2010-12-30 Janus Weil <janus@gcc.gnu.org>
PR fortran/47085
* gfortran.dg/allocate_class_1.f90: New.
From-SVN: r168340
Kai Tietz [Thu, 30 Dec 2010 11:51:14 +0000 (11:51 +0000)]
re PR testsuite/47050 (gcc.target/i386/aggregate-ret[12].c FAIL with -m64)
2010-12-30 Kai Tietz <kai.tietz@onevision.com>
PR testsuite/47050
* gcc.target/i386/aggregate-ret1.c: Restrict to ilp32.
* gcc.target/i386/aggregate-ret2.c: Likewise.
From-SVN: r168339
Paul Koning [Thu, 30 Dec 2010 11:50:40 +0000 (06:50 -0500)]
pdp11.md (movmemhi, movmemhi1): Correct constraints.
* config/pdp11/pdp11.md (movmemhi, movmemhi1): Correct
constraints.
* config/pdp11/pdp11.c (output_block_move): Rewrite.
From-SVN: r168338
Nicola Pero [Thu, 30 Dec 2010 08:59:29 +0000 (08:59 +0000)]
In gcc/objc/: 2010-12-30 Nicola Pero <nicola@nicola.brainstorm.co.uk>
In gcc/objc/:
2010-12-30 Nicola Pero <nicola@nicola.brainstorm.co.uk>
* objc-act.c (start_class): Warn when a class attribute is
ignored.
(objc_declare_protocols): Warn when a protocol attribute in a
protocol forward-declaration is ignored.
(start_protocol): Warn when a protocol attribute is ignored.
In gcc/testsuite/:
2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/attributes/class-attribute-3.m: New.
* objc.dg/attributes/proto-attribute-4.m: New.
* obj-c++.dg/attributes/class-attribute-3.mm: New.
* obj-c++.dg/attributes/proto-attribute-4.mm: New.
From-SVN: r168337
Jakub Jelinek [Thu, 30 Dec 2010 08:24:58 +0000 (09:24 +0100)]
re PR tree-optimization/47060 (ICE: SIGSEGV in reduction_phi (tree-parloops.c:212) with -O -ffast-math -ftree-parallelize-loops=2 -fno-tree-dce)
PR tree-optimization/47060
* tree-parloops.c (reduction_phi): Return NULL if PHI is NULL.
* gcc.dg/autopar/pr47060.c: New test.
From-SVN: r168336
Paul Koning [Thu, 30 Dec 2010 02:09:04 +0000 (21:09 -0500)]
pdp11-protos.h (pdp11_asm_output_var): Declare.
* config/pdp11/pdp11-protos.h (pdp11_asm_output_var): Declare.
* config/pdp11/pdp11.c (pdp11_asm_output_var): New function.
* config/pdp11/pdp11.h (ASM_OUTPUT_ALIGNED_COMMON,
ASM_OUTPUT_ALIGNED_LOCAL): New macros.
(ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete.
From-SVN: r168333
Joern Rennecke [Thu, 30 Dec 2010 01:58:10 +0000 (01:58 +0000)]
re PR target/47129 (ia64-hp-vms: ia64.o: dwarf2out_vms_debug_main_pointer undeclared)
PR target/47129
* config/ia64/ia64.c: Include "dwarf2out.h" .
From-SVN: r168332