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 c/17730] New: [4.0 regression] Regression in diagnost message "invalid lvalue in unary %<&%>"


This little (invalid) code 
---------------- 
char *p = &'C'; 
---------------- 
produces this diagnostic regression in the C front end: 
 
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -c y.c 
y.c:1: error: invalid lvalue in unary `&' 
 
g/x> /home/bangerth/bin/gcc-4.0-pre/bin/gcc -c y.c 
y.c:1: error: invalid lvalue in unary %<&%> 
 
Apparently something went wrong during the switch to a better quotation 
style. 
 
W.

-- 
           Summary: [4.0 regression] Regression in diagnost message "invalid
                    lvalue in unary %<&%>"
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at dealii dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17730


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