Thread: pgsql: Put in some more safeguards against executing a division-by-zero

Put in some more safeguards against executing a division-by-zero.

Add dummy returns before every potential division-by-zero in int8.c,
because apparently further "improvements" in gcc's optimizer have
enabled it to break functions that weren't broken before.

Aurelien Jarno, via Martin Pitt

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/72330995a52fb7a3fbdc666aebc0402cdcbc9af8

Modified Files
--------------
src/backend/utils/adt/int8.c |   17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)