gcc-11-20230921 is now available

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

Re: Handling of nonnull function attribute

2023-09-21 Thread Guillaume Gomez via Gcc
Hi, We were able to make it work by calling: ``` decl_attributes (&fndecl, fn_attributes, 0); ``` We used to set the attributes directly in `fndecl` using equivalents of: ``` DECL_ATTRIBUTES (fndecl) = tree_cons (ident, attribute_value, DECL_ATTRIBUTES (fndecl)); ``` We now store inside `f

Handling of nonnull function attribute

2023-09-21 Thread Antoni Boucher via Gcc
Hi. I'm working on adding the support for the nonnull attribute in libgccjit. I found out a way to make it working, but I need more help to find a proper solution. The problem is that the nonnull attribute should be added to the fn_type while we added it to the fn_decl. If we add it to the fn_type

[RISC-V] [SIG-toolchain] Meeting will be canceled (Sep 24, 2023)

2023-09-21 Thread 陈嘉炜
Hi all, Today's meeting will be canceled, since people plan going to the GNU Cauldron. The next RISC-V GNU Toolchain meeting is collecting topics: https://docs.google.com/document/d/1JSs-BSlPJ3QYbAb-Add1TlbYx0nOT1ur3jcsITIJ01U/edit?usp=sharing Please add what want to discuss in the next

ROP Exploitation in Programs Compiled with -fzero-call-used-regs Parameter

2023-09-21 Thread Nan ZoE via Gcc
Hello, I am using the -fzero-call-used-regs=all parameter in gcc 13.2.0 to compile the isc-dhcp project in order to observe its level of protection against ROP attacks. After completing the compilation, we noticed that almost every "pop" instruction following