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/2511] -pedantic not warning about bitfield overflow


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-02 00:22:44
               date|                            |


------- Additional Comments From pinskia@physics.uc.edu  2003-06-02 00:22 -------
Still does not warn on the mainline (20030601):
tin:~/src/gnu/gcctest>gcc -pedantic pr2511.c -c
pr2511.c:12: warning: overflow in implicit constant conversion
pr2511.c:13: warning: overflow in implicit constant conversion
/tmp/ccr2U7Ho.s: Assembler messages:
/tmp/ccr2U7Ho.s:9: Warning: value 0x100 truncated to 0x0



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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