This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/21810] -pg causes libexpat code to crash
- 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: 30 May 2005 00:00:11 -0000
- Subject: [Bug target/21810] -pg causes libexpat code to crash
- References: <20050529233455.21810.oliverst@online.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-30 00:00 -------
Could you try this testcase with -pg on cygwin?
typedef struct STRING_POOL
{
int a;
} STRING_POOL;
typedef struct XML_Memory_Handling_Suite
{
int t;
} XML_Memory_Handling_Suite;
#define FASTCALL __attribute__((stdcall, regparm(3)))
static void FASTCALL
poolInit(STRING_POOL *pool, const XML_Memory_Handling_Suite *ms)
{
pool->a = 1;
}
int main(void)
{
STRING_POOL a;
XML_Memory_Handling_Suite d;
poolInit(&a, &d);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21810