From MAILER-DAEMON Wed Jul 11 16:28:51 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Sp3Wl-0001H8-Fr
	for mharc-bug-global@gnu.org; Wed, 11 Jul 2012 16:28:51 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57881)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fkater@googlemail.com>) id 1SotFS-0007CB-Of
	for bug-global@gnu.org; Wed, 11 Jul 2012 05:30:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fkater@googlemail.com>) id 1SotFO-000231-1H
	for bug-global@gnu.org; Wed, 11 Jul 2012 05:30:18 -0400
Received: from mail-wi0-f171.google.com ([209.85.212.171]:43240)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fkater@googlemail.com>) id 1SotFN-00022d-OB
	for bug-global@gnu.org; Wed, 11 Jul 2012 05:30:13 -0400
Received: by wibhq4 with SMTP id hq4so3700023wib.12
	for <bug-global@gnu.org>; Wed, 11 Jul 2012 02:30:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=googlemail.com; s=20120113;
	h=date:from:to:subject:message-id:mime-version:content-type
	:content-disposition:user-agent;
	bh=RzaNRgH+Q/sNiaJNLqQoJzB64dVue9d3++feR3YiKng=;
	b=eydbrjf6THrHvAODzLIZ9QCiNoRbyrQoGl86n3eOfbkuPqyPQoxSeyuvo4Ipfkbh3F
	WgrU+zf/inU4p2O24id3cVnNVUJkTSL7RoJZcT8fM4hDmJTiLJCTwag2GDKQQ03mT2u+
	LCrK7sELRKQoIIK4A3rjU7fvNTTQFqODGB0IirrfW0gFMpnzspZFgoB9ABT1m8kdVcdx
	hcnxCGFuJvGmEtswn0sJSvcznlVmyr6QyLErAbhHqjMbrldTrrKCIHCVkgnxveE+HUsa
	izyavjtjM9qN5jIRd3E/YUkptX1k6y4mifkESj6OpQwaogdMZSsrFOL3Na+Z7dy7ojwP
	hi6Q==
Received: by 10.180.100.133 with SMTP id ey5mr45630712wib.4.1341999010896;
	Wed, 11 Jul 2012 02:30:10 -0700 (PDT)
Received: from googlemail.com (i59F7B522.versanet.de. [89.247.181.34])
	by mx.google.com with ESMTPS id cl8sm33553112wib.10.2012.07.11.02.30.09
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 11 Jul 2012 02:30:09 -0700 (PDT)
Received: by googlemail.com (nbSMTP-1.00) for uid 1100
	(using TLSv1/SSLv3 with cipher RC4-SHA (128/128 bits))
	fkater@googlemail.com; Wed, 11 Jul 2012 11:30:14 +0200 (CEST)
Date: Wed, 11 Jul 2012 11:30:13 +0200
From: "fkater@googlemail.com" <fkater@googlemail.com>
To: bug-global@gnu.org
Subject: Nested functions not found
Message-ID: <20120711093013.GA27441@comppasch2>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.212.171
X-Mailman-Approved-At: Wed, 11 Jul 2012 16:28:49 -0400
X-BeenThere: bug-global@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU GLOBAL <bug-global.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-global>
List-Post: <mailto:bug-global@gnu.org>
List-Help: <mailto:bug-global-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2012 09:30:20 -0000

Nested functions are not found:

int f1(){ ... }

int main(){

  int f2(){ ... }

  f1(); /* <-- definition will be found above */

  f2(); /* <-- definition will NOT be found */

}

Beeing a gnu global addict, this lack makes gcc's nested function
feature practically unusable.

I am using gnu global 6.2.4/linux.

 Felix




From MAILER-DAEMON Fri Jul 13 20:12:58 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Sppyk-0007YR-QL
	for mharc-bug-global@gnu.org; Fri, 13 Jul 2012 20:12:58 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59529)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1Sppyi-0007XU-Ot
	for bug-global@gnu.org; Fri, 13 Jul 2012 20:12:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1Sppyh-0002Wh-R3
	for bug-global@gnu.org; Fri, 13 Jul 2012 20:12:56 -0400
Received: from msa106lp.auone-net.jp ([222.3.140.169]:60549)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1Sppyh-0002WX-HI
	for bug-global@gnu.org; Fri, 13 Jul 2012 20:12:55 -0400
Received: from choota.tamacom.com (KHP059138043202.ppp-bb.dion.ne.jp
	[59.138.43.202])
	by msa106lp.auone-net.jp (au one net msa) with ESMTP id E7BCC94036;
	Sat, 14 Jul 2012 09:12:50 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id q6E0CodE000792;
	Sat, 14 Jul 2012 09:12:50 +0900 (JST)
Message-Id: <201207140012.q6E0CodE000792@tamacom.com>
To: "fkater@googlemail.com" <fkater@googlemail.com>
Subject: Re: Nested functions not found
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
References: <20120711093013.GA27441@comppasch2>
In-reply-to: Message from "fkater@googlemail.com" <fkater@googlemail.com>
	of "Wed,
	11 Jul 2012 11:30:13 +0200." <20120711093013.GA27441@comppasch2>
Date: Sat, 14 Jul 2012 09:12:50 +0900
Sender: shigio@tamacom.com
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 222.3.140.169
Cc: bug-global@gnu.org
X-BeenThere: bug-global@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU GLOBAL <bug-global.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-global>
List-Post: <mailto:bug-global@gnu.org>
List-Help: <mailto:bug-global-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Jul 2012 00:12:57 -0000

Hi,
I have added your report to the bug list [http://www.gnu.org/software/global/bugs.html].
Thank you for the report!

> Nested functions are not found:
> 
> int f1(){ ... }
> 
> int main(){
> 
>   int f2(){ ... }
> 
>   f1(); /* <-- definition will be found above */
> 
>   f2(); /* <-- definition will NOT be found */
> 
> }
> 
> Beeing a gnu global addict, this lack makes gcc's nested function
> feature practically unusable.
> 
> I am using gnu global 6.2.4/linux.
> 
>  Felix
> 
> 
> 
> _______________________________________________
> Bug-global mailing list
> Bug-global@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-global
> 
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


