This is the mail archive of the gcc-patches@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]

[Committed] Fix a couple of SPU testcases


Hi,
  I have had these fixes for these spu testcases in my local tree for a 
while now.  The first issue is that tag_manager.c uses some 
functions/types from stdlib.h without including stdlib.h which causes a 
warning.  The second issue is that after enabling mapped location by 
default, Wmain.c started to fail as the warning had moved line numbers to 
be more correct.  This patch fixes both issue.

Committed after a build/test on spu-elf with no regressions.

Thanks,
Andrew Pinski
ChangeLog:

        * gcc.target/spu/tag_manager.c : Include stdlib.h.
        * gcc.target/spu/Wmain.c: Fix the line numbers for the
        warning on the function main.



Attachment: fixtestcase.diff.txt
Description: Text document


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