This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] for PR middle-end/31490


Hi,
This patch fixes PR31490,  bootstrapped and regtested on
i686-pc-linux-gnu with no new regressions and still continue to
testing. OK for trunk?
              thanks, Dinar.

Attachment: changlog.txt
Description: Text document

--- gcc/varasm.c-orig	2007-05-03 23:08:23.000000000 +0400
+++ gcc/varasm.c	2007-05-02 20:55:08.000000000 +0400
@@ -5828,6 +5828,8 @@ decl_readonly_section (tree decl, int re
     case SECCAT_RODATA_MERGE_STR_INIT:
     case SECCAT_RODATA_MERGE_CONST:
     case SECCAT_SRODATA:
+    case SECCAT_DATA_REL_RO:
+    case SECCAT_DATA_REL_RO_LOCAL:
       return true;
       break;
     default:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]