[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug tree-optimization/58122] loops are not evaluated at compile time if loop count > 17
From: "olegendo at gcc dot gnu.org" <gcc-bugzilla () gcc ! gnu ! org>
Date: 2014-07-31 18:09:04
Message-ID: bug-58122-4-6RFulS4hWQ () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58122
--- Comment #4 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Oleg Endo from comment #0)
>
> I've also briefly checked with trunk rev 201282 and the problem seems to be
> still there. Here is a reduced test case:
>
> int test (void)
> {
> int sum = 0;
> for (int x = 0; x < 100; x++)
> sum += x;
>
> return sum;
> }
>
As of r213381 the reduced test case seems to work OK with at least loop counts
up to 40000.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic