public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/106132] New: ICE: in report_conflicting_sanitizer_options, at opts.cc:1011 with -fsanitize=thread,address,kernel-hwaddress
@ 2022-06-29  4:45 zsojka at seznam dot cz
  2022-06-29  8:15 ` [Bug sanitizer/106132] " marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2022-06-29  4:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106132

            Bug ID: 106132
           Summary: ICE: in report_conflicting_sanitizer_options, at
                    opts.cc:1011 with
                    -fsanitize=thread,address,kernel-hwaddress
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu

Compiler output:
$ echo -n > empty.c
$ x86_64-pc-linux-gnu-gcc -fsanitize=thread,address,kernel-hwaddress empty.c 
cc1: internal compiler error: in report_conflicting_sanitizer_options, at
opts.cc:1011
0x25889e0 report_conflicting_sanitizer_options
        /repo/gcc-trunk/gcc/opts.cc:1011
0x2589e1a finish_options(gcc_options*, gcc_options*, unsigned int)
        /repo/gcc-trunk/gcc/opts.cc:1216
0x129bcf4 decode_options(gcc_options*, gcc_options*, cl_decoded_option*,
unsigned int, unsigned int, diagnostic_context*, void (*)())
        /repo/gcc-trunk/gcc/opts-global.cc:326
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.


$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r13-1327-20220628144301-g243b5396106-checking-yes-rtl-df-extra-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/13.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--with-cloog --with-ppl --with-isl --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu
--with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r13-1327-20220628144301-g243b5396106-checking-yes-rtl-df-extra-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.0.0 20220628 (experimental) (GCC)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug sanitizer/106132] ICE: in report_conflicting_sanitizer_options,  at opts.cc:1011 with -fsanitize=thread,address,kernel-hwaddress
  2022-06-29  4:45 [Bug sanitizer/106132] New: ICE: in report_conflicting_sanitizer_options, at opts.cc:1011 with -fsanitize=thread,address,kernel-hwaddress zsojka at seznam dot cz
@ 2022-06-29  8:15 ` marxin at gcc dot gnu.org
  2022-07-08 11:23 ` cvs-commit at gcc dot gnu.org
  2022-07-08 11:24 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-06-29  8:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106132

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-06-29

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Lemme fix that.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug sanitizer/106132] ICE: in report_conflicting_sanitizer_options,  at opts.cc:1011 with -fsanitize=thread,address,kernel-hwaddress
  2022-06-29  4:45 [Bug sanitizer/106132] New: ICE: in report_conflicting_sanitizer_options, at opts.cc:1011 with -fsanitize=thread,address,kernel-hwaddress zsojka at seznam dot cz
  2022-06-29  8:15 ` [Bug sanitizer/106132] " marxin at gcc dot gnu.org
@ 2022-07-08 11:23 ` cvs-commit at gcc dot gnu.org
  2022-07-08 11:24 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-07-08 11:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106132

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:6da7f7c5ac03f85a753989712588511e5f56e73d

commit r13-1576-g6da7f7c5ac03f85a753989712588511e5f56e73d
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Jun 29 10:26:52 2022 +0200

    sanitizer: Fix hwasan related option conflicts [PR106132]

    Split report_conflicting_sanitizer_options(..., SANITIZE_ADDRESS |
SANITIZE_HWADDRESS)
    call into 2 calls as we don't have any option that would be
    address+hwaddress (that conflicts) as well.

            PR sanitizer/106132

    gcc/ChangeLog:

            * opts.cc (finish_options): Use 2 calls to
            report_conflicting_sanitizer_options.

    gcc/testsuite/ChangeLog:

            * c-c++-common/hwasan/arguments-3.c: Cover new ICE.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug sanitizer/106132] ICE: in report_conflicting_sanitizer_options,  at opts.cc:1011 with -fsanitize=thread,address,kernel-hwaddress
  2022-06-29  4:45 [Bug sanitizer/106132] New: ICE: in report_conflicting_sanitizer_options, at opts.cc:1011 with -fsanitize=thread,address,kernel-hwaddress zsojka at seznam dot cz
  2022-06-29  8:15 ` [Bug sanitizer/106132] " marxin at gcc dot gnu.org
  2022-07-08 11:23 ` cvs-commit at gcc dot gnu.org
@ 2022-07-08 11:24 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-07-08 11:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106132

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-08 11:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29  4:45 [Bug sanitizer/106132] New: ICE: in report_conflicting_sanitizer_options, at opts.cc:1011 with -fsanitize=thread,address,kernel-hwaddress zsojka at seznam dot cz
2022-06-29  8:15 ` [Bug sanitizer/106132] " marxin at gcc dot gnu.org
2022-07-08 11:23 ` cvs-commit at gcc dot gnu.org
2022-07-08 11:24 ` marxin at gcc dot gnu.org

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).