diff mbox series

[12/52] bpf: Remove macros {FLOAT, DOUBLE, LONG_DOUBLE}_TYPE_SIZE

Message ID 4e69591bc749181ff41b90df47c00f18ef21dc01.1717134752.git.linkw@linux.ibm.com
State New
Headers show
Series Replace {FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE with new hook | expand

Commit Message

Kewen.Lin June 3, 2024, 3:01 a.m. UTC
This is to remove macros {FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE
defines in bpf port.

gcc/ChangeLog:

	* config/bpf/bpf.h (FLOAT_TYPE_SIZE): Remove.
	(DOUBLE_TYPE_SIZE): Likewise.
	(LONG_DOUBLE_TYPE_SIZE): Likewise.
---
 gcc/config/bpf/bpf.h | 3 ---
 1 file changed, 3 deletions(-)

Comments

Kewen.Lin June 13, 2024, 7:15 a.m. UTC | #1
Hi,

Gentle ping:

https://gcc.gnu.org/pipermail/gcc-patches/2024-June/653343.html

BR,
Kewen

on 2024/6/3 11:01, Kewen Lin wrote:
> This is to remove macros {FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE
> defines in bpf port.
> 
> gcc/ChangeLog:
> 
> 	* config/bpf/bpf.h (FLOAT_TYPE_SIZE): Remove.
> 	(DOUBLE_TYPE_SIZE): Likewise.
> 	(LONG_DOUBLE_TYPE_SIZE): Likewise.
> ---
>  gcc/config/bpf/bpf.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/gcc/config/bpf/bpf.h b/gcc/config/bpf/bpf.h
> index e163fbf688d..2298e5b05af 100644
> --- a/gcc/config/bpf/bpf.h
> +++ b/gcc/config/bpf/bpf.h
> @@ -90,9 +90,6 @@
>  #define LONG_TYPE_SIZE        64
>  #define LONG_LONG_TYPE_SIZE   64
>  #define CHAR_TYPE_SIZE         8
> -#define FLOAT_TYPE_SIZE       32
> -#define DOUBLE_TYPE_SIZE      64
> -#define LONG_DOUBLE_TYPE_SIZE 64
>  
>  #define INTPTR_TYPE	"long int"
>  #define UINTPTR_TYPE	"long unsigned int"
diff mbox series

Patch

diff --git a/gcc/config/bpf/bpf.h b/gcc/config/bpf/bpf.h
index e163fbf688d..2298e5b05af 100644
--- a/gcc/config/bpf/bpf.h
+++ b/gcc/config/bpf/bpf.h
@@ -90,9 +90,6 @@ 
 #define LONG_TYPE_SIZE        64
 #define LONG_LONG_TYPE_SIZE   64
 #define CHAR_TYPE_SIZE         8
-#define FLOAT_TYPE_SIZE       32
-#define DOUBLE_TYPE_SIZE      64
-#define LONG_DOUBLE_TYPE_SIZE 64
 
 #define INTPTR_TYPE	"long int"
 #define UINTPTR_TYPE	"long unsigned int"