Skip to content
Snippets Groups Projects
Commit 7069ea90 authored by Florian Weimer's avatar Florian Weimer
Browse files

c: -Wint-conversion should cover pointer/integer mismatches in ?:

gcc/c/

	PR c/109827
	PR other/44209
	* c-typeck.cc (build_conditional_expr): Use OPT_Wint_conversion
	for pointer/integer mismatch warnings.

gcc/testsuite/

	* gcc.dg/Wint-conversion-3.c: New.
parent 857a6ee2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment