public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31306] New: ICE with implicit character variables
@ 2007-03-22 0:01 fxcoudert at gcc dot gnu dot org
2007-03-23 12:56 ` [Bug fortran/31306] " pault at gcc dot gnu dot org
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-03-22 0:01 UTC (permalink / raw)
To: gcc-bugs
No time to reduce this one, filing it so it doesn't get lost:
module cyclic
implicit none
contains
function ouch(x,y)
implicit character(len(ouch)) (x)
implicit character(len(x)+1) (y)
implicit character(len(y)-1) (o)
intent(in) x,y
character(len(y)-1) ouch
integer i
do i = 1, len(ouch)
ouch(i:i) = achar(ieor(iachar(x(i:i)),iachar(y(i:i))))
end do
end function ouch
end module cyclic
program test
use cyclic
implicit none
write(*,*) ouch('YOW!',' ')
end program test
--
Summary: ICE with implicit character variables
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31306
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/31306] ICE with implicit character variables
2007-03-22 0:01 [Bug fortran/31306] New: ICE with implicit character variables fxcoudert at gcc dot gnu dot org
@ 2007-03-23 12:56 ` pault at gcc dot gnu dot org
2007-03-25 22:08 ` tobi at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pault at gcc dot gnu dot org @ 2007-03-23 12:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pault at gcc dot gnu dot org 2007-03-23 12:55 -------
This is a case of cyclic specification so I have changed the keyword to
ice-on-ivalid.
Confirmed
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords|ice-on-valid-code |ice-on-invalid-code
Last reconfirmed|0000-00-00 00:00:00 |2007-03-23 12:55:58
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31306
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/31306] ICE with implicit character variables
2007-03-22 0:01 [Bug fortran/31306] New: ICE with implicit character variables fxcoudert at gcc dot gnu dot org
2007-03-23 12:56 ` [Bug fortran/31306] " pault at gcc dot gnu dot org
@ 2007-03-25 22:08 ` tobi at gcc dot gnu dot org
2007-05-02 3:57 ` jvdelisle at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tobi at gcc dot gnu dot org @ 2007-03-25 22:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tobi at gcc dot gnu dot org 2007-03-26 00:07 -------
*** Bug 31294 has been marked as a duplicate of this bug. ***
--
tobi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31306
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/31306] ICE with implicit character variables
2007-03-22 0:01 [Bug fortran/31306] New: ICE with implicit character variables fxcoudert at gcc dot gnu dot org
2007-03-23 12:56 ` [Bug fortran/31306] " pault at gcc dot gnu dot org
2007-03-25 22:08 ` tobi at gcc dot gnu dot org
@ 2007-05-02 3:57 ` jvdelisle at gcc dot gnu dot org
2007-06-25 11:33 ` dfranke at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-05-02 3:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jvdelisle at gcc dot gnu dot org 2007-05-02 04:57 -------
backtrace is uggly, repeats the following for a long long time
#3554 0x000000000043c63e in mio_expr (ep=<value optimized out>)
at ../../gcc43/gcc/fortran/module.c:2133
#3555 0x000000000043c779 in mio_expr (ep=0xef2f60)
at ../../gcc43/gcc/fortran/module.c:2685
#3556 0x000000000043c8dd in mio_charlen (clp=0xf31728)
at ../../gcc43/gcc/fortran/module.c:1769
#3557 0x000000000043c979 in mio_typespec (ts=0xf31718)
at ../../gcc43/gcc/fortran/module.c:1831
#3558 0x000000000043c393 in mio_expr (ep=0xef2a38)
at ../../gcc43/gcc/fortran/module.c:2649
#3559 0x000000000043c9ad in mio_actual_arg (a=<value optimized out>)
at ../../gcc43/gcc/fortran/module.c:2118
#3560 0x000000000043c63e in mio_expr (ep=<value optimized out>)
at ../../gcc43/gcc/fortran/module.c:2133
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31306
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/31306] ICE with implicit character variables
2007-03-22 0:01 [Bug fortran/31306] New: ICE with implicit character variables fxcoudert at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-05-02 3:57 ` jvdelisle at gcc dot gnu dot org
@ 2007-06-25 11:33 ` dfranke at gcc dot gnu dot org
2007-06-25 11:43 ` dfranke at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-06-25 11:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dfranke at gcc dot gnu dot org 2007-06-25 11:33 -------
*** Bug 32488 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31306
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/31306] ICE with implicit character variables
2007-03-22 0:01 [Bug fortran/31306] New: ICE with implicit character variables fxcoudert at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-06-25 11:33 ` dfranke at gcc dot gnu dot org
@ 2007-06-25 11:43 ` dfranke at gcc dot gnu dot org
2007-10-20 5:45 ` patchapp at dberlin dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-06-25 11:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from dfranke at gcc dot gnu dot org 2007-06-25 11:43 -------
The problem of the cyclic definition is (more or less), the same described in
PR24886, isn't it? E.g. replace
implicit character(len(ouch)) (x)
implicit character(len(x)+1) (y)
intent(in) x,y
by
character(len=*), intent(in) :: x ! or character(len=n), n integer
character(len=len(x)+1), intent(in) :: y
to get a working binary. My meaning: "len(ouch)" is not known when defining the
length of the dummy argument x, thus it is a length that's different from the
actual length.
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dfranke at gcc dot gnu dot
| |org
OtherBugsDependingO| |19276
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31306
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/31306] ICE with implicit character variables
2007-03-22 0:01 [Bug fortran/31306] New: ICE with implicit character variables fxcoudert at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-06-25 11:43 ` dfranke at gcc dot gnu dot org
@ 2007-10-20 5:45 ` patchapp at dberlin dot org
2007-10-20 23:10 ` jvdelisle at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: patchapp at dberlin dot org @ 2007-10-20 5:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from patchapp at dberlin dot org 2007-10-20 05:45 -------
Subject: Bug number PR31306
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/2007-10/msg01207.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31306
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/31306] ICE with implicit character variables
2007-03-22 0:01 [Bug fortran/31306] New: ICE with implicit character variables fxcoudert at gcc dot gnu dot org
` (5 preceding siblings ...)
2007-10-20 5:45 ` patchapp at dberlin dot org
@ 2007-10-20 23:10 ` jvdelisle at gcc dot gnu dot org
2007-10-27 18:00 ` jvdelisle at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-10-20 23:10 UTC (permalink / raw)
To: gcc-bugs
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jvdelisle at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2007-03-23 12:55:58 |2007-10-20 23:10:32
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31306
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/31306] ICE with implicit character variables
2007-03-22 0:01 [Bug fortran/31306] New: ICE with implicit character variables fxcoudert at gcc dot gnu dot org
` (6 preceding siblings ...)
2007-10-20 23:10 ` jvdelisle at gcc dot gnu dot org
@ 2007-10-27 18:00 ` jvdelisle at gcc dot gnu dot org
2007-10-27 18:26 ` jvdelisle at gcc dot gnu dot org
2007-10-27 18:29 ` jvdelisle at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-10-27 18:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jvdelisle at gcc dot gnu dot org 2007-10-27 18:00 -------
Subject: Bug 31306
Author: jvdelisle
Date: Sat Oct 27 17:59:59 2007
New Revision: 129685
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129685
Log:
2007-10-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/31306
* decl.c (char_len_param_value): Add check for conflicting attributes
of
function argument.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31306
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/31306] ICE with implicit character variables
2007-03-22 0:01 [Bug fortran/31306] New: ICE with implicit character variables fxcoudert at gcc dot gnu dot org
` (7 preceding siblings ...)
2007-10-27 18:00 ` jvdelisle at gcc dot gnu dot org
@ 2007-10-27 18:26 ` jvdelisle at gcc dot gnu dot org
2007-10-27 18:29 ` jvdelisle at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-10-27 18:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jvdelisle at gcc dot gnu dot org 2007-10-27 18:25 -------
Subject: Bug 31306
Author: jvdelisle
Date: Sat Oct 27 18:25:43 2007
New Revision: 129686
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129686
Log:
2007-10-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/31306
* gfortran.dg/argument_check_7.f90: New test.
* gfortran.dg/argument_check_8.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/argument_checking_7.f90
trunk/gcc/testsuite/gfortran.dg/argument_checking_8.f90
Modified:
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31306
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/31306] ICE with implicit character variables
2007-03-22 0:01 [Bug fortran/31306] New: ICE with implicit character variables fxcoudert at gcc dot gnu dot org
` (8 preceding siblings ...)
2007-10-27 18:26 ` jvdelisle at gcc dot gnu dot org
@ 2007-10-27 18:29 ` jvdelisle at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-10-27 18:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from jvdelisle at gcc dot gnu dot org 2007-10-27 18:29 -------
Fixed and closing.
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31306
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2007-10-27 18:29 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-22 0:01 [Bug fortran/31306] New: ICE with implicit character variables fxcoudert at gcc dot gnu dot org
2007-03-23 12:56 ` [Bug fortran/31306] " pault at gcc dot gnu dot org
2007-03-25 22:08 ` tobi at gcc dot gnu dot org
2007-05-02 3:57 ` jvdelisle at gcc dot gnu dot org
2007-06-25 11:33 ` dfranke at gcc dot gnu dot org
2007-06-25 11:43 ` dfranke at gcc dot gnu dot org
2007-10-20 5:45 ` patchapp at dberlin dot org
2007-10-20 23:10 ` jvdelisle at gcc dot gnu dot org
2007-10-27 18:00 ` jvdelisle at gcc dot gnu dot org
2007-10-27 18:26 ` jvdelisle at gcc dot gnu dot org
2007-10-27 18:29 ` jvdelisle 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).