This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Abt gcses-1.c testcase
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Mohamed Shafi'" <shafitvm at gmail dot com>, <gcc at gcc dot gnu dot org>
- Date: Mon, 30 Oct 2006 14:28:34 -0000
- Subject: RE: Abt gcses-1.c testcase
On 30 October 2006 13:36, Mohamed Shafi wrote:
> Hello all,
>
> Can anybody tell me the purpose of the testcase
> testsuite\gcc.dg\special\gcsec-1.c in the gcc testsuite ?
> Is it something related with garbage clooection?
Yes, but not the gcc garbage collector but the linker's section-based gc.
> What exactly doec this testcase test ?
It appears to be testing that the linker supports the --gc-sections option,
and that the compiler generates the right output for it when compiling with
-ffunction-sections -fdata-sections.
cheers,
DaveK
--
Can't think of a witty .sigline today....