Re: [PATCH] Drop user_defined_section_attribute, directly check DECL_SECTION_NAME instead

2014-08-30 Thread Jeff Law
On 08/27/14 16:30, Yi Yang wrote: Ping On Mon, Aug 11, 2014 at 3:10 PM, Yi Yang ahyan...@google.com wrote: Sorry, it is a typo :( Patch v2: -- 2014-08-11 Yi Yang ahyan...@google.com gcc: * bb-reorder.c (pass_partition_blocks::gate): Replace check. * c-family/c-common.c

Re: [PATCH] Drop user_defined_section_attribute, directly check DECL_SECTION_NAME instead

2014-08-27 Thread Yi Yang
Ping On Mon, Aug 11, 2014 at 3:10 PM, Yi Yang ahyan...@google.com wrote: Sorry, it is a typo :( Patch v2: -- 2014-08-11 Yi Yang ahyan...@google.com gcc: * bb-reorder.c (pass_partition_blocks::gate): Replace check. * c-family/c-common.c (handle_section_attribute): Remove

[PATCH] Drop user_defined_section_attribute, directly check DECL_SECTION_NAME instead

2014-08-11 Thread Yi Yang
Replace checking user_defined_section_attribute with directly checking DECL_SECTION_NAME. The former does not work in the presence of IPA. See also: discussion on the same patch in Google branch: https://gcc.gnu.org/ml/gcc-patches/2014-08/msg00749.html -- 2014-08-11 Yi Yang

Re: [PATCH] Drop user_defined_section_attribute, directly check DECL_SECTION_NAME instead

2014-08-11 Thread H.J. Lu
On Mon, Aug 11, 2014 at 1:41 PM, Yi Yang ahyan...@google.com wrote: Replace checking user_defined_section_attribute with directly checking DECL_SECTION_NAME. The former does not work in the presence of IPA. See also: discussion on the same patch in Google branch:

Re: [PATCH] Drop user_defined_section_attribute, directly check DECL_SECTION_NAME instead

2014-08-11 Thread Yi Yang
Sorry, it is a typo :( Patch v2: -- 2014-08-11 Yi Yang ahyan...@google.com gcc: * bb-reorder.c (pass_partition_blocks::gate): Replace check. * c-family/c-common.c (handle_section_attribute): Remove user_defined_section_attribute * final.c (rest_of_handle_final): ditto *