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

            Bug ID: 85880
           Summary: Different code generation for uninitialized variables
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fredrik.hederstie...@securitas-direct.com
  Target Milestone: ---

Created attachment 44164
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44164&action=edit
Example file

Starting with GCC-8.1.0 the code generation for unitialized variables seems to
be changed.

This is not necessarily a bug perhaps, but became a problem for me since the
CSiBE code size benchmark have some files in the Linux code that have
unitialized variables.

When compiling CSiBE with Gcc-8.1.0 suddenly some files increased remarkably in
size, example is the file "capability.c" which doubled in size many times.

Though this might be a CSiBE issue as root cause, but just wanted to confirm
that this is as expected and maybe it can have impact on other benchmarks that
includes uninitialized variables.

See attached stripped down case taken from CSiBE "capability.c"

Reply via email to