Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
c092f1e1
Commit
c092f1e1
authored
Dec 06, 2004
by
Nick Clifton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oops - omitted from previous checkin
From-SVN: r91771
parent
dd8301b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
gcc/testsuite/gcc.dg/builtins-config.h
+8
-7
No files found.
gcc/testsuite/gcc.dg/builtins-config.h
View file @
c092f1e1
...
...
@@ -23,13 +23,14 @@
/* Newlib has the "f" variants of the math functions, but not the "l"
variants. TARGET_C99_FUNCTIONS is only defined if all C99
functions are present. Therefore, on systems using newlib, tests
of builtins will fail for both the "f" and the "l" variants, and we
should therefore not define HAVE_C99_RUNTIME. Including <limits.h>
gives us a way of seeing if _NEWLIB_VERSION is defined. Include
<math.h> would work too, but the GLIBC math inlines cause us to
generate inferior code, which causes the test to fail, so it is
not safe to include <math.h>. */
#include <limits.h>
of builtins will fail the "l" variants, and we should therefore not
define HAVE_C99_RUNTIME. Including <sys/types.h> gives us a way of
seeing if _NEWLIB_VERSION is defined. Including <math.h> would work
too, but the GLIBC math inlines cause us to generate inferior code,
which causes the test to fail, so it is not safe. Including <limits.h>
also fails because the include search paths are ordered such that GCC's
version will be found before the newlib version. */
#include <sys/types.h>
#ifdef _NEWLIB_VERSION
#else
#define HAVE_C99_RUNTIME
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment