http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #13 from Joost VandeVondele
2012-12-10 15:55:50 UTC ---
(In reply to comment #12)
> That's great that gcc tsan works for Fortran/OpenMP out of the box!
I'm afraid it yields false positives. Something like this is supposed to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #12 from Dmitry Vyukov 2012-12-10
15:07:11 UTC ---
(In reply to comment #11)
> (In reply to comment #10)
> > Is is a correct report? Or false positive?
>
> This is a correct report for the testcase in comment #0 (as J is sha
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #11 from Joost VandeVondele
2012-12-10 12:59:09 UTC ---
(In reply to comment #10)
> Is is a correct report? Or false positive?
This is a correct report for the testcase in comment #0 (as J is shared between
threads).
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #10 from Dmitry Vyukov 2012-12-10
12:57:01 UTC ---
(In reply to comment #9)
> (In reply to comment #8)
> > gfortran -g -fsanitize=thread -fPIC -pie PR55561.f90
>
> Thanks! yields the proper warning as expected..
>
> >
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #9 from Joost VandeVondele
2012-12-10 12:53:22 UTC ---
(In reply to comment #8)
> gfortran -g -fsanitize=thread -fPIC -pie PR55561.f90
Thanks! yields the proper warning as expected..
> gfortran -g -fopenmp -fsanitize=t
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #8 from Andrew Pinski 2012-12-10
12:46:56 UTC ---
(In reply to comment #7)
> Now, compilation seems to go fine, but I'm not figuring out how to do it
> properly so it works at run time. I have:
>
> > gfortran -g -fsanitize=
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #7 from Joost VandeVondele
2012-12-10 12:43:42 UTC ---
Now, compilation seems to go fine, but I'm not figuring out how to do it
properly so it works at run time. I have:
> gfortran -g -fsanitize=thread -fPIE PR55561.f90
>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #6 from Joost VandeVondele
2012-12-03 07:41:29 UTC ---
(In reply to comment #5)
> Are you testing with all the pending unreviewed TSAN fixes?
Ah.. no, I will retest once they are in trunk. Thanks!
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #5 from Jakub Jelinek 2012-12-02
21:11:07 UTC ---
Are you testing with all the pending unreviewed TSAN fixes?
http://gcc.gnu.org/ml/gcc-patches/2012-11/msg01875.html
http://gcc.gnu.org/ml/gcc-patches/2012-11/msg02578.html
http
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #4 from Kostya Serebryany 2012-12-02
10:28:10 UTC ---
Note that tsan currently requires to use -pie linker flag (and either -fPIC or
-fPIE compiler flag).
Obviously, your failure happens before the run-time library has a chanc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #3 from Dmitry Vyukov 2012-12-02
09:35:41 UTC ---
Well, then maybe it will work. But we did not do anything special for Fortran
and OpenMP, and did not do any testing.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
Joost VandeVondele changed:
What|Removed |Added
CC||Joost.VandeVondele at mat
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
Dmitry Vyukov changed:
What|Removed |Added
CC||dvyukov at google dot com
--- C
13 matches
Mail list logo