[Bug fortran/102826] Glibc "--disable-mathvec" configure option fail to disable traces to libmvec

2021-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102826

--- Comment #4 from Andrew Pinski  ---
(In reply to Haochen Jiang from comment #3)
> However, in the gfortran config part of gcc, it should not has the finclude
> part for F951 under all circumstances or there should be some option to
> control that. This is also a bug I believe.

Maybe there should be an option but only to workaround bugs in glibc :).

[Bug fortran/102826] Glibc "--disable-mathvec" configure option fail to disable traces to libmvec

2021-10-18 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102826

--- Comment #3 from haochen.jiang at intel dot com ---
(In reply to Andrew Pinski from comment #2)
> math-vector-fortran.h comes from glibc so this is a glibc bug and not a GCC
> bug.
> installed header files from glibc should match --disable-mathvec .

>From my perspective, there maybe bug in glibc.

However, in the gfortran config part of gcc, it should not has the finclude
part for F951 under all circumstances or there should be some option to control
that. This is also a bug I believe.

[Bug fortran/102826] Glibc "--disable-mathvec" configure option fail to disable traces to libmvec

2021-10-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102826

Andrew Pinski  changed:

   What|Removed |Added

 Resolution|--- |MOVED
 Status|UNCONFIRMED |RESOLVED

--- Comment #2 from Andrew Pinski  ---
math-vector-fortran.h comes from glibc so this is a glibc bug and not a GCC
bug.
installed header files from glibc should match --disable-mathvec .

[Bug fortran/102826] Glibc "--disable-mathvec" configure option fail to disable traces to libmvec

2021-10-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102826

--- Comment #1 from Andrew Pinski  ---
Isn't this a bug in glibc and not gcc. Gcc is doing what glibc header file is
telling it can be done.