Re: pgcrypto/des tests fail on riscv64 due to clang's code generation anomaly - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgcrypto/des tests fail on riscv64 due to clang's code generation anomaly
Date
Msg-id 2284079.1773625237@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgcrypto/des tests fail on riscv64 due to clang's code generation anomaly  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pgcrypto/des tests fail on riscv64 due to clang's code generation anomaly
List pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> On Sun, Mar 15, 2026 at 02:00:00PM +0200, Alexander Lakhin wrote:
>> adding -march=rv64gcv to CFLAGS makes clang generate different (wrong?)
>> code for crypt-des.c. Namely, having reproduced the diff locally, with
>> this debugging addition:
>> when the code compiled with CC=clang-20 CPPFLAGS="-march=rv64gcv".

> Thanks for the detailed investigation.  I was puzzled by it myself for
> a couple of hours, and did not see something else than a broken
> compiler here..

Seems like this might be worth a bug report to the clang people.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: client_connection_check_interval default value
Next
From: Chao Li
Date:
Subject: Re: Add missing stats_reset column to pg_stat_database_conflicts view