public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/38059]  New: Compile time regression for gcc.dg/20020425-1.c
@ 2008-11-08  1:15 danglin at gcc dot gnu dot org
  2009-03-31 16:10 ` [Bug middle-end/38059] [4.4/4.5 Regression] " jsm28 at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-11-08  1:15 UTC (permalink / raw)
  To: gcc-bugs

The test now fails.  It doesn't fail on previous GCC versions.
Timing the compilation, I see:

real    6m49.686s
user    6m49.490s
sys     0m0.210s


-- 
           Summary: Compile time regression for gcc.dg/20020425-1.c
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa64-hp-hpux11.11
  GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11


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


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

* [Bug middle-end/38059] [4.4/4.5 Regression] Compile time regression for gcc.dg/20020425-1.c
  2008-11-08  1:15 [Bug middle-end/38059] New: Compile time regression for gcc.dg/20020425-1.c danglin at gcc dot gnu dot org
@ 2009-03-31 16:10 ` jsm28 at gcc dot gnu dot org
  2009-04-01  8:35 ` jakub at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 16:10 UTC (permalink / raw)
  To: gcc-bugs



-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Compile time regression for |[4.4/4.5 Regression] Compile
                   |gcc.dg/20020425-1.c         |time regression for
                   |                            |gcc.dg/20020425-1.c
   Target Milestone|---                         |4.4.0


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


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

* [Bug middle-end/38059] [4.4/4.5 Regression] Compile time regression for gcc.dg/20020425-1.c
  2008-11-08  1:15 [Bug middle-end/38059] New: Compile time regression for gcc.dg/20020425-1.c danglin at gcc dot gnu dot org
  2009-03-31 16:10 ` [Bug middle-end/38059] [4.4/4.5 Regression] " jsm28 at gcc dot gnu dot org
@ 2009-04-01  8:35 ` jakub at gcc dot gnu dot org
  2009-04-21 15:59 ` jakub at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-04-01  8:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jakub at gcc dot gnu dot org  2009-04-01 08:35 -------
You haven't shown how long did it take in earlier versions, this test is
already known to take eons (and when gimplify.o isn't built with optimizations
even ICE on many targets) and has /* { dg-timeout-factor 4.0 } */ already. 
What slows down the test is extremely deep recursion above 22000-33000 calls in
the backtrace (for each ONE either just gimplify_expr and gimplify_cond_expr,
or even gimplify_stmt in the backtrace).  Even a small RA decision affecting
these functions can show up when multiplied by 11000, but the testcase is
clearly artificial and not worth optimizing for.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


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

* [Bug middle-end/38059] [4.4/4.5 Regression] Compile time regression for gcc.dg/20020425-1.c
  2008-11-08  1:15 [Bug middle-end/38059] New: Compile time regression for gcc.dg/20020425-1.c danglin at gcc dot gnu dot org
  2009-03-31 16:10 ` [Bug middle-end/38059] [4.4/4.5 Regression] " jsm28 at gcc dot gnu dot org
  2009-04-01  8:35 ` jakub at gcc dot gnu dot org
@ 2009-04-21 15:59 ` jakub at gcc dot gnu dot org
  2009-07-22 10:35 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-04-21 15:59 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.0                       |4.4.1


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


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

* [Bug middle-end/38059] [4.4/4.5 Regression] Compile time regression for gcc.dg/20020425-1.c
  2008-11-08  1:15 [Bug middle-end/38059] New: Compile time regression for gcc.dg/20020425-1.c danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-04-21 15:59 ` jakub at gcc dot gnu dot org
@ 2009-07-22 10:35 ` jakub at gcc dot gnu dot org
  2009-10-15 12:56 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-07-22 10:35 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.1                       |4.4.2


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


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

* [Bug middle-end/38059] [4.4/4.5 Regression] Compile time regression for gcc.dg/20020425-1.c
  2008-11-08  1:15 [Bug middle-end/38059] New: Compile time regression for gcc.dg/20020425-1.c danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-07-22 10:35 ` jakub at gcc dot gnu dot org
@ 2009-10-15 12:56 ` jakub at gcc dot gnu dot org
  2010-01-21 13:19 ` jakub at gcc dot gnu dot org
  2010-04-30  9:01 ` [Bug middle-end/38059] [4.4/4.5/4.6 " jakub at gcc dot gnu dot org
  6 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-10-15 12:56 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.2                       |4.4.3


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


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

* [Bug middle-end/38059] [4.4/4.5 Regression] Compile time regression for gcc.dg/20020425-1.c
  2008-11-08  1:15 [Bug middle-end/38059] New: Compile time regression for gcc.dg/20020425-1.c danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2009-10-15 12:56 ` jakub at gcc dot gnu dot org
@ 2010-01-21 13:19 ` jakub at gcc dot gnu dot org
  2010-04-30  9:01 ` [Bug middle-end/38059] [4.4/4.5/4.6 " jakub at gcc dot gnu dot org
  6 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-01-21 13:19 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.3                       |4.4.4


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


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

* [Bug middle-end/38059] [4.4/4.5/4.6 Regression] Compile time regression for gcc.dg/20020425-1.c
  2008-11-08  1:15 [Bug middle-end/38059] New: Compile time regression for gcc.dg/20020425-1.c danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2010-01-21 13:19 ` jakub at gcc dot gnu dot org
@ 2010-04-30  9:01 ` jakub at gcc dot gnu dot org
  6 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-04-30  9:01 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.4                       |4.4.5


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


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

* [Bug middle-end/38059] [4.4/4.5/4.6 Regression] Compile time regression for gcc.dg/20020425-1.c
       [not found] <bug-38059-4@http.gcc.gnu.org/bugzilla/>
  2010-10-01 12:00 ` jakub at gcc dot gnu.org
  2011-03-05  0:20 ` steven at gcc dot gnu.org
@ 2011-03-05 14:14 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-03-05 14:14 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.03.05 14:13:46
     Ever Confirmed|0                           |1

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-05 14:13:46 UTC ---
Hm, if we have that deep recursion then aren't we prone to the original
problem the test tests for, a stack overflow in the C parser?

And it does ...

$ /obj/trunk-g/gcc/xgcc -B/obj/trunk-g/gcc/
/home/richard/src/trunk/gcc/testsuite/gcc.dg/20020425-1.c    -ansi
-pedantic-errors -S  -o 20020425-1.s   
xgcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

if one doesn't raise stack limits like dejagnu does.

I think this is definitely worth fixing (removing the recursion in
gimplify_cond_expr).  A regression to pre-tree-SSA.


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

* [Bug middle-end/38059] [4.4/4.5/4.6 Regression] Compile time regression for gcc.dg/20020425-1.c
       [not found] <bug-38059-4@http.gcc.gnu.org/bugzilla/>
  2010-10-01 12:00 ` jakub at gcc dot gnu.org
@ 2011-03-05  0:20 ` steven at gcc dot gnu.org
  2011-03-05 14:14 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 11+ messages in thread
From: steven at gcc dot gnu.org @ 2011-03-05  0:20 UTC (permalink / raw)
  To: gcc-bugs

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

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steven at gcc dot gnu.org

--- Comment #2 from Steven Bosscher <steven at gcc dot gnu.org> 2011-03-05 00:20:18 UTC ---
Would anyone object to WONTFIX for this one?


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

* [Bug middle-end/38059] [4.4/4.5/4.6 Regression] Compile time regression for gcc.dg/20020425-1.c
       [not found] <bug-38059-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-01 12:00 ` jakub at gcc dot gnu.org
  2011-03-05  0:20 ` steven at gcc dot gnu.org
  2011-03-05 14:14 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-10-01 12:00 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.5                       |4.4.6


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

end of thread, other threads:[~2011-03-05 14:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-08  1:15 [Bug middle-end/38059] New: Compile time regression for gcc.dg/20020425-1.c danglin at gcc dot gnu dot org
2009-03-31 16:10 ` [Bug middle-end/38059] [4.4/4.5 Regression] " jsm28 at gcc dot gnu dot org
2009-04-01  8:35 ` jakub at gcc dot gnu dot org
2009-04-21 15:59 ` jakub at gcc dot gnu dot org
2009-07-22 10:35 ` jakub at gcc dot gnu dot org
2009-10-15 12:56 ` jakub at gcc dot gnu dot org
2010-01-21 13:19 ` jakub at gcc dot gnu dot org
2010-04-30  9:01 ` [Bug middle-end/38059] [4.4/4.5/4.6 " jakub at gcc dot gnu dot org
     [not found] <bug-38059-4@http.gcc.gnu.org/bugzilla/>
2010-10-01 12:00 ` jakub at gcc dot gnu.org
2011-03-05  0:20 ` steven at gcc dot gnu.org
2011-03-05 14:14 ` rguenth 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).