[uClibc 0000977]: Compiler Error, illegal lvalue

bugs at busybox.net bugs at busybox.net
Tue Aug 1 07:35:19 UTC 2006


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=977 
====================================================================== 
Reported By:                GJanak
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   977
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             08-01-2006 00:24 PDT
Last Modified:              08-01-2006 00:35 PDT
====================================================================== 
Summary:                    Compiler Error, illegal lvalue
Description: 
Using Snapshot from 1.8.2006:

uClibc/libc/string/powerpc/string.c: line 212 (and more)
orginal:
 do {
                *--(unsigned char *)tmp_to = *--(unsigned char *)from;
        } while (--rem);
*Gives an illegal lvalue error with gcc 4.1.1

workaround:

 do {
                --tmp_to;
                --from;
                *(unsigned char *)tmp_to = *(unsigned char *)from;
        } while (--rem);

====================================================================== 

---------------------------------------------------------------------- 
 GJanak - 08-01-06 00:35  
---------------------------------------------------------------------- 
is double of http://busybox.net/bugs/view.php?id=0000245 soory... wrong filter
used. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-01-06 00:24  GJanak         New Issue                                    
08-01-06 00:24  GJanak         Status                   new => assigned     
08-01-06 00:24  GJanak         Assigned To               => uClibc          
08-01-06 00:35  GJanak         Note Added: 0001552                          
======================================================================




More information about the uClibc-cvs mailing list