[Bug middle-end/90348] [7/8/9/10 Regression] Partition of arrays is incorrect

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun May 5 20:25:00 GMT 2019


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-05-05
   Target Milestone|---                         |8.4
            Summary|Small inlined function has  |[7/8/9/10 Regression]
                   |local variables in invalid  |Partition of arrays is
                   |stack location              |incorrect
     Ever confirmed|0                           |1

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Partition 0: size 4 align 8
        in      buf

That is wrong, it should have been two seperate ones.
Confirmed with:
gcc version 9.0.1 20190310 (experimental) [master revision
449a19898aa:0239598e3c8:8fe074cf790f632b22e59c24f102e528407bb04e] (GCC)

On aarch64-linux-gnu, I don't see any changes to the expand sources after that
point.

I could not reproduce it with Ubuntu's 7.3.0 but can with a non modified
version of GCC 7.3.0 on mips64-linux-gnu:
Partition 0: size 4 align 8
        in      buf


More information about the Gcc-bugs mailing list