"bounds-checking" should be "bounds-check"
Posted: Wed Jan 05, 2011 3:14 pm
Here is an issue in both 6.4.3 and 6.5.2, I can work around it but don't know exactly the best file(s) to fix it in:
the debug "naughty" option for gnu adds the flag "-fbounds-checking" but at least on my gcc/gfortran this is the wrong syntax, it should be "-fbounds-check". As far as I can tell this is set in three files:
config/debug/{fc,cc}_gnu_default-debug.conf
config/m4/auto-debug.m4
I guess all of these need to be changed but I would like Yann or another expert to verify.
BTW why does this option have to be called "naughty"? I am totally aware that lately I have no sense of humor about these things, but while I can live with (and smile about) "paranoid", "naughty" just seems weird. I don't think I'm breaking any rules by using bounds checking as part of the debug process.
Grimly yours,
Joe
the debug "naughty" option for gnu adds the flag "-fbounds-checking" but at least on my gcc/gfortran this is the wrong syntax, it should be "-fbounds-check". As far as I can tell this is set in three files:
config/debug/{fc,cc}_gnu_default-debug.conf
config/m4/auto-debug.m4
I guess all of these need to be changed but I would like Yann or another expert to verify.
BTW why does this option have to be called "naughty"? I am totally aware that lately I have no sense of humor about these things, but while I can live with (and smile about) "paranoid", "naughty" just seems weird. I don't think I'm breaking any rules by using bounds checking as part of the debug process.
Grimly yours,
Joe