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

Re: [PATCH, C/C++] Add -fno-float to forbid floating point data types


On Tue, Aug 12, 2014 at 05:25:25PM +0800, Thomas Preud'homme wrote:
> @@ -10078,6 +10078,10 @@ finish_declspecs (struct c_declspecs *specs)
>  	}
>        else if (specs->complex_p)
>  	{
> +	  if (flag_no_float)
> +	    error_at (specs->locations[cdw_complex],
> +		      "use of floating points forbidden in this translation "
> +		      "unit (-fno-float)");

Please drop the " (-fno-float)" part (and elsewhere too).

	Marek


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