This is the mail archive of the gcc-bugs@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]

[Bug target/21810] -pg causes libexpat code to crash


------- 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


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