This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Add toplevel comment to builtins.c - dont add simplifications here
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 30 Sep 2015 14:49:19 +0200 (CEST)
- Subject: [PATCH] Add toplevel comment to builtins.c - dont add simplifications here
- Authentication-results: sourceware.org; auth=none
Committed.
2015-09-30 Richard Biener <rguenther@suse.de>
* builtins.c: Add comment that no new simplifications shouldd
be added here.
Index: gcc/builtins.c
===================================================================
--- gcc/builtins.c (revision 228279)
+++ gcc/builtins.c (working copy)
@@ -17,6 +17,10 @@ You should have received a copy of the G
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
+/* Legacy warning! Please add no further builtin simplifications here
+ (apart from pure constant folding) - builtin simplifications should go
+ to match.pd or gimple-fold.c instead. */
+
#include "config.h"
#include "system.h"
#include "coretypes.h"