--- chromium-68.0.3440.106/base/metrics/histogram_samples.cc.gcc8 2018-08-08 21:10:31.000000000 +0200 +++ chromium-68.0.3440.106/base/metrics/histogram_samples.cc 2018-08-14 02:31:33.960840778 +0200 @@ -172,7 +172,9 @@ HistogramSamples::LocalMetadata::LocalMetadata() { // This is the same way it's done for persistent metadata since no ctor // is called for the data members in that case. +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(this, 0, sizeof(*this)); +#pragma GCC diagnostic pop } HistogramSamples::HistogramSamples(uint64_t id, Metadata* meta) --- chromium-68.0.3440.106/third_party/angle/src/libANGLE/renderer/vulkan/vk_cache_utils.cpp.gcc8 2018-08-08 21:13:09.000000000 +0200 +++ chromium-68.0.3440.106/third_party/angle/src/libANGLE/renderer/vulkan/vk_cache_utils.cpp 2018-08-14 21:35:47.655983018 +0200 @@ -350,7 +350,9 @@ GraphicsPipelineDesc &GraphicsPipelineDesc::operator=(const GraphicsPipelineDesc &other) { +#pragma GCC diagnostic ignored "-Wclass-memaccess" memcpy(this, &other, sizeof(GraphicsPipelineDesc)); +#pragma GCC diagnostic pop return *this; } --- chromium-68.0.3440.106/third_party/blink/renderer/platform/wtf/vector.h.gcc8 2018-08-08 21:11:52.000000000 +0200 +++ chromium-68.0.3440.106/third_party/blink/renderer/platform/wtf/vector.h 2018-08-14 21:59:58.115654176 +0200 @@ -140,8 +140,10 @@ template <typename T, typename Allocator struct VectorInitializer<true, T, Allocator> { STATIC_ONLY(VectorInitializer); static void Initialize(T* begin, T* end) { +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(begin, 0, reinterpret_cast<char*>(end) - reinterpret_cast<char*>(begin)); +#pragma GCC diagnostic pop } }; @@ -197,9 +199,11 @@ struct VectorMover<true, T, Allocator> { T* dst, bool has_inline_buffer) { if (LIKELY(dst && src)) { +#pragma GCC diagnostic ignored "-Wclass-memaccess" memcpy(dst, src, reinterpret_cast<const char*>(src_end) - reinterpret_cast<const char*>(src)); +#pragma GCC diagnostic pop if (has_inline_buffer) Traits::NotifyNewElements(dst, src_end - src); } @@ -209,9 +213,11 @@ struct VectorMover<true, T, Allocator> { T* dst, bool has_inline_buffer) { if (LIKELY(dst && src)) { +#pragma GCC diagnostic ignored "-Wclass-memaccess" memmove(dst, src, reinterpret_cast<const char*>(src_end) - reinterpret_cast<const char*>(src)); +#pragma GCC diagnostic pop if (has_inline_buffer) Traits::NotifyNewElements(dst, src_end - src); } @@ -248,9 +254,11 @@ struct VectorCopier<true, T, Allocator> STATIC_ONLY(VectorCopier); static void UninitializedCopy(const T* src, const T* src_end, T* dst) { if (LIKELY(dst && src)) { +#pragma GCC diagnostic ignored "-Wclass-memaccess" memcpy(dst, src, reinterpret_cast<const char*>(src_end) - reinterpret_cast<const char*>(src)); +#pragma GCC diagnostic pop ConstructTraits<T, VectorTraits<T>, Allocator>::NotifyNewElements( dst, src_end - src); } --- chromium-68.0.3440.106/third_party/blink/renderer/platform/wtf/hash_table.h.gcc8 2018-08-08 21:11:52.000000000 +0200 +++ chromium-68.0.3440.106/third_party/blink/renderer/platform/wtf/hash_table.h 2018-08-14 22:04:23.904013134 +0200 @@ -1285,7 +1285,9 @@ struct HashTableBucketInitializer<true> // makes it possible to use this with types that don't support copying. // The memset to 0 looks like a slow operation but is optimized by the // compilers. +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(&bucket, 0, sizeof(bucket)); +#pragma GCC diagnostic pop } }; @@ -1755,7 +1757,9 @@ HashTable<Key, Value, Extractor, HashFun if (IsEmptyOrDeletedBucket(table_[i])) { DCHECK_NE(&table_[i], entry); if (Traits::kEmptyValueIsZero) { +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(&temporary_table[i], 0, sizeof(ValueType)); +#pragma GCC diagnostic pop } else { InitializeBucket(temporary_table[i]); } @@ -1770,7 +1774,9 @@ HashTable<Key, Value, Extractor, HashFun Allocator::template BackingWriteBarrierForHashTable<HashTable>(&table_); if (Traits::kEmptyValueIsZero) { +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(original_table, 0, new_table_size * sizeof(ValueType)); +#pragma GCC diagnostic pop } else { for (unsigned i = 0; i < new_table_size; i++) InitializeBucket(original_table[i]); --- chromium-68.0.3440.106/third_party/webrtc/video/video_receive_stream.cc.gcc8 2018-08-08 21:13:17.000000000 +0200 +++ chromium-68.0.3440.106/third_party/webrtc/video/video_receive_stream.cc 2018-08-14 22:24:07.073210699 +0200 @@ -46,7 +46,9 @@ namespace webrtc { VideoCodec CreateDecoderVideoCodec(const VideoReceiveStream::Decoder& decoder) { VideoCodec codec; +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(&codec, 0, sizeof(codec)); +#pragma GCC diagnostic pop codec.plType = decoder.payload_type; codec.codecType = PayloadStringToCodecType(decoder.video_format.name); --- chromium-68.0.3440.106/third_party/webrtc/media/engine/simulcast_encoder_adapter.cc.gcc8 2018-08-08 21:13:15.000000000 +0200 +++ chromium-68.0.3440.106/third_party/webrtc/media/engine/simulcast_encoder_adapter.cc 2018-08-14 22:37:49.845519857 +0200 @@ -118,7 +118,9 @@ // the encoder task queue. encoder_queue_.Detach(); +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(&codec_, 0, sizeof(webrtc::VideoCodec)); +#pragma GCC diagnostic pop } SimulcastEncoderAdapter::~SimulcastEncoderAdapter() { --- chromium-68.0.3440.106/third_party/webrtc/modules/video_coding/decoder_database.cc.gcc8 2018-08-08 21:13:16.000000000 +0200 +++ chromium-68.0.3440.106/third_party/webrtc/modules/video_coding/decoder_database.cc 2018-08-14 22:42:30.590539511 +0200 @@ -99,7 +99,9 @@ dec_map_.erase(it); if (receive_codec_.plType == payload_type) { // This codec is currently in use. +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(&receive_codec_, 0, sizeof(VideoCodec)); +#pragma GCC diagnostic pop } return true; } @@ -115,7 +117,9 @@ // If decoder exists - delete. if (ptr_decoder_) { ptr_decoder_.reset(); +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(&receive_codec_, 0, sizeof(VideoCodec)); +#pragma GCC diagnostic pop } ptr_decoder_ = CreateAndInitDecoder(frame, &receive_codec_); if (!ptr_decoder_) { @@ -126,7 +130,9 @@ if (ptr_decoder_->RegisterDecodeCompleteCallback(decoded_frame_callback) < 0) { ptr_decoder_.reset(); +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(&receive_codec_, 0, sizeof(VideoCodec)); +#pragma GCC diagnostic pop return nullptr; } return ptr_decoder_.get(); --- chromium-68.0.3440.106/third_party/webrtc/modules/video_coding/video_codec_initializer.cc.gcc8 2018-08-08 21:13:16.000000000 +0200 +++ chromium-68.0.3440.106/third_party/webrtc/modules/video_coding/video_codec_initializer.cc 2018-08-14 22:45:20.974525552 +0200 @@ -77,7 +77,9 @@ RTC_DCHECK_GE(config.min_transmit_bitrate_bps, 0); VideoCodec video_codec; +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(&video_codec, 0, sizeof(video_codec)); +#pragma GCC diagnostic pop video_codec.codecType = config.codec_type; switch (config.content_type) { --- chromium-68.0.3440.106/media/parsers/vp8_parser.cc.gcc8 2018-08-08 21:11:03.000000000 +0200 +++ chromium-68.0.3440.106/media/parsers/vp8_parser.cc 2018-08-14 23:13:10.772858869 +0200 @@ -59,7 +59,9 @@ stream_ = ptr; bytes_left_ = frame_size; +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(fhdr, 0, sizeof(*fhdr)); +#pragma GCC diagnostic pop fhdr->data = stream_; fhdr->frame_size = bytes_left_; --- chromium-68.0.3440.106/media/video/h264_parser.cc.gcc8 2018-08-08 21:11:05.000000000 +0200 +++ chromium-68.0.3440.106/media/video/h264_parser.cc 2018-08-14 23:18:45.317942396 +0200 @@ -1368,7 +1368,9 @@ const H264PPS* pps; Result res; +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(shdr, 0, sizeof(*shdr)); +#pragma GCC diagnostic pop shdr->idr_pic_flag = (nalu.nal_unit_type == 5); shdr->nal_ref_idc = nalu.nal_ref_idc; @@ -1516,7 +1518,9 @@ H264Parser::Result H264Parser::ParseSEI(H264SEIMessage* sei_msg) { int byte; +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(sei_msg, 0, sizeof(*sei_msg)); +#pragma GCC diagnostic pop READ_BITS_OR_RETURN(8, &byte); while (byte == 0xff) { --- chromium-68.0.3440.106/v8/src/base/macros.h.gcc8 2018-08-08 21:13:19.000000000 +0200 +++ chromium-68.0.3440.106/v8/src/base/macros.h 2018-08-14 23:38:21.112816242 +0200 @@ -101,7 +101,9 @@ static_assert(sizeof(Dest) == sizeof(Source), "source and dest must be same size"); Dest dest; +#pragma GCC diagnostic ignored "-Wclass-memaccess" memcpy(&dest, &source, sizeof(dest)); +#pragma GCC diagnostic pop return dest; } --- chromium-68.0.3440.106/components/web_cache/browser/web_cache_manager.cc.gcc8 2018-08-08 21:10:52.000000000 +0200 +++ chromium-68.0.3440.106/components/web_cache/browser/web_cache_manager.cc 2018-08-16 12:02:36.324221013 +0200 @@ -80,7 +80,9 @@ active_renderers_.insert(renderer_id); RendererInfo* stats = &(stats_[renderer_id]); +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(stats, 0, sizeof(*stats)); +#pragma GCC diagnostic pop stats->access = Time::Now(); content::RenderProcessHost* host = --- chromium-68.0.3440.106/device/gamepad/public/cpp/gamepad_mojom_traits.cc.gcc8 2018-08-08 21:10:57.000000000 +0200 +++ chromium-68.0.3440.106/device/gamepad/public/cpp/gamepad_mojom_traits.cc 2018-08-16 14:55:08.981030117 +0200 @@ -12,7 +12,9 @@ void StructTraits< device::mojom::GamepadQuaternionDataView, device::GamepadQuaternion>::SetToNull(device::GamepadQuaternion* out) { +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(out, 0, sizeof(device::GamepadQuaternion)); +#pragma GCC diagnostic pop out->not_null = false; } @@ -33,7 +35,9 @@ void StructTraits<device::mojom::GamepadVectorDataView, device::GamepadVector>::SetToNull(device::GamepadVector* out) { +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(out, 0, sizeof(device::GamepadVector)); +#pragma GCC diagnostic pop out->not_null = false; } @@ -101,7 +105,9 @@ void StructTraits<device::mojom::GamepadHapticActuatorDataView, device::GamepadHapticActuator>:: SetToNull(device::GamepadHapticActuator* out) { +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(out, 0, sizeof(device::GamepadHapticActuator)); +#pragma GCC diagnostic pop out->not_null = false; } @@ -119,7 +125,9 @@ // static void StructTraits<device::mojom::GamepadPoseDataView, device::GamepadPose>::SetToNull(device::GamepadPose* out) { +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(out, 0, sizeof(device::GamepadPose)); +#pragma GCC diagnostic pop out->not_null = false; } --- chromium-68.0.3440.106/device/gamepad/gamepad_pad_state_provider.cc.gcc8 2018-08-08 21:10:57.000000000 +0200 +++ chromium-68.0.3440.106/device/gamepad/gamepad_pad_state_provider.cc 2018-08-16 14:57:16.836715112 +0200 @@ -62,7 +62,9 @@ } void GamepadPadStateProvider::ClearPadState(PadState& state) { +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(&state, 0, sizeof(PadState)); +#pragma GCC diagnostic pop } void GamepadPadStateProvider::InitializeDataFetcher( @@ -77,7 +79,9 @@ DCHECK(pad); if (!pad_state->data.connected) { +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(pad, 0, sizeof(Gamepad)); +#pragma GCC diagnostic pop return; } --- chromium-68.0.3440.106/device/gamepad/gamepad_shared_buffer.cc.gcc8 2018-08-08 21:10:57.000000000 +0200 +++ chromium-68.0.3440.106/device/gamepad/gamepad_shared_buffer.cc 2018-08-16 15:12:56.372693313 +0200 @@ -16,7 +16,9 @@ void* mem = shared_memory_mapping_.memory(); DCHECK(mem); hardware_buffer_ = new (mem) GamepadHardwareBuffer(); +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(&(hardware_buffer_->data), 0, sizeof(Gamepads)); +#pragma GCC diagnostic pop } GamepadSharedBuffer::~GamepadSharedBuffer() = default; --- chromium-68.0.3440.106/third_party/blink/renderer/platform/geometry/length.h.gcc8 2018-08-08 21:11:51.000000000 +0200 +++ chromium-68.0.3440.106/third_party/blink/renderer/platform/geometry/length.h 2018-08-16 21:04:12.500371375 +0200 @@ -92,7 +92,9 @@ explicit Length(scoped_refptr<CalculationValue>); Length(const Length& length) { +#pragma GCC diagnostic ignored "-Wclass-memaccess" memcpy(this, &length, sizeof(Length)); +#pragma GCC diagnostic pop if (IsCalculated()) IncrementCalculatedRef(); } @@ -102,7 +104,9 @@ length.IncrementCalculatedRef(); if (IsCalculated()) DecrementCalculatedRef(); +#pragma GCC diagnostic ignored "-Wclass-memaccess" memcpy(this, &length, sizeof(Length)); +#pragma GCC diagnostic pop return *this; } --- chromium-68.0.3440.106/ppapi/proxy/gamepad_resource.cc.gcc8 2018-08-08 21:11:07.000000000 +0200 +++ chromium-68.0.3440.106/ppapi/proxy/gamepad_resource.cc 2018-08-16 21:14:14.496252776 +0200 @@ -60,7 +60,9 @@ device::Gamepads read_into; do { version = buffer_->seqlock.ReadBegin(); +#pragma GCC diagnostic ignored "-Wclass-memaccess" memcpy(&read_into, &buffer_->data, sizeof(read_into)); +#pragma GCC diagnostic pop ++contention_count; if (contention_count == kMaximumContentionCount) break; --- chromium-68.0.3440.106/third_party/blink/renderer/modules/gamepad/gamepad_shared_memory_reader.cc.gcc8 2018-08-08 21:10:55.000000000 +0200 +++ chromium-68.0.3440.106/third_party/blink/renderer/modules/gamepad/gamepad_shared_memory_reader.cc 2018-08-16 22:01:05.038368945 +0200 @@ -87,7 +87,9 @@ base::subtle::Atomic32 version; do { version = gamepad_hardware_buffer_->seqlock.ReadBegin(); +#pragma GCC diagnostic ignored "-Wclass-memaccess" memcpy(&read_into, &gamepad_hardware_buffer_->data, sizeof(read_into)); +#pragma GCC diagnostic pop ++contention_count; if (contention_count == kMaximumContentionCount) break; @@ -102,7 +104,9 @@ } // New data was read successfully, copy it into the output buffer. +#pragma GCC diagnostic ignored "-Wclass-memaccess" memcpy(&gamepads, &read_into, sizeof(gamepads)); +#pragma GCC diagnostic pop if (!ever_interacted_with_) { // Clear the connected flag if the user hasn't interacted with any of the --- chromium-68.0.3440.106/third_party/blink/renderer/platform/peerconnection/rtc_video_encoder.cc.gcc8 2018-08-08 21:10:55.000000000 +0200 +++ chromium-68.0.3440.106/third_party/blink/renderer/platform/peerconnection/rtc_video_encoder.cc 2018-08-16 22:35:12.295855869 +0200 @@ -821,7 +821,9 @@ return; webrtc::RTPFragmentationHeader header; +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(&header, 0, sizeof(header)); +#pragma GCC diagnostic pop switch (video_codec_type_) { case webrtc::kVideoCodecVP8: case webrtc::kVideoCodecVP9: --- chromium-68.0.3440.106/third_party/blink/renderer/core/css/css_selector_list.cc.gcc8 2018-08-08 21:11:49.000000000 +0200 +++ chromium-68.0.3440.106/third_party/blink/renderer/core/css/css_selector_list.cc 2018-08-16 22:38:46.625948903 +0200 @@ -262,8 +262,10 @@ // Move item from the parser selector vector into selector_array_ without // invoking destructor (Ugh.) CSSSelector* current_selector = current->ReleaseSelector().release(); +#pragma GCC diagnostic ignored "-Wclass-memaccess" memcpy(&list.selector_array_[array_index], current_selector, sizeof(CSSSelector)); +#pragma GCC diagnostic pop WTF::Partitions::FastFree(current_selector); current = current->TagHistory(); --- chromium-68.0.3440.106/content/renderer/pepper/plugin_module.cc.gcc8 2018-08-08 21:10:55.000000000 +0200 +++ chromium-68.0.3440.106/content/renderer/pepper/plugin_module.cc 2018-08-17 09:00:00.010744283 +0200 @@ -506,7 +506,9 @@ if (!host_globals) host_globals = new HostGlobals; +#pragma GCC diagnostic ignored "-Wclass-memaccess" memset(&entry_points_, 0, sizeof(entry_points_)); +#pragma GCC diagnostic pop pp_module_ = HostGlobals::Get()->AddModule(this); GetLivePluginSet()->insert(this); } --- chromium-70.0.3528.4/net/third_party/quiche/src/quic/core/quic_framer.cc.gcc8 2018-08-22 02:56:37.112699039 +0200 +++ chromium-70.0.3528.4/net/third_party/quiche/src/quic/core/quic_framer.cc 2018-08-22 20:08:42.304813883 +0200 @@ -1652,10 +1652,12 @@ bool QuicFramer::ProcessIetfDataPacket(Q encrypted_reader->PeekRemainingPayload(); if (remaining.length() >= sizeof(header->possible_stateless_reset_token)) { header->has_possible_stateless_reset_token = true; +#pragma GCC diagnostic ignored "-Wclass-memaccess" memcpy(&header->possible_stateless_reset_token, &remaining.data()[remaining.length() - sizeof(header->possible_stateless_reset_token)], sizeof(header->possible_stateless_reset_token)); +#pragma GCC diagnostic pop } } --- chromium-72.0.3626.81/net/third_party/quiche/src/quic/core/frames/quic_inlined_frame.h.gcc8 2019-01-30 02:18:09.000000000 +0100 +++ chromium-72.0.3626.81/net/third_party/quiche/src/quic/core/frames/quic_inlined_frame.h 2019-02-02 21:38:28.056122562 +0100 @@ -17,8 +17,10 @@ namespace quic { template <typename DerivedT> struct QUIC_EXPORT_PRIVATE QuicInlinedFrame { QuicInlinedFrame(QuicFrameType type) : type(type) { +#pragma GCC diagnostic ignored "-Winvalid-offsetof" static_assert(offsetof(DerivedT, type) == 0, "type must be the first field."); +#pragma GCC diagnostic pop static_assert(sizeof(DerivedT) <= 24, "Frames larger than 24 bytes should not be inlined."); } --- chromium-72.0.3626.81/net/third_party/quiche/src/quic/core/frames/quic_frame.h.gcc8 2019-01-30 02:18:09.000000000 +0100 +++ chromium-72.0.3626.81/net/third_party/quiche/src/quic/core/frames/quic_frame.h 2019-02-02 21:44:11.495095580 +0100 @@ -110,8 +110,10 @@ struct QUIC_EXPORT_PRIVATE QuicFrame { static_assert(sizeof(QuicFrame) <= 24, "Frames larger than 24 bytes should be referenced by pointer."); +#pragma GCC diagnostic ignored "-Winvalid-offsetof" static_assert(offsetof(QuicStreamFrame, type) == offsetof(QuicFrame, type), "Offset of |type| must match in QuicFrame and QuicStreamFrame"); +#pragma GCC diagnostic pop // A inline size of 1 is chosen to optimize the typical use case of // 1-stream-frame in QuicTransmissionInfo.retransmittable_frames. --- chromium-75.0.3766.2/third_party/pffft/src/pffft.c.gcc8 2019-04-16 03:14:21.000000000 +0200 +++ chromium-75.0.3766.2/third_party/pffft/src/pffft.c 2019-04-21 08:43:54.038591158 +0200 @@ -213,6 +213,7 @@ typedef union v4sf_union { #define assertv4(v,f0,f1,f2,f3) assert(v.f[0] == (f0) && v.f[1] == (f1) && v.f[2] == (f2) && v.f[3] == (f3)) /* detect bugs with the vector support macros */ +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" void validate_pffft_simd() { float f[16] = { 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 }; v4sf_union a0, a1, a2, a3, t, u; @@ -242,6 +243,7 @@ void validate_pffft_simd() { VTRANSPOSE4(a0.v, a1.v, a2.v, a3.v); assertv4(a0, 0, 4, 8, 12); assertv4(a1, 1, 5, 9, 13); assertv4(a2, 2, 6, 10, 14); assertv4(a3, 3, 7, 11, 15); } +#pragma GCC diagnostic pop #endif //!PFFFT_SIMD_DISABLE /* SSE and co like 16-bytes aligned pointers */ --- chromium-75.0.3770.90/media/formats/ac3/ac3_util.cc.gcc8 2019-06-13 09:12:26.000000000 +0200 +++ chromium-75.0.3770.90/media/formats/ac3/ac3_util.cc 2019-06-16 15:37:16.960213605 +0200 @@ -99,6 +99,7 @@ const uint8_t* FindNextSyncWord(const ui return nullptr; } +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" // Returns the number of audio samples represented by the given E-AC3 // synchronization frame. int ParseEac3SyncFrameSampleCount(Ac3Header& header) { @@ -189,6 +190,7 @@ int ParseTotalSampleCount(const uint8_t* return total_sample_count; } +#pragma GCC diagnostic pop } // namespace anonymous --- chromium-75.0.3770.90/ui/accessibility/ax_event_generator.cc.gcc8 2019-06-13 09:13:11.000000000 +0200 +++ chromium-75.0.3770.90/ui/accessibility/ax_event_generator.cc 2019-06-16 17:07:56.924776860 +0200 @@ -271,6 +271,7 @@ void AXEventGenerator::OnIntAttributeCha AddEvent(node, Event::POSITION_IN_SET_CHANGED); break; case ax::mojom::IntAttribute::kRestriction: { +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" bool was_enabled; bool was_readonly; GetRestrictionStates(static_cast<ax::mojom::Restriction>(old_value), @@ -285,6 +286,7 @@ void AXEventGenerator::OnIntAttributeCha if (was_readonly != is_readonly) AddEvent(node, Event::READONLY_CHANGED); break; +#pragma GCC diagnostic pop } case ax::mojom::IntAttribute::kScrollX: AddEvent(node, Event::SCROLL_HORIZONTAL_POSITION_CHANGED); --- chromium-75.0.3770.90/v8/src/torque/torque-parser.cc.gcc8 2019-06-13 09:15:07.000000000 +0200 +++ chromium-75.0.3770.90/v8/src/torque/torque-parser.cc 2019-06-16 17:45:41.014811421 +0200 @@ -962,6 +962,7 @@ base::Optional<ParseResult> MakeTypeswit true, MakeNode<Identifier>("__value"), base::nullopt, expression)); } +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" TypeExpression* accumulated_types; for (size_t i = 0; i < cases.size(); ++i) { CurrentSourcePosition::Scope current_source_position(cases[i].pos); @@ -1001,6 +1002,7 @@ base::Optional<ParseResult> MakeTypeswit i > 0 ? MakeNode<UnionTypeExpression>(accumulated_types, cases[i].type) : cases[i].type; } +#pragma GCC diagnostic pop return ParseResult{result}; } --- chromium-75.0.3770.90/base/trace_event/trace_event.h.gcc8 2019-06-13 09:11:51.000000000 +0200 +++ chromium-75.0.3770.90/base/trace_event/trace_event.h 2019-06-16 20:37:04.325185470 +0200 @@ -956,6 +956,7 @@ static void AddMetadataEvent(const unsig &args, TRACE_EVENT_FLAG_NONE); } +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" // Used by TRACE_EVENTx macros. Do not use directly. class TRACE_EVENT_API_CLASS_EXPORT ScopedTracer { public: @@ -984,6 +985,7 @@ class TRACE_EVENT_API_CLASS_EXPORT Scope const char* name_; base::trace_event::TraceEventHandle event_handle_; }; +#pragma GCC diagnostic pop // Used by TRACE_EVENT_BINARY_EFFICIENTx macro. Do not use directly. class TRACE_EVENT_API_CLASS_EXPORT ScopedTraceBinaryEfficient {