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
2024-01-03 12:19:35 +01:00
2024-01-12 00:17:54 +00:00
2024-02-29 02:36:12 +00:00
2023-11-23 00:18:14 +00:00
2024-02-29 13:42:30 +00:00
2023-11-04 00:16:45 +00:00
2024-02-29 08:50:06 -07:00
2024-01-03 12:19:35 +01:00
2024-02-15 00:17:50 +00:00
2024-01-05 08:54:28 +01:00
2024-02-29 08:50:06 -07:00
2024-02-23 00:16:46 +00:00
2024-01-03 12:19:35 +01:00
2024-02-23 00:16:46 +00:00
2024-02-26 00:16:54 +00:00
2024-02-26 00:16:54 +00:00
2024-02-28 00:16:42 +00:00
2024-02-21 13:51:26 +01:00
2024-02-20 00:17:58 +00:00
2024-02-06 00:18:46 +00:00
2024-01-03 12:19:35 +01:00
2024-02-26 00:16:54 +00:00
2024-01-04 00:18:45 +00:00
2024-02-17 00:17:08 +00:00
2024-02-07 00:18:31 +00:00
2024-02-29 00:16:43 +00:00
2024-01-03 12:19:35 +01:00
2024-01-03 12:19:35 +01:00
2023-11-14 12:23:39 +00:00
2023-11-14 00:47:11 +01:00
2024-02-29 00:16:43 +00:00
2024-01-09 08:02:31 -07:00

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.
Description
No description provided
Readme 2.7 GiB
Languages
C++ 30.7%
C 30.1%
Ada 14.4%
D 6.1%
Go 5.7%
Other 12.5%