public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/106496] New: [13 Regression] bootstrap fail with out of bounds subscript warning on i686-darwin9
@ 2022-08-01  8:30 iains at gcc dot gnu.org
  2022-08-01  8:31 ` [Bug bootstrap/106496] " iains at gcc dot gnu.org
  2022-08-01  8:38 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: iains at gcc dot gnu.org @ 2022-08-01  8:30 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106496
           Summary: [13 Regression] bootstrap fail with out of bounds
                    subscript warning on i686-darwin9
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: iains at gcc dot gnu.org
  Target Milestone: ---

Created attachment 53393
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53393&action=edit
preprocessed source, unreduced

the following fail occurs for the stage2 build where Werror is in force.

In file included from /src-local/gcc-master/gcc/hash-table.h:248,
                from /src-local/gcc-master/gcc/coretypes.h:486,
                from /src-local/gcc-master/gcc/tree-ssa-threadbackward.cc:22:
In member function ‘T& vec<T, A, vl_embed>::operator[](unsigned int) [with T =
basic_block_def*; A = va_heap]’,
   inlined from ‘const T& vec<T>::operator[](unsigned int) const [with T =
basic_block_def*]’ at /src-local/gcc-master/gcc/vec.h:1486:20,
   inlined from ‘bool back_threader_profitability::profitable_path_p(const
vec<basic_block_def*>&, tree, edge, bool*)’ at
/src-local/gcc-master/gcc/tree-ssa-threadbackward.cc:781:37:
/src-local/gcc-master/gcc/vec.h:890:19: warning: array subscript 4294967294 is
above array bounds of ‘basic_block_def* [1]’ [-Warray-bounds]
 890 |   return m_vecdata[ix];
     |          ~~~~~~~~~^
/src-local/gcc-master/gcc/vec.h: In member function ‘bool
back_threader_profitability::profitable_path_p(const vec<basic_block_def*>&,
tree, edge, bool*)’:
/src-local/gcc-master/gcc/vec.h:635:5: note: while referencing
‘vec<basic_block_def*, va_heap, vl_embed>::m_vecdata’
 635 |   T m_vecdata[1];

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

* [Bug bootstrap/106496] [13 Regression] bootstrap fail with out of bounds subscript warning on i686-darwin9
  2022-08-01  8:30 [Bug bootstrap/106496] New: [13 Regression] bootstrap fail with out of bounds subscript warning on i686-darwin9 iains at gcc dot gnu.org
@ 2022-08-01  8:31 ` iains at gcc dot gnu.org
  2022-08-01  8:38 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: iains at gcc dot gnu.org @ 2022-08-01  8:31 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0
   Last reconfirmed|                            |2022-8-1
           Keywords|                            |build
             Target|                            |i686-darwin

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

* [Bug bootstrap/106496] [13 Regression] bootstrap fail with out of bounds subscript warning on i686-darwin9
  2022-08-01  8:30 [Bug bootstrap/106496] New: [13 Regression] bootstrap fail with out of bounds subscript warning on i686-darwin9 iains at gcc dot gnu.org
  2022-08-01  8:31 ` [Bug bootstrap/106496] " iains at gcc dot gnu.org
@ 2022-08-01  8:38 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-08-01  8:38 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 106495.

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

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

end of thread, other threads:[~2022-08-01  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01  8:30 [Bug bootstrap/106496] New: [13 Regression] bootstrap fail with out of bounds subscript warning on i686-darwin9 iains at gcc dot gnu.org
2022-08-01  8:31 ` [Bug bootstrap/106496] " iains at gcc dot gnu.org
2022-08-01  8:38 ` pinskia 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).