This is the mail archive of the gcc@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: C constant expressions proposals


Joe Buck wrote:

On Wed, Aug 18, 2004 at 12:31:51PM -0400, Robert Dewar wrote:

I am confused. Full detection of undefined variables requires full
flow analysis and solution of data flow equations.


Agreed; you need lots of optimization to do a decent job of detection
of undefined variables.

Even data flow equations don't really suffice to do an accurate job,
as that approach misses correlations between branches.  Avoiding certain
common kinds of false positives would require something like gated single
assignment.

Heh, this is that discussion we've already had before.


I'm not going to fan the flames here.

--
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]