public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/101638] New: ICE with -Wtraditional
Date: Tue, 27 Jul 2021 10:29:14 +0000	[thread overview]
Message-ID: <bug-101638-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 101638
           Summary: ICE with -Wtraditional
           Product: gcc
           Version: 11.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

With recent glibc head includes

> cat t.c
#include <security/pam_modules.h>
#include <stdlib.h>

ICEs preprocessing the above with -Wtraditional

> gcc t.c -c -Wtraditional
In file included from /usr/include/features.h:488,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from t.c:2:
/usr/include/sys/cdefs.h:1: internal compiler error: Segmentation fault
    1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc.
      | 
0xdef92b internal_error(char const*, ...)
        ???:0
0xddd540 cpp_sys_macro_p(cpp_reader*)
        ???:0
0xf0f026 _cpp_parse_expr
        ???:0
0xf0e452 _cpp_handle_directive
        ???:0
0xf09324 _cpp_lex_token
        ???:0
0xf21485 c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int)
        ???:0
0x1417068 c_parse_file()
        ???:0
0x1414d1b c_common_parse_file()
        ???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.opensuse.org/> for instructions.

             reply	other threads:[~2021-07-27 10:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-27 10:29 rguenth at gcc dot gnu.org [this message]
2021-08-04 13:16 ` [Bug preprocessor/101638] " marxin at gcc dot gnu.org
2021-08-11 17:05 ` [Bug preprocessor/101638] [11/12 Regression] ICE with -Wtraditional since r11-4953-g1d00f8c86324c40a harald at gigawatt dot nl
2021-08-11 19:12 ` jakub at gcc dot gnu.org
2021-08-12 20:40 ` cvs-commit at gcc dot gnu.org
2021-08-12 22:55 ` cvs-commit at gcc dot gnu.org
2021-08-12 22:56 ` jakub 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-101638-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).