This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/66373] gcc downloaded from Fedora 21 repository produces defective executable. Same source code with gcc from Fedora 19 and Fedora 20 works fine
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 Jun 2015 06:36:11 +0000
- Subject: [Bug c/66373] gcc downloaded from Fedora 21 repository produces defective executable. Same source code with gcc from Fedora 19 and Fedora 20 works fine
- Auto-submitted: auto-generated
- References: <bug-66373-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66373
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
You should try valgrind on the program, compile/link with
-fsanitize=address,undefined and see what it reports during runtime, try
different compiler options.
If you then still suspect a compiler bug, please try to turn your program into
a self-contained reproducer, see http://gcc.gnu.org/bugs/ for details.