pgsql: Suppress warning about stack_base_ptr with late-model GCC.

2022-02-17 Thread Tom Lane
Suppress warning about stack_base_ptr with late-model GCC. GCC 12 complains that set_stack_base is storing the address of a local variable in a long-lived pointer. This is an entirely reasonable warning (indeed, it just helped us find a bug); but that behavior is intentional here. We can work ar

pgsql: Suppress warning about stack_base_ptr with late-model GCC.

2022-02-17 Thread Tom Lane
Suppress warning about stack_base_ptr with late-model GCC. GCC 12 complains that set_stack_base is storing the address of a local variable in a long-lived pointer. This is an entirely reasonable warning (indeed, it just helped us find a bug); but that behavior is intentional here. We can work ar

pgsql: Suppress warning about stack_base_ptr with late-model GCC.

2022-02-17 Thread Tom Lane
Suppress warning about stack_base_ptr with late-model GCC. GCC 12 complains that set_stack_base is storing the address of a local variable in a long-lived pointer. This is an entirely reasonable warning (indeed, it just helped us find a bug); but that behavior is intentional here. We can work ar

pgsql: Suppress warning about stack_base_ptr with late-model GCC.

2022-02-17 Thread Tom Lane
Suppress warning about stack_base_ptr with late-model GCC. GCC 12 complains that set_stack_base is storing the address of a local variable in a long-lived pointer. This is an entirely reasonable warning (indeed, it just helped us find a bug); but that behavior is intentional here. We can work ar