This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Mark threshold arrays in bb-reorder.c as constant
- From: David Malcolm <dmalcolm at redhat dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 22 May 2013 22:21:01 -0400
- Subject: Re: Mark threshold arrays in bb-reorder.c as constant
- References: <1369269035 dot 26167 dot 39 dot camel at surprise> <519D7735 dot 3010902 at redhat dot com>
On Wed, 2013-05-22 at 19:56 -0600, Jeff Law wrote:
> On 05/22/2013 06:30 PM, David Malcolm wrote:
> > The arrays of thresholds in gcc/bb-reorder.c appear not to have changed
> > since 2004 (in r80564).
> >
> > As part of my hope of quashing global state in gcc, I'd like to mark
> > them as const.
> >
> > Bootstrapped and tested on x86_64-unknown-linux-gnu against r199189, and
> > has the same test results as an unpatched bootstrap of that revision.
> OK.
Thanks; committed to svn trunk as r199230.