public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/89889] worse code compared to clang with alloca()
       [not found] <bug-89889-4@http.gcc.gnu.org/bugzilla/>
@ 2021-12-22  9:36 ` pinskia at gcc dot gnu.org
  2021-12-22  9:37 ` pinskia at gcc dot gnu.org
  2021-12-23  7:24 ` [Bug tree-optimization/89889] " pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-22  9:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
#include <alloca.h>

void use(void*);

void compute()
{
    auto p = alloca(500);
    use(p);
}

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

* [Bug middle-end/89889] worse code compared to clang with alloca()
       [not found] <bug-89889-4@http.gcc.gnu.org/bugzilla/>
  2021-12-22  9:36 ` [Bug middle-end/89889] worse code compared to clang with alloca() pinskia at gcc dot gnu.org
@ 2021-12-22  9:37 ` pinskia at gcc dot gnu.org
  2021-12-23  7:24 ` [Bug tree-optimization/89889] " pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-22  9:37 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

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

* [Bug tree-optimization/89889] worse code compared to clang with alloca()
       [not found] <bug-89889-4@http.gcc.gnu.org/bugzilla/>
  2021-12-22  9:36 ` [Bug middle-end/89889] worse code compared to clang with alloca() pinskia at gcc dot gnu.org
  2021-12-22  9:37 ` pinskia at gcc dot gnu.org
@ 2021-12-23  7:24 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-23  7:24 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

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

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

end of thread, other threads:[~2021-12-23  7:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-89889-4@http.gcc.gnu.org/bugzilla/>
2021-12-22  9:36 ` [Bug middle-end/89889] worse code compared to clang with alloca() pinskia at gcc dot gnu.org
2021-12-22  9:37 ` pinskia at gcc dot gnu.org
2021-12-23  7:24 ` [Bug tree-optimization/89889] " 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).