From: Tom Tromey <tom@tromey.com>
To: Tankut Baris Aktemur via Gdb-patches <gdb-patches@sourceware.org>
Cc: Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Subject: Re: [PATCH 2/2] testsuite: add -O0 to Intel compilers if no 'optimize' option is given
Date: Thu, 05 Jan 2023 12:59:07 -0700 [thread overview]
Message-ID: <87sfgoda7o.fsf@tromey.com> (raw)
In-Reply-To: <20221222202417.2042422-2-tankut.baris.aktemur@intel.com> (Tankut Baris Aktemur via Gdb-patches's message of "Thu, 22 Dec 2022 21:24:17 +0100")
>>>>> Tankut Baris Aktemur via Gdb-patches <gdb-patches@sourceware.org> writes:
> icpx/icx give the following warning if '-g' is used without '-O'.
> icpx: remark: Note that use of '-g' without any optimization-level
> option will turn off most compiler optimizations similar to use of
> '-O0'; use '-Rno-debug-disables-optimization' to disable this
> remark [-Rdebug-disables-optimization]
...
> To fix both problems, pass the -O0 flag explicitly, if no optimization
> option is given.
Thank you. This is ok.
Tom
next prev parent reply other threads:[~2023-01-05 19:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-22 20:24 [PATCH 1/2] testsuite: handle icc and icpc deprecated remarks Tankut Baris Aktemur
2022-12-22 20:24 ` [PATCH 2/2] testsuite: add -O0 to Intel compilers if no 'optimize' option is given Tankut Baris Aktemur
2023-01-05 19:59 ` Tom Tromey [this message]
2023-01-05 19:57 ` [PATCH 1/2] testsuite: handle icc and icpc deprecated remarks Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfgoda7o.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=tankut.baris.aktemur@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).