This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: How can I retrieve section-attribute infomation in RTL
- From: Jim Wilson <wilson at specifixinc dot com>
- To: Dave Korn <dk at artimi dot com>
- Cc: 'liyongzhang' <liyongzhang at tcxa dot com dot cn>, gcc at gcc dot gnu dot org
- Date: 22 Jul 2004 14:41:27 -0700
- Subject: RE: How can I retrieve section-attribute infomation in RTL
- References: <NUTMEGDbOM6AQO5paep000009f2@NUTMEG.CAM.ARTIMI.COM>
On Thu, 2004-07-22 at 05:13, Dave Korn wrote:
> And don't forget that if your symbol_ref comes from an extern decl, it
> can't be trusted. E.g.
Only if the program is broken. The foo.c file should be including the
foo.h file, and the foo.h file should have the full declaration of the
foo function instead of a partial one. If the program is written
correctly, this would work. I see this as no different from failing to
use a prototype definition instead of an old-style definition in the
foo.h file.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com