I just updated to GCC 4.8, and managed to reproduce your problem. You forgot the $1 argument:User923005 wrote:I used your script to build it, of course.
Attached are the results before I renamed the header file and after.
Code: Select all
$ ./make.sh ./discocheck
I also fixed a bug which GCC 4.8 unveiled. It was an access out of bounds of an array, which happenned to give the correct result with earlier version of GCC. By pure chance there was some extra padding with zero value there, and that happenned to be the value I needed (but not with GCC 4.8 which showed a different bench signature).
If you pull the latest code, and compile as above, it should produce no warning or error messages (I've just done it with GCC 4.8.1 right now). And it should have this signature (node count)
Code: Select all
$ ./discocheck bench
...
signature = 5357949
time = ...