This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran]: prevent clobbered by 'longjmp' or 'vfork


Jack Howarth wrote:
The attached patch eliminates a warning of...

../../../gcc-4.2-20060928/libgfortran/io/list_read.c: In function 'list_formatted_read_scalar':
../../../gcc-4.2-20060928/libgfortran/io/list_read.c:1460: warning: argument 'type' might be clobbered by 'longjmp' or 'vfork'

which occurs on Darwin/ppc, Linux/ppc and Linux/x86-64. The
fix has be confirmed as the correct approach by Andreas Jaeger.
I have bootstrap and regression tested this patch on
Darwin/PPC. Okay for trunk?
             Jack


Hmm, I tested it as well on linux-i686 and the patch does not cause any regressions. (I would not expect it to) I have posted a gcc PR 29313 after discussions on IRC about this.


Jerry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]