[Bug c/60351] New: Incorrect column number for warning on "right shift count is negative"
chengniansun at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 27 00:12:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60351
Bug ID: 60351
Summary: Incorrect column number for warning on "right shift
count is negative"
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: chengniansun at gmail dot com
$: cat s.c
void g(int);
void f(void) {
int i = 1;
g( i>>-1);
}
$: gcc-trunk -c s.c
s.c: In function ‘f’:
s.c:4:2: warning: right shift count is negative
g( i>>-1);
^
$:
More information about the Gcc-bugs
mailing list