public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/99122] New: [10/11 Regression] ICE in force_constant_size, at gimplify.c:733 Date: Tue, 16 Feb 2021 17:38:55 +0000 [thread overview] Message-ID: <bug-99122-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99122 Bug ID: 99122 Summary: [10/11 Regression] ICE in force_constant_size, at gimplify.c:733 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Changed between 20191103 and 20191110 at -O2+ : $ cat z1.c void f () { int n = 5; struct { char a[n]; } x; g (x, x); } int g (double x, double y) { return __builtin_isgreater (x, y); } $ gcc-11-20210214 -c z1.c -O2 z1.c: In function 'f': z1.c:5:3: warning: implicit declaration of function 'g' [-Wimplicit-function-declaration] 5 | g (x, x); | ^ during GIMPLE pass: einline z1.c:5:3: internal compiler error: in force_constant_size, at gimplify.c:733 5 | g (x, x); | ^~~~~~~~ 0xa2e116 force_constant_size ../../gcc/gimplify.c:733 0xa361a7 gimple_add_tmp_var(tree_node*) ../../gcc/gimplify.c:771 0x9fbeea create_tmp_var(tree_node*, char const*) ../../gcc/gimple-expr.c:485 0xa4310f create_tmp_from_val ../../gcc/gimplify.c:564 0xa4310f lookup_tmp_var ../../gcc/gimplify.c:596 0xa4310f internal_get_tmp_var ../../gcc/gimplify.c:635 0xa3d7cb gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gimplify.c:15058 0xa4404c gimplify_compound_lval ../../gcc/gimplify.c:3074 0xa3b115 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gimplify.c:14022 0xa6a999 gimple_regimplify_operands(gimple*, gimple_stmt_iterator*) ../../gcc/gimplify-me.c:235 0xdcf752 insert_init_stmt ../../gcc/tree-inline.c:3397 0xddbbe9 setup_one_parameter ../../gcc/tree-inline.c:3568 0xde1e05 initialize_inlined_parameters ../../gcc/tree-inline.c:3595 0xde1e05 expand_call_inline ../../gcc/tree-inline.c:4956 0xde4d19 gimple_expand_calls_inline ../../gcc/tree-inline.c:5288 0xde4d19 optimize_inline_calls(tree_node*) ../../gcc/tree-inline.c:5461 0x185e393 early_inliner(function*) ../../gcc/ipa-inline.c:3007
next reply other threads:[~2021-02-16 17:38 UTC|newest] Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-16 17:38 gscfq@t-online.de [this message] 2021-02-16 18:24 ` [Bug ipa/99122] " jakub at gcc dot gnu.org 2021-02-17 16:38 ` jakub at gcc dot gnu.org 2021-02-17 17:03 ` jamborm at gcc dot gnu.org 2021-02-17 17:10 ` jamborm at gcc dot gnu.org 2021-02-17 17:15 ` jakub at gcc dot gnu.org 2021-02-17 17:52 ` jamborm at gcc dot gnu.org 2021-02-17 17:57 ` jakub at gcc dot gnu.org 2021-02-18 9:09 ` rguenth at gcc dot gnu.org 2021-02-18 11:20 ` rguenth at gcc dot gnu.org 2021-02-18 11:26 ` rguenth at gcc dot gnu.org 2021-02-18 11:27 ` jakub at gcc dot gnu.org 2021-02-18 12:00 ` jakub at gcc dot gnu.org 2021-02-18 12:24 ` jamborm at gcc dot gnu.org 2021-02-18 12:42 ` jamborm at gcc dot gnu.org 2021-02-18 13:38 ` cvs-commit at gcc dot gnu.org 2021-02-18 18:13 ` jamborm at gcc dot gnu.org 2021-02-19 8:37 ` rguenth at gcc dot gnu.org 2021-02-19 8:42 ` rguenth at gcc dot gnu.org 2021-02-19 10:31 ` jamborm at gcc dot gnu.org 2021-02-19 10:40 ` jakub at gcc dot gnu.org 2021-02-19 10:54 ` rguenther at suse dot de 2021-02-19 13:20 ` cvs-commit at gcc dot gnu.org 2021-02-25 13:01 ` rguenth at gcc dot gnu.org 2021-03-04 14:22 ` jamborm at gcc dot gnu.org 2021-03-05 14:28 ` jamborm at gcc dot gnu.org 2021-03-06 10:54 ` dcb314 at hotmail dot com 2021-03-24 19:28 ` cvs-commit at gcc dot gnu.org 2021-03-29 16:31 ` jakub at gcc dot gnu.org 2021-03-29 16:43 ` jamborm at gcc dot gnu.org 2021-04-08 12:02 ` [Bug ipa/99122] [10 " rguenth at gcc dot gnu.org 2021-06-02 11:27 ` ebotcazou at gcc dot gnu.org 2021-06-02 11:44 ` rguenth at gcc dot gnu.org 2021-06-02 12:25 ` ebotcazou at gcc dot gnu.org 2021-06-02 12:42 ` rguenth at gcc dot gnu.org 2021-06-02 13:03 ` ebotcazou at gcc dot gnu.org 2021-06-03 10:46 ` cvs-commit at gcc dot gnu.org 2021-06-03 10:49 ` cvs-commit at gcc dot gnu.org 2022-06-28 10:43 ` jakub at gcc dot gnu.org 2023-07-07 9:27 ` 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-99122-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: linkBe 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).