| Bug#: 5837 | Product: gcc | Version: 3.0.4 | |
| Host: | Target: | Build: | |
| Status: RESOLVED | Severity: normal | Priority: P3 | |
| Resolution: FIXED | Assigned To: toon@moene.org | Reported By: valera.veryazov@teokem.lu.se | |
| Component: fortran | Target Milestone: --- | ||
| Summary: bug in loop unrolling | |||
| Keywords: | |||
| Opened: 2002-03-05 05:46 | |||
| Description: | Last confirmed: | Opened: 2002-03-05 05:46 |
The code (see attachment) produces a Segnematation fault, if flags " -O -funroll-loops" are used. Change of parameter to 12, 16 gives a correct result. Also, a change of declaration Character *64 to, say, Character*45 produces a funny number instead 0. Removing -unroll-loops flag or using unrolling by hands also 'fix' the problem. Release: 3.0.4 Environment: Linux Mandrake 8.1. GCC/G77 compiled from the source code. How-To-Repeat: just compile the code with -O -funroll-loops flags.
Responsible-Changed-From-To: unassigned->toon Responsible-Changed-Why: My job
State-Changed-From-To: open->closed State-Changed-Why: Apparently fixed for 3.1