public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/61669] New: Error recovery ICE
@ 2014-07-02 11:11 jakub at gcc dot gnu.org
  2014-07-12 22:22 ` [Bug fortran/61669] " dominiq at lps dot ens.fr
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-07-02 11:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61669

            Bug ID: 61669
           Summary: Error recovery ICE
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org

write (*,"(a)") char(12)
      CHARACTER*80 A /"A"/
      REAL*4 B
      write (*,"(a)") char(12)
      DATA B / 0.02 /
      END

ICEs after emitting correct diagnostics.


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

* [Bug fortran/61669] Error recovery ICE
  2014-07-02 11:11 [Bug fortran/61669] New: Error recovery ICE jakub at gcc dot gnu.org
@ 2014-07-12 22:22 ` dominiq at lps dot ens.fr
  2014-08-23 14:53 ` steven at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-07-12 22:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61669

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-07-12
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from 4.3.1 up to trunk (4.10.0).


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

* [Bug fortran/61669] Error recovery ICE
  2014-07-02 11:11 [Bug fortran/61669] New: Error recovery ICE jakub at gcc dot gnu.org
  2014-07-12 22:22 ` [Bug fortran/61669] " dominiq at lps dot ens.fr
@ 2014-08-23 14:53 ` steven at gcc dot gnu.org
  2014-09-30 16:42 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: steven at gcc dot gnu.org @ 2014-08-23 14:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61669

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |steven at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |steven at gcc dot gnu.org

--- Comment #2 from Steven Bosscher <steven at gcc dot gnu.org> ---
We need to roll back parsed DATA or DATA SPEC if we reject the statement.
https://gcc.gnu.org/ml/fortran/2014-08/msg00092.html


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

* [Bug fortran/61669] Error recovery ICE
  2014-07-02 11:11 [Bug fortran/61669] New: Error recovery ICE jakub at gcc dot gnu.org
  2014-07-12 22:22 ` [Bug fortran/61669] " dominiq at lps dot ens.fr
  2014-08-23 14:53 ` steven at gcc dot gnu.org
@ 2014-09-30 16:42 ` jakub at gcc dot gnu.org
  2014-12-15 18:38 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-09-30 16:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61669

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Steven, do you plan to commit your fix which has been acked back in August?


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

* [Bug fortran/61669] Error recovery ICE
  2014-07-02 11:11 [Bug fortran/61669] New: Error recovery ICE jakub at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-09-30 16:42 ` jakub at gcc dot gnu.org
@ 2014-12-15 18:38 ` jakub at gcc dot gnu.org
  2015-04-06 17:08 ` dominiq at lps dot ens.fr
  2015-04-06 18:04 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-15 18:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61669

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Dec 15 18:37:59 2014
New Revision: 218757

URL: https://gcc.gnu.org/viewcvs?rev=218757&root=gcc&view=rev
Log:
    PR fortran/61669
    * gfortran.h (struct gfc_namespace): Add OLD_DATA field.
    * decl.c (gfc_reject_data): New function.
    * parse.c *use_modules): Record roll-back point.
    (next_statement): Likewise.
    (reject_statement): Roll back to last accepted DATA.

    * gfortran.dg/pr61669.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr61669.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/parse.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug fortran/61669] Error recovery ICE
  2014-07-02 11:11 [Bug fortran/61669] New: Error recovery ICE jakub at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2014-12-15 18:38 ` jakub at gcc dot gnu.org
@ 2015-04-06 17:08 ` dominiq at lps dot ens.fr
  2015-04-06 18:04 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-04-06 17:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61669

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery,
                   |                            |ice-on-invalid-code

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
AFAICT this PR is fixed on trunk. Is there any plan to back port the fix? If
no, this PR can be closed as FIXED, isn't it?


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

* [Bug fortran/61669] Error recovery ICE
  2014-07-02 11:11 [Bug fortran/61669] New: Error recovery ICE jakub at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2015-04-06 17:08 ` dominiq at lps dot ens.fr
@ 2015-04-06 18:04 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-04-06 18:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61669

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Error-recovery fixes aren't generally backported.


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

end of thread, other threads:[~2015-04-06 18:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-02 11:11 [Bug fortran/61669] New: Error recovery ICE jakub at gcc dot gnu.org
2014-07-12 22:22 ` [Bug fortran/61669] " dominiq at lps dot ens.fr
2014-08-23 14:53 ` steven at gcc dot gnu.org
2014-09-30 16:42 ` jakub at gcc dot gnu.org
2014-12-15 18:38 ` jakub at gcc dot gnu.org
2015-04-06 17:08 ` dominiq at lps dot ens.fr
2015-04-06 18:04 ` jakub at gcc dot gnu.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).