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]

Re: [PATCH] PR c/14649: Constant folding builtins in initializers


Roger Sayle wrote:

The following patch is my proposed solution to PR c/14649, which is a
C front-end problem where we currently fail to issue a "initializer
element is not constant" warning when we manage to constant fold a
mathematical builtin with constant arguments.

Thanks.


This patch looks OK to me, but (IIRC) you're not a C front-end maintainer, and neither am I, so let's have one of them sign off. Assuming this goes in on the mainline, it's also OK for 3.4.1.

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com


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