public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/40727] New: ICE gfc_simplify_dcmplx(): Bad type when passing BT_COMPLEX to cmplx
@ 2009-07-12 20:16 burnus at gcc dot gnu dot org
2009-07-17 17:39 ` [Bug fortran/40727] " kargl at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-07-12 20:16 UTC (permalink / raw)
To: gcc-bugs
complex :: z
z = cmplx(0.0, cmplx(0.0,0.0))
end
Expected:
Error: line 2: Wrong data type for argument Y to the CMPLX intrinsic
Result:
Interner Fehler bei (1):
gfc_simplify_dcmplx(): Bad type (y)
--
Summary: ICE gfc_simplify_dcmplx(): Bad type when passing
BT_COMPLEX to cmplx
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40727
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/40727] ICE gfc_simplify_dcmplx(): Bad type when passing BT_COMPLEX to cmplx
2009-07-12 20:16 [Bug fortran/40727] New: ICE gfc_simplify_dcmplx(): Bad type when passing BT_COMPLEX to cmplx burnus at gcc dot gnu dot org
@ 2009-07-17 17:39 ` kargl at gcc dot gnu dot org
2009-07-19 15:38 ` kargl at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu dot org @ 2009-07-17 17:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from kargl at gcc dot gnu dot org 2009-07-17 17:39 -------
I'm working on a patch that may fix this issue.
It's bootstrapping at the moment.
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |kargl at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-07-17 17:39:27
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40727
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/40727] ICE gfc_simplify_dcmplx(): Bad type when passing BT_COMPLEX to cmplx
2009-07-12 20:16 [Bug fortran/40727] New: ICE gfc_simplify_dcmplx(): Bad type when passing BT_COMPLEX to cmplx burnus at gcc dot gnu dot org
2009-07-17 17:39 ` [Bug fortran/40727] " kargl at gcc dot gnu dot org
@ 2009-07-19 15:38 ` kargl at gcc dot gnu dot org
2009-07-19 15:39 ` [Bug fortran/40727] [4.4] " kargl at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu dot org @ 2009-07-19 15:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from kargl at gcc dot gnu dot org 2009-07-19 15:38 -------
Subject: Bug 40727
Author: kargl
Date: Sun Jul 19 15:37:50 2009
New Revision: 149793
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149793
Log:
2009-07-18 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/40727
* fortran/check.c (gfc_check_cmplx, gfc_check_dcmplx): Add check that
the optional second argument isn't of COMPLEX type.
2009-07-18 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/40727
* gfortran.dg/intrinsic_cmplx.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/intrinsic_cmplx.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/check.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40727
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/40727] [4.4] ICE gfc_simplify_dcmplx(): Bad type when passing BT_COMPLEX to cmplx
2009-07-12 20:16 [Bug fortran/40727] New: ICE gfc_simplify_dcmplx(): Bad type when passing BT_COMPLEX to cmplx burnus at gcc dot gnu dot org
2009-07-17 17:39 ` [Bug fortran/40727] " kargl at gcc dot gnu dot org
2009-07-19 15:38 ` kargl at gcc dot gnu dot org
@ 2009-07-19 15:39 ` kargl at gcc dot gnu dot org
2009-07-24 0:29 ` kargl at gcc dot gnu dot org
2009-07-24 0:31 ` kargl at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu dot org @ 2009-07-19 15:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from kargl at gcc dot gnu dot org 2009-07-19 15:39 -------
Fixed on trunk.
I'll apply the patch to 4.4 branch once it re-opens in stage 1.
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE gfc_simplify_dcmplx(): |[4.4] ICE
|Bad type when passing |gfc_simplify_dcmplx(): Bad
|BT_COMPLEX to cmplx |type when passing BT_COMPLEX
| |to cmplx
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40727
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/40727] [4.4] ICE gfc_simplify_dcmplx(): Bad type when passing BT_COMPLEX to cmplx
2009-07-12 20:16 [Bug fortran/40727] New: ICE gfc_simplify_dcmplx(): Bad type when passing BT_COMPLEX to cmplx burnus at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-07-19 15:39 ` [Bug fortran/40727] [4.4] " kargl at gcc dot gnu dot org
@ 2009-07-24 0:29 ` kargl at gcc dot gnu dot org
2009-07-24 0:31 ` kargl at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu dot org @ 2009-07-24 0:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from kargl at gcc dot gnu dot org 2009-07-24 00:28 -------
Subject: Bug 40727
Author: kargl
Date: Fri Jul 24 00:28:43 2009
New Revision: 150036
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150036
Log:
2009-07-23 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/40727
* fortran/check.c (gfc_check_cmplx, gfc_check_dcmplx): Add check that
the optional second argument isn't of COMPLEX type.
2009-07-23 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/40727
* gfortran.dg/intrinsic_cmplx.f90: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/intrinsic_cmplx.f90
- copied unchanged from r149793,
trunk/gcc/testsuite/gfortran.dg/intrinsic_cmplx.f90
Modified:
branches/gcc-4_4-branch/gcc/fortran/ChangeLog
branches/gcc-4_4-branch/gcc/fortran/check.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40727
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/40727] [4.4] ICE gfc_simplify_dcmplx(): Bad type when passing BT_COMPLEX to cmplx
2009-07-12 20:16 [Bug fortran/40727] New: ICE gfc_simplify_dcmplx(): Bad type when passing BT_COMPLEX to cmplx burnus at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-07-24 0:29 ` kargl at gcc dot gnu dot org
@ 2009-07-24 0:31 ` kargl at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu dot org @ 2009-07-24 0:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from kargl at gcc dot gnu dot org 2009-07-24 00:31 -------
Fixed.
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40727
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-07-24 0:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-12 20:16 [Bug fortran/40727] New: ICE gfc_simplify_dcmplx(): Bad type when passing BT_COMPLEX to cmplx burnus at gcc dot gnu dot org
2009-07-17 17:39 ` [Bug fortran/40727] " kargl at gcc dot gnu dot org
2009-07-19 15:38 ` kargl at gcc dot gnu dot org
2009-07-19 15:39 ` [Bug fortran/40727] [4.4] " kargl at gcc dot gnu dot org
2009-07-24 0:29 ` kargl at gcc dot gnu dot org
2009-07-24 0:31 ` 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).