public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/82968] gfortran.dg/ieee/ieee_6.f90 fails at -O0
       [not found] <bug-82968-4@http.gcc.gnu.org/bugzilla/>
@ 2021-12-29 16:06 ` fxcoudert at gcc dot gnu.org
  2021-12-29 16:06 ` fxcoudert at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2021-12-29 16:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82968

--- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Created attachment 52084
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52084&action=edit
Tentative patch

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/82968] gfortran.dg/ieee/ieee_6.f90 fails at -O0
       [not found] <bug-82968-4@http.gcc.gnu.org/bugzilla/>
  2021-12-29 16:06 ` [Bug fortran/82968] gfortran.dg/ieee/ieee_6.f90 fails at -O0 fxcoudert at gcc dot gnu.org
@ 2021-12-29 16:06 ` fxcoudert at gcc dot gnu.org
  2022-01-04  9:07 ` ebotcazou at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2021-12-29 16:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82968

--- Comment #4 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Specifying specific alignment in Fortran code is not directly possibly, sadly.
The only way I see how of this is to make that variable an integer, instead of
char array.

Eric, could you kindly test the patch attached, and let me know if it fixes
gfortran.dg/ieee/ieee_6.f90? Does it introduce any other failure?

I am wondering if this is breaking libgfortran ABI. I think not, but not 100%
sure.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/82968] gfortran.dg/ieee/ieee_6.f90 fails at -O0
       [not found] <bug-82968-4@http.gcc.gnu.org/bugzilla/>
  2021-12-29 16:06 ` [Bug fortran/82968] gfortran.dg/ieee/ieee_6.f90 fails at -O0 fxcoudert at gcc dot gnu.org
  2021-12-29 16:06 ` fxcoudert at gcc dot gnu.org
@ 2022-01-04  9:07 ` ebotcazou at gcc dot gnu.org
  2022-01-10 11:31 ` fxcoudert at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2022-01-04  9:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82968

--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Eric, could you kindly test the patch attached, and let me know if it fixes
> gfortran.dg/ieee/ieee_6.f90? Does it introduce any other failure?

The SPARC64/Linux machine of the Compile Farm apparently has network issues.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/82968] gfortran.dg/ieee/ieee_6.f90 fails at -O0
       [not found] <bug-82968-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2022-01-04  9:07 ` ebotcazou at gcc dot gnu.org
@ 2022-01-10 11:31 ` fxcoudert at gcc dot gnu.org
  2022-01-17 22:43 ` ebotcazou at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2022-01-10 11:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82968

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/82968] gfortran.dg/ieee/ieee_6.f90 fails at -O0
       [not found] <bug-82968-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2022-01-10 11:31 ` fxcoudert at gcc dot gnu.org
@ 2022-01-17 22:43 ` ebotcazou at gcc dot gnu.org
  2022-05-06  8:30 ` jakub at gcc dot gnu.org
  2023-05-08 12:21 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2022-01-17 22:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82968

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
I get this compilation error:

In file included from /home/ebotcazou/src/libgfortran/runtime/fpu.c:29:
./fpu-target.h:36:24: error: invalid application of 'sizeof' to incomplete type
'struct fenv'
   36 | _Static_assert (sizeof(struct fenv) <= 8 * GFC_FPE_STATE_INT_KIND,
      |                        ^~~~~~
./fpu-target.h:36:17: error: expression in static assertion is not an integer
   36 | _Static_assert (sizeof(struct fenv) <= 8 * GFC_FPE_STATE_INT_KIND,
      |                 ^~~~~~
make[2]: *** [Makefile:3071: fpu.lo] Error 1
make[2]: Leaving directory
'/home/ebotcazou/build/sparc64-linux-gnu/libgfortran'
make[1]: *** [Makefile:1692: all] Error 2
make[1]: Leaving directory
'/home/ebotcazou/build/sparc64-linux-gnu/libgfortran'
make: *** [Makefile:23173: all-target-libgfortran] Error 2

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/82968] gfortran.dg/ieee/ieee_6.f90 fails at -O0
       [not found] <bug-82968-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2022-01-17 22:43 ` ebotcazou at gcc dot gnu.org
@ 2022-05-06  8:30 ` jakub at gcc dot gnu.org
  2023-05-08 12:21 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-05-06  8:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82968

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|12.0                        |12.2

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 12.1 is being released, retargeting bugs to GCC 12.2.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/82968] gfortran.dg/ieee/ieee_6.f90 fails at -O0
       [not found] <bug-82968-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2022-05-06  8:30 ` jakub at gcc dot gnu.org
@ 2023-05-08 12:21 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-05-08 12:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82968

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|12.3                        |12.4

--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 12.3 is being released, retargeting bugs to GCC 12.4.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-05-08 12:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-82968-4@http.gcc.gnu.org/bugzilla/>
2021-12-29 16:06 ` [Bug fortran/82968] gfortran.dg/ieee/ieee_6.f90 fails at -O0 fxcoudert at gcc dot gnu.org
2021-12-29 16:06 ` fxcoudert at gcc dot gnu.org
2022-01-04  9:07 ` ebotcazou at gcc dot gnu.org
2022-01-10 11:31 ` fxcoudert at gcc dot gnu.org
2022-01-17 22:43 ` ebotcazou at gcc dot gnu.org
2022-05-06  8:30 ` jakub at gcc dot gnu.org
2023-05-08 12:21 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).