[Bug c++/92481] New: g++ 9.2.0 SegFault

2019-11-12 Thread simon.moll at emea dot nec.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92481

Bug ID: 92481
   Summary: g++ 9.2.0 SegFault
   Product: gcc
   Version: 9.2.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: simon.moll at emea dot nec.com
  Target Milestone: ---

Created attachment 47224
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47224&action=edit
Reproducer (delta reduced, derived from LLVM source code)

Test case crashes with a SegFault (ICE).

How to reproduce

g++ testcase-min.i


c++ --version
=
c++ (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


uname -a

Linux sbox 5.3.10-arch1-1 #1 SMP PREEMPT Sun, 10 Nov 2019 11:29:38 + x86_64
GNU/Linux


Archlinux package (pacman -Q gcc)
=
gcc 9.2.0-4

[Bug c++/92481] g++ 9.2.0 SegFault

2019-11-13 Thread simon.moll at emea dot nec.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92481

--- Comment #2 from simon.moll at emea dot nec.com ---
The original source file is invalid too (it is huge. Do you still want me to
attach it?). I understand that g++ should not segfault in any case.