gcc

~vcs-imports/gcc/+git/gcc:jason/tag-inherit

Last commit made on 2015-03-13
Get this branch:
git clone -b jason/tag-inherit https://git.launchpad.net/~vcs-imports/gcc/+git/gcc

Branch merges

Branch information

Name:
jason/tag-inherit
Repository:
lp:~vcs-imports/gcc/+git/gcc

Recent commits

82ea96a... by Jason Merrill <email address hidden>

 * class.c (check_tag): Handle variables and functions.
 (mark_or_check_attr_tags): Split out from find_abi_tags_r.
 (mark_or_check_tags): Likewise.
 (mark_abi_tags): Use it. Rename from mark_type_abi_tags.
 (check_abi_tags): Add single argument overload for decls.
 Handle inheriting tags for decls.
 * mangle.c (write_mangled_name): Call it.
 (mangle_return_type_p): Split out from write_encoding.
 (unmangled_name_p): Split out from write_mangled_name.
 (write_mangled_name): Ignore abi_tag on namespace.
 * cp-tree.h (NAMESPACE_IS_INLINE): Replace NAMESPACE_ABI_TAG.
 * parser.c (cp_parser_namespace_definition): Set it.
 * name-lookup.c (handle_namespace_attrs): Use arguments. Warn
 about abi_tag attribute on non-inline namespace.
 * tree.c (check_abi_tag_args): Split out from handle_abi_tag_attribute.
 (handle_abi_tag_attribute): Allow tags on variables.

9dba8b1... by dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>

jit docs: Add "Packaging notes" section

gcc/jit/ChangeLog:
 * docs/internals/index.rst (Packaging notes): New section.
 * docs/_build/texinfo/libgccjit.texi: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221425 138bc75d-0d04-0410-961f-82ee72b054a4

1a01f0b... by charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>

Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221423 138bc75d-0d04-0410-961f-82ee72b054a4

8efb0c9... by charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>

2015-03-13 Robert Dewar <email address hidden>

 * exp_unst.adb (Note_Uplevel_Reference): Eliminate duplicate
 references.
 (Actual_Ref): New function.
 (AREC_String): Minor reformatting.
 (Unnest_Subprogram): Use Actual_Ref.
 * frontend.adb (Frontend): Turn off Unnest_Subprogram_Mode
 before call to Instantiate_Bodies.

2015-03-13 Ed Schonberg <email address hidden>

 * freeze.adb (Freeze_Profile): If the return type of a function
 being frozen is an untagged limited view and the function is
 abstract, mark the type as frozen because there is no later
 point at which the profile of the subprogram will be elaborated.

2015-03-13 Robert Dewar <email address hidden>

 * einfo.adb, einfo.ads, atree.adb, atree.ads, atree.h: Add seventh
 component to entities. Add new fields Field36-41 and Node36-41.

2015-03-13 Claire Dross <email address hidden>

 * inline.adb (Can_Be_Inlined_In_GNATprove_Mode): Rewrite after review.

2015-03-13 Robert Dewar <email address hidden>

 * exp_util.adb (Is_Volatile_Reference): Compile time known
 value is never considered to be a volatile reference.

2015-03-13 Robert Dewar <email address hidden>

 * sem_ch3.adb (Analyze_Object_Contract): Suppress "constant
 cannot be volatile" for internally generated object (such as
 FIRST and LAST constants).

2015-03-13 Ed Schonberg <email address hidden>

 * sem_ch12.adb (Validate_Access_Subprogram_Instance): If a
 convention is specified for the formal parameter, verify that
 the actual has the same convention.
 * sem_prag.adb (Set_Convention_From_Pragma): Allow convention
 pragma to be set on a generic formal type.
 * sem_util.adb (Set_Convention): Ignore within an instance,
 as it has already been verified in the generic unit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221422 138bc75d-0d04-0410-961f-82ee72b054a4

6940999... by iverbin <iverbin@138bc75d-0d04-0410-961f-82ee72b054a4>

gcc/
 * varpool.c (varpool_node::get_create): Don't set 'offloadable' flag for
 the external decls.
libgomp/
 * testsuite/libgomp.fortran/declare-target-1.f90: New test.
 * testsuite/libgomp.fortran/declare-target-2.f90: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221421 138bc75d-0d04-0410-961f-82ee72b054a4

aa2f48d... by charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>

2015-03-13 Claire Dross <email address hidden>

 * inline.adb (Can_Be_Inlined_In_GNATprove_Mode): Do not inline
 subprograms with unconstrained record parameters containing
 Itype declarations.
 * sinfo.ads Document GNATprove assumption that type should match
 in the AST.
 * sem_ch6.adb (Analyze_Subprogram_Body_Contract):
 Do not check for Refined_Depends and Refined_Globals contracts
 as they are optional.

2015-03-13 Ed Schonberg <email address hidden>

 * sem_ch12.adb (Instantiate_Type): For a floating-point type,
 capture dimension info if any, because the generated subtype
 declaration does not come from source and will not process dimensions.
 * sem_dim,adb (Analyze_Dimension_Extension_Or_Record_Aggregate):
 Do not analyze expressions with an initialization procedure
 because aggregates will have been checked at the point of record
 declaration.

2015-03-13 Robert Dewar <email address hidden>

 * aspects.ads, aspects.adb: Add entries for aspect Unimplemented.
 * einfo.ads, einfo.adb (Is_Unimplemented): New flag.
 * sem_ch13.adb: Add dummy entry for aspect Unimplemented.
 * snames.ads-tmpl: Add entry for Name_Unimplemented.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221420 138bc75d-0d04-0410-961f-82ee72b054a4

fd201c7... by charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>

2015-03-13 Gary Dismukes <email address hidden>

 * style.adb (Missing_Overriding): Apply the
 Comes_From_Source test to the Original_Node of the subprogram
 node, to handle the case of a null procedure declaration that
 has been rewritten as an empty procedure body.

2015-03-13 Robert Dewar <email address hidden>

 * exp_util.ads: Minor fix to comment.
 * sem_ch3.adb (Constrain_Index): Correct pasto from previous
 change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221419 138bc75d-0d04-0410-961f-82ee72b054a4

9755aa0... by charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>

2015-03-13 Robert Dewar <email address hidden>

 * exp_util.ads, exp_util.adb (Force_Evaluation): Add Related_Id and
 Is_Low/High_Bound params.
 * sem_ch3.adb (Constrain_Index): Use new Force_Evaluation calling
 sequence to simplify generation of FIRST/LAST temps for bounds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221418 138bc75d-0d04-0410-961f-82ee72b054a4

19cde17... by redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>

 * include/experimental/system_error: Fix include guard.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221417 138bc75d-0d04-0410-961f-82ee72b054a4

a88ef88... by sh <sh@138bc75d-0d04-0410-961f-82ee72b054a4>

libgomp: Add RTEMS support

libgomp/ChangeLog

 * configure.tgt (*-*-rtems*): Use local-exec TLS model.
 * configure.ac (*-*-rtems*): Assume Pthread is supported.
 (pthread.h): Check for this header file.
 * configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221415 138bc75d-0d04-0410-961f-82ee72b054a4