public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/60455] New: Imprecise column number of -Woverflow in array initializers
@ 2014-03-07 10:51 chengniansun at gmail dot com
2014-04-25 11:33 ` [Bug c/60455] " mpolacek at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: chengniansun at gmail dot com @ 2014-03-07 10:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60455
Bug ID: 60455
Summary: Imprecise column number of -Woverflow in array
initializers
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
char a[] = {0xFFFF, 4, 0xFFFF};
$: gcc-trunk -c s.c
s.c:1:1: warning: overflow in implicit constant conversion [-Woverflow]
char a[] = {0xFFFF, 4, 0xFFFF};
^
s.c:1:1: warning: overflow in implicit constant conversion [-Woverflow]
$: gcc-trunk --version
gcc (GCC) 4.9.0 20140306 (experimental)
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c/60455] Imprecise column number of -Woverflow in array initializers
2014-03-07 10:51 [Bug c/60455] New: Imprecise column number of -Woverflow in array initializers chengniansun at gmail dot com
@ 2014-04-25 11:33 ` mpolacek at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-04-25 11:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60455
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed by r209794.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-25 11:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-07 10:51 [Bug c/60455] New: Imprecise column number of -Woverflow in array initializers chengniansun at gmail dot com
2014-04-25 11:33 ` [Bug c/60455] " mpolacek at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).