aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.cc
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2024-03-11 22:38:33 +0100
committerThomas Schwinge <tschwinge@baylibre.com>2024-03-11 22:38:33 +0100
commit4235574518bd016f208b97f6f497978c31771e12 (patch)
tree06362f23752d180e7ce4e6407787beba9634505c /gcc/function.cc
parent2cd7fb664ce9617c90b65b399423d330e1a78068 (diff)
parent0d9b4e8647ff01c3d3a782ab26684ca5a7c2f527 (diff)
downloadgcc-4235574518bd016f208b97f6f497978c31771e12.zip
gcc-4235574518bd016f208b97f6f497978c31771e12.tar.gz
gcc-4235574518bd016f208b97f6f497978c31771e12.tar.bz2
Merge commit '46595ce72e5855189e3c60a140c3ca5aaddfb58c^' into HEAD
Diffstat (limited to 'gcc/function.cc')
-rw-r--r--gcc/function.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/function.cc b/gcc/function.cc
index dd2c113..e92384a 100644
--- a/gcc/function.cc
+++ b/gcc/function.cc
@@ -2429,15 +2429,7 @@ assign_parm_find_data_types (struct assign_parm_data_all *all, tree parm,
{
int unsignedp;
-#ifndef BROKEN_VALUE_INITIALIZATION
*data = assign_parm_data_one ();
-#else
- /* Old versions of GCC used to miscompile the above by only initializing
- the members with explicit constructors and copying garbage
- to the other members. */
- assign_parm_data_one zero_data = {};
- *data = zero_data;
-#endif
/* NAMED_ARG is a misnomer. We really mean 'non-variadic'. */
if (!cfun->stdarg)