[Bug middle-end/78665] Unexpected warning about "assuming signed overflow does not occur when simplifying conditional"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78665 Martin Sebor changed: What|Removed |Added Status|WAITING |RESOLVED CC||msebor at gcc dot gnu.org Known to work||8.2.0, 9.0 Resolution|--- |FIXED Known to fail||6.4.0, 7.3.0 --- Comment #5 from Martin Sebor --- The warning has disappeared sometime in GCC 8 (GCC 7 still warns). I'm going to resolve this as fixed without going to the trouble of reducing it to a test case.
[Bug middle-end/78665] Unexpected warning about "assuming signed overflow does not occur when simplifying conditional"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78665 --- Comment #4 from Richard W.M. Jones --- Created attachment 40363 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40363=edit handle.i Preprocessed source. The full command to produce this was: gcc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I. -W -Wabi -Waddress -Waggressive-loop-optimizations -Wall -Wattributes -Wbad-function-cast -Wbool-compare -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wchkp -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdate-time -Wdeprecated -Wdeprecated-declarations -Wdesignated-init -Wdisabled-optimization -Wdiscarded-array-qualifiers -Wdiscarded-qualifiers -Wdiv-by-zero -Wdouble-promotion -Wempty-body -Wendif-labels -Wenum-compare -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-signedness -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Winit-self -Winline -Wint-conversion -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wlogical-not-parentheses -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmemset-transposed-args -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wodr -Wold-style-declaration -Wold-style-definition -Wopenmp-simd -Woverflow -Woverlength-strings -Woverride-init -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wshift-count-negative -Wshift-count-overflow -Wsizeof-array-argument -Wsizeof-pointer-memaccess -Wstack-protector -Wstrict-aliasing -Wstrict-overflow -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-final-methods -Wsuggest-final-types -Wswitch -Wswitch-bool -Wswitch-default -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-macros -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvolatile-register-var -Wwrite-strings -Warray-bounds=2 -Wnormalized=nfc -Wno-unused-parameter -Wno-missing-field-initializers -Wno-logical-op -Wno-array-bounds -fdiagnostics-show-option -Werror -g -O2 -MT libhivex_la-handle.lo -MD -MP -MF .deps/libhivex_la-handle.Tpo -c handle.c -fPIC -DPIC -o .libs/libhivex_la-handle.o -save-temps
[Bug middle-end/78665] Unexpected warning about "assuming signed overflow does not occur when simplifying conditional"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78665 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed||2016-12-18 Component|c |middle-end Ever confirmed|0 |1 --- Comment #3 from Andrew Pinski --- Can you attach the preprocessed source?