https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118618

Jeffrey A. Law <law at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|120763                      |
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2025-08-21

--- Comment #1 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Fujin,

Can you please give us more detail here?  We need a compilable testcase.  Yes,
I  know this looks like coremark, but best to be 100% sure and the best way to
get that is to add "-save-temps" to your command line.  That's going to create
one or more .i files which include the preprocessed output.  Find the .i file
that includes the core_bench_matrix function in it and attach it to this BZ.

Second, what is the exact command line used to compile the code to see the
problem.  Just providing your march flag is insuffucient.  This kind of stuff
can be highly dependent on the optimization level settings for example.

Finally, what precisely do you think is wrong.  Ideally indicating one or more
lines in the assembly code which are incorrect and why.  Alternately you could
try to turn this into an execution test which we can throw under a debugger,
but that could be painful -- no, we don't want to debug all of coremark to
chase this down.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120763
[Bug 120763] [meta-bug] Tracker for bugs to visit during weekly RISC-V meeting

Reply via email to