This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r213891 - in /branches/google/gcc-4_9/gcc: bb-r...
- From: ahyangyi2 at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 12 Aug 2014 22:19:47 -0000
- Subject: r213891 - in /branches/google/gcc-4_9/gcc: bb-r...
Author: ahyangyi2
Date: Tue Aug 12 22:19:46 2014
New Revision: 213891
URL: https://gcc.gnu.org/viewcvs?rev=213891&root=gcc&view=rev
Log:
Replace checking user_defined_section_attribute with directly checking
DECL_SECTION_NAME. The former does not work in the presence of IPA.
Backported from a pending patch for trunk.
--
2014-08-12 Yi Yang <ahyangyi@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
* toplev.c (user_defined_section_attribute): ditto
* toplev.h (user_defined_section_attribute): ditto
Modified:
branches/google/gcc-4_9/gcc/bb-reorder.c
branches/google/gcc-4_9/gcc/c-family/c-common.c
branches/google/gcc-4_9/gcc/final.c
branches/google/gcc-4_9/gcc/toplev.c
branches/google/gcc-4_9/gcc/toplev.h