Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: rillig
Date: Sun Sep 14 12:05:05 UTC 2025
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_267.c
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: do not preserve bit-field information in integer promotions
The bit-field information was wrongly added back in 2021. At that time,
the integer constraints had not been implemented yet, so it was a
straight-forward idea to implement value restrictions using the type
system and propagage these through the expressions.
Due to preserving the bit-field information, some lint warnings
contained wrong type information. These warnings are now fixed.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/usr.bin/xlint/lint1/msg_267.c
cvs rdiff -u -r1.690 -r1.691 src/usr.bin/xlint/lint1/tree.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index