This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]