[Bug fortran/86599] Problems building libgfortran from 7.2.0 on HP-UX 11.31/PA
bugzilla-gcc at thewrittenword dot com
gcc-bugzilla@gcc.gnu.org
Tue Jul 24 22:34:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86599
--- Comment #5 from The Written Word <bugzilla-gcc at thewrittenword dot com> ---
(In reply to The Written Word from comment #4)
> On HP-UX 11.23/PA, this isn't an issue because of the following in
> fixincludes/inclhack.def:
> /*
> * HP-UX long_double
> */
> fix = {
> hackname = hpux_long_double;
> mach = "*-*-hpux10*";
> mach = "*-*-hpux11.[0123]*";
> files = stdlib.h;
> select = "extern[ \t]long_double[ \t]strtold";
> bypass = "long_double_t";
> sed = "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE
> \\*\\//D";
> sed = "s/long_double/long double/g";
>
> test_text = "# ifndef _LONG_DOUBLE\n"
> "# define _LONG_DOUBLE\n"
> " typedef struct {\n"
> " unsigned int word1, word2, word3, word4;\n"
> " } long_double;\n"
> "# endif /* _LONG_DOUBLE */\n"
> "extern long_double strtold(const char *, char **);\n";
> };
Actually, it's:
/*
* HP-UX long_double
*/
fix = {
hackname = hpux_long_double;
mach = "*-*-hpux10*";
mach = "*-*-hpux11.[012]*";
files = stdlib.h;
select = "extern[ \t]long_double[ \t]strtold";
bypass = "long_double_t";
sed = "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D";
sed = "s/long_double/long double/g";
test_text = "# ifndef _LONG_DOUBLE\n"
"# define _LONG_DOUBLE\n"
" typedef struct {\n"
" unsigned int word1, word2, word3, word4;\n"
" } long_double;\n"
"# endif /* _LONG_DOUBLE */\n"
"extern long_double strtold(const char *, char **);\n";
};
More information about the Gcc-bugs
mailing list