Bug 29054 - [gdb/testsuite] Compilation failure of gdb.fortran/size.f90 with -m32
Summary: [gdb/testsuite] Compilation failure of gdb.fortran/size.f90 with -m32
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: fortran (show other bugs)
Version: HEAD
: P2 minor
Target Milestone: 13.1
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-13 04:21 UTC by Tom de Vries
Modified: 2022-05-10 13:39 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom de Vries 2022-04-13 04:21:56 UTC
With target board unix/-m32, we run into:
...
gdb compile failed, /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.fortran/size.f90:47:40:

   allocate (array_1d_4bytes_overflow (1:b4_o))
                                        1
Error: Arithmetic overflow converting INTEGER(8) to INTEGER(4) at (1). This check can be disabled with the option '-fno-range-check'
...
Comment 2 Kempke, Nils-Christian 2022-05-10 13:34:59 UTC
The referenced patch was reviewed and was pushed to master. This should close the ticket.
Comment 3 Tom de Vries 2022-05-10 13:39:44 UTC
Fixed, thanks.