gcc/include
Tom Tromey bc0e18a960 Fix PR libcc1/113977
PR libcc1/113977 points out a case where a simple expression is
rejected with a compiler error message.  The bug here is that gdb does
not inform the plugin of the correct alignment -- in fact, there is no
way to do that.

This patch adds a new method to allow the alignment to be set, and
bumps the C front end protocol version.

It also includes some updates to various comments in 'include', done
here to simplify the merge to binutils-gdb.

include

	* gcc-cp-interface.h (gcc_cp_fe_context_function): Update
	comment.
	* gcc-c-interface.h (enum gcc_c_api_version) <GCC_C_FE_VERSION_2>:
	New constant.
	(gcc_c_fe_context_function): Update comment.
	* gcc-c-fe.def (finish_record_with_alignment): New method.
	Update documentation.

libcc1

	PR libcc1/113977
	* libcc1plugin.cc (plugin_finish_record_or_union): New function.
	(plugin_finish_record_or_union): Rewrite.
	(plugin_init): Use GCC_C_FE_VERSION_2.
	* libcc1.cc (c_vtable): Use GCC_C_FE_VERSION_2.
	(gcc_c_fe_context): Check for GCC_C_FE_VERSION_2.
2024-02-29 08:50:06 -07:00
..
cuda Update copyright years. 2024-01-03 12:19:35 +01:00
gdb Update copyright years. 2024-01-03 12:19:35 +01:00
ansidecl.h Update copyright years. 2024-01-03 12:19:35 +01:00
btf.h Update copyright years. 2024-01-03 12:19:35 +01:00
ChangeLog Daily bump. 2024-01-14 00:17:47 +00:00
ChangeLog-9103
ChangeLog.jit
collectorAPI.h Update copyright years. 2024-01-03 12:19:35 +01:00
COPYING
COPYING3
ctf.h Update copyright years. 2024-01-03 12:19:35 +01:00
demangle.h c++, demangle: Implement https://github.com/itanium-cxx-abi/cxx-abi/issues/148 non-proposal 2024-01-13 10:23:53 +01:00
dwarf2.def Update copyright years. 2024-01-03 12:19:35 +01:00
dwarf2.h Update copyright years. 2024-01-03 12:19:35 +01:00
dyn-string.h Update copyright years. 2024-01-03 12:19:35 +01:00
environ.h Update copyright years. 2024-01-03 12:19:35 +01:00
fibheap.h Update copyright years. 2024-01-03 12:19:35 +01:00
filenames.h Update copyright years. 2024-01-03 12:19:35 +01:00
floatformat.h Update copyright years. 2024-01-03 12:19:35 +01:00
fnmatch.h Update copyright years. 2024-01-03 12:19:35 +01:00
gcc-c-fe.def Fix PR libcc1/113977 2024-02-29 08:50:06 -07:00
gcc-c-interface.h Fix PR libcc1/113977 2024-02-29 08:50:06 -07:00
gcc-cp-fe.def Update copyright years. 2024-01-03 12:19:35 +01:00
gcc-cp-interface.h Fix PR libcc1/113977 2024-02-29 08:50:06 -07:00
gcc-interface.h Update copyright years. 2024-01-03 12:19:35 +01:00
getopt.h Update copyright years. 2024-01-03 12:19:35 +01:00
gomp-constants.h Update copyright years. 2024-01-03 12:19:35 +01:00
hashtab.h Update copyright years. 2024-01-03 12:19:35 +01:00
hsa.h
hsa_ext_amd.h
hsa_ext_image.h
leb128.h Update copyright years. 2024-01-03 12:19:35 +01:00
libcollector.h Update copyright years. 2024-01-03 12:19:35 +01:00
libfcollector.h Update copyright years. 2024-01-03 12:19:35 +01:00
libiberty.h Update copyright years. 2024-01-03 12:19:35 +01:00
longlong.h [committed] Adding missing prototype for __clzhi2 to xstormy port 2024-01-09 10:21:28 -07:00
lto-symtab.h Update copyright years. 2024-01-03 12:19:35 +01:00
md5.h Update copyright years. 2024-01-03 12:19:35 +01:00
objalloc.h Update copyright years. 2024-01-03 12:19:35 +01:00
obstack.h Update copyright years. 2024-01-03 12:19:35 +01:00
partition.h Update copyright years. 2024-01-03 12:19:35 +01:00
plugin-api.h Update copyright years. 2024-01-03 12:19:35 +01:00
safe-ctype.h Update copyright years. 2024-01-03 12:19:35 +01:00
sha1.h Update copyright years. 2024-01-03 12:19:35 +01:00
simple-object.h Update copyright years. 2024-01-03 12:19:35 +01:00
sort.h Update copyright years. 2024-01-03 12:19:35 +01:00
spincount.h Update copyright years. 2024-01-03 12:19:35 +01:00
splay-tree.h Update copyright years. 2024-01-03 12:19:35 +01:00
symcat.h Update copyright years. 2024-01-03 12:19:35 +01:00
timeval-utils.h Update copyright years. 2024-01-03 12:19:35 +01:00
vtv-change-permission.h Update copyright years. 2024-01-03 12:19:35 +01:00
xregex.h
xregex2.h Update copyright years. 2024-01-03 12:19:35 +01:00
xtensa-config.h Update copyright years. 2024-01-03 12:19:35 +01:00
xtensa-dynconfig.h Update copyright years. 2024-01-03 12:19:35 +01:00