How to tell that a compiler test result is from a branch?

David Daney ddaney.cavm@gmail.com
Fri Dec 21 09:41:00 GMT 2012


On 12/20/2012 03:36 PM, H.J. Lu wrote:
> On Thu, Dec 20, 2012 at 3:25 PM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
>> Hello,
>>
>> I've bootstrapped&tested the LRA branch on ia64 and posted the results
>> to gcc-testresults
>> (http://gcc.gnu.org/ml/gcc-testresults/2012-12/msg01782.html).
>>
>> Unfortunately there's nothing in the message that shows that this
>> wasn't a trunk checkout but the LRA branch.
>>
>> Is it possible to identify the branch in the compiler version somehow?
>> I see the "REVISION" file mentioned in configure.ac and Makefile.in.
>> Should that file be used for this?
>>
>
> Yes, see
>
> http://gcc.gnu.org/ml/gcc-testresults/2012-12/msg01861.html
>
> [hjl@gnu-4 src-4.7]$ cat gcc/REVISION
> [gcc-4_7-branch revision 194514]
> [hjl@gnu-4 src-4.7]$
>

The last time I checked, gcc/REVISION is only set to the proper value by 
running contrib/gcc_update.

David Daney



More information about the Gcc mailing list