public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/16809] New: [3.5 regression] ICE in gimplify_expr with initializer of arrays and pointers Date: Wed, 28 Jul 2004 21:33:00 -0000 [thread overview] Message-ID: <20040728213311.16809.bangerth@dealii.org> (raw) Not quite sure about the validity of this code (we take the address of a temporary -- I guess it should be valid, but undefined), but this nasty error message that is ten times as long as the code in question is not appropriate: --------------------- typedef int I2[2]; int main () { int *p = (I2) {1,2}; } --------------------- g/x> /home/bangerth/bin/gcc-3.5-pre/bin/c++ -c x.cc gimplification failed: {1, 2} <constructor 0x401819c0 type <array_type 0x40239a6c I2 type <integer_type 0x40185488 int SI size <integer_cst 0x40182348 constant invariant 32> unit size <integer_cst 0x401823f0 constant invariant 4> align 32 symtab 0 alias set -1 precision 32 min <integer_cst 0x401823c0 -2147483648> max <integer_cst 0x401823d8 2147483647> pointer_to_this <pointer_type 0x40191e80>> DI size <integer_cst 0x40182798 constant invariant 64> unit size <integer_cst 0x40182ab0 constant invariant 8> align 32 symtab 0 alias set -1 domain <integer_type 0x40239910 type <integer_type 0x40191740 unsigned int> SI size <integer_cst 0x40182348 32> unit size <integer_cst 0x401823f0 4> align 32 symtab 0 alias set -1 precision 32 min <integer_cst 0x40182c30 0> max <integer_cst 0x40182cf0 1>> pointer_to_this <pointer_type 0x40239ef4>> constant invariant addressable static tree_4 arg 0 <tree_list 0x40238a50 purpose <integer_cst 0x40182c30 constant invariant 0> value <integer_cst 0x402389f0 constant invariant 1> chain <tree_list 0x40238a68 purpose <integer_cst 0x40182cf0 constant invariant 1> value <integer_cst 0x40238a20 constant invariant 2>>>> x.cc: In function `int main()': x.cc:3: internal compiler error: in gimplify_expr, at gimplify.c:3972 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. W. -- Summary: [3.5 regression] ICE in gimplify_expr with initializer of arrays and pointers Product: gcc Version: 3.4.1 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bangerth at dealii dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16809
next reply other threads:[~2004-07-28 21:33 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-07-28 21:33 bangerth at dealii dot org [this message] 2004-07-28 21:33 ` [Bug middle-end/16809] " bangerth at dealii dot org 2004-07-28 21:43 ` pinskia at gcc dot gnu dot org 2004-07-28 21:51 ` jsm at polyomino dot org dot uk 2004-07-28 21:52 ` bangerth at ices dot utexas dot edu 2004-07-28 21:53 ` bangerth at ices dot utexas dot edu 2004-07-28 22:17 ` jsm at polyomino dot org dot uk 2004-07-28 22:26 ` bangerth at dealii dot org 2004-08-25 10:38 ` reichelt at gcc dot gnu dot 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=20040728213311.16809.bangerth@dealii.org \ --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).