This is the mail archive of the gcc-patches@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]

Re: Wfutile-unsigned-comparison (PR7651 Define -Wextra strictly in terms of other warning flags)


"Manuel López-Ibáñez" <lopezibanez@gmail.com> writes:

| :ADDPATCH middle-end:
| 
| This patch continues the effort to fix PR7651 [1].
| 
| It adds a new option -Wfutile-unsigned-comparison that takes over the

I don't think the adjunctive "futile" is appropriate. 

I think there is a switch for comparisons that are always true
because of type range limits.  I suspect this particular diagnostic
falls under that umbrella.

-- Gaby


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