This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/24355] Executable stack error building Ada
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Oct 2005 19:36:13 -0000
- Subject: [Bug target/24355] Executable stack error building Ada
- References: <bug-24355-6116@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-13 19:36 -------
This also effects some C code too like:
int f(int (*fptr)(void))
{
return fptr();
}
int main(void)
{
int t;
int g(void){ return t; }
t = 2;
f(&g);
}
Compile at -O0 and you will see that it fails too.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|ada |target
GCC build triplet|hppa2.0w-hp-hpux11.23 |
GCC host triplet|hppa2.0w-hp-hpux11.23 |
Keywords| |build
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24355