public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/67475] New: [6 regression] reload1.c:3772:41: error: 'orig_dup[1]' may be used uninitialized in this function breaks SPARC bootstrap
@ 2015-09-07  7:48 mikpelinux at gmail dot com
  2015-09-09  0:36 ` [Bug bootstrap/67475] " hp at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: mikpelinux at gmail dot com @ 2015-09-07  7:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67475
           Summary: [6 regression] reload1.c:3772:41: error: 'orig_dup[1]'
                    may be used uninitialized in this function breaks
                    SPARC bootstrap
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mikpelinux at gmail dot com
  Target Milestone: ---

The last snapshot of trunk I was able to bootstrap on sparc-linux was
gcc-6-20150809, since then every snapshot up to and including gcc-6-20150906
fails with:

/mnt/scratch/gcc-6-20150906/gcc/reload1.c: In function 'void
calculate_elim_costs_all_insns()':
/mnt/scratch/gcc-6-2/mnt/scratch/gcc-6-20150906/gcc/reload1.c: In function
'void calculate_elim_costs_all_insns()':
/mnt/scratch/gcc-6-20150906/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];
                                         ^
/mnt/scratch/gcc-6-20150906/gcc/reload1.c:3648:7: note: 'orig_dup[1]' was
declared here
   rtx orig_dup[MAX_RECOG_OPERANDS];
       ^
/mnt/scratch/gcc-6-20150906/gcc/reload1.c:3772:41: error: 'orig_dup[0]' may be
used uninitialized in this function [-Werror=maybe-uninitialized]
     *recog_data.dup_loc[i] = orig_dup[i];
                                         ^
/mnt/scratch/gcc-6-20150906/gcc/reload1.c:3648:7: note: 'orig_dup[0]' was
declared here
   rtx orig_dup[MAX_RECOG_OPERANDS];
0150906/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];
                                         ^
/mnt/scratch/gcc-6-20150906/gcc/reload1.c:3648:7: note: 'orig_dup[1]' was
declared here
   rtx orig_dup[MAX_RECOG_OPERANDS];
       ^
/mnt/scratch/gcc-6-20150906/gcc/reload1.c:3772:41: error: 'orig_dup[0]' may be
used uninitialized in this function [-Werror=maybe-uninitialized]
     *recog_data.dup_loc[i] = orig_dup[i];
                                         ^
/mnt/scratch/gcc-6-20150906/gcc/reload1.c:3648:7: note: 'orig_dup[0]' was
declared here
   rtx orig_dup[MAX_RECOG_OPERANDS];

I see some chatter about this on gcc-patches, but no actual action.

Configuration (sparc64 defaulting to -m32):
/mnt/scratch/gcc-6-20150906/configure --prefix=/mnt/scratch/install6
--with-gmp=/home/mikpe/pkgs/linux-sparc64/gmp-6.0.0
--with-mpfr=/home/mikpe/pkgs/linux-sparc64/mpfr-3.1.3
--with-mpc=/home/mikpe/pkgs/linux-sparc64/mpc-1.0.3 --enable-multilib
--disable-plugin --disable-lto --disable-nls --enable-threads=posix
--enable-checking=release --disable-libmudflap --enable-languages=c,ada,c++
--build=sparc-unknown-linux --target=sparc-unknown-linux --with-cpu=ultrasparc
--enable-targets=all


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug bootstrap/67475] [6 regression] reload1.c:3772:41: error: 'orig_dup[1]' may be used uninitialized in this function breaks SPARC bootstrap
  2015-09-07  7:48 [Bug bootstrap/67475] New: [6 regression] reload1.c:3772:41: error: 'orig_dup[1]' may be used uninitialized in this function breaks SPARC bootstrap mikpelinux at gmail dot com
@ 2015-09-09  0:36 ` hp at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: hp at gcc dot gnu.org @ 2015-09-09  0:36 UTC (permalink / raw)
  To: gcc-bugs

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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |hp at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #1 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
Mentioned as SPARC-breaking in PR55035#11.

*** This bug has been marked as a duplicate of bug 55035 ***


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-09  0:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-07  7:48 [Bug bootstrap/67475] New: [6 regression] reload1.c:3772:41: error: 'orig_dup[1]' may be used uninitialized in this function breaks SPARC bootstrap mikpelinux at gmail dot com
2015-09-09  0:36 ` [Bug bootstrap/67475] " hp at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).