public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/45629] libgfortran/io/list_read.c:1872:10: warning: variable 'elem' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
       [not found] <bug-45629-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-16 22:07 ` jb at gcc dot gnu.org
  2010-10-16 22:10 ` jb at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jb at gcc dot gnu.org @ 2010-10-16 22:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Janne Blomqvist <jb at gcc dot gnu.org> 2010-10-16 22:07:19 UTC ---
Created attachment 22068
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22068
Preliminary patch

Preliminary patch for getting rid of setjmp/longjmp, instead using an
errno-style flag variable.


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

* [Bug fortran/45629] libgfortran/io/list_read.c:1872:10: warning: variable 'elem' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
       [not found] <bug-45629-4@http.gcc.gnu.org/bugzilla/>
  2010-10-16 22:07 ` [Bug fortran/45629] libgfortran/io/list_read.c:1872:10: warning: variable 'elem' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] jb at gcc dot gnu.org
@ 2010-10-16 22:10 ` jb at gcc dot gnu.org
  2010-10-16 23:22 ` jvdelisle at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jb at gcc dot gnu.org @ 2010-10-16 22:10 UTC (permalink / raw)
  To: gcc-bugs

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

Janne Blomqvist <jb at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jb at gcc dot gnu.org,
                   |                            |jvdelisle at gcc dot
                   |                            |gnu.org

--- Comment #2 from Janne Blomqvist <jb at gcc dot gnu.org> 2010-10-16 22:10:19 UTC ---
(In reply to comment #1)
> Created attachment 22068 [details]
> Preliminary patch
> 
> Preliminary patch for getting rid of setjmp/longjmp, instead using an
> errno-style flag variable.

... preliminary, as in fails a few testcases. Anyways, I'm not sure when I'll
have time to finish it, but if anyone wants to lend a hand. Not that it's any
particularly high priority either.


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

* [Bug fortran/45629] libgfortran/io/list_read.c:1872:10: warning: variable 'elem' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
       [not found] <bug-45629-4@http.gcc.gnu.org/bugzilla/>
  2010-10-16 22:07 ` [Bug fortran/45629] libgfortran/io/list_read.c:1872:10: warning: variable 'elem' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] jb at gcc dot gnu.org
  2010-10-16 22:10 ` jb at gcc dot gnu.org
@ 2010-10-16 23:22 ` jvdelisle at gcc dot gnu.org
  2010-11-01  7:28 ` jb at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu.org @ 2010-10-16 23:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2010-10-16 23:22:19 UTC ---
I will look it over when I have a few other bugs out of the way.


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

* [Bug fortran/45629] libgfortran/io/list_read.c:1872:10: warning: variable 'elem' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
       [not found] <bug-45629-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2010-10-16 23:22 ` jvdelisle at gcc dot gnu.org
@ 2010-11-01  7:28 ` jb at gcc dot gnu.org
  2010-11-01 23:33 ` jb at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jb at gcc dot gnu.org @ 2010-11-01  7:28 UTC (permalink / raw)
  To: gcc-bugs

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

Janne Blomqvist <jb at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2010.11.01 07:28:21
         AssignedTo|unassigned at gcc dot       |jb at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #4 from Janne Blomqvist <jb at gcc dot gnu.org> 2010-11-01 07:28:21 UTC ---
Scratch that previous patch. It turned out to not be such a good idea after
all, I'm working on a better approach.


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

* [Bug fortran/45629] libgfortran/io/list_read.c:1872:10: warning: variable 'elem' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
       [not found] <bug-45629-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2010-11-01  7:28 ` jb at gcc dot gnu.org
@ 2010-11-01 23:33 ` jb at gcc dot gnu.org
  2010-11-02 12:56 ` jb at gcc dot gnu.org
  2010-11-04 19:40 ` jb at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: jb at gcc dot gnu.org @ 2010-11-01 23:33 UTC (permalink / raw)
  To: gcc-bugs

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

Janne Blomqvist <jb at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2010-11/msg00096.htm
                   |                            |l

--- Comment #5 from Janne Blomqvist <jb at gcc dot gnu.org> 2010-11-01 23:32:59 UTC ---
Patch here: http://gcc.gnu.org/ml/gcc-patches/2010-11/msg00096.html


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

* [Bug fortran/45629] libgfortran/io/list_read.c:1872:10: warning: variable 'elem' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
       [not found] <bug-45629-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2010-11-01 23:33 ` jb at gcc dot gnu.org
@ 2010-11-02 12:56 ` jb at gcc dot gnu.org
  2010-11-04 19:40 ` jb at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: jb at gcc dot gnu.org @ 2010-11-02 12:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Janne Blomqvist <jb at gcc dot gnu.org> 2010-11-02 12:56:44 UTC ---
Author: jb
Date: Tue Nov  2 12:56:38 2010
New Revision: 166180

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166180
Log:
PR 45629 Remove usage of setjmp/longjmp

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/io.h
    trunk/libgfortran/io/list_read.c
    trunk/libgfortran/io/transfer.c


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

* [Bug fortran/45629] libgfortran/io/list_read.c:1872:10: warning: variable 'elem' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
       [not found] <bug-45629-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2010-11-02 12:56 ` jb at gcc dot gnu.org
@ 2010-11-04 19:40 ` jb at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: jb at gcc dot gnu.org @ 2010-11-04 19:40 UTC (permalink / raw)
  To: gcc-bugs

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

Janne Blomqvist <jb at gcc dot gnu.org> changed:

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

--- Comment #7 from Janne Blomqvist <jb at gcc dot gnu.org> 2010-11-04 19:40:08 UTC ---
Closing as fixed.


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

end of thread, other threads:[~2010-11-04 19:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-45629-4@http.gcc.gnu.org/bugzilla/>
2010-10-16 22:07 ` [Bug fortran/45629] libgfortran/io/list_read.c:1872:10: warning: variable 'elem' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] jb at gcc dot gnu.org
2010-10-16 22:10 ` jb at gcc dot gnu.org
2010-10-16 23:22 ` jvdelisle at gcc dot gnu.org
2010-11-01  7:28 ` jb at gcc dot gnu.org
2010-11-01 23:33 ` jb at gcc dot gnu.org
2010-11-02 12:56 ` jb at gcc dot gnu.org
2010-11-04 19:40 ` jb 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).