[Bug ipa/92832] valgrind error in incorporate_penalties

2019-12-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92832

Martin Liška  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |INVALID

--- Comment #7 from Martin Liška  ---
Yes, I can confirm that --expensive-definedness-checks=yes fixed that.

[Bug ipa/92832] valgrind error in incorporate_penalties

2019-12-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92832

--- Comment #6 from Martin Liška  ---
I have a reduced test-case, but thanks.

[Bug ipa/92832] valgrind error in incorporate_penalties

2019-12-09 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92832

--- Comment #5 from David Binderman  ---
Problem seems to go away if I set VALGRIND_OPTS

export VALGRIND_OPTS="--expensive-definedness-checks=yes"

[Bug ipa/92832] valgrind error in incorporate_penalties

2019-12-09 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92832

--- Comment #4 from David Binderman  ---
Some progress: make -j 1 with languages set to C only, got this:

/home/dcb/gcc/working/./gcc/xgcc -B/home/dcb/gcc/working/./gcc/
-B/home/dcb/gcc/results.279100.valgrind/x86_64-pc-linux-gnu/bin/
-B/home/dcb/gcc/results.279100.valgrind/x86_64-pc-linux-gnu/lib/ -isystem
/home/dcb/gcc/results.279100.valgrind/x86_64-pc-linux-gnu/include -isystem
/home/dcb/gcc/results.279100.valgrind/x86_64-pc-linux-gnu/sys-include-g -O3
-O2  -g -O3 -DIN_GCC-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include   -fpic -mlong-double-80 -DUSE_ELF_SYMVER  -g -DIN_LIBGCC2
-fbuilding-libgcc -fno-stack-protector   -fpic -mlong-double-80
-DUSE_ELF_SYMVER  -I. -I. -I../.././gcc -I../../../trunk/libgcc
-I../../../trunk/libgcc/. -I../../../trunk/libgcc/../gcc
-I../../../trunk/libgcc/../include -I../../../trunk/libgcc/config/libbid
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS  -DUSE_TLS -o _clear_cache.o -MT
_clear_cache.o -MD -MP -MF _clear_cache.dep -DL_clear_cache -c
../../../trunk/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
==647411== Conditional jump or move depends on uninitialised value(s)
==647411==at 0x14990E8: incorporate_penalties (ipa-cp.c:3174)

I will get the pre-processed file to you.

[Bug ipa/92832] valgrind error in incorporate_penalties

2019-12-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92832

Martin Liška  changed:

   What|Removed |Added

 Status|WAITING |ASSIGNED
   Target Milestone|--- |10.0

--- Comment #3 from Martin Liška  ---
I see, then let me take a look.

[Bug ipa/92832] valgrind error in incorporate_penalties

2019-12-09 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92832

--- Comment #2 from David Binderman  ---
I am not sure which file was affected. make -j 10 was running, so it could
be one of many.

Fortran is probably not the cause. Beyond trying a make -j 1 build without
fortran, which might take 24 hours or more, I am not sure how to answer your
question.

[Bug ipa/92832] valgrind error in incorporate_penalties

2019-12-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92832

Martin Liška  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2019-12-09
 Ever confirmed|0   |1

--- Comment #1 from Martin Liška  ---
Hello.

Which compiled file is affected? Can you please attach a pre-processed source
file?