freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] [smooth] Fix GCC LTO crashes on Windows


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] [smooth] Fix GCC LTO crashes on Windows.
Date: Fri, 10 Jun 2022 15:51:11 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

  • 4fef1fce
    by Alexei Podtelezhnikov at 2022-06-10T11:34:56-04:00
    [smooth] Fix GCC LTO crashes on Windows.
    
    Fixes #1164 by using a volatile variable around `setjmp`.  It is hard to
    say how this fixes crashes related to certain link-time optimizations.
    This does not decrease the rendering performance.
    
    * src/smooth/ftgrays.c (gray_convert_glyph_inner): Use volatile `error`.
    

1 changed file:

Changes:

  • src/smooth/ftgrays.c
    ... ... @@ -1912,7 +1912,7 @@ typedef ptrdiff_t FT_PtrDist;
    1912 1912
       gray_convert_glyph_inner( RAS_ARG_
    
    1913 1913
                                 int  continued )
    
    1914 1914
       {
    
    1915
    -    int  error;
    
    1915
    +    volatile int  error;
    
    1916 1916
     
    
    1917 1917
     
    
    1918 1918
         if ( ft_setjmp( ras.jump_buffer ) == 0 )
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]