public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/87680] Small program produces 160 meg .o file
       [not found] <bug-87680-4@http.gcc.gnu.org/bugzilla/>
@ 2021-12-11  1:23 ` pinskia at gcc dot gnu.org
  2022-01-07  0:46 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-11  1:23 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=92385

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also very similar to PR 92385.

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

* [Bug c++/87680] Small program produces 160 meg .o file
       [not found] <bug-87680-4@http.gcc.gnu.org/bugzilla/>
  2021-12-11  1:23 ` [Bug c++/87680] Small program produces 160 meg .o file pinskia at gcc dot gnu.org
@ 2022-01-07  0:46 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-07  0:46 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Yes this is fixed after the patch which fixes PR 92385.
We get now:
.LC0:
        .long   10
        .long   11
        .long   12
        .long   13


  _3 = operator new (160000000);
  MEM[(struct Bar *)_3] = {};
  MEM <vector(4) int> [(int *)_3] = { 10, 11, 12, 13 };
  vectp.6_7 = _3 + 16;
  ivtmp.12_16 = (unsigned long) vectp.6_7;
  _9 = (unsigned long) _3;
  _13 = _9 + 160000000;

  <bb 3> [local count: 106300463076]:
  # ivtmp.12_18 = PHI <ivtmp.12_17(3), ivtmp.12_16(2)>
  _8 = (void *) ivtmp.12_18;
  MEM <vector(4) int> [(int *)_8] = { 10, 11, 12, 13 };
  ivtmp.12_17 = ivtmp.12_18 + 16;
  if (_13 == ivtmp.12_17)
    goto <bb 4>; [1.00%]
  else
    goto <bb 3>; [99.00%]

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

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

end of thread, other threads:[~2022-01-07  0:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-87680-4@http.gcc.gnu.org/bugzilla/>
2021-12-11  1:23 ` [Bug c++/87680] Small program produces 160 meg .o file pinskia at gcc dot gnu.org
2022-01-07  0:46 ` 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).