This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/52075] OpenMP atomic update failing if -fbounds-check specified


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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |openmp, wrong-code
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-02-01 07:46:49 UTC ---
The only difference (besides the added checks) is that without -fcheck=bounds
one has:
  x[(integer(kind=8)) i + -1]

while with bounds checking it is changed to
  x[NON_LVALUE_EXPR <SAVE_EXPR <(integer(kind=8)) i>> + -1]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]