Skip to content

ansi-c/get-gcc-builtins.sh gives an error #336

Closed
@martin-cs

Description

@martin-cs

$ ./get-gcc-builtins.sh
Downloading http://gcc.gnu.org/svn/gcc/trunk/gcc/builtin-types.def
Downloading http://gcc.gnu.org/svn/gcc/trunk/gcc/builtins.def
Downloading http://gcc.gnu.org/svn/gcc/trunk/gcc/sync-builtins.def
Downloading http://gcc.gnu.org/svn/gcc/trunk/gcc/omp-builtins.def
Downloading http://gcc.gnu.org/svn/gcc/trunk/gcc/gtm-builtins.def
Downloading http://gcc.gnu.org/svn/gcc/trunk/gcc/cilk-builtins.def
Downloading http://gcc.gnu.org/svn/gcc/trunk/gcc/cilkplus.def
Downloading http://gcc.gnu.org/svn/gcc/trunk/gcc/sanitizer.def
Downloading http://gcc.gnu.org/svn/gcc/trunk/gcc/chkp-builtins.def
builtins.h:1053:28: fatal error: hsa-builtins.def: No such file or directory
compilation terminated.
:7:13: error: expected identifier or ‘(’ before ‘,’ token
:476:36: error: unknown type name ‘TYPE_QUAL_CONST’
:477:37: error: unknown type name ‘TYPE_QUAL_CONST’
:478:37: error: unknown type name ‘TYPE_QUAL_CONST’
:478:61: error: unknown type name ‘TYPE_QUAL_CONST’
:521:57: error: unknown type name ‘const_tm_ptr_type_node’

Also, the resultant gcc-builtins.h does not define isgreater, isgreaterequal, etc. as described in:

https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions