diff mbox

[committed,gcc-5-branch] Set DEV-PHASE to prerelease

Message ID 20150423233152.GA9034@intel.com
State New
Headers show

Commit Message

H.J. Lu April 23, 2015, 11:31 p.m. UTC
Hi,

I checked this patch into gcc-5-branch.


H.J.
---

Comments

Jakub Jelinek April 24, 2015, 6 a.m. UTC | #1
On Thu, Apr 23, 2015 at 04:31:52PM -0700, H.J. Lu wrote:
> Hi,
> 
> I checked this patch into gcc-5-branch.

That's wrong according to https://gcc.gnu.org/develop.html#num_scheme

> Index: ChangeLog
> ===================================================================
> --- ChangeLog	(revision 222386)
> +++ ChangeLog	(working copy)
> @@ -1,3 +1,7 @@
> +2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
> +
> +	* DEV-PHASE: Set to prerelease.
> +
>  2015-04-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
>  
>  	Backport from mainline r222349
> Index: DEV-PHASE
> ===================================================================
> --- DEV-PHASE	(revision 222386)
> +++ DEV-PHASE	(working copy)
> @@ -0,0 +1 @@
> +prerelease

	Jakub
Richard Biener April 24, 2015, 7:52 a.m. UTC | #2
On Fri, 24 Apr 2015, Jakub Jelinek wrote:

> On Thu, Apr 23, 2015 at 04:31:52PM -0700, H.J. Lu wrote:
> > Hi,
> > 
> > I checked this patch into gcc-5-branch.
> 
> That's wrong according to https://gcc.gnu.org/develop.html#num_scheme

Yes.  Please revert.

In future please don't do this kind of changes as non-RM without
approval.

Thanks,
Richard.

> > Index: ChangeLog
> > ===================================================================
> > --- ChangeLog	(revision 222386)
> > +++ ChangeLog	(working copy)
> > @@ -1,3 +1,7 @@
> > +2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
> > +
> > +	* DEV-PHASE: Set to prerelease.
> > +
> >  2015-04-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
> >  
> >  	Backport from mainline r222349
> > Index: DEV-PHASE
> > ===================================================================
> > --- DEV-PHASE	(revision 222386)
> > +++ DEV-PHASE	(working copy)
> > @@ -0,0 +1 @@
> > +prerelease
> 
> 	Jakub
> 
>
Rainer Orth May 4, 2015, 9:13 a.m. UTC | #3
Jakub Jelinek <jakub@redhat.com> writes:

> On Thu, Apr 23, 2015 at 04:31:52PM -0700, H.J. Lu wrote:
>> Hi,
>> 
>> I checked this patch into gcc-5-branch.
>
> That's wrong according to https://gcc.gnu.org/develop.html#num_scheme

HJ has a point, though: with DEV-PHASE remaining empty, all post-5.1.0
versions of gcc identify as 5.1.1, with no way of telling them apart,
like datestamp and revison.

	Rainer
Jakub Jelinek May 4, 2015, 9:21 a.m. UTC | #4
On Mon, May 04, 2015 at 11:13:51AM +0200, Rainer Orth wrote:
> Jakub Jelinek <jakub@redhat.com> writes:
> 
> > On Thu, Apr 23, 2015 at 04:31:52PM -0700, H.J. Lu wrote:
> >> Hi,
> >> 
> >> I checked this patch into gcc-5-branch.
> >
> > That's wrong according to https://gcc.gnu.org/develop.html#num_scheme
> 
> HJ has a point, though: with DEV-PHASE remaining empty, all post-5.1.0
> versions of gcc identify as 5.1.1, with no way of telling them apart,
> like datestamp and revison.

That suggests we should change
DATESTAMP_s := "\"$(if $(DEVPHASE_c), $(DATESTAMP_c))\""
so that it would expand to DATESTAMP_c also if DEVPHASE_c is empty,
but BASEVER_c does not end with .0

	Jakub
Richard Biener May 4, 2015, 9:31 a.m. UTC | #5
On Mon, 4 May 2015, Jakub Jelinek wrote:

> On Mon, May 04, 2015 at 11:13:51AM +0200, Rainer Orth wrote:
> > Jakub Jelinek <jakub@redhat.com> writes:
> > 
> > > On Thu, Apr 23, 2015 at 04:31:52PM -0700, H.J. Lu wrote:
> > >> Hi,
> > >> 
> > >> I checked this patch into gcc-5-branch.
> > >
> > > That's wrong according to https://gcc.gnu.org/develop.html#num_scheme
> > 
> > HJ has a point, though: with DEV-PHASE remaining empty, all post-5.1.0
> > versions of gcc identify as 5.1.1, with no way of telling them apart,
> > like datestamp and revison.
> 
> That suggests we should change
> DATESTAMP_s := "\"$(if $(DEVPHASE_c), $(DATESTAMP_c))\""
> so that it would expand to DATESTAMP_c also if DEVPHASE_c is empty,
> but BASEVER_c does not end with .0

Yes.

Richard.
diff mbox

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 222386)
+++ ChangeLog	(working copy)
@@ -1,3 +1,7 @@ 
+2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* DEV-PHASE: Set to prerelease.
+
 2015-04-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
 
 	Backport from mainline r222349
Index: DEV-PHASE
===================================================================
--- DEV-PHASE	(revision 222386)
+++ DEV-PHASE	(working copy)
@@ -0,0 +1 @@ 
+prerelease