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

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

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 wrote: > Sorry, it is a typo :( > > Patch v2: > > -- > > 2014-08-11 Yi Yang > > gcc: > * bb-reorder.c (pass_partition_blocks::gate): Replace check. > * c-family/c-common.c (handle_section_attribute): Remove > user_defined_section_attribute

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 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 * toplev.c (user_defined_se

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 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: > https://gcc.gnu.org/ml/gcc-patches/2014-08/m

[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 gcc: * bb-reo