I am trying to understand how 'flag_pic' works. It is used extensively in TARGET_OPTION_OVERRIDE functions in the form 'if (flag_pic) ... '. The flags fPic and fpic have a default value of -1, so as far as I understand, if the two flags are not set in the command line, all 'if (flag_pic)' will be true because of the default value -1 (since I can see that flag_pic is a define to global_options.x_flag_pic)
It doesn't look correct to me, but this test is used so many times that I am sure I am missing something. Can you please enlighten me? Thank you, Best regards Enrico