This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/55035] reload1.c:3766:41: error: âorig_dup[0]â may be used uninitialized in this function (for fr30, microblaze, moxie, rl78)


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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|cr16-elf,fr30-elf,lm32-elf, |cr16-elf,fr30-elf,lm32-elf,
                   |lm32-rtems,lm32-uclinux,mic |lm32-rtems,lm32-uclinux,mic
                   |roblaze-elf,microblaze-linu |roblaze-elf,microblaze-linu
                   |x,moxie-elf,moxie-rtems,mox |x,moxie-elf,moxie-rtems,mox
                   |ie-uclinux,nios2-elf,nios2- |ie-uclinux,nios2-elf,nios2-
                   |linux-gnu,nios2-rtems,rl78- |linux-gnu,nios2-rtems,rl78-
                   |elf                         |elf,sparcv9-sun-solaris2*
             Status|RESOLVED                    |REOPENED
                 CC|                            |ro at gcc dot gnu.org
         Resolution|FIXED                       |---

--- Comment #11 from Rainer Orth <ro at gcc dot gnu.org> ---
As already mentioned on gcc-patches, the patch broke sparcv9-sun-solaris2.*
bootstrap (unlike sparc-sun-solaris2.*, which is still fine):

/vol/gcc/src/hg/trunk/local/gcc/reload1.c: In function 'void
elimination_costs_in_insn(rtx_insn*)':
/vol/gcc/src/hg/trunk/local/gcc/reload1.c:3772:41: error: 'orig_dup[1]' may be
used uninitialized in this function [-Werror=maybe-uninitialized]
     *recog_data.dup_loc[i] = orig_dup[i];
                                         ^
/vol/gcc/src/hg/trunk/local/gcc/reload1.c:3772:41: error: 'orig_dup[0]' may be
used uninitialized in this function [-Werror=maybe-uninitialized]

  Rainer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]