Thread overview
[Issue 13711] Optimizer bug (yet another one, with test case)
Nov 11, 2014
Marco Leise
Jan 13, 2017
Nemanja Boric
Jan 13, 2017
Nemanja Boric
Apr 06, 2017
Marco Leise
Aug 10, 2020
Walter Bright
Aug 10, 2020
Walter Bright
November 11, 2014
https://issues.dlang.org/show_bug.cgi?id=13711

--- Comment #1 from Marco Leise <Marco.Leise@gmx.de> ---
Created attachment 1453
  --> https://issues.dlang.org/attachment.cgi?id=1453&action=edit
.tga for test case

--
January 13, 2017
https://issues.dlang.org/show_bug.cgi?id=13711

Nemanja Boric <4burgos@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |4burgos@gmail.com

--- Comment #2 from Nemanja Boric <4burgos@gmail.com> ---
Looks like this is fixed. Perhaps it's related to https://issues.dlang.org/show_bug.cgi?id=16225?

--
January 13, 2017
https://issues.dlang.org/show_bug.cgi?id=13711

Nemanja Boric <4burgos@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
April 06, 2017
https://issues.dlang.org/show_bug.cgi?id=13711

Marco Leise <Marco.Leise@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #3 from Marco Leise <Marco.Leise@gmx.de> ---
I reopened this issue, because I just downloaded the test case again and executed `dmd-2.073 -O -release -inline main.d && ./main`. It still crashes with following message:

  Parsing '640x480-16bit-RLE.tga'
  zsh: segmentation fault  ./main

--
August 10, 2020
https://issues.dlang.org/show_bug.cgi?id=13711

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #4 from Walter Bright <bugzilla@digitalmars.com> ---
Compiling it for 64 bit Linux, the latest dmd, and with:

 dmd main
 dmd main -O
 dmd main -O -release -inline

I get the following output each time:

 Parsing '640x480-16bit-RLE.tga'
 640x480: 68175

No seg faults.

--
August 10, 2020
https://issues.dlang.org/show_bug.cgi?id=13711

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |WORKSFORME

--