public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/98459] New: [11 Regression] ICE in linemap_position_for_line_and_column, at libcpp/line-map.c:923
Date: Mon, 28 Dec 2020 07:31:47 +0000	[thread overview]
Message-ID: <bug-98459-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 98459
           Summary: [11 Regression] ICE in
                    linemap_position_for_line_and_column, at
                    libcpp/line-map.c:923
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: preprocessor
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

g++-11.0.0-alpha20201227 snapshot (g:9a48892bea70a1e6a82e24b882f22807b73debe7)
ICEs when compiling gcc/testsuite/gcc.dg/pr89410-1.c:

% g++-11.0.0 -w -c gcc/testsuite/gcc.dg/pr89410-1.c
gcc/testsuite/gcc.dg/pr89410-1.c:1:1: internal compiler error: in
linemap_position_for_line_and_column, at libcpp/line-map.c:923
    1 | /* { dg-options "" } */
      | ^
0x1cc81aa linemap_position_for_line_and_column(line_maps*, line_map_ordinary
const*, unsigned int, unsigned int)
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201227/work/gcc-11-20201227/libcpp/line-map.c:923
0x1cc9ac1 linemap_position_for_loc_and_offset(line_maps*, unsigned int,
unsigned int)
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201227/work/gcc-11-20201227/libcpp/line-map.c:998
0xa6ce53 cp_lexer_new_main
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201227/work/gcc-11-20201227/gcc/cp/parser.c:676
0xa6ce53 c_parse_file()
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201227/work/gcc-11-20201227/gcc/cp/parser.c:45114
0xb93b2d c_common_parse_file()
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201227/work/gcc-11-20201227/gcc/c-family/c-opts.c:1211

             reply	other threads:[~2020-12-28  7:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28  7:31 asolokha at gmx dot com [this message]
2021-01-04 12:11 ` [Bug preprocessor/98459] [8/9/10/11 Regression] ICE in linemap_position_for_line_and_column, at libcpp/line-map.c:923 since r6-6901-g876217ae71cf0b34 marxin at gcc dot gnu.org
2021-01-05 10:38 ` [Bug c++/98459] " rguenth at gcc dot gnu.org
2021-01-20  8:38 ` sylvestre at debian dot org
2021-01-29 13:58 ` jakub at gcc dot gnu.org
2021-01-29 14:12 ` dmalcolm at gcc dot gnu.org
2021-05-14  9:54 ` [Bug c++/98459] [9/10/11/12 " jakub at gcc dot gnu.org
2021-06-01  8:19 ` rguenth at gcc dot gnu.org
2022-05-27  9:44 ` [Bug c++/98459] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:42 ` jakub at gcc dot gnu.org
2023-07-07 10:38 ` [Bug c++/98459] [11/12/13/14 " rguenth at gcc dot gnu.org

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=bug-98459-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).