This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52075] OpenMP atomic update failing if -fbounds-check specified
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 01 Feb 2012 07:46:49 +0000
- Subject: [Bug fortran/52075] OpenMP atomic update failing if -fbounds-check specified
- Auto-submitted: auto-generated
- References: <bug-52075-4@http.gcc.gnu.org/bugzilla/>
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]