gcc-10-20220401 is now available

2022-04-01 Thread GCC Administrator via Gcc
Snapshot gcc-10-20220401 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20220401/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 10 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Various errors encountered while compiling gcj.

2022-04-01 Thread Zopolis0 via Gcc
While attempting to compile gcc with gcj re-added, the compilation fails on a varying number of errors. I have solved most of the errors, but these are the remaining ones I am stuck on. The code I am building from is available here: https://github.com/Zopolis4/gcj/tree/gcjmainbuild . My apologies f

Re: [PATCH] arm64/io: Remind compiler that there is a memory side effect

2022-04-01 Thread Mark Rutland via Gcc
Hi Jeremy, Thanks for raising this. On Fri, Apr 01, 2022 at 11:44:06AM -0500, Jeremy Linton wrote: > The relaxed variants of read/write macros are only declared > as `asm volatile()` which forces the compiler to generate the > instruction in the code path as intended. The only problem > is that i

[PATCH] arm64/io: Remind compiler that there is a memory side effect

2022-04-01 Thread Jeremy Linton via Gcc
The relaxed variants of read/write macros are only declared as `asm volatile()` which forces the compiler to generate the instruction in the code path as intended. The only problem is that it doesn't also tell the compiler that there may be memory side effects. Meaning that if a function is compris

Re: MC/DC support for gcov?

2022-04-01 Thread Martin Liška
On 3/31/22 16:55, Sebastian Huber wrote: Hello, gcov supports currently branch coverage. Some projects require modified condition/decision coverage (MC/DC): https://en.wikipedia.org/wiki/Modified_condition/decision_coverage In general, 100% branch coverage does not imply 100% MC/DC coverage: