https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122596
Bug ID: 122596
Summary: gfortran.dg/alloc_comp_deep_copy_5.f90 etc. FAIL
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
CC: jvdelisle at gcc dot gnu.org
Target Milestone: ---
Target: *-*-solaris2.11
The new gfortran.dg/alloc_comp_deep_copy_5.f90 and
gfortran.dg/alloc_comp_deep_copy_5.f90
tests FAIL on Solaris:
+FAIL: gfortran.dg/alloc_comp_deep_copy_5.f90 -O0 (test for excess errors)
+UNRESOLVED: gfortran.dg/alloc_comp_deep_copy_5.f90 -O0 compilation failed
to produce executable
and many more:
Excess errors:
Assembler:
"", line 1 : Illegal flag (-)
which is due to passing --noexecstack to the assembler. This is wrong in
general unless GNU as is used. Likewise, -Wl,-z,noexecstack has the same
issue.
This is *not* a target issue (thus the current { target { ! *-*-darwin* } }
is wrong, too). Instead, the gas and gld effective-target keywords should
be used to control whether the flags are used.