[Bug libfortran/68743] [6 Regression] FAIL: gfortran.dg/aint_anint_1.f90 -O0 execution test
dave.anglin at bell dot net
gcc-bugzilla@gcc.gnu.org
Wed Dec 16 17:24:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68743
--- Comment #25 from dave.anglin at bell dot net ---
On 2015-12-16 12:12 PM, joseph at codesourcery dot com wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68743
>
> --- Comment #24 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
> The transformation that generates floorf calls should not happen if the
> TARGET_LIBC_HAS_FUNCTION says that the target does not have that function.
> You should fix either the definition of TARGET_LIBC_HAS_FUNCTION or the
> logic that should be checking it, rather than working around it in
> libgfortran.
I agree and have been looking at it this morning. We have
#define TARGET_LIBC_HAS_FUNCTION no_c99_libc_has_function
in pa-hpux.h. Thus, IMPLICIT should be false for BUILT_IN_FLOORF.
So, I think a check is missing.
More information about the Gcc-bugs
mailing list