This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/32958] New: tgmath.h includes non-existant header file complex.h
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Aug 2007 15:25:33 -0000
- Subject: [Bug other/32958] New: tgmath.h includes non-existant header file complex.h
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-1.c -std=iso9899:1999
-fno-show
-column -E -o c99-tgmath-1.i (timeout = 300)
In file included from /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-1.c:7:
/test/gnu/gcc/objdir/gcc/include/tgmath.h:38: error: complex.h: No such file or
directory
compiler exited with status 1
output is:
In file included from /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-1.c:7:
/test/gnu/gcc/objdir/gcc/include/tgmath.h:38: error: complex.h: No such file or
directory
FAIL: gcc.dg/c99-tgmath-1.c (test for excess errors)
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c -std=iso9899:1999
-fno-show
-column -S -o c99-tgmath-2.s (timeout = 300)
In file included from /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:7:
/test/gnu/gcc/objdir/gcc/include/tgmath.h:38: error: complex.h: No such file or
directory
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c: In function 'foo':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: implicit
decl
aration of function 'csinl'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: incompatible
implicit declaration of built-in function 'csinl'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: error: 'csin'
undeclar
ed (first use in this function)
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: error: (Each
undeclare
d identifier is reported only once
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: error: for each
functi
on it appears in.)
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: implicit
decl
aration of function 'csinf'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: incompatible
implicit declaration of built-in function 'csinf'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: implicit
decl
aration of function 'sinl'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: incompatible
implicit declaration of built-in function 'sinl'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: implicit
decl
aration of function 'sinf'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: incompatible
implicit declaration of built-in function 'sinf'
compiler exited with status 1
output is:
In file included from /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:7:
/test/gnu/gcc/objdir/gcc/include/tgmath.h:38: error: complex.h: No such file or
directory
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c: In function 'foo':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: implicit
decl
aration of function 'csinl'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: incompatible
implicit declaration of built-in function 'csinl'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: error: 'csin'
undeclar
ed (first use in this function)
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: error: (Each
undeclare
d identifier is reported only once
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: error: for each
functi
on it appears in.)
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: implicit
decl
aration of function 'csinf'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: incompatible
implicit declaration of built-in function 'csinf'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: implicit
decl
aration of function 'sinl'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: incompatible
implicit declaration of built-in function 'sinl'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: implicit
decl
aration of function 'sinf'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-2.c:11: warning: incompatible
implicit declaration of built-in function 'sinf'
FAIL: gcc.dg/c99-tgmath-2.c (test for excess errors)
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-3.c -std=iso9899:1999
-fno-show
-column -S -o c99-tgmath-3.s (timeout = 300)
In file included from /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-3.c:7:
/test/gnu/gcc/objdir/gcc/include/tgmath.h:38: error: complex.h: No such file or
directory
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-3.c:9: error: expected '=',
',
', ';', 'asm' or '__attribute__' before 'double'
compiler exited with status 1
output is:
In file included from /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-3.c:7:
/test/gnu/gcc/objdir/gcc/include/tgmath.h:38: error: complex.h: No such file or
directory
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-3.c:9: error: expected '=',
',
', ';', 'asm' or '__attribute__' before 'double'
FAIL: gcc.dg/c99-tgmath-3.c (test for excess errors)
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-4.c -std=iso9899:1999
-fno-show
-column -S -o c99-tgmath-4.s (timeout = 300)
In file included from /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-4.c:7:
/test/gnu/gcc/objdir/gcc/include/tgmath.h:38: error: complex.h: No such file or
directory
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-4.c:9: error: expected '=',
',
', ';', 'asm' or '__attribute__' before 'double'
compiler exited with status 1
output is:
In file included from /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-4.c:7:
/test/gnu/gcc/objdir/gcc/include/tgmath.h:38: error: complex.h: No such file or
directory
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/c99-tgmath-4.c:9: error: expected '=',
',
', ';', 'asm' or '__attribute__' before 'double'
FAIL: gcc.dg/c99-tgmath-4.c (test for excess errors)
--
Summary: tgmath.h includes non-existant header file complex.h
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa2.0w-hp-hpux11.11
GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32958