public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: snyder@fnal.gov To: gcc-gnats@gcc.gnu.org Subject: c++/10219: g++ 3.4: ICE in maybe_adjust_types_for_deduction on invalid code Date: Wed, 26 Mar 2003 10:16:00 -0000 [thread overview] Message-ID: <200303261005.h2QA5Duc005481@localhost.localdomain> (raw) >Number: 10219 >Category: c++ >Synopsis: g++ 3.4: ICE in maybe_adjust_types_for_deduction on invalid code >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-illegal-code >Submitter-Id: net >Arrival-Date: Wed Mar 26 10:06:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: scott snyder >Release: 3.4 20030325 (experimental) >Organization: >Environment: System: Linux karma 2.4.19-emp_2419p5a829i #1 Tue Sep 3 17:42:17 EST 2002 i686 i686 i386 GNU/Linux Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../gcc/configure --prefix=/usr/local/gcc --enable-threads=posix --enable-long-long --enable-languages=c,c++,f77 : (reconfigured) >Description: g++ dies compiling the (invalid) code below. $ g++ -c y.cc y.cc: In function `void foo()': y.cc:4: error: aggregate `fps_chan_ID fps' has incomplete type and cannot be defined y.cc:5: internal compiler error: tree check: expected class 't', have 'x' ( error_mark) in maybe_adjust_types_for_deduction, at cp/pt.c:8754 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. $ >How-To-Repeat: --------------------------- template <class T> void make_pair(T x); void foo(){ struct fps_chan_ID fps; make_pair(fps); } --------------------------- >Fix: >Release-Note: >Audit-Trail: >Unformatted:
reply other threads:[~2003-03-26 10:06 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200303261005.h2QA5Duc005481@localhost.localdomain \ --to=snyder@fnal.gov \ --cc=gcc-gnats@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).