Bug 98527 - [11 Regression] ICE in handle_pragma_pop_options
Summary: [11 Regression] ICE in handle_pragma_pop_options
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: pch (show other bugs)
Version: 11.0
: P3 normal
Target Milestone: 11.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2021-01-05 11:37 UTC by Matthias Klose
Modified: 2021-04-09 09:20 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work: 10.2.1
Known to fail: 11.0
Last reconfirmed: 2021-02-26 00:00:00


Attachments
Build log (180.20 KB, application/zstd)
2021-01-05 15:06 UTC, Martin Liška
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Klose 2021-01-05 11:37:19 UTC
seen with trunk 20210102 on x86_64-linux-gnu, with precompiled header files.  I didn't yet try to build without pch.

https://launchpad.net/ubuntu/+archive/test-rebuild-20201216-hirsute-gcc11/+build/20603751

0xc0b77e handle_pragma_pop_options
        ../../src/gcc/c-family/c-pragma.c:1092
0x1805b43 cp_parser_pragma
        ../../src/gcc/cp/parser.c:45059
0x17e46d8 cp_parser_toplevel_declaration
        ../../src/gcc/cp/parser.c:14093
0x17e46d8 cp_parser_translation_unit
        ../../src/gcc/cp/parser.c:4936
0x17e46d8 c_parse_file()
        ../../src/gcc/cp/parser.c:45118
0x17c602a c_common_parse_file()
        ../../src/gcc/c-family/c-opts.c:1211
Please submit a full bug report,
with preprocessed source if appropriate.
Comment 1 Martin Liška 2021-01-05 15:06:03 UTC
Created attachment 49890 [details]
Build log

I tried building that on openSUSE Tumbleweed with GCC 11 and it seems fine.
Please take a look at the build log.
Comment 2 Richard Biener 2021-02-26 12:26:02 UTC
waiting for testcase
Comment 3 Richard Biener 2021-04-09 08:03:32 UTC
Does the problem persist?
Comment 4 Matthias Klose 2021-04-09 09:20:45 UTC
can't reproduce this anymore with trunk 20210404.