Article View: gnu.gcc.help
Article #53256volatile pointers still clobbered by 'longjmp'?
From: djanssen
Date: Thu, 20 Feb 1992 14:53
Date: Thu, 20 Feb 1992 14:53
14 lines
1066 bytes
1066 bytes
Hi, Were using GNU CC 1.40 for the I960 and we have the following problem: When compiling with -O4 and -W we get a warning: 'buf_ptr' may be clobbered by 'longjmp'. When using volatile this warning dissappears (as expected) but the warning stays there for pointer variables. We have been using void volatile *buf_ptr = NULL_PTR; and volatile void *buf_ptr = NULL_PTR; but the compiler keeps complaining. We also tried some command options like -fvolatile and -fcaller-saves, but the warning stays there. Anyone seen this problem before ? Thanks
Technical Details
Message-ID:
<130842.29a3c0f0@mswe.dnet.ms.philips.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!phigate!mswe!djanssenShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,603330dd4bdcd934,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-02-21 04:11:51 PST Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!phigate!mswe!djanssen From: djanssen@mswe.dnet.ms.philips.nl Newsgroups: gnu.gcc.help Subject: volatile pointers still clobbered by 'longjmp'? Message-ID: <130842.29a3c0f0@mswe.dnet.ms.philips.nl> Date: 20 Feb 92 14:53:36 GMT Organization: Philips Medical Systems Nederland Lines: 15