Hi Seguer! Thanks for reviewing :)
> @@ -538,6 +539,9 @@ proc check_effective_target_stack_size { } {
> if [target_info exists gcc,stack_size] {
> return 1
> }
> +if [istarget bpf-*-*] {
> + return 1
> +}
You should still set the prop
> --- a/gcc/testsuite/lib/target-supports.exp
> +++ b/gcc/testsuite/lib/target-supports.exp
>
> @@ -546,7 +550,11 @@ proc check_effective_target_stack_size { } {
> proc dg-effective-target-value { effective_target } {
> if { "$effective_target" == "stack_size" } {
Hi Jose,
On Sat, Aug 17, 2019 at 02:50:53AM +0200, Jose E. Marchesi wrote:
> --- a/gcc/testsuite/lib/target-supports.exp
> +++ b/gcc/testsuite/lib/target-supports.exp
> @@ -526,7 +526,8 @@ proc check_effective_target_trampolines { } {
>|| [istarget nvptx-*-*]
>|| [istarget hppa2.0w
On 8/16/19 6:50 PM, Jose E. Marchesi wrote:
> This patch makes the several effective target checks in
> target-supports.exp to be aware of eBPF targets.
>
> gcc/testsuite/ChangeLog:
>
> * lib/target-supports.exp (check_effective_target_malloc): New
> function.
> (check_effective
This patch makes the several effective target checks in
target-supports.exp to be aware of eBPF targets.
gcc/testsuite/ChangeLog:
* lib/target-supports.exp (check_effective_target_malloc): New
function.
(check_effective_target_trampolines): Adapt to eBPF.
(check_ef