public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: [google] Add new flag -fstrict-enum-precision (issue4128067)
@ 2011-02-07 12:43 simonb
  0 siblings, 0 replies; 2+ messages in thread
From: simonb @ 2011-02-07 12:43 UTC (permalink / raw)
  To: dnovillo, gcc-patches; +Cc: reply

OK


http://codereview.appspot.com/4128067/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [google] Add new flag -fstrict-enum-precision (issue4128067)
@ 2011-02-06 23:57 dnovillo
  0 siblings, 0 replies; 2+ messages in thread
From: dnovillo @ 2011-02-06 23:57 UTC (permalink / raw)
  To: gcc-patches, simonb; +Cc: reply

Reviewers: gcc-patches_gcc.gnu.org, simonb,

Description:

This feature has not yet been contributed to trunk.  Adding the
flag in google/integration to prevent build breakage due to
unknown flags.

Tested on x86_64.  Committed to google/integration.


2011-02-06  Diego Novillo  <dnovillo@google.com>

	* common.opt (fstrict-enum-precision): New placeholder
	flag.

diff --git a/gcc/ChangeLog.google-integration
b/gcc/ChangeLog.google-integration
index 68694e3..9fe1818 100644
--- a/gcc/ChangeLog.google-integration
+++ b/gcc/ChangeLog.google-integration
@@ -1,3 +1,8 @@
+2011-02-06  Diego Novillo  <dnovillo@google.com>
+
+	* common.opt (fstrict-enum-precision): New placeholder
+	flag.
+
  2011-02-02  Diego Novillo  <dnovillo@google.com>

  	Mainline merge r169512.
diff --git a/gcc/common.opt b/gcc/common.opt
index 0a1bf0c..9ed6216 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1990,6 +1990,10 @@ ftree-vrp
  Common Report Var(flag_tree_vrp) Init(0) Optimization
  Perform Value Range Propagation on trees

+fstrict-enum-precision
+Common Report Var(flag_strict_enum_precision) Init(1) Optimization
+Perform transformations based on enum precision
+
  funit-at-a-time
  Common Report Var(flag_unit_at_a_time) Init(1) Optimization
  Compile whole compilation unit at a time


Please review this at http://codereview.appspot.com/4128067/

Affected files:
   M gcc/ChangeLog.google-integration
   M gcc/common.opt


Index: gcc/ChangeLog.google-integration
diff --git a/gcc/ChangeLog.google-integration  
b/gcc/ChangeLog.google-integration
index  
68694e30ebdbc6a14601a9544fbcf5860557de22..9fe1818657e8ef2c47abd68f00ead0e952d7311a  
100644
--- a/gcc/ChangeLog.google-integration
+++ b/gcc/ChangeLog.google-integration
@@ -1,3 +1,8 @@
+2011-02-06  Diego Novillo  <dnovillo@google.com>
+
+	* common.opt (fstrict-enum-precision): New placeholder
+	flag.
+
  2011-02-02  Diego Novillo  <dnovillo@google.com>

  	Mainline merge r169512.
Index: gcc/common.opt
diff --git a/gcc/common.opt b/gcc/common.opt
index  
0a1bf0c4a1803061ae8bc81b7cadcb69770f0ec5..9ed6216b0ea22d1575eb8e20130f181a1374b30a  
100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1990,6 +1990,10 @@ ftree-vrp
  Common Report Var(flag_tree_vrp) Init(0) Optimization
  Perform Value Range Propagation on trees

+fstrict-enum-precision
+Common Report Var(flag_strict_enum_precision) Init(1) Optimization
+Perform transformations based on enum precision
+
  funit-at-a-time
  Common Report Var(flag_unit_at_a_time) Init(1) Optimization
  Compile whole compilation unit at a time


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-07 12:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-07 12:43 [google] Add new flag -fstrict-enum-precision (issue4128067) simonb
  -- strict thread matches above, loose matches on Subject: below --
2011-02-06 23:57 dnovillo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).