public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/17967] New: [4.0 Regression] Expand is considered slower? (or is it because gimplifier considered part of expand)
@ 2004-10-13  3:58 pinskia at gcc dot gnu dot org
  2004-10-13  3:58 ` [Bug middle-end/17967] " pinskia at gcc dot gnu dot org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-13  3:58 UTC (permalink / raw)
  To: gcc-bugs

3.3 can do this in 4.39s while 4.0.0 needs 14.60s.

#define ELSEIF1 else if (!a) f();
#define ELSEIF2     ELSEIF1     else if (a) ;
#define ELSEIF4     ELSEIF2     ELSEIF2
#define ELSEIF8     ELSEIF4     ELSEIF4
#define ELSEIF16    ELSEIF8     ELSEIF8
#define ELSEIF32    ELSEIF16    ELSEIF16
#define ELSEIF64    ELSEIF32    ELSEIF32
#define ELSEIF128   ELSEIF64    ELSEIF64
#define ELSEIF256   ELSEIF128   ELSEIF128
#define ELSEIF512   ELSEIF256   ELSEIF256
#define ELSEIF1024  ELSEIF512   ELSEIF512
#define ELSEIF2048  ELSEIF1024  ELSEIF1024
#define ELSEIF4096  ELSEIF2048  ELSEIF2048
#define ELSEIF8192  ELSEIF4096  ELSEIF4096
#define ELSEIF16384 ELSEIF8192  ELSEIF8192
#define ELSEIF32768 ELSEIF16384 ELSEIF16384
#define ELSEIF65536 ELSEIF32768 ELSEIF32768

void
foo (int a)
{
  int b;

  if (a);
  ELSEIF4096
}

-- 
           Summary: [4.0 Regression] Expand is considered slower? (or is it
                    because gimplifier considered part of expand)
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: compile-time-hog
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17967


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

end of thread, other threads:[~2004-10-23 19:17 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-13  3:58 [Bug middle-end/17967] New: [4.0 Regression] Expand is considered slower? (or is it because gimplifier considered part of expand) pinskia at gcc dot gnu dot org
2004-10-13  3:58 ` [Bug middle-end/17967] " pinskia at gcc dot gnu dot org
2004-10-13  4:03 ` pinskia at gcc dot gnu dot org
2004-10-13 12:34 ` [Bug middle-end/17967] [4.0 Regression] Expand is considered slower? (remove_useless_stmts is " pinskia at gcc dot gnu dot org
2004-10-13 20:26 ` pinskia at gcc dot gnu dot org
2004-10-13 20:33 ` pinskia at gcc dot gnu dot org
2004-10-14 14:07 ` pinskia at gcc dot gnu dot org
2004-10-14 14:56 ` pinskia at gcc dot gnu dot org
2004-10-14 18:38 ` pinskia at gcc dot gnu dot org
2004-10-14 21:59 ` pinskia at gcc dot gnu dot org
2004-10-14 22:00 ` cvs-commit at gcc dot gnu dot org
2004-10-15  4:17 ` cvs-commit at gcc dot gnu dot org
2004-10-15  4:18 ` pinskia at gcc dot gnu dot org
2004-10-17 22:55 ` pinskia at gcc dot gnu dot org
2004-10-18 18:31 ` pinskia at gcc dot gnu dot org
2004-10-23 19:16 ` pinskia at gcc dot gnu dot org
2004-10-23 19:17 ` cvs-commit at gcc dot gnu dot 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).