public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/19589] New: Regression: Error on Data assignment with LOGICAL*1
@ 2005-01-23 14:56 manfred99 at gmx dot ch
2005-01-23 16:48 ` [Bug fortran/19589] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: manfred99 at gmx dot ch @ 2005-01-23 14:56 UTC (permalink / raw)
To: gcc-bugs
PROGRAM logical_data
LOGICAL*1 GRD
DATA GRD /.TRUE./
END
gives:
> gfc -v logical_data.f
Driving: /usr/local/gfortran/irun/bin/gfortran -static -v logical_data.f -lgfortranbegin -lgfortran -lm
Using built-in specs.
Configured with: ../gcc/configure --enable-languages=c,f95 --prefix=/usr/work/2005023/irun
Thread model: posix
gcc version 4.0.0 20050123 (experimental)
/usr/local/gfortran/irun/bin/../libexec/gcc/i686-pc-linux-gnu/4.0.0/f951 logical_data.f -ffixed-form -quiet -dumpbase logical_data.f -mtune=pentiumpro -auxbase logical_data -version -o /tmp/cc2uDAa6.s
GNU F95 version 4.0.0 20050123 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.0.0 20050117 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
In file logical_data.f:3
DATA GRD /.TRUE./
1
Error: Incompatible types in assignment at (1), LOGICAL(4) to LOGICAL(1)
which is a clear regression, g77 supports this.
Of course this error happens also with LOGICAL*2, LOGICAL*8, ...
--
Summary: Regression: Error on Data assignment with LOGICAL*1
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: manfred99 at gmx dot ch
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19589
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/19589] Regression: Error on Data assignment with LOGICAL*1 2005-01-23 14:56 [Bug fortran/19589] New: Regression: Error on Data assignment with LOGICAL*1 manfred99 at gmx dot ch @ 2005-01-23 16:48 ` pinskia at gcc dot gnu dot org 2005-01-26 20:37 ` sgk at troutmask dot apl dot washington dot edu ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-01-23 16:48 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 16:48 ------- Confirmed. -- What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |19292 nThis| | Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-01-23 16:48:19 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19589 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/19589] Regression: Error on Data assignment with LOGICAL*1 2005-01-23 14:56 [Bug fortran/19589] New: Regression: Error on Data assignment with LOGICAL*1 manfred99 at gmx dot ch 2005-01-23 16:48 ` [Bug fortran/19589] " pinskia at gcc dot gnu dot org @ 2005-01-26 20:37 ` sgk at troutmask dot apl dot washington dot edu 2005-01-26 20:56 ` pinskia at gcc dot gnu dot org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: sgk at troutmask dot apl dot washington dot edu @ 2005-01-26 20:37 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From sgk at troutmask dot apl dot washington dot edu 2005-01-26 20:37 ------- Here's a patch and testsuite program http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01924.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19589 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/19589] Regression: Error on Data assignment with LOGICAL*1 2005-01-23 14:56 [Bug fortran/19589] New: Regression: Error on Data assignment with LOGICAL*1 manfred99 at gmx dot ch 2005-01-23 16:48 ` [Bug fortran/19589] " pinskia at gcc dot gnu dot org 2005-01-26 20:37 ` sgk at troutmask dot apl dot washington dot edu @ 2005-01-26 20:56 ` pinskia at gcc dot gnu dot org 2005-01-29 15:36 ` cvs-commit at gcc dot gnu dot org 2005-01-29 15:39 ` pinskia at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-01-26 20:56 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-26 20:56 ------- Patch posted here: <http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01924.html>. -- What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19589 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/19589] Regression: Error on Data assignment with LOGICAL*1 2005-01-23 14:56 [Bug fortran/19589] New: Regression: Error on Data assignment with LOGICAL*1 manfred99 at gmx dot ch ` (2 preceding siblings ...) 2005-01-26 20:56 ` pinskia at gcc dot gnu dot org @ 2005-01-29 15:36 ` cvs-commit at gcc dot gnu dot org 2005-01-29 15:39 ` pinskia at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-01-29 15:36 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-29 15:36 ------- Subject: Bug 19589 CVSROOT: /cvs/gcc Module name: gcc Changes by: pbrook@gcc.gnu.org 2005-01-29 15:35:51 Modified files: gcc/fortran : ChangeLog expr.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/gfortran.dg: logical_data_1.f90 Log message: 2005-01-29 Steven G. Kargl <kargls@comcast.net> PR fortran/19589 * expr.c (gfc_check_assign): Check for conformance of logical operands testsuite/ * gfortran.dg/logical_data_1.f90: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.314&r2=1.315 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/expr.c.diff?cvsroot=gcc&r1=1.19&r2=1.20 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4953&r2=1.4954 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/logical_data_1.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19589 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/19589] Regression: Error on Data assignment with LOGICAL*1 2005-01-23 14:56 [Bug fortran/19589] New: Regression: Error on Data assignment with LOGICAL*1 manfred99 at gmx dot ch ` (3 preceding siblings ...) 2005-01-29 15:36 ` cvs-commit at gcc dot gnu dot org @ 2005-01-29 15:39 ` pinskia at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-01-29 15:39 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-29 15:39 ------- Fixed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19589 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-01-29 15:39 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-01-23 14:56 [Bug fortran/19589] New: Regression: Error on Data assignment with LOGICAL*1 manfred99 at gmx dot ch 2005-01-23 16:48 ` [Bug fortran/19589] " pinskia at gcc dot gnu dot org 2005-01-26 20:37 ` sgk at troutmask dot apl dot washington dot edu 2005-01-26 20:56 ` pinskia at gcc dot gnu dot org 2005-01-29 15:36 ` cvs-commit at gcc dot gnu dot org 2005-01-29 15:39 ` pinskia 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).