Bug 43441 - pr42427.c:5:21: fatal error: complex.h: No such file or directory
Summary: pr42427.c:5:21: fatal error: complex.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: 4.5.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-19 14:01 UTC by John David Anglin
Modified: 2012-02-02 00:11 UTC (History)
1 user (show)

See Also:
Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
Build: hppa2.0w-hp-hpux11.11
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John David Anglin 2010-03-19 14:01:19 UTC
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/   -
O2 -fexceptions -fnon-call-exceptions -fpeel-loops -c  -o pr42427.o /test/gnu/gc
c/gcc/gcc/testsuite/gcc.dg/pr42427.c    (timeout = 300)
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr42427.c:5:21: fatal error: complex.h: N
o such file or directory
compilation terminated.
compiler exited with status 1
output is:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr42427.c:5:21: fatal error: complex.h: N
o such file or directory
compilation terminated.

FAIL: gcc.dg/pr42427.c (test for excess errors)

-bash-3.2$ less /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr42427.c
/* { dg-do assemble } */
/* { dg-options "-O2 -fexceptions -fnon-call-exceptions -fpeel-loops" } */
/* { dg-require-effective-target ilp32 } */

#include <complex.h>
Comment 1 John David Anglin 2010-03-29 02:52:45 UTC
This is also now present on 4.4 branch.
Comment 2 John David Anglin 2010-07-09 22:32:30 UTC
Patch:
http://gcc.gnu.org/ml/gcc-patches/2010-06/msg01915.html
Comment 3 Andrew Pinski 2012-02-02 00:11:19 UTC
/* { dg-do assemble { target c99_runtime } } */

So fixed.
------------------------------------------------------------------------
r162075 | ro | 2010-07-12 05:21:10 -0700 (Mon, 12 Jul 2010) | 14 lines