public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/15327] New: [gfortran] ICE when merging strings
@ 2004-05-06 17:00 Tobias dot Schlueter at physik dot uni-muenchen dot de
  2004-05-06 18:04 ` [Bug fortran/15327] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Tobias dot Schlueter at physik dot uni-muenchen dot de @ 2004-05-06 17:00 UTC (permalink / raw)
  To: gcc-bugs

[tobi@marktplatz tests]$ cat meissner10.f90
  program Window
    integer, allocatable, dimension(:, :, :) :: Ising, Counter
    print *, Merge ("+", "-", Ising(: 4, : 4, : 4)  == 1)
  end program Window
[tobi@marktplatz tests]$ gfortran meissner10.f90
f951: ../../gcc/gcc/fortran/trans-expr.c:1572: gfc_conv_string_parameter:
Assertion `(((enum tree_code) (((se->expr)->common.type))->common.code) ==
POINTER_TYPE || ((enum tree_code) (((se->expr)->common.type))->common.code) ==
REFERENCE_TYPE)' failed.
meissner10.f90: In function `MAIN__':
meissner10.f90:3: 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.
[tobi@marktplatz tests]$

-- 
           Summary: [gfortran] ICE when merging strings
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Tobias dot Schlueter at physik dot uni-muenchen dot de
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15327


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15327] [gfortran] ICE when merging strings
  2004-05-06 17:00 [Bug fortran/15327] New: [gfortran] ICE when merging strings Tobias dot Schlueter at physik dot uni-muenchen dot de
@ 2004-05-06 18:04 ` pinskia at gcc dot gnu dot org
  2004-08-09 15:54 ` [Bug fortran/15327] ICE when using MERGE on strings pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-06 18:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-06 18:04 -------
Confirmed:
/Users/pinskia/src/gcc-tree-ssa-to-checkin/gcc/gcc/fortran/trans-expr.c:1571: failed assertion 
`POINTER_TYPE_P (TREE_TYPE (se->expr))'

pr15327.f90:3: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-06 18:04:16
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15327


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15327] ICE when using MERGE on strings
  2004-05-06 17:00 [Bug fortran/15327] New: [gfortran] ICE when merging strings Tobias dot Schlueter at physik dot uni-muenchen dot de
  2004-05-06 18:04 ` [Bug fortran/15327] " pinskia at gcc dot gnu dot org
@ 2004-08-09 15:54 ` pinskia at gcc dot gnu dot org
  2004-08-09 16:24 ` reichelt 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 @ 2004-08-09 15:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-09 15:54 -------
*** Bug 16936 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paulthomas2 at wanadoo dot
                   |                            |fr


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15327


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15327] ICE when using MERGE on strings
  2004-05-06 17:00 [Bug fortran/15327] New: [gfortran] ICE when merging strings Tobias dot Schlueter at physik dot uni-muenchen dot de
  2004-05-06 18:04 ` [Bug fortran/15327] " pinskia at gcc dot gnu dot org
  2004-08-09 15:54 ` [Bug fortran/15327] ICE when using MERGE on strings pinskia at gcc dot gnu dot org
@ 2004-08-09 16:24 ` reichelt at gcc dot gnu dot org
  2004-08-29 19:43 ` tobi at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-08-09 16:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-08-09 16:24 -------
Here's something shorter:

==========================================
program FOO
  print *, merge ("", "", .true.)
end program FOO
==========================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |ice-on-valid-code, monitored


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15327


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15327] ICE when using MERGE on strings
  2004-05-06 17:00 [Bug fortran/15327] New: [gfortran] ICE when merging strings Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (2 preceding siblings ...)
  2004-08-09 16:24 ` reichelt at gcc dot gnu dot org
@ 2004-08-29 19:43 ` tobi at gcc dot gnu dot org
  2004-08-29 21:10 ` tobi at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-08-29 19:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-08-29 19:43 -------
The problem is that gfc_conv_intrinsic_merge doesn't deal correctly with
character arguments.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15327


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15327] ICE when using MERGE on strings
  2004-05-06 17:00 [Bug fortran/15327] New: [gfortran] ICE when merging strings Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (3 preceding siblings ...)
  2004-08-29 19:43 ` tobi at gcc dot gnu dot org
@ 2004-08-29 21:10 ` tobi at gcc dot gnu dot org
  2004-09-01 23:29 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-08-29 21:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-08-29 21:10 -------
Patch here: http://gcc.gnu.org/ml/fortran/2004-08/msg00288.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15327


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15327] ICE when using MERGE on strings
  2004-05-06 17:00 [Bug fortran/15327] New: [gfortran] ICE when merging strings Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (4 preceding siblings ...)
  2004-08-29 21:10 ` tobi at gcc dot gnu dot org
@ 2004-09-01 23:29 ` cvs-commit at gcc dot gnu dot org
  2004-09-01 23:31 ` tobi at gcc dot gnu dot org
  2004-11-06 15:40 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-01 23:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-09-01 23:29 -------
Subject: Bug 15327

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tobi@gcc.gnu.org	2004-09-01 23:29:46

Modified files:
	gcc/fortran    : ChangeLog trans-intrinsic.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gfortran.dg: merge_char_1.f90 

Log message:
	fortran/
	PR fortran/15327
	* trans-intrinsic.c (gfc_conv_intrinsic_merge): Do the right thing for
	strings.
	
	testsuite/
	PR fortran/15327
	* gfortran.dg/merge_char_1.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.196&r2=1.197
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-intrinsic.c.diff?cvsroot=gcc&r1=1.20&r2=1.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4229&r2=1.4230
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/merge_char_1.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15327


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15327] ICE when using MERGE on strings
  2004-05-06 17:00 [Bug fortran/15327] New: [gfortran] ICE when merging strings Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (5 preceding siblings ...)
  2004-09-01 23:29 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-01 23:31 ` tobi at gcc dot gnu dot org
  2004-11-06 15:40 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-09-01 23:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-09-01 23:31 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15327


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15327] ICE when using MERGE on strings
  2004-05-06 17:00 [Bug fortran/15327] New: [gfortran] ICE when merging strings Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (6 preceding siblings ...)
  2004-09-01 23:31 ` tobi at gcc dot gnu dot org
@ 2004-11-06 15:40 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-06 15:40 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15327


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-11-06 15:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-06 17:00 [Bug fortran/15327] New: [gfortran] ICE when merging strings Tobias dot Schlueter at physik dot uni-muenchen dot de
2004-05-06 18:04 ` [Bug fortran/15327] " pinskia at gcc dot gnu dot org
2004-08-09 15:54 ` [Bug fortran/15327] ICE when using MERGE on strings pinskia at gcc dot gnu dot org
2004-08-09 16:24 ` reichelt at gcc dot gnu dot org
2004-08-29 19:43 ` tobi at gcc dot gnu dot org
2004-08-29 21:10 ` tobi at gcc dot gnu dot org
2004-09-01 23:29 ` cvs-commit at gcc dot gnu dot org
2004-09-01 23:31 ` tobi at gcc dot gnu dot org
2004-11-06 15:40 ` 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).