aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2010-12-31intrinsic.texi (IANY): Correct section title.Janus Weil2-6/+11
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-31install.texi (powerpc-*-darwin*): Update reference to Apple Developer Tools.Gerald Pfeifer2-2/+6
* doc/install.texi (powerpc-*-darwin*): Update reference to Apple Developer Tools. From-SVN: r168379
2010-12-31re PR target/47084 (am33_2.0-linux fails to build)Joern Rennecke2-2/+6
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-31re PR target/47114 (powerpc-wrs-vxworks: rs6000_elf_asm_out_{con,de}structor ↵Joern Rennecke2-2/+7
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-31re PR target/47135 (pdp11.c: incompatible type for ↵Joern Rennecke2-1/+5
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-31sync.md (sync_clobber, [...]): New code attribute.Ken Werner3-12/+64
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* doc/sourcebuild.texi (Top Level): Adjust link to libgo.Gerald Pfeifer2-1/+5
From-SVN: r168374
2010-12-31re PR go/47113 (go_field_alignment: field set but not used)Joern Rennecke2-1/+7
PR go/47113 * go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to variable ‘field’ . From-SVN: r168373
2010-12-31* doc/install.texi (Specific): Remove reference to interix.com.Gerald Pfeifer2-2/+4
From-SVN: r168372
2010-12-31* ja.po: Update.Joseph Myers2-552/+389
From-SVN: r168371
2010-12-31ieee.exp: Skip if pdp11.Paul Koning5-2/+14
* 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-31re PR target/47112 (mipstx39-*-elf*: Redefined target macros)Joern Rennecke2-1/+10
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-31pdp11.h (PRINT_OPERAND): Delete.Paul Koning4-26/+64
* 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-31re PR fortran/47065 (Replace trim(a) by a(1:len_trim(a)))Thomas Koenig5-1/+161
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-31re PR fortran/45338 (Failure on interfacing a function passed as an argument ↵Thomas Koenig4-7/+38
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-31re PR target/47111 (mips-rtems: redefinition of NO_IMPLICIT_EXTERN_C)Joern Rennecke2-0/+6
PR target/47111 * config/rtems.h (NO_IMPLICIT_EXTERN_C): Undef before defining. From-SVN: r168365
2010-12-31Update the the macro SHIFT_COUNT_TRUNCATED for loongson.Mingjie Xing3-3/+9
From-SVN: r168364
2010-12-31re PR fortran/46971 ([OOP] ICE on long class names)Janus Weil6-47/+83
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
2010-12-31Daily bump.GCC Administrator1-1/+1
From-SVN: r168362
2010-12-30openbsd.opt: New.Joseph Myers3-0/+48
* 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
2010-12-30Fixed typo in one of my last changelog entriesNicola Pero1-1/+1
From-SVN: r168357
2010-12-30In gcc/objc/: 2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com>Nicola Pero7-7/+264
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
2010-12-30pa.md: Add ",*" condition to 64-bit add/subtract boolean patterns.John David Anglin2-9/+14
* config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean patterns. From-SVN: r168352
2010-12-30re PR target/47038 (failure of gcc.dg/pr46685.c)Eric Botcazou2-0/+7
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
2010-12-30In gcc/objc/: 2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com>Nicola Pero11-41/+244
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
2010-12-30re PR target/47097 (i686-lynxos fails building dbxout.o)Joern Rennecke2-1/+5
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
2010-12-30re PR c/46889 (Missing diagnosis on duplicate struct member with anonymous ↵Joseph Myers4-4/+29
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
2010-12-30re PR target/44606 (Wrong SPE floating point during computation)Nathan Froyd4-11/+63
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
2010-12-30re PR target/47101 (ia64-hp-vms: main_input_filename clash)Joern Rennecke2-5/+9
PR target/47101 * vmsdbgout.c (vmsdbgout_init): Rename main_input_filename to filename. (vmsdbgout_finish): Likewise. From-SVN: r168346
2010-12-30re PR target/47063 (ada fails to build for alpha64-dec-vms)Joern Rennecke2-2/+6
PR target/47063 * config/alpha/vms.h (MALLOC_ALIGNMENT): Don't undef / define. (MALLOC_ABI_ALIGNMENT): Undef / define. From-SVN: r168345
2010-12-30emit-rtl.c (set_mem_attributes_minus_bitpos): Explicitly derive default ↵Ulrich Weigand2-5/+40
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
2010-12-30Short circuit if upper 128bits are unchanged in the block.H.J. Lu2-12/+43
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
2010-12-30Repeat processing all basic blocks for vzeroupper optimization.H.J. Lu4-103/+89
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
2010-12-30* ja.po: Update.Joseph Myers2-723/+473
From-SVN: r168341
2010-12-30re PR fortran/47085 ([OOP] Problem in allocate( SOURCE=) for polymorphic ↵Janus Weil5-2/+25
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
2010-12-30re PR testsuite/47050 (gcc.target/i386/aggregate-ret[12].c FAIL with -m64)Kai Tietz3-2/+10
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
2010-12-30pdp11.md (movmemhi, movmemhi1): Correct constraints.Paul Koning3-200/+127
* config/pdp11/pdp11.md (movmemhi, movmemhi1): Correct constraints. * config/pdp11/pdp11.c (output_block_move): Rewrite. From-SVN: r168338
2010-12-30In gcc/objc/: 2010-12-30 Nicola Pero <nicola@nicola.brainstorm.co.uk>Nicola Pero7-0/+111
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
2010-12-30re PR tree-optimization/47060 (ICE: SIGSEGV in reduction_phi ↵Jakub Jelinek4-1/+32
(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
2010-12-29pdp11-protos.h (pdp11_asm_output_var): Declare.Paul Koning4-10/+27
* 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
2010-12-30re PR target/47129 (ia64-hp-vms: ia64.o: dwarf2out_vms_debug_main_pointer ↵Joern Rennecke2-0/+6
undeclared) PR target/47129 * config/ia64/ia64.c: Include "dwarf2out.h" . From-SVN: r168332
2010-12-30Daily bump.GCC Administrator1-1/+1
From-SVN: r168331
2010-12-29In gcc/objc/: 2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com>Nicola Pero5-6/+26
In gcc/objc/: 2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com> * objc-act.c (objc_set_method_opt): Tidy up error messages. In particular, explicitly mention whether the error is due to the @optional or @required keyword instead of mentioning "@optional/@required". In gcc/testsuite/: 2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com> * objc.dg/enhanced-proto-2.m: Updated. * obj-c++.dg/enhanced-proto-2.mm: Updated. From-SVN: r168327
2010-12-29In gcc/objc/: 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com>Nicola Pero5-22/+323
In gcc/objc/: 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com> PR objc/47118 * objc-act.c (objc_build_synchronized): Check the argument of @synchronized and emit an appropriate error if it is not a valid Objective-C object. Deal gracefully with that case. Updated comments and variable names. In gcc/testsuite/: 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com> PR objc/47118 * objc.dg/sync-3.m: New. * obj-c++.dg/sync-3.mm: New. From-SVN: r168326
2010-12-29re PR tree-optimization/47074 (tree check fail in create_access_replacement)Jakub Jelinek2-0/+7
PR tree-optimization/47074 * gimple-fold.c (gimplify_and_update_call_from_tree): Call pop_gimplify_context if returning early. From-SVN: r168325
2010-12-29dump_parse_tree.c (show_components): Show ALLOCATABLE.Thomas Koenig2-0/+7
2010-12-29 Thomas Koenig <tkoenig@gcc.gnu.org> * dump_parse_tree.c (show_components): Show ALLOCATABLE. From-SVN: r168324
2010-12-29re PR fortran/46838 ([OOP] Initialization of polymorphic allocatable components)Janus Weil4-2/+43
2010-12-29 Janus Weil <janus@gcc.gnu.org> PR fortran/46838 * expr.c (gfc_default_initializer): Handle allocatable CLASS components. 2010-12-29 Janus Weil <janus@gcc.gnu.org> PR fortran/46838 * gfortran.dg/alloc_comp_class_2.f90: New. From-SVN: r168322
2010-12-29frontend-passes.c (gfc_code_walker): Handle expressions in EXEC_CALL, ↵Thomas Koenig4-0/+62
EXEC_ASSIGN_CALL and EXEC_CALL_PPC. 2010-12-29 Thomas Koenig <tkoenig@gcc.gnu.org> * frontend-passes.c (gfc_code_walker): Handle expressions in EXEC_CALL, EXEC_ASSIGN_CALL and EXEC_CALL_PPC. Separate cases in switch statements by blank lines. 2010-12-29 Thomas Koenig <tkoenig@gcc.gnu.org> * gfortran.dg/character_comparison_7.f90: New test. From-SVN: r168320
2010-12-29* ja.po: Update.Joseph Myers2-328/+221
From-SVN: r168318
2010-12-29In gcc/c-family/: 2010-12-29 Nicola Pero <nicola@nicola.brainstorm.co.uk>Nicola Pero15-34/+246
In gcc/c-family/: 2010-12-29 Nicola Pero <nicola@nicola.brainstorm.co.uk> PR objc/47075 * c-objc.h (objc_finish_message_expr): Added argument to prototype. In gcc/objc/: 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com> PR objc/47075 * objc-act.h (PROPERTY_REF_DEPRECATED_GETTER): New. * objc-tree.def (PROPERTY_REF): Increased the number of operands from 3 to 4. * objc-act.c (objc_finish_message_expr): Added optional argument allowing to return the deprecated method prototype for deprecated methods, instead of immediately emitting the deprecation warning. (objc_maybe_build_component_ref): Do not warn for a deprecated property. When building the getter call, get the deprecated method prototype from objc_finish_message_expr() and put it into the PROPERTY_REF. (objc_build_class_component_ref): Same change. (finish_class): Mark the getter and setter as deprecated if they are generated from a deprecated property. (objc_gimplify_property_ref): If the getter is deprecated, emit a deprecation warning. (objc_build_setter_call, objc_build_message_expr, objc_finish_foreach_loop): Updated call to objc_finish_message_expr. In gcc/objcp/: 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com> * objcp-lang.c (objcp_tsubst_copy_and_build): Update call to objc_finish_message_expr. In gcc/testsuite/: 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com> PR objc/47075 * objc.dg/property/at-property-deprecated-1.m: Updated. * objc.dg/property/at-property-deprecated-2.m: New. * objc.dg/property/dotsyntax-deprecated-1.m: New. * obj-c++.dg/property/at-property-deprecated-1.mm: Updated. * obj-c++.dg/property/at-property-deprecated-2.mm: New. * obj-c++.dg/property/dotsyntax-deprecated-1.mm: New. From-SVN: r168315