Skip to content
Snippets Groups Projects
  • Jakub Jelinek's avatar
    ca27c3b3
    testsuite: Fix up depobj-3.c test on i686-linux [PR112724] · ca27c3b3
    Jakub Jelinek authored
    While I've posted a patch to handle EXCESS_PRECISION_EXPR in C/C++
    pretty printing, still we'd need to handle
    (a + (float)5)
    and
    (float)(((long double)a) + (long double)5)
    and possibly
    (float)(((double)a) + (double)5)
    too for s390?, so the following patch just uses -fexcess-precision=fast,
    so that the expression is always the same.
    
    2024-03-22  Jakub Jelinek  <jakub@redhat.com>
    
    	PR c++/112724
    	* c-c++-common/gomp/depobj-3.c: Add -fexcess-precision=fast as
    	dg-additional-options.
    ca27c3b3
    History
    testsuite: Fix up depobj-3.c test on i686-linux [PR112724]
    Jakub Jelinek authored
    While I've posted a patch to handle EXCESS_PRECISION_EXPR in C/C++
    pretty printing, still we'd need to handle
    (a + (float)5)
    and
    (float)(((long double)a) + (long double)5)
    and possibly
    (float)(((double)a) + (double)5)
    too for s390?, so the following patch just uses -fexcess-precision=fast,
    so that the expression is always the same.
    
    2024-03-22  Jakub Jelinek  <jakub@redhat.com>
    
    	PR c++/112724
    	* c-c++-common/gomp/depobj-3.c: Add -fexcess-precision=fast as
    	dg-additional-options.