Jakub Jelinek
9f8e43c012
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
2011-01-03 17:14:57 +01:00
Martin Jambor
1a2e38f3dd
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
2011-01-03 16:43:23 +01:00
H.J. Lu
56b721c591
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
2011-01-03 07:03:05 -08:00
Martin Jambor
839d549b58
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
2011-01-03 14:32:44 +01:00
Ulrich Weigand
2fa6eeff4b
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
2011-01-03 13:25:25 +00:00
Martin Jambor
76df0ae6df
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
2011-01-03 14:15:35 +01:00
Martin Jambor
ce47fda3ce
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
2011-01-03 14:06:54 +01:00
Eric Botcazou
fd0bcb5af9
Fix wrong date
...
From-SVN: r168417
2011-01-03 11:52:37 +00:00
Janus Weil
d9ace2ef64
intrinsic.texi (LEADZ): Fix example.
...
2011-01-03 Janus Weil <janus@gcc.gnu.org>
* intrinsic.texi (LEADZ): Fix example.
From-SVN: r168415
2011-01-03 11:26:05 +01:00
GCC Administrator
94f95505a0
Daily bump.
...
From-SVN: r168414
2011-01-03 00:17:57 +00:00
Janus Weil
2e85ae0d6d
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
2011-01-02 22:01:50 +01:00
Joseph Myers
9ad2c58f86
* de.po: Update.
...
From-SVN: r168408
2011-01-02 20:36:01 +00:00
H.J. Lu
1e67fa1fb4
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
2011-01-02 09:54:22 -08:00
Joseph Myers
d7d26d7060
* sv.po: Update.
...
From-SVN: r168406
2011-01-02 17:41:32 +00:00
Joseph Myers
672579c247
* ja.po: Update.
...
From-SVN: r168405
2011-01-02 17:40:15 +00:00
Eric Botcazou
6656b2ac05
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
2011-01-02 17:28:24 +00:00
Jakub Jelinek
4c0c322882
Bump Copyright years.
...
From-SVN: r168403
2011-01-02 18:23:22 +01:00
Jakub Jelinek
4e99629664
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
2011-01-02 18:09:08 +01:00
Jakub Jelinek
bc470c243a
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
2011-01-02 18:07:15 +01:00
H.J. Lu
7dfef5845a
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
2011-01-02 08:24:44 -08:00
H.J. Lu
797103eb00
Rotate ChangeLogs.
...
From-SVN: r168399
2011-01-02 08:22:05 -08:00
Nicola Pero
ca2ed3ba8e
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
2011-01-02 10:19:42 +00:00
Mingjie Xing
5af62fcd93
Correct the year for the last commit. It's 2011 now.
...
From-SVN: r168397
2011-01-02 01:54:33 +00:00
Mingjie Xing
0d52f2a83b
Remove duplicated '@subsubsection Statements'.
...
From-SVN: r168396
2011-01-02 01:30:55 +00:00
GCC Administrator
33195461a6
Daily bump.
...
From-SVN: r168395
2011-01-02 00:18:31 +00:00
Jan Hubicka
0e20c89fcf
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
2011-01-01 13:25:17 +00:00
Joseph Myers
d7255276d4
* ja.po: Update.
...
From-SVN: r168390
2011-01-01 12:05:40 +00:00
Kai Tietz
220e83ca20
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
2011-01-01 12:05:41 +01:00
Chung-Lin Tang
49e3888358
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
2011-01-01 08:52:03 +00:00
GCC Administrator
043afb392e
Daily bump.
...
From-SVN: r168387
2011-01-01 00:17:39 +00:00
Paul Koning
894a95ef78
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
2010-12-31 18:00:20 -05:00
Benjamin Kosnik
b25e6b793c
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
2010-12-31 22:20:22 +00:00
Eric Botcazou
132a545967
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
2010-12-31 18:19:33 +00:00
Janus Weil
e17c65c260
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
2010-12-31 18:06:53 +01:00
Gerald Pfeifer
2871536fc3
install.texi (powerpc-*-darwin*): Update reference to Apple Developer Tools.
...
* doc/install.texi (powerpc-*-darwin*): Update reference to
Apple Developer Tools.
From-SVN: r168379
2010-12-31 16:37:58 +00:00
Joern Rennecke
27145a6423
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
2010-12-31 14:34:26 +00:00
Joern Rennecke
68b0818b07
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
2010-12-31 14:07:32 +00:00
Joern Rennecke
522654e698
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
2010-12-31 13:42:20 +00:00
Ken Werner
b7b79b5489
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
2010-12-31 13:25:33 +00:00
Gerald Pfeifer
f38bdf47e4
* doc/sourcebuild.texi (Top Level): Adjust link to libgo.
...
From-SVN: r168374
2010-12-31 12:35:36 +00:00
Joern Rennecke
efdfdfa788
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
2010-12-31 12:24:12 +00:00
Gerald Pfeifer
2e09f014c7
* doc/install.texi (Specific): Remove reference to interix.com.
...
From-SVN: r168372
2010-12-31 12:17:31 +00:00
Joseph Myers
6f57c92b12
* ja.po: Update.
...
From-SVN: r168371
2010-12-31 11:57:00 +00:00
Paul Koning
0e3bb660a1
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
2010-12-31 06:52:20 -05:00
Joern Rennecke
eecbc061d4
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
2010-12-31 11:48:03 +00:00
Paul Koning
12eb6ed32b
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
2010-12-31 06:43:48 -05:00
Thomas Koenig
4afeb65c32
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
2010-12-31 11:32:16 +00:00
Thomas Koenig
7c1a49fa1b
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
2010-12-31 11:20:22 +00:00
Joern Rennecke
1da41015bc
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
2010-12-31 10:29:30 +00:00
Mingjie Xing
1f5f063d32
Update the the macro SHIFT_COUNT_TRUNCATED for loongson.
...
From-SVN: r168364
2010-12-31 10:18:45 +00:00