[Bug c/69088] type conversion to int

2016-01-02 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69088 --- Comment #2 from BENAÏSSA --- /* thank you for your answer. A.Benaïssa Comment:   Please consider this case: */ #include int main() {   float A = 0.F  ;   _Bool  B1  = 1.F / A ;   signed char  

[Bug c/69086] crealf may be invalid value

2016-01-01 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69086 --- Comment #2 from BENAÏSSA --- thank you for your clear answer.comment: And I imagine that it is not possible to define in C the complex value (inf,inf).                                                        

[Bug c/69086] New: crealf may be invalid value

2015-12-30 Thread ka_bena at yahoo dot fr
: unassigned at gcc dot gnu.org Reporter: ka_bena at yahoo dot fr Target Milestone: --- # include # include # include int main( void) { float A1 = 1.f/0.f ; float A2 = 1.f/0.f ; _Complex float A3 = A1 + A2*1.Fi ; printf("%f\n",A1); printf("

[Bug c/69088] New: type conversion to int

2015-12-30 Thread ka_bena at yahoo dot fr
: unassigned at gcc dot gnu.org Reporter: ka_bena at yahoo dot fr Target Milestone: --- #include int main() { float B = 0.F ; int A = 1.F / B ; __float128 B1 = 0.Q ; intA1 = 1.Q / B1 ; printf("A = %d\n", A ); printf("

[Bug c/67930] segmentation fault

2015-10-13 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67930 --- Comment #2 from BENAÏSSA ---  Thank you for your reply.  Comments::  I am not convinced by your point of view.  1- the compilation step does not deliver any message.  2- I modify the string by address and this is permitted by C for any

[Bug c/67930] New: segmentation fault

2015-10-12 Thread ka_bena at yahoo dot fr
: unassigned at gcc dot gnu.org Reporter: ka_bena at yahoo dot fr Target Milestone: --- # include # include void test ( char **A ) { *A[0] = 'a' ; } int main( void) { char *b = "omega" ; test ( ) ; printf ( "b = %s \n" , b ) ; return 0 ; } /* RESULTS:: Segm

[Bug c/67840] #define function error

2015-10-05 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67840 --- Comment #2 from BENAÏSSA --- THank you for your reply. A.BENAÏSSA Le Dimanche 4 octobre 2015 16h26, pinskia at gcc dot gnu.org a écrit : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67840

[Bug c/67840] New: #define function error

2015-10-04 Thread ka_bena at yahoo dot fr
: unassigned at gcc dot gnu.org Reporter: ka_bena at yahoo dot fr Target Milestone: --- /* #define function error */ #include #include #include #define tadjib(x) (sizeof( x )== sizeof( float ) ?cosf(x) \ :sizeof( x )== sizeof( double ) ?cos(x

[Bug c/67668] erroneous type argument for unary operator one's complement

2015-09-22 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67668 --- Comment #4 from BENAÏSSA ---   Thank you for your quick and clear reply .   Note:    I think that using the same symbol operator for doing two different things    can be a potential source of blind errors.    I confirm that this is only a

[Bug c/67667] erroneous type argument for unary operator one's complement

2015-09-22 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67667 --- Comment #2 from BENAÏSSA ---   Thank you for your quick and clear reply .   Note:    I think that using the same symbol operato as GNU extension for doing two different things    can be a potential source of blind errors .    I confirm that

[Bug c/67667] New: erroneous type argument for unary operator one's complement

2015-09-21 Thread ka_bena at yahoo dot fr
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ka_bena at yahoo dot fr Target Milestone: ---

[Bug c/67668] New: erroneous type argument for unary operator one's complement

2015-09-21 Thread ka_bena at yahoo dot fr
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ka_bena at yahoo dot fr Target Milestone: --- int main(void) { ~( 1. + 0.i ) ; ~(1.) ; return 0 ; } /* Results:: main_cmp1_err.c:4:3: attention : statement

[Bug c/67570] comparison rules fails

2015-09-17 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67570 --- Comment #4 from BENAÏSSA ---  Thank you very much for your reply. Please do not take care of the first set of values for  MIN_NORMALIZED and in place you can test those new values.  MIN_NORMALIZED    1.755494 E-038  for float     

[Bug c/67570] comparison rules fails

2015-09-16 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67570 --- Comment #2 from BENAÏSSA --- Thank you for your reply.   A.BENAÏSSA Post scriptum: Please can you confirm if you have time that the following positive floating point values are correct. --  

[Bug c/67569] wrong type in error message

2015-09-14 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67569 --- Comment #4 from BENAÏSSA --- Thank you for your replty. A.Benaïssa Le Lundi 14 septembre 2015 11h22, mpolacek at gcc dot gnu.org a écrit : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67569 Marek

[Bug c/67569] wrong type in error message

2015-09-14 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67569 --- Comment #5 from BENAÏSSA --- Thank you.          A.Benaïssa Le Lundi 14 septembre 2015 13h27, pinskia at gcc dot gnu.org a écrit : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67569 Andrew Pinski

[Bug c/67569] New: erroneous compiler error message

2015-09-14 Thread ka_bena at yahoo dot fr
Assignee: unassigned at gcc dot gnu.org Reporter: ka_bena at yahoo dot fr Target Milestone: --- /* Erroneous compiler error message */ int main(void) { int *A = (int *)533 ; float F = 1.F; A - F ; return 0 ; } /* Results

[Bug c/67570] New: comparison rules fails

2015-09-14 Thread ka_bena at yahoo dot fr
: unassigned at gcc dot gnu.org Reporter: ka_bena at yahoo dot fr Target Milestone: --- #include int main(void) { int pos; int pos1 ; int pos2 ; long double A= 0.L ; union { long double X

[Bug c/67547] may be an error in printf(%a..) for nexttowardf(0.f,1.f)

2015-09-12 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67547 --- Comment #2 from BENAÏSSA --- Thank you very much for your reply. A.Benaïssa Le Vendredi 11 septembre 2015 13h25, pinskia at gcc dot gnu.org a écrit :

[Bug c/67547] New: may be an error in printf(%a..) for nexttowardf(0.f,1.f)

2015-09-11 Thread ka_bena at yahoo dot fr
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ka_bena at yahoo dot fr Target Milestone: --- include include int main(void) { printf(" %E\n", nexttowardf ( 0.F , 1.F ) ) ; printf(" %A\n", nexttowardf ( 0.F

[Bug c/67095] errno for logf(-1.f)

2015-09-11 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67095 --- Comment #2 from BENAÏSSA --- Thank you for your reply.   A.Benaïssa. Le Dimanche 2 août 2015 13h46, pinskia at gcc dot gnu.org a écrit : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67095 Andrew Pinski

[Bug c/67095] New: errno for logf(-1.f)

2015-08-02 Thread ka_bena at yahoo dot fr
: unassigned at gcc dot gnu.org Reporter: ka_bena at yahoo dot fr Target Milestone: --- #include stdlib.h #include stdio.h #include errno.h #include math.h int main(void) { float A = -1.f ; float B = logf(A); printf ( B = %f \n , B) ; printf ( errno = %d \n , errno

[Bug c/66613] error in evaluationg cexp

2015-07-02 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66613 --- Comment #5 from BENAÏSSA ka_bena at yahoo dot fr --- Thank you for your mail.I do not know where is the error but after execution I do not have the good result. anyway! Compile Flags:   -std=c99 -Warray-bounds  -Wall  -Wextra -Waddress

[Bug c/66613] error in evaluationg cexp

2015-07-02 Thread ka_bena at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66613 --- Comment #4 from BENAÏSSA ka_bena at yahoo dot fr --- Thank you for your mail. Compile Flags:  -std=c99 -Warray-bounds  -Wall  -Wextra  -Waddress  -Wbad-function-cast  -Wformat  -Wformat-contains-nul  -Wformat-extra-args -Wformat-nonliteral

[Bug c/66613] New: error in evaluationg cexp

2015-06-20 Thread ka_bena at yahoo dot fr
: unassigned at gcc dot gnu.org Reporter: ka_bena at yahoo dot fr Target Milestone: --- #include stdio.h #include complex.h #include quadmath.h int main(void) { printf( \n); printf(/**/\n); printf( \n