public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/96258] New: [11 Regression] ICE: Segmentation fault (in cp_parser_declaration)
@ 2020-07-21  2:30 asolokha at gmx dot com
  2020-07-21  7:00 ` [Bug c++/96258] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: asolokha at gmx dot com @ 2020-07-21  2:30 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96258
           Summary: [11 Regression] ICE: Segmentation fault (in
                    cp_parser_declaration)
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, openmp
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

g++-11.0.0-alpha20200719 snapshot (g:2e1b25350aa96b3f5678a056d0b55bb323c452d9)
ICEs when compiling a file containing

#pragma omp declare simd

or

#pragma omp declare variant

w/ -fopenmp:

% g++-11.0.0 -fopenmp -c dpdbmn6d.cpp
dpdbmn6d.cpp:1:25: internal compiler error: Segmentation fault
    1 | #pragma omp declare simd
      |                         ^
0x10233ef crash_signal
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200719/work/gcc-11-20200719/gcc/toplev.c:328
0x9dbbec cp_parser_declaration
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200719/work/gcc-11-20200719/gcc/cp/parser.c:13459
0x9dceef cp_parser_omp_declare_simd
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200719/work/gcc-11-20200719/gcc/cp/parser.c:41506
0x9abd2d cp_parser_omp_declare
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200719/work/gcc-11-20200719/gcc/cp/parser.c:42648
0x9abd2d cp_parser_pragma
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200719/work/gcc-11-20200719/gcc/cp/parser.c:43797
0x9dc3c0 cp_parser_translation_unit
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200719/work/gcc-11-20200719/gcc/cp/parser.c:4780
0x9dc3c0 c_parse_file()
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200719/work/gcc-11-20200719/gcc/cp/parser.c:44062
0xaf9efd c_common_parse_file()
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200719/work/gcc-11-20200719/gcc/c-family/c-opts.c:1188

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

end of thread, other threads:[~2020-10-16 16:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-21  2:30 [Bug c++/96258] New: [11 Regression] ICE: Segmentation fault (in cp_parser_declaration) asolokha at gmx dot com
2020-07-21  7:00 ` [Bug c++/96258] " rguenth at gcc dot gnu.org
2020-07-21 14:56 ` mpolacek at gcc dot gnu.org
2020-10-12 12:46 ` rguenth at gcc dot gnu.org
2020-10-16 14:25 ` marxin at gcc dot gnu.org
2020-10-16 14:45 ` nathan at gcc dot gnu.org
2020-10-16 16:25 ` cvs-commit at gcc dot gnu.org
2020-10-16 16:26 ` nathan 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).