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]

c/7650: gcc generate a wrong code


>Number:         7650
>Category:       c
>Synopsis:       gcc generate a wrong code
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 20 07:16:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Start Network, inc.
>Release:        gcc v3.0
>Organization:
>Environment:
cygwin
>Description:
 *
 * hi, 
 * 	i'm a programmer for a embedded system project, 
 * i am using the gcc as the compiler. my host is x86, and target machine
 * is ARM.
 * the follwing is my bug report. would you tell me is it a bug, and if it 
 * was a bug, how can i avoid facing it.
 * thanks in advanced.
 *
 * GCC BUG REPORT
 * when i complid the following source code, 
 * the gcc complier will generate a big bug, 
 * which may cause the local variable len get a invalid value.
 * it is terrible for me. 
 * i found it when i disassemble the obj file.
 * So, you can disamble the .o file and you will touch the bug.
>How-To-Repeat:
see the attached file's comment
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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