[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bug #6121] Code calling sscanf is compiled incorrectl
From: |
nobody |
Subject: |
[Pnet-developers] [bug #6121] Code calling sscanf is compiled incorrectly by cscc |
Date: |
Thu, 23 Oct 2003 07:58:14 -0400 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) |
=================== BUG #6121: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=6121&group_id=353
Changes by: Anonymous user Date: Thu 10/23/2003 at 07:58
------------------ Additional Bug Attachment ----------------------------
File name: test2.il Size:1 KB
IL Code generated
http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=6121&bug_file_id=746
=================== BUG #6121: FULL BUG SNAPSHOT ===================
Submitted by: None Project: DotGNU Portable.NET
Submitted on: Thu 10/23/2003 at 07:57
Category: None Severity: 5 - Major
Bug Group: None Resolution: None
Assigned to: None Status: Open
Summary: Code calling sscanf is compiled incorrectly by cscc
Original Submission: The code is
int i;
sscanf("320","%d",&i);
but it compiled as
ldsflda valuetype '$strings'/'type4' '$strings'::'str0'
ldsflda valuetype '$strings'/'type3' '$strings'::'str1'
ldloca.s 0
conv.i8
call vararg int32 'sscanf'(int8
modopt(['OpenSystem.C']'OpenSystem.C'.'IsConst') *, int8
modopt(['OpenSystem.C']'OpenSystem.C'.'IsConst') *, ..., int64)
pop
Which is wrong (obviously).
No Followups Have Been Posted
CC list is empty
File Attachments
****************
-------------------------------------------------------
Date: Thu 10/23/2003 at 07:58 Name: test2.il Size: 1KB By: None
IL Code generated
http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=6121&bug_file_id=746
-------------------------------------------------------
Date: Thu 10/23/2003 at 07:57 Name: test2.c Size: 0KB By: None
The source code for test
http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=6121&bug_file_id=745
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=6121&group_id=353
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/