- 12 Jun, 2012 14 commits
-
-
2012-06-12 Robert Dewar <dewar@adacore.com> * xref_lib.adb, sem_ch13.adb, lib-xref.adb: Minor reformatting. 2012-06-12 Javier Miranda <miranda@adacore.com> * lib-xref.ads Adding missing documentation. From-SVN: r188439
Arnaud Charlet committed -
2012-06-12 Hristian Kirtchev <kirtchev@adacore.com> * exp_ch7.adb (Create_Finalizer): Add the exception reraise mechanism at the very end of the finalizer statements. This placement ensures that all objects are finalized, the secondary stack mark released and aborts undeferred before propagating an exception. 2012-06-12 Ed Schonberg <schonberg@adacore.com> * sem_ch10.adb (Remove_Unit_From_Visibility): if the unit is a wrapper package. remove from visibility the original subprogram instance. 2012-06-12 Javier Miranda <miranda@adacore.com> * sem_prag.adb (Process_Convention): Generate reference to entity exported to foreign language. Needed for GPS navigation. * xref_lib.adb (Parse_Identifier_Info): Parse exported entities. * lib-xref (Output_References): Output exported entities. 2012-06-12 Pascal Obry <obry@adacore.com> * prj-attr.adb: Add install package and corresponding attributes. * snames.ads-tmpl (Name_Active): New constant. (Name_Exec_Subdir): Likewise. (Name_Install): Likewise. (Name_Lib_Subdir): Likewise. (Name_Project_Subdir): Likewise. (Name_Sources_Subdir): Likewise. 2012-06-12 Bob Duff <duff@adacore.com> * sem_res.adb (Check_Infinite_Recursion): Suppress spurious warning on recursion after "raise with ...". From-SVN: r188438
Arnaud Charlet committed -
sem_prag.adb (Analyze_Pragma, [...]): Do not crash on illegal unchecked union that is a null record. 2012-06-12 Thomas Quinot <quinot@adacore.com> * sem_prag.adb (Analyze_Pragma, case Unchecked_Union): Do not crash on illegal unchecked union that is a null record. 2012-06-12 Thomas Quinot <quinot@adacore.com> * exp_ch4.adb (Has_Inferable_Discriminants): Reorganize code to treat implicit dereferences with a constrained unchecked union nominal subtype as having inferable discriminants. From-SVN: r188437
Thomas Quinot committed -
2012-06-12 Robert Dewar <dewar@adacore.com> * sem_ch6.adb: Minor reformatting. 2012-06-12 Eric Botcazou <ebotcazou@adacore.com> * gnat_ugn.texi: Couple of minor corrections. 2012-06-12 Thomas Quinot <quinot@adacore.com> * sem_prag.adb (Check_Variant): An empty component list is not illegal in an unchecked union variant. From-SVN: r188436
Arnaud Charlet committed -
2012-06-12 Gary Dismukes <dismukes@adacore.com> * projects.texi: Remove comments. 2012-06-12 Thomas Quinot <quinot@adacore.com> * back_end.adb (Scan_Back_End_Switches): Treat -fdump-scos as synonym of -gnateS. (gnat_post_options): Disable gimple-based SCO generator. * gnat_ugn.texi: Document that -gnateS is an obsolete synonym of -fdump-scos. 2012-06-12 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Different_Generic_Profile): new predicate for Find_Corresponding_Spec, to handle a rare case of accidental overloading in an instance, when the profile of a subprogram body that depends on a formal type becomes compatible with that of a homonym whose profile in the generic mentions the actual type. 2012-06-12 Thomas Quinot <quinot@adacore.com> * gnat1drv.adb: Minor reformatting. From-SVN: r188435
Arnaud Charlet committed -
2012-06-12 Ed Schonberg <schonberg@adacore.com> * sem_util.adb (Build_Explicit_Dereference): If the expression is an entity, ensure that the type of the expression is the same as that of the entity. 2012-06-12 Pat Rogers <rogers@adacore.com> * projects.texi: Corrected instances of the word "build" that should be "built" instead. Other similar changes and minor punctuation changes. From-SVN: r188434
Arnaud Charlet committed -
2012-06-12 Eric Botcazou <ebotcazou@adacore.com> * sem_util.adb (Is_Atomic_Object): Return true for an atomic component as well as a prefix which is an atomic component. 2012-06-12 Ed Schonberg <schonberg@adacore.com> * exp_prag.adb (Expand_Pragma_Import_Or_Interface): revert previous patch. The processing of interfacing aspects now generates a proper Ada 2005 pragma. * sem_prag.adb (Analyze_Pragma, cases Pragma_Export and Pragma_Import): revert previous patch. The processing of interfacing aspects now generates a proper Ada 2005 pragma. * sem_ch13.adb (Analyze_Aspect_Specifications): generate proper pragam for aspects Convention, Import and Export. Scan list of aspects to collect link name and external name if present, and verify that a complete pragma can be generated. From-SVN: r188430
Arnaud Charlet committed -
2012-06-12 Richard Guenther <rguenther@suse.de> * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove dead code. * alias.c (ao_ref_from_mem): MEM_EXPR is conservative, MEM_OFFSET and MEM_SIZE only refines it. Reflect that and be less conservative if either of the latter is not known. From-SVN: r188429
Richard Guenther committed -
PR rtl-optimization/53589 * cfgrtl.c (force_nonfallthru_and_redirect): Do asm_goto_edge discovery even when e->dest != target. If any LABEL_REF points to e->dest label, redirect it to target's label. * gcc.dg/torture/pr53589.c: New test. From-SVN: r188428
Jakub Jelinek committed -
PR target/50749 * gcc.target/sh/pr50749-sf-postinc-2.c: New. * gcc.target/sh/pr50749-sf-postinc-4.c: New. * gcc.target/sh/pr50749-qihisi-postinc-2.c: New. * gcc.target/sh/pr50749-qihisi-postinc-4.c: New. * gcc.target/sh/pr50749-sf-predec-2.c: New. * gcc.target/sh/pr50749-sf-predec-4.c: New. * gcc.target/sh/pr50749-qihisi-predec-1.c: New. * gcc.target/sh/pr50749-qihisi-predec-3.c: New. * gcc.target/sh/pr50749-sf-postinc-1.c: New. * gcc.target/sh/pr50749-sf-postinc-3.c: New. * gcc.target/sh/pr50749-qihisi-postinc-1.c: New. * gcc.target/sh/pr50749-qihisi-postinc-3.c: New. * gcc.target/sh/pr50749-sf-predec-1.c: New. * gcc.target/sh/pr50749-sf-predec-3.c: New. * gcc.target/sh/pr50749-qihisi-predec-2.c: New. * gcc.target/sh/pr50749-qihisi-predec-4.c: New. From-SVN: r188426
Oleg Endo committed -
sh.c (output_stack_adjust): Remove !epilogue_p condition for generating REG_FRAME_RELATED_EXPR note. 2012-06-12 Chung-Lin Tang <cltang@codesourcery.com> * config/sh/sh.c (output_stack_adjust): Remove !epilogue_p condition for generating REG_FRAME_RELATED_EXPR note. (pop): Add code for generating REG_CFA_RESTORE, REG_CFA_ADJUST_CFA notes. Set RTX_FRAME_RELATED_P to 1. (sh_expand_epilogue): Use frame_insn() for FP to SP move. Set 'frame_p' of calls to output_stack_adjust() to 'true'. From-SVN: r188424
Chung-Lin Tang committed -
2012-06-11 Sriraman Tallam <tmsriram@google.com> * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init. * config/i386/libgcc-sol2.ver: Ditto. * config/i386/libgcc-glibc.ver: Ditto. * gcc.target/i386/builtin_target.c (vendor_signatures): New enum. (check_intel_cpu_model): New function. (check_amd_cpu_model): New function. (check_features): New function. (__get_cpuid_output): New function. (check_detailed): New function. (fn1): Rename to quick_check. (main): Update to call quick_check and call check_detailed. From-SVN: r188417
Sriraman Tallam committed -
* config/alpha/alpha.c (HWI_HEX2): Add missing shift. * vmsdbgout.c (VMS_EPOCH_OFFSET): Add LL suffix. From-SVN: r188413
Richard Henderson committed -
From-SVN: r188409
GCC Administrator committed
-
- 11 Jun, 2012 20 commits
-
-
From-SVN: r188405
Richard Henderson committed -
* doc/tm.texi.in (Addressing Modes) <TARGET_LEGITIMIZE_ADDRESS>: Mention that this hook needs to be defined for native TLS. * doc/tm.texi: Regenerate. From-SVN: r188404
Hans-Peter Nilsson committed -
emit-rtl.c (init_emit_once): Iterate through the MODE_PARTIAL_INT modes with MIN_MODE_PARTIAL_INT and... * emit-rtl.c (init_emit_once): Iterate through the MODE_PARTIAL_INT modes with MIN_MODE_PARTIAL_INT and MAX_MODE_PARTIAL_INT, as GET_MODE_WIDER_MODE doesn't step through all the MIN_MODE_PARTIAL_INT modes anymore. From-SVN: r188402
Mike Stump committed -
From-SVN: r188401
Maxim Kuvyrkov committed -
gthr-posix.h [...] (__gthread_active_p): If __GLIBC__ is defined, refer to __pthread_key_create instead of pthread_cancel. * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p): If __GLIBC__ is defined, refer to __pthread_key_create instead of pthread_cancel. From-SVN: r188400
Roland McGrath committed -
(check_effective_target_sync_long_long_runtime): Use check_effective_target_lp64 instead of check_effective_target_powerpc64 for powerpc targets. From-SVN: r188399
Richard Henderson committed -
* dwarf2out.c (const_ok_for_output_1): Detect a TLS UNSPEC using SYMBOL_REF_TLS_MODEL rather than DECL_THREAD_LOCAL_P, in case it's not a VAR_DECL. Also don't limit it to UNSPECs with exactly one operand. From-SVN: r188398
Roland McGrath committed -
From-SVN: r188397
Oleg Endo committed -
PR target/53511 * config/sh/sh.md (fmasf4): New expander. (*macsf3): Rename to fmasf4_i. Adapt to fma pattern. (mac_media): Rename to fmasf4_media. Adapt to fma pattern. * config/sh/sh.opt (mfused-madd): Remove. * config/sh/sh.c (sh_option_override): Remove mfused-madd handling. (builtin_description bdesc): Remove __builtin_sh_media_FMAC_S. * config.gcc (sh[123456789lbe]*-*-* | sh-*-*): Add fused-madd.opt as extra options. * doc/invoke.texi (SH Options): Update mfused-madd and mno-fused-madd descriptions. PR target/53511 * gcc.target/sh/pr53511-1.c: New. From-SVN: r188396
Oleg Endo committed -
From-SVN: r188391
Richard Henderson committed -
* Makefile.in (GNATLIBCFLAGS_FOR_C): Remove $(PIC_FLAG_FOR_TARGET). (gnatlib-shared-default): Add $(PIC_FLAG_FOR_TARGET) to GNATLIBCFLAGS_FOR_C passed to gnatlib. (gnatlib-shared-win32): Likewise. (gnatlib-shared-darwin): Likewise. (gnatlib-shared-dual-win32): Pass PIC_FLAG_FOR_TARGET to gnatlib-shared-win32. libada/ * Makefile.in (GNATLIBCFLAGS_FOR_C): Remove $(PICFLAG). From-SVN: r188390
Olivier Hainque committed -
From-SVN: r188388
Richard Biener committed -
2012-06-11 Richard Guenther <rguenther@suse.de> PR middle-end/53470 * tree.c (free_lang_data_in_type): Do not clear TYPE_CONTEXT but replace it with the first non-BLOCK context. * g++.dg/lto/pr53470_0.C: New testcase. * gcc.dg/lto/pr53470_0.c: Likewise. From-SVN: r188387
Richard Guenther committed -
2012-06-11 Richard Guenther <rguenther@suse.de> PR c++/53616 * mangle.c (write_array_type): Use double-ints for array domain arithmetic. * g++.dg/ext/pr53605.C: New testcase. From-SVN: r188386
Richard Guenther committed -
2012-06-11 Richard Guenther <rguenther@suse.de> * alias.c (aliases_everything_p): Remove. (DIFFERENT_ALIAS_SETS_P): Likewise. (true_dependence_1): Use mems_in_disjoint_alias_sets_p directly. Do not use aliases_everything_p or special-case ANDs. Do not special-case BLKmode moves. (may_alias_p): Likewise. Handle BLKmode similar like everywhere - for SCATCH only. From-SVN: r188384
Richard Guenther committed -
* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Convert GNU_SIZE to units before invoking allocatable_size_p on it. Remove orphaned comment. Do not use ssize_int. <E_Record_Subtype>: Traverse list in original order. Minor tweak. (allocatable_size_p): Adjust and simplify. (build_subst_list): Use consistent terminology throughout. (build_variant_list): Likewise. Traverse list in original order. (create_field_decl_from): Likewise. (copy_and_substitute_in_size): Likewise. (create_variant_part_from): Add comment about field list order. * gcc-interface/utils.c (build_vms_descriptor): Do not use ssize_int. * gcc-interface/utils2.c (build_allocator): Likewise. From-SVN: r188382
Eric Botcazou committed -
trans.c (Identifier_to_gnu): Test Is_Elementary_Type instead of Is_Scalar_Type for a constant with an... * gcc-interface/trans.c (Identifier_to_gnu): Test Is_Elementary_Type instead of Is_Scalar_Type for a constant with an address clause. Do not return the underlying constant for a constant used by reference if it holds the address of a constant and an lvalue is required. From-SVN: r188380
Eric Botcazou committed -
decl.c (gnat_to_gnu_entity): Do not specifically deal with external constants wrt force_global here... * gcc-interface/decl.c (gnat_to_gnu_entity): Do not specifically deal with external constants wrt force_global here... <E_Constant>: ...but here instead. * gcc-interface/utils.c (gnat_pushdecl): Do not put external DECLs onto the list of global DECLs. From-SVN: r188379
Eric Botcazou committed -
decl.c (gnat_to_gnu_entity): Translate the Esize on entry only for elementary types and abort if it is too large. * gcc-interface/decl.c (gnat_to_gnu_entity): Translate the Esize on entry only for elementary types and abort if it is too large. <E_Record_Type>: Make sure the Esize is known before using it. From-SVN: r188378
Eric Botcazou committed -
From-SVN: r188375
GCC Administrator committed
-
- 10 Jun, 2012 1 commit
-
-
From-SVN: r188370
GCC Administrator committed
-
- 09 Jun, 2012 5 commits
-
-
* config/cris/cris.c (cris_emit_trap_for_misalignment): Rename variable "and" to "andop". * config/cris/sync.md ("atomic_fetch_<atomic_op_name><mode>"): Use temporary variable for memory model, passing C++-type-correct parameter type to expand_mem_thread_fence. ("atomic_compare_and_swap<mode>"): Ditto. From-SVN: r188362
Hans-Peter Nilsson committed -
* config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype, _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM, FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF, FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE, __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ... * config/i386/64/sfp-machine: ... (delete here) ... * config/i386/sfp-machine.h: ... to here. (FP_EX_MASK): New. (__sfp_handle_exceptions): New function declaration. (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions. * config/i386/sfp-exceptions.c: New. * config/i386/t-softfp: New. * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add i386/t-softfp to tmake_file. From-SVN: r188361
Uros Bizjak committed -
PR c++/53602 * cfgcleanup.c (execute_jump): Rename from rest_of_handle_jump2. (pass_jump): Rename from pass_jump2. (execute_jump2, pass_jump2): New. * combine-stack-adj.c (rest_of_handle_stack_adjustments): Don't perform cfg cleanup here. Move the test of PUSH_ROUNDING and ACCUMULATE_OUTGOING_ARGS test... (gate_handle_stack_adjustments): ... here. * passes.c (init_optimization_passes): Update for pass_jump2 rename. Place new pass_jump2 after pass_stack_adjustments. * tree-pass.h (pass_jump): Declare. From-SVN: r188360
Richard Henderson committed -
2012-06-09 Kenneth Zadeck <zadeck@naturalbridge.com> * simplify-rtx.c (simplify_const_binary_operation): Fixed shift count trucation. From-SVN: r188359
Kenneth Zadeck committed -
PR c++/53602 From-SVN: r188358
Richard Henderson committed
-