public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/20970] New: gfortran - bus error -fdefault-integer-8
@ 2005-04-12 15:45 dir at lanl dot gov
2005-04-13 13:09 ` [Bug libfortran/20970] " dir at lanl dot gov
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: dir at lanl dot gov @ 2005-04-12 15:45 UTC (permalink / raw)
To: gcc-bugs
This program generates a bus error on the Macintosh -
[dranta:~/tests/gfortran] dir% gfortran -fdefault-integer-8 -o adini adini.f
[dranta:~/tests/gfortran] dir% adini
Bus error
[dranta:~/tests/gfortran] dir% cat adini.f
program main
common /junkc/ hed(12)
character*6 hed
character*6 final
data final /'stop' /
if (hed(1).eq.final) stop
stop
end
--
Summary: gfortran - bus error -fdefault-integer-8
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dir at lanl dot gov
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: powerpc-apple-darwin7.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20970
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libfortran/20970] gfortran - bus error -fdefault-integer-8
2005-04-12 15:45 [Bug libfortran/20970] New: gfortran - bus error -fdefault-integer-8 dir at lanl dot gov
@ 2005-04-13 13:09 ` dir at lanl dot gov
2005-04-18 3:51 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dir at lanl dot gov @ 2005-04-13 13:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dir at lanl dot gov 2005-04-13 13:08 -------
Here is the crash walk back
Thread 0 Crashed:
0 libgfortran.0.dylib 0x0023e99c _gfortran_compare_string + 0x68
(string_intrinsics.c:136)
1 adini 0x00001d2c MAIN__ + 0x40 (adini.f:6)
2 adini 0x00001d74 main + 0x18
3 adini 0x0000191c _start + 0x188 (crt.c:267)
4 dyld 0x8fe1a558 _dyld_start + 0x64
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20970
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libfortran/20970] gfortran - bus error -fdefault-integer-8
2005-04-12 15:45 [Bug libfortran/20970] New: gfortran - bus error -fdefault-integer-8 dir at lanl dot gov
2005-04-13 13:09 ` [Bug libfortran/20970] " dir at lanl dot gov
@ 2005-04-18 3:51 ` pinskia at gcc dot gnu dot org
2005-04-19 14:53 ` fxcoudert at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-18 3:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-18 03:51 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-04-18 03:51:27
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20970
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libfortran/20970] gfortran - bus error -fdefault-integer-8
2005-04-12 15:45 [Bug libfortran/20970] New: gfortran - bus error -fdefault-integer-8 dir at lanl dot gov
2005-04-13 13:09 ` [Bug libfortran/20970] " dir at lanl dot gov
2005-04-18 3:51 ` pinskia at gcc dot gnu dot org
@ 2005-04-19 14:53 ` fxcoudert at gcc dot gnu dot org
2005-04-19 14:54 ` fxcoudert at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-04-19 14:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-04-19 14:53 -------
Confirmed on i386-linux.
Same thing happens without -fdefault-integer-8 on:
character(len=6_8) hed, final
data final /'foo'/
data hed /'bar'/
if (hed == final) call abort
end
This happens with all character functions (like gfortran_copy_string, see PR
21083): using an integer(8) variable for the length of a string does not work.
We need a global fix for that.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC host triplet|powerpc-apple-darwin7.8.0 |
Last reconfirmed|2005-04-18 03:51:27 |2005-04-19 14:53:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20970
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libfortran/20970] gfortran - bus error -fdefault-integer-8
2005-04-12 15:45 [Bug libfortran/20970] New: gfortran - bus error -fdefault-integer-8 dir at lanl dot gov
` (2 preceding siblings ...)
2005-04-19 14:53 ` fxcoudert at gcc dot gnu dot org
@ 2005-04-19 14:54 ` fxcoudert at gcc dot gnu dot org
2005-06-19 8:09 ` fxcoudert at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-04-19 14:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-04-19 14:53 -------
*** Bug 21083 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO|21083 |
nThis| |
CC| |edward dot e dot meyer at
| |comcast dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20970
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libfortran/20970] gfortran - bus error -fdefault-integer-8
2005-04-12 15:45 [Bug libfortran/20970] New: gfortran - bus error -fdefault-integer-8 dir at lanl dot gov
` (3 preceding siblings ...)
2005-04-19 14:54 ` fxcoudert at gcc dot gnu dot org
@ 2005-06-19 8:09 ` fxcoudert at gcc dot gnu dot org
2005-06-20 13:34 ` dir at lanl dot gov
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-19 8:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-06-19 08:09 -------
Well, this bug seems to have been fixed by Paul Thomas' character patches. I
don't see the segfault any more on i686-linux (neither this one nor the ones in
the duplicate bug, PR21083).
Could someone confirm this on another platform (say, ppc-darwin)?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20970
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libfortran/20970] gfortran - bus error -fdefault-integer-8
2005-04-12 15:45 [Bug libfortran/20970] New: gfortran - bus error -fdefault-integer-8 dir at lanl dot gov
` (4 preceding siblings ...)
2005-06-19 8:09 ` fxcoudert at gcc dot gnu dot org
@ 2005-06-20 13:34 ` dir at lanl dot gov
2005-06-20 13:46 ` dir at lanl dot gov
2005-08-02 7:44 ` fxcoudert at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: dir at lanl dot gov @ 2005-06-20 13:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dir at lanl dot gov 2005-06-20 13:33 -------
My example no longer crashes on powerpc-apple-darwin7.9.0
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20970
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libfortran/20970] gfortran - bus error -fdefault-integer-8
2005-04-12 15:45 [Bug libfortran/20970] New: gfortran - bus error -fdefault-integer-8 dir at lanl dot gov
` (5 preceding siblings ...)
2005-06-20 13:34 ` dir at lanl dot gov
@ 2005-06-20 13:46 ` dir at lanl dot gov
2005-08-02 7:44 ` fxcoudert at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: dir at lanl dot gov @ 2005-06-20 13:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dir at lanl dot gov 2005-06-20 13:46 -------
PR21083 ,also, works Ok on the powerpc-darwin.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20970
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libfortran/20970] gfortran - bus error -fdefault-integer-8
2005-04-12 15:45 [Bug libfortran/20970] New: gfortran - bus error -fdefault-integer-8 dir at lanl dot gov
` (6 preceding siblings ...)
2005-06-20 13:46 ` dir at lanl dot gov
@ 2005-08-02 7:44 ` fxcoudert at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-08-02 7:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-08-02 07:44 -------
OK, this one is fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20970
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-08-02 7:44 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-12 15:45 [Bug libfortran/20970] New: gfortran - bus error -fdefault-integer-8 dir at lanl dot gov
2005-04-13 13:09 ` [Bug libfortran/20970] " dir at lanl dot gov
2005-04-18 3:51 ` pinskia at gcc dot gnu dot org
2005-04-19 14:53 ` fxcoudert at gcc dot gnu dot org
2005-04-19 14:54 ` fxcoudert at gcc dot gnu dot org
2005-06-19 8:09 ` fxcoudert at gcc dot gnu dot org
2005-06-20 13:34 ` dir at lanl dot gov
2005-06-20 13:46 ` dir at lanl dot gov
2005-08-02 7:44 ` fxcoudert at gcc dot gnu dot 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).