diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 04:53:15 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 04:53:15 +0000 |
commit | 5a45f448d75a1c1cc132edef01535678252c8851 (patch) | |
tree | c31d05681f41f9c7c074038d1ce61e1ad01930a6 | |
parent | 6140fdc649c236722cfa1cb6e2d3bd40013bf0cf (diff) | |
parent | 9a2c12f67dfc425b788c970dc70f439fbe1ab9c6 (diff) | |
download | obstack-android14-mainline-media-swcodec-release.tar.gz |
Snap for 10453563 from 9a2c12f67dfc425b788c970dc70f439fbe1ab9c6 to mainline-media-swcodec-releaseaml_swc_341619000aml_swc_341513600aml_swc_341312300aml_swc_341312020aml_swc_341111000aml_swc_341011020aml_swc_340922010android14-mainline-media-swcodec-release
Change-Id: Ief451d0e72e0acd64fa12ef7733118da95dc2fb4
-rw-r--r-- | METADATA | 8 | ||||
-rw-r--r-- | include/obstack.h | 8 | ||||
-rw-r--r-- | libiberty/obstack.c | 2 |
3 files changed, 9 insertions, 9 deletions
@@ -7,13 +7,13 @@ third_party { } url { type: ARCHIVE - value: "https://github.com/gcc-mirror/gcc/archive/releases/gcc-11.2.0.tar.gz" + value: "https://github.com/gcc-mirror/gcc/archive/releases/gcc-12.2.0.tar.gz" } - version: "releases/gcc-11.2.0" + version: "releases/gcc-12.2.0" license_type: RESTRICTED last_upgrade_date { - year: 2021 + year: 2022 month: 10 - day: 1 + day: 7 } } diff --git a/include/obstack.h b/include/obstack.h index a6eb6c9..ee71cda 100644 --- a/include/obstack.h +++ b/include/obstack.h @@ -1,5 +1,5 @@ /* obstack.h - object stack macros - Copyright (C) 1988-2021 Free Software Foundation, Inc. + Copyright (C) 1988-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -137,9 +137,9 @@ relative to B. Otherwise, use the faster strategy of computing the alignment relative to 0. */ -#define __PTR_ALIGN(B, P, A) \ - __BPTR_ALIGN (sizeof (ptrdiff_t) < sizeof (void *) ? (B) : (char *) 0, \ - P, A) +#define __PTR_ALIGN(B, P, A) \ + (sizeof (ptrdiff_t) < sizeof (void *) ? __BPTR_ALIGN (B, P, A) \ + : (char *) (((ptrdiff_t) (P) + (A)) & ~(A))) #ifndef __attribute_pure__ # if defined __GNUC_MINOR__ && __GNUC__ * 1000 + __GNUC_MINOR__ >= 2096 diff --git a/libiberty/obstack.c b/libiberty/obstack.c index aa1173d..1415a87 100644 --- a/libiberty/obstack.c +++ b/libiberty/obstack.c @@ -1,5 +1,5 @@ /* obstack.c - subroutines used implicitly by object stack macros - Copyright (C) 1988-2021 Free Software Foundation, Inc. + Copyright (C) 1988-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or |