public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/29422] New: ICE with allocatable
@ 2006-10-10 21:21 dominiq at lps dot ens dot fr
2006-10-11 11:00 ` [Bug fortran/29422] " patchapp at dberlin dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2006-10-10 21:21 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 940 bytes --]
The following code (derived from allocatable_1.f90)
Type drv
Integer::i
Integer,allocatable::arr(:)
End type drv
print *, fun1()
contains
Function fun1 ()
Type(drv)::fun1
Fun1%i=10
end function fun1
end
gives
allocatable_1_db.f90: In function MAIN__:
allocatable_1_db.f90:12: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Cheers
Dominique
--
Summary: ICE with allocatable
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
GCC build triplet: 4.2.0 20061009
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29422
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/29422] ICE with allocatable
2006-10-10 21:21 [Bug fortran/29422] New: ICE with allocatable dominiq at lps dot ens dot fr
@ 2006-10-11 11:00 ` patchapp at dberlin dot org
2006-10-11 17:42 ` pault at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: patchapp at dberlin dot org @ 2006-10-11 11:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from patchapp at dberlin dot org 2006-10-11 11:00 -------
Subject: Bug number PR29422
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00609.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29422
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/29422] ICE with allocatable
2006-10-10 21:21 [Bug fortran/29422] New: ICE with allocatable dominiq at lps dot ens dot fr
2006-10-11 11:00 ` [Bug fortran/29422] " patchapp at dberlin dot org
@ 2006-10-11 17:42 ` pault at gcc dot gnu dot org
2006-10-11 18:31 ` dominiq at lps dot ens dot fr
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pault at gcc dot gnu dot org @ 2006-10-11 17:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pault at gcc dot gnu dot org 2006-10-11 17:42 -------
Since I posted the patch, I had better take it unto myself!
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-10-11 17:42:12
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29422
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/29422] ICE with allocatable
2006-10-10 21:21 [Bug fortran/29422] New: ICE with allocatable dominiq at lps dot ens dot fr
2006-10-11 11:00 ` [Bug fortran/29422] " patchapp at dberlin dot org
2006-10-11 17:42 ` pault at gcc dot gnu dot org
@ 2006-10-11 18:31 ` dominiq at lps dot ens dot fr
2006-10-13 12:52 ` pault at gcc dot gnu dot org
2006-10-14 8:20 ` pault at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2006-10-11 18:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from dominiq at lps dot ens dot fr 2006-10-11 18:31 -------
Subject: Re: ICE with allocatable
> Since I posted the patch, I had better take it unto myself!
Be my guest!-)
Dominique
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29422
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/29422] ICE with allocatable
2006-10-10 21:21 [Bug fortran/29422] New: ICE with allocatable dominiq at lps dot ens dot fr
` (2 preceding siblings ...)
2006-10-11 18:31 ` dominiq at lps dot ens dot fr
@ 2006-10-13 12:52 ` pault at gcc dot gnu dot org
2006-10-14 8:20 ` pault at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pault at gcc dot gnu dot org @ 2006-10-13 12:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pault at gcc dot gnu dot org 2006-10-13 12:51 -------
Subject: Bug 29422
Author: pault
Date: Fri Oct 13 12:51:07 2006
New Revision: 117692
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117692
Log:
2006-10-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29373
* decl.c (get_proc_name, gfc_match_function_decl): Add
attr.implicit_type to conditions that throw error for
existing explicit interface and that allow new type-
spec to be applied.
PR fortran/29407
* resolve.c (resolve_fl_namelist): Do not check for
namelist/procedure conflict, if the symbol corresponds
to a good local variable declaration.
PR fortran/27701
* decl.c (get_proc_name): Replace the detection of a declared
procedure by the presence of a formal argument list by the
attributes of the symbol and the presence of an explicit
interface.
PR fortran/29232
* resolve.c (resolve_fl_variable): See if the host association
of a derived type is blocked by the presence of another type I
object in the current namespace.
PR fortran/29364
* resolve.c (resolve_fl_derived): Check for the presence of
the derived type for a derived type component.
PR fortran/24398
* module.c (gfc_use_module): Check that the first words in a
module file are 'GFORTRAN module'.
PR fortran/29422
* resolve.c (resolve_transfer): Test functions for suitability
for IO, as well as variables.
PR fortran/29428
* trans-expr.c (gfc_trans_scalar_assign): Remove nullify of
rhs expression.
2006-10-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29373
* gfortran.dg/implicit_9.f90: New test.
PR fortran/29407
* gfortran.dg/namelist_25.f90: New test.
PR fortran/27701
* gfortran.dg/same_name_2.f90: New test.
PR fortran/29232
* gfortran.dg/host_assoc_types_1.f90: New test.
PR fortran/29364
* gfortran.dg/missing_derived_type_1.f90: New test.
* gfortran.dg/implicit_actual.f90: Comment out USE GLOBAL.
PR fortran/29422
* gfortran.dg/alloc_comp_constraint_4.f90: New test.
PR fortran/29428
* gfortran.dg/alloc_comp_assign_5.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/alloc_comp_assign_5.f90
trunk/gcc/testsuite/gfortran.dg/alloc_comp_constraint_4.f90
trunk/gcc/testsuite/gfortran.dg/host_assoc_types_1.f90
trunk/gcc/testsuite/gfortran.dg/implicit_9.f90
trunk/gcc/testsuite/gfortran.dg/missing_derived_type_1.f90
trunk/gcc/testsuite/gfortran.dg/namelist_25.f90
trunk/gcc/testsuite/gfortran.dg/same_name_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/fortran/module.c
trunk/gcc/fortran/resolve.c
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/implicit_actual.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29422
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/29422] ICE with allocatable
2006-10-10 21:21 [Bug fortran/29422] New: ICE with allocatable dominiq at lps dot ens dot fr
` (3 preceding siblings ...)
2006-10-13 12:52 ` pault at gcc dot gnu dot org
@ 2006-10-14 8:20 ` pault at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pault at gcc dot gnu dot org @ 2006-10-14 8:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pault at gcc dot gnu dot org 2006-10-14 08:20 -------
Fixed in trunk
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29422
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-10-14 8:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-10 21:21 [Bug fortran/29422] New: ICE with allocatable dominiq at lps dot ens dot fr
2006-10-11 11:00 ` [Bug fortran/29422] " patchapp at dberlin dot org
2006-10-11 17:42 ` pault at gcc dot gnu dot org
2006-10-11 18:31 ` dominiq at lps dot ens dot fr
2006-10-13 12:52 ` pault at gcc dot gnu dot org
2006-10-14 8:20 ` pault 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).