From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9E6193840C3D; Thu, 11 Jun 2020 10:19:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9E6193840C3D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1591870785; bh=TjyPseRwWCYHGKFLu6M2PHApiE8Oadc0h+BZ6aKR43g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WbwwiaDXMNjpZxzlPWBp+Bcj5FjZ+rtr0BP1aDsPYpkiV5nVKbrbaIho9Xv9ACTzM hNpYAr1PJz4OsMFb6d12wRZYquVbHH80Cjqifly1/t+kmyDaxk0PC8FNwdR9uGgvWu gg2MBNMENnTDTN09H1XOAj5xvzfWuOQSh3ITKpSc= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92860] [8/9/10/11 regression] Global flags affected by -O settings are clobbered by optimize attribute Date: Thu, 11 Jun 2020 10:19:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: deferred X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 10:19:45 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92860 David Binderman changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcb314 at hotmail dot com --- Comment #24 from David Binderman --- Is this error message related ? /home/dcb/gcc/results.20200611/lib/gcc/x86_64-pc-linux-gnu/11.0.0/include/x= saveoptintrin.h:55:9: internal compiler error: Error: global_options are modified in local context 55 | #pragma GCC pop_options | ^~~ 0xe6fefe cl_optimization_compare(gcc_options*, gcc_options*) /home/dcb/gcc/working/gcc/options-save.c:0 0x97c7b9 handle_pragma_pop_options(cpp_reader*) ../../trunk.git/gcc/c-family/c-pragma.c:1090 0x7a0565 cp_parser_pragma(cp_parser*, pragma_context, bool*) ../../trunk.git/gcc/cp/parser.c:43983 0x79d432 cp_parser_toplevel_declaration(cp_parser*) ../../trunk.git/gcc/cp/parser.c:13502 It seems to be a preprocessor crash, so I don't know how to reduce the test case.=