public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/36176] New: TRANSFER of constant substrings @ 2008-05-07 21:24 fxcoudert at gcc dot gnu dot org 2008-05-11 20:32 ` [Bug fortran/36176] " fxcoudert at gcc dot gnu dot org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: fxcoudert at gcc dot gnu dot org @ 2008-05-07 21:24 UTC (permalink / raw) To: gcc-bugs Well, we simply don't handle simplification of TRANSFER with constant substrings, so it gives ICEs here and there: $ cat b.f90 character(len=1), parameter :: t = "x" write (*,*) transfer(t(1:1),0) end $ gfortran b.f90 f951: internal compiler error: in gfc_target_encode_expr, at fortran/target-memory.c:234 -- Summary: TRANSFER of constant substrings Product: gcc Version: 4.4.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=36176 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/36176] TRANSFER of constant substrings 2008-05-07 21:24 [Bug fortran/36176] New: TRANSFER of constant substrings fxcoudert at gcc dot gnu dot org @ 2008-05-11 20:32 ` fxcoudert at gcc dot gnu dot org 2008-05-12 15:52 ` fxcoudert at gcc dot gnu dot org 2008-05-18 23:08 ` fxcoudert at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: fxcoudert at gcc dot gnu dot org @ 2008-05-11 20:32 UTC (permalink / raw) To: gcc-bugs -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot |dot org |org URL| |http://gcc.gnu.org/ml/gcc- | |patches/2008- | |05/msg00659.html Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Keywords| |patch Last reconfirmed|0000-00-00 00:00:00 |2008-05-11 20:31:26 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36176 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/36176] TRANSFER of constant substrings 2008-05-07 21:24 [Bug fortran/36176] New: TRANSFER of constant substrings fxcoudert at gcc dot gnu dot org 2008-05-11 20:32 ` [Bug fortran/36176] " fxcoudert at gcc dot gnu dot org @ 2008-05-12 15:52 ` fxcoudert at gcc dot gnu dot org 2008-05-18 23:08 ` fxcoudert at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: fxcoudert at gcc dot gnu dot org @ 2008-05-12 15:52 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from fxcoudert at gcc dot gnu dot org 2008-05-12 15:52 ------- Subject: Bug 36176 Author: fxcoudert Date: Mon May 12 15:51:27 2008 New Revision: 135219 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135219 Log: PR fortran/36176 * target-memory.c (gfc_target_expr_size): Correctly treat substrings. (gfc_target_encode_expr): Likewise. (gfc_interpret_complex): Whitespace change. * gfortran.dg/transfer_simplify_9.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/transfer_simplify_9.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/target-memory.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36176 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/36176] TRANSFER of constant substrings 2008-05-07 21:24 [Bug fortran/36176] New: TRANSFER of constant substrings fxcoudert at gcc dot gnu dot org 2008-05-11 20:32 ` [Bug fortran/36176] " fxcoudert at gcc dot gnu dot org 2008-05-12 15:52 ` fxcoudert at gcc dot gnu dot org @ 2008-05-18 23:08 ` fxcoudert at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: fxcoudert at gcc dot gnu dot org @ 2008-05-18 23:08 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from fxcoudert at gcc dot gnu dot org 2008-05-18 23:07 ------- Fixed on 4.4 and 4.3. -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Summary|[4.3] TRANSFER of constant |TRANSFER of constant |substrings |substrings Target Milestone|--- |4.3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36176 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-05-18 23:08 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-05-07 21:24 [Bug fortran/36176] New: TRANSFER of constant substrings fxcoudert at gcc dot gnu dot org 2008-05-11 20:32 ` [Bug fortran/36176] " fxcoudert at gcc dot gnu dot org 2008-05-12 15:52 ` fxcoudert at gcc dot gnu dot org 2008-05-18 23:08 ` fxcoudert 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).