public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/24958] New: ice-on-invalid
@ 2005-11-20 15:14 rep dot nop at aon dot at
2005-11-20 15:40 ` [Bug fortran/24958] ice-on-invalid rep dot nop at aon dot at
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: rep dot nop at aon dot at @ 2005-11-20 15:14 UTC (permalink / raw)
To: gcc-bugs
ICE on invalid code, nullify member of unknown derived type.
$ cat invalid_nullify.F
program ice_on_invalid_nullify
implicit none
TYPE (nonexisting_type1), TARGET :: t1
nullify(t1%something)
end program
$ gfortran-4.1-HEAD invalid_nullify.F
In file invalid_nullify.F:3
TYPE (nonexisting_type1), TARGET :: t1
1
Error: Derived type 'nonexisting_type1' at (1) is being used before it is
defined
*** glibc detected *** free(): invalid pointer: 0x0852e120 ***
/tmp/ccWjMV8j.f:0: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ice-on-invalid
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rep dot nop at aon dot at
GCC build triplet: i686-linux-gnu
GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24958
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/24958] ice-on-invalid
2005-11-20 15:14 [Bug fortran/24958] New: ice-on-invalid rep dot nop at aon dot at
@ 2005-11-20 15:40 ` rep dot nop at aon dot at
2005-11-20 15:49 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rep dot nop at aon dot at @ 2005-11-20 15:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rep dot nop at aon dot at 2005-11-20 15:40 -------
Known to work: 3.4.5 (g77)
Known to fail: 4.0.2 (gfortran)
--
rep dot nop at aon dot at changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.0.2
Known to work| |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24958
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/24958] ice-on-invalid
2005-11-20 15:14 [Bug fortran/24958] New: ice-on-invalid rep dot nop at aon dot at
2005-11-20 15:40 ` [Bug fortran/24958] ice-on-invalid rep dot nop at aon dot at
@ 2005-11-20 15:49 ` pinskia at gcc dot gnu dot org
2006-01-04 14:51 ` [Bug fortran/24958] ICE on invalid nullify pinskia 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-11-20 15:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2005-11-20 15:49 -------
Confirmed:
In file t.f:3
TYPE (nonexisting_type1), TARGET :: t1
1
Error: Derived type 'nonexisting_type1' at (1) is being used before it is
defined
free(): invalid pointer 0x854db40!
In file t.f:4
nullify(t1%something)
1
Internal Error at (1):
free_expr0(): Bad expr type
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |error-recovery, ice-on-
| |invalid-code
Known to fail|4.0.2 |4.0.2 4.0.0 4.1.0
Last reconfirmed|0000-00-00 00:00:00 |2005-11-20 15:49:50
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24958
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/24958] ICE on invalid nullify
2005-11-20 15:14 [Bug fortran/24958] New: ice-on-invalid rep dot nop at aon dot at
2005-11-20 15:40 ` [Bug fortran/24958] ice-on-invalid rep dot nop at aon dot at
2005-11-20 15:49 ` pinskia at gcc dot gnu dot org
@ 2006-01-04 14:51 ` pinskia at gcc dot gnu dot org
2006-01-04 14:51 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-04 14:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-04 14:51 -------
*** Bug 25660 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |iguchi at coral dot t dot u-
| |tokyo dot ac dot jp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24958
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/24958] ICE on invalid nullify
2005-11-20 15:14 [Bug fortran/24958] New: ice-on-invalid rep dot nop at aon dot at
` (2 preceding siblings ...)
2006-01-04 14:51 ` [Bug fortran/24958] ICE on invalid nullify pinskia at gcc dot gnu dot org
@ 2006-01-04 14:51 ` pinskia at gcc dot gnu dot org
2006-01-15 19:28 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-04 14:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-01-04 14:51 -------
Reduced testcase:
nullify(i%e)
end program
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24958
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/24958] ICE on invalid nullify
2005-11-20 15:14 [Bug fortran/24958] New: ice-on-invalid rep dot nop at aon dot at
` (3 preceding siblings ...)
2006-01-04 14:51 ` pinskia at gcc dot gnu dot org
@ 2006-01-15 19:28 ` pinskia at gcc dot gnu dot org
2006-02-02 19:12 ` kargl at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-15 19:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-01-15 19:28 -------
*** Bug 25146 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24958
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/24958] ICE on invalid nullify
2005-11-20 15:14 [Bug fortran/24958] New: ice-on-invalid rep dot nop at aon dot at
` (4 preceding siblings ...)
2006-01-15 19:28 ` pinskia at gcc dot gnu dot org
@ 2006-02-02 19:12 ` kargl at gcc dot gnu dot org
2006-02-03 21:32 ` kargl at gcc dot gnu dot org
2006-02-03 21:38 ` kargl at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: kargl at gcc dot gnu dot org @ 2006-02-02 19:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from kargl at gcc dot gnu dot org 2006-02-02 19:12 -------
Subject: Bug 24958
Author: kargl
Date: Thu Feb 2 19:11:58 2006
New Revision: 110517
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110517
Log:
2006-02-02 Steven G. Kargl <kargls@comcast>
PR fortran/24958
match.c (gfc_match_nullify): Free the list from head not tail.
PR fortran/25072
* match.c (match_forall_header): Fix internal error caused by bogus
gfc_epxr pointers.
gfortran.dg/nullify_2.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/nullify_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/match.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24958
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/24958] ICE on invalid nullify
2005-11-20 15:14 [Bug fortran/24958] New: ice-on-invalid rep dot nop at aon dot at
` (5 preceding siblings ...)
2006-02-02 19:12 ` kargl at gcc dot gnu dot org
@ 2006-02-03 21:32 ` kargl at gcc dot gnu dot org
2006-02-03 21:38 ` kargl at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: kargl at gcc dot gnu dot org @ 2006-02-03 21:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from kargl at gcc dot gnu dot org 2006-02-03 21:32 -------
Subject: Bug 24958
Author: kargl
Date: Fri Feb 3 21:32:14 2006
New Revision: 110560
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110560
Log:
2006-02-03 Steven G. Kargl <kargls@comcast>
Paul Thomas <pault@gcc.gnu.org>
PR fortran/20845
* resolve.c (resolve_symbol): Default initialization of derived type
component reguires the SAVE attribute.
2006-02-02 Steven G. Kargl <kargls@comcast>
PR fortran/24958
match.c (gfc_match_nullify): Free the list from head not tail.
PR fortran/25072
* match.c (match_forall_header): Fix internal error caused by bogus
gfc_epxr pointers.
2006-02-03 Steven G. Kargl <kargls@comcast.net>
PR fortran/24958
* gfortran.dg/nullify_2.f90
PR fortran/20845
* gfortran.dg/char_result_11.f90: Add SAVE.
* gfortran.dg/der_pointer_4.f90: Ditto.
* gfortran.dg/used_dummy_types_5.f90
* gfortran.dg/default_initialization.f90: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/default_initialization.f90
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/nullify_2.f90
Modified:
branches/gcc-4_1-branch/gcc/fortran/ChangeLog
branches/gcc-4_1-branch/gcc/fortran/match.c
branches/gcc-4_1-branch/gcc/fortran/resolve.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/char_result_11.f90
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/der_pointer_4.f90
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/used_dummy_types_5.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24958
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/24958] ICE on invalid nullify
2005-11-20 15:14 [Bug fortran/24958] New: ice-on-invalid rep dot nop at aon dot at
` (6 preceding siblings ...)
2006-02-03 21:32 ` kargl at gcc dot gnu dot org
@ 2006-02-03 21:38 ` kargl at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: kargl at gcc dot gnu dot org @ 2006-02-03 21:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from kargl at gcc dot gnu dot org 2006-02-03 21:38 -------
Fixed on 4.1 and trunk
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24958
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-02-03 21:38 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-20 15:14 [Bug fortran/24958] New: ice-on-invalid rep dot nop at aon dot at
2005-11-20 15:40 ` [Bug fortran/24958] ice-on-invalid rep dot nop at aon dot at
2005-11-20 15:49 ` pinskia at gcc dot gnu dot org
2006-01-04 14:51 ` [Bug fortran/24958] ICE on invalid nullify pinskia at gcc dot gnu dot org
2006-01-04 14:51 ` pinskia at gcc dot gnu dot org
2006-01-15 19:28 ` pinskia at gcc dot gnu dot org
2006-02-02 19:12 ` kargl at gcc dot gnu dot org
2006-02-03 21:32 ` kargl at gcc dot gnu dot org
2006-02-03 21:38 ` kargl 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).