public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/95033] New: [11 Regression] ICE in set_parm_rtl, at cfgexpand.c:1310 since r11-165-geb72dc663e9070b2
@ 2020-05-10  8:01 marxin at gcc dot gnu.org
  2020-05-10  8:02 ` [Bug sanitizer/95033] " marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-05-10  8:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95033
           Summary: [11 Regression] ICE in set_parm_rtl, at
                    cfgexpand.c:1310 since r11-165-geb72dc663e9070b2
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                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, rguenth at gcc dot gnu.org
  Target Milestone: ---

I see the following ICE:

$ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/pr41123.c
-fsanitize=kernel-address -O2 --param=asan-stack=1 -c
during RTL pass: expand
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/pr41123.c: In function ‘f1’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/pr41123.c:9:1: internal
compiler error: in set_parm_rtl, at cfgexpand.c:1310
    9 | f1 (float _Complex x)
      | ^~
0x62cffa set_parm_rtl(tree_node*, rtx_def*)
        ../../gcc/cfgexpand.c:1310
0xb1081f assign_parm_setup_reg
        ../../gcc/function.c:3377
0xb12742 assign_parms
        ../../gcc/function.c:3683
0xb14ca2 expand_function_start(tree_node*)
        ../../gcc/function.c:5126
0x99f739 execute
        ../../gcc/cfgexpand.c:6459

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

* [Bug sanitizer/95033] [11 Regression] ICE in set_parm_rtl, at cfgexpand.c:1310 since r11-165-geb72dc663e9070b2
  2020-05-10  8:01 [Bug sanitizer/95033] New: [11 Regression] ICE in set_parm_rtl, at cfgexpand.c:1310 since r11-165-geb72dc663e9070b2 marxin at gcc dot gnu.org
@ 2020-05-10  8:02 ` marxin at gcc dot gnu.org
  2020-05-11  6:49 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-05-10  8:02 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
   Last reconfirmed|                            |2020-05-10
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
I can fix it, it comes from ASAN code which rewrites a param with a local
variable.

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

* [Bug sanitizer/95033] [11 Regression] ICE in set_parm_rtl, at cfgexpand.c:1310 since r11-165-geb72dc663e9070b2
  2020-05-10  8:01 [Bug sanitizer/95033] New: [11 Regression] ICE in set_parm_rtl, at cfgexpand.c:1310 since r11-165-geb72dc663e9070b2 marxin at gcc dot gnu.org
  2020-05-10  8:02 ` [Bug sanitizer/95033] " marxin at gcc dot gnu.org
@ 2020-05-11  6:49 ` rguenth at gcc dot gnu.org
  2020-05-12  8:23 ` cvs-commit at gcc dot gnu.org
  2020-05-12  8:24 ` marxin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-05-11  6:49 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

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

* [Bug sanitizer/95033] [11 Regression] ICE in set_parm_rtl, at cfgexpand.c:1310 since r11-165-geb72dc663e9070b2
  2020-05-10  8:01 [Bug sanitizer/95033] New: [11 Regression] ICE in set_parm_rtl, at cfgexpand.c:1310 since r11-165-geb72dc663e9070b2 marxin at gcc dot gnu.org
  2020-05-10  8:02 ` [Bug sanitizer/95033] " marxin at gcc dot gnu.org
  2020-05-11  6:49 ` rguenth at gcc dot gnu.org
@ 2020-05-12  8:23 ` cvs-commit at gcc dot gnu.org
  2020-05-12  8:24 ` marxin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-12  8:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- 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:6b41920bd5c68998a53de749b4fe5c0b8875db6c

commit r11-315-g6b41920bd5c68998a53de749b4fe5c0b8875db6c
Author: Martin Liska <mliska@suse.cz>
Date:   Tue May 12 10:23:09 2020 +0200

    ASAN: clear DECL_NOT_GIMPLE_REG_P.

            PR sanitizer/95033
            PR sanitizer/95051
            * sanopt.c (sanitize_rewrite_addressable_params):
            Clear DECL_NOT_GIMPLE_REG_P for argument.
            PR sanitizer/95033
            PR sanitizer/95051
            * g++.dg/asan/function-argument-4.C: New test.
            * gcc.dg/asan/pr95033.c: New test.
            * gcc.dg/asan/pr95051.c: New test.

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

* [Bug sanitizer/95033] [11 Regression] ICE in set_parm_rtl, at cfgexpand.c:1310 since r11-165-geb72dc663e9070b2
  2020-05-10  8:01 [Bug sanitizer/95033] New: [11 Regression] ICE in set_parm_rtl, at cfgexpand.c:1310 since r11-165-geb72dc663e9070b2 marxin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2020-05-12  8:23 ` cvs-commit at gcc dot gnu.org
@ 2020-05-12  8:24 ` marxin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-05-12  8:24 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

end of thread, other threads:[~2020-05-12  8:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-10  8:01 [Bug sanitizer/95033] New: [11 Regression] ICE in set_parm_rtl, at cfgexpand.c:1310 since r11-165-geb72dc663e9070b2 marxin at gcc dot gnu.org
2020-05-10  8:02 ` [Bug sanitizer/95033] " marxin at gcc dot gnu.org
2020-05-11  6:49 ` rguenth at gcc dot gnu.org
2020-05-12  8:23 ` cvs-commit at gcc dot gnu.org
2020-05-12  8: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).