[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

2016-02-05 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607 --- Comment #13 from vries at gcc dot gnu.org --- (In reply to vries from comment #11) > Created attachment 37594 [details] > Updated tentative patch > > This patch builds, and runs target-libgomp with -flto -flto-partition=1to1 > -fno-toplevel-r

[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

2016-02-05 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607 --- Comment #12 from vries at gcc dot gnu.org --- (In reply to vries from comment #11) > Created attachment 37594 [details] > Updated tentative patch > > This patch builds, and runs target-libgomp with -flto -flto-partition=1to1 > -fno-toplevel-r

[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

2016-02-05 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607 vries at gcc dot gnu.org changed: What|Removed |Added Attachment #37585|0 |1 is obsolete|

[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

2016-02-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607 --- Comment #10 from vries at gcc dot gnu.org --- Created attachment 37585 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37585&action=edit tentative patch (In reply to iverbin from comment #9) > (In reply to vries from comment #8) > > (In

[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

2016-02-04 Thread iverbin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607 iverbin at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

2016-02-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607 --- Comment #8 from vries at gcc dot gnu.org --- (In reply to iverbin from comment #7) > I believe we should drop support of offloading without linker plugin. Same failures occur with -fuse-linker-plugin though.

[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

2016-02-04 Thread iverbin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607 --- Comment #7 from iverbin at gcc dot gnu.org --- I believe we should drop support of offloading without linker plugin.

[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

2016-02-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607 vries at gcc dot gnu.org changed: What|Removed |Added Keywords||openmp CC|

[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

2016-02-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607 --- Comment #5 from vries at gcc dot gnu.org --- The -O0 test passes with -ftoplevel-reorder. With -fno-toplevel-reorder, the failure shows up for the other levels: ... FAIL: libgomp.oacc-fortran/atomic_capture-1.f90 -DACC_DEVICE_TYPE_nvidia=1 -D

[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

2016-02-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607 --- Comment #4 from vries at gcc dot gnu.org --- (In reply to vries from comment #3) > Tested -flto-partition=. > > fails: > - balanced > - 1to1 > > passes: > - max > - none > - one Same with -fno-use-linker-plugin.

[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

2016-02-03 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607 --- Comment #3 from vries at gcc dot gnu.org --- Tested -flto-partition=. fails: - balanced - 1to1 passes: - max - none - one

[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

2016-02-03 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607 --- Comment #2 from vries at gcc dot gnu.org --- With: - the tentative fix for PR69599 - the tentative fix for PR59627 - the undo of r232384 patch that caused PR69655 this still reproduces. Apparently this is an independent issue.

[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

2016-02-01 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607 vries at gcc dot gnu.org changed: What|Removed |Added Keywords||openacc CC|