diff options
author | Joseph Myers <josmyers@redhat.com> | 2024-10-31 17:01:09 +0000 |
---|---|---|
committer | Joseph Myers <josmyers@redhat.com> | 2024-10-31 17:01:09 +0000 |
commit | 1504073ad89f4dff7243dea608f385d3fa8cc89a (patch) | |
tree | e2740a0c57f51c27c797713656523259f7a58eb5 /libgfortran/generated/iall_i2.c | |
parent | 1905b59fdc58ce67e508b99dff105afebaaa9bb1 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
Among the changes of test results with a -std=gnu23 default were two
tests changing from PASS to UNSUPPORTED:
UNSUPPORTED: gcc.dg/simulate-thread/speculative-store.c -O2 -g thread simulation test
UNSUPPORTED: gcc.dg/simulate-thread/speculative-store.c -O3 -g thread simulation test
It appears that functions defined with () becoming prototyped affects
inlining, and changing the code to use (void) allows UNSUPPORTED
results to be reproduced with -std=gnu17. Add __attribute__
((noinline)) on one more function to avoid the UNSUPPORTED results;
some of the tests in this directory already have such an attribute on
some functions.
Tested for x86_64-pc-linux-gnu.
* gcc.dg/simulate-thread/simulate-thread.h
(simulate_thread_wrapper_final_verify): Mark noinline.
Diffstat (limited to 'libgfortran/generated/iall_i2.c')
0 files changed, 0 insertions, 0 deletions