https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125920

            Bug ID: 125920
           Summary: option -flto=auto breaks the program behaviour
           Product: gcc
           Version: 16.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gustavo at ugr dot es
  Target Milestone: ---

Created attachment 64815
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64815&action=edit
pseudo random number generator header

Variable total is always 0 when using LTO

According to claude, the reason is the combination of LTO and exit() inside
parser function.

The program test several random number generators.

problem can be trigger by
./baseline -b 1000000000 -p CWG128_64 -s 12345

Reply via email to