jkmcnk / sx-gcc

The GNU Compiler Collection port to NEC SX CPU architecture.
GNU General Public License v2.0
0 stars 2 forks source link

-O0 pch problem #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
FAIL: gcc.dg/pch/system-1.c  -O0  (test for excess errors)
Excess errors:
/home/fred/tmp/sx/src/sx-gcc/gcc/testsuite/gcc.dg/pch/system-1.c:1: error:
system-1.h: No such file or directory
/home/fred/tmp/sx/src/sx-gcc/gcc/testsuite/gcc.dg/pch/system-1.c:1: error:
one or more PCH files were found, but they were invalid
/home/fred/tmp/sx/src/sx-gcc/gcc/testsuite/gcc.dg/pch/system-1.c:1: error:
use -Winvalid-pch for more information
/home/fred/tmp/sx/src/sx-gcc/gcc/testsuite/gcc.dg/pch/system-1.c:5:
warning: incompatible implicit declaration of built-in function 'exit'

Original issue reported on code.google.com by fred.tre...@googlemail.com on 29 Oct 2008 at 3:12

GoogleCodeExporter commented 8 years ago
Humm, there is a "system-1.hs" header file in the 
"sx-gcc/gcc/testsuite/gcc.dg/pch"
directory. If I change "#include "system-1.h" " in the "system-1.c" file to 
"#include
"system-1.hs" ", everything compiles fine.

During the process of compilation the ".h" files should probably be created out 
of
the ".hs" files... I don't know why they aren't..

Original comment by nou...@gmail.com on 20 Nov 2008 at 2:42

GoogleCodeExporter commented 8 years ago
this was fixed ages ago.

Original comment by jmoc...@gmail.com on 9 Oct 2009 at 9:33