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

[Bug c/49620] piece of code from modification to dvblast but cant get it to compile and run correctly


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49620

--- Comment #2 from julian gardner <joolzg at btinternet dot com> 2011-07-03 21:06:07 UTC ---
(In reply to comment #1)
> Please add a complete self-contained test case.  (The given test case isn't.)
> Also please also indicate with which gcc options you compiled the test case.

Ive given the source and a preprocessed version of the complete file

compiled with
gcc -Wall -O3 -fomit-frame-pointer -Wextra -g
-I/usr/src/kernel/linux-2.6.29.1/include   -c -o file.o file.c

Problem is that adding removing code seems to make the problem
appear/disappear.

I do hope that this is enough, as it seems that the problem is in the 

   i_len2 = fread( ....)
   if( i_len2 < 188)

cant be a much simpler test case

joolz


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