Bug 54507

Summary: libgo testsuite does not timeout compilation
Product: gcc Reporter: Uroš Bizjak <ubizjak>
Component: goAssignee: Ian Lance Taylor <ian>
Status: UNCONFIRMED ---    
Severity: normal CC: aoliva, ro
Priority: P3    
Version: 4.8.0   
Target Milestone: ---   
Host: Target:
Build: Known to work:
Known to fail: Last reconfirmed:
Bug Depends on: 54402    
Bug Blocks:    

Description Uroš Bizjak 2012-09-06 18:09:31 UTC
Recently text/template libgo test starts to compile for a very long time on alpha, probably due to some variable tracking explosion issue.

The problem is, that the compilation does not timeout after some time and can run for a very long time, or even indefinitely. Please introduce some kind of compilation timeout to libgo testsuite.

FYI: The compilation can finish in reasonable time with
-fno-var-tracking-assignments option.
Comment 1 Uroš Bizjak 2012-09-06 21:15:09 UTC
(In reply to comment #0)

> FYI: The compilation can finish in reasonable time with
> -fno-var-tracking-assignments option.

The difference in compile time with this particular test was 38 minutes vs. a couple of minutes with -fno-var-tracking-assignment option.
Comment 2 Uroš Bizjak 2012-10-05 18:19:40 UTC
The var-tracking problem is PR54402.
Comment 3 Alexandre Oliva 2013-01-18 11:08:43 UTC
FYI, var-tracking just got a patch that could make this better.
Comment 4 ro@CeBiTec.Uni-Bielefeld.DE 2013-01-21 10:09:18 UTC
> --- Comment #3 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2013-01-18 11:08:43 UTC ---
> FYI, var-tracking just got a patch that could make this better.

As reported in PR debug/54402, it does, but the main point of this PR is
that libgo testsuite don't time out compilations at all, irrespective of
the individual causes of slowness.

	Rainer