public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/30969]  New: The polyhedron test 'fatigue.f90' is no longer working.
@ 2007-02-26 13:29 dominiq at lps dot ens dot fr
  2007-02-26 13:30 ` [Bug regression/30969] " dominiq at lps dot ens dot fr
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: dominiq at lps dot ens dot fr @ 2007-02-26 13:29 UTC (permalink / raw)
  To: gcc-bugs

With powerpc-apple-darwin7.9.0, version 4.3.0 20070223,
the polyhedron test 'fatigue.f90' (see
http://www.polyhedron.co.uk/pb05/polyhedron_benchmark_suite.html)
gives

...
Simulation terminated.
This sample will never fracture.
The imposed stress is below the fatigue limit.
See the output file for more information.

with optimisation -O1 and above.

It worked with 4.3.0 20070217. If I add the line

               if(coefficient == 1000.0) print *, n, coefficient  

after line 1428, the code works again.

I am attaching two reduced tests. The first one works without optimization,
gives

Simulation terminated.
     Spin cycle =           100000
     Time (sec)       =     2.77778E+01
The maximum number of simulation spin cycles was exceeded.

with -O1, and

This sample will never fracture.
The imposed stress is below the fatigue limit.

with -O2.

The second test is similar to the previous one but works with
-O3 -ffast-math -funroll-loops
I have commented several variants which break the code.
Of special interest is !4 where

              if (accumulated_plastic_strain < plastic_strain_threshold) then   
              else

is working, but not

              if (accumulated_plastic_strain >= plastic_strain_threshold) then  



Note that there is also some problems with the test 'induct.f90' see

http://gcc.gnu.org/ml/fortran/2007-02/msg00554.html


-- 
           Summary: The polyhedron test 'fatigue.f90' is no longer working.
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr
GCC target triplet: powerpc-apple-darwin7


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


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

end of thread, other threads:[~2007-08-07 21:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-26 13:29 [Bug regression/30969] New: The polyhedron test 'fatigue.f90' is no longer working dominiq at lps dot ens dot fr
2007-02-26 13:30 ` [Bug regression/30969] " dominiq at lps dot ens dot fr
2007-02-26 13:31 ` dominiq at lps dot ens dot fr
2007-02-26 17:35 ` [Bug target/30969] " rguenth at gcc dot gnu dot org
2007-02-26 17:51 ` dominiq at lps dot ens dot fr
2007-02-26 17:54 ` [Bug middle-end/30969] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-02-27 15:36 ` dominiq at lps dot ens dot fr
2007-02-27 15:41 ` pinskia at gcc dot gnu dot org
2007-03-17  0:28 ` dominiq at lps dot ens dot fr
2007-06-29 17:59 ` mmitchel at gcc dot gnu dot org
2007-08-07 21:01 ` steven 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).