From MAILER-DAEMON Mon Jan 11 03:35:26 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1aIXwk-0003Ml-1H
	for mharc-bug-bison@gnu.org; Mon, 11 Jan 2016 03:35:26 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53050)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <debashisde@gmail.com>) id 1aIW8M-00006k-BS
	for bug-bison@gnu.org; Mon, 11 Jan 2016 01:39:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <debashisde@gmail.com>) id 1aIW8L-000742-C1
	for bug-bison@gnu.org; Mon, 11 Jan 2016 01:39:18 -0500
Received: from mail-io0-x22e.google.com ([2607:f8b0:4001:c06::22e]:35761)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <debashisde@gmail.com>) id 1aIW8L-00072r-7p
	for bug-bison@gnu.org; Mon, 11 Jan 2016 01:39:17 -0500
Received: by mail-io0-x22e.google.com with SMTP id 77so308457008ioc.2
	for <bug-bison@gnu.org>; Sun, 10 Jan 2016 22:39:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:from:date:message-id:subject:to:content-type;
	bh=Q1NGLZbtfN30YmZkXVUMQjHPVXHgMFowMqyL/VFkI2k=;
	b=duPMgCKK+wFgwsW9UbvNUtO/nMMQ9JpHFhS4bGwxCIET6l85k6P3OoebxU7gdT6OTt
	2BrwOq4FAqIPLzEU4S4gKniOE/0WG+TeW0/YQmF+6lr2ErHm9DocpbJJ4HrJ443X7jss
	FpnY142DkbRrmTvFeRwfXR/ch+r+5sbs71X21XzJzmPt2XjzmmimBFt6ZrR/+TGXAWpf
	LddVEL2//WxaoCy2OmQ47mcyLC7VD215qZnxsMaIry7qrM55DNOddy1bxHS1UMqNIvAh
	btBNw1O2LNEnsoy/R2whc4jhkB0K9vXTd+K2Wj/+2Vt3BgiNcTG/yZun1E8Td6GoVX0z
	Hn0g==
X-Received: by 10.107.10.217 with SMTP id 86mr100397110iok.75.1452494356335;
	Sun, 10 Jan 2016 22:39:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.107.10.194 with HTTP; Sun, 10 Jan 2016 22:38:36 -0800 (PST)
From: Debashis De <debashisde@gmail.com>
Date: Mon, 11 Jan 2016 12:08:36 +0530
Message-ID: <CA+LPj3O1B+5+-+bivCnoKbitP9ONZubmvrEuChCuELDU=sqFfg@mail.gmail.com>
Subject: Spurious warning "unset value: $$"
To: bug-bison@gnu.org
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:4001:c06::22e
X-Mailman-Approved-At: Mon, 11 Jan 2016 03:35:24 -0500
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Jan 2016 06:39:19 -0000

Hello,

Here is my log:

[debashis@k2 src]$ ./bison --version
bison (GNU Bison) 3.0.4
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[debashis@k2 src]$ cat ~/t.y
%start st1

%destructor { } st1

%type <int> st2
%token st3

%%

st1 : st2 { /* $$ = 0 ; */ } ;

st2 : st3 { $$ = 0 ; } ;

%%

[debashis@k2 src]$ ./bison ~/t.y
/home/debashis/t.y:10.7-28: warning: unset value: $$ [-Wother]
 st1 : st2 { /* $$ = 0 ; */ } ;
       ^^^^^^^^^^^^^^^^^^^^^^
[debashis@k2 src]$

Thanks and regards,
Debashis

-- 
*Things are to be used, people are to be loved. Do not do it the other way
round.*

