This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/20506] New: verify_stmts calls error() on internal errors
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Mar 2005 00:19:15 -0000
- Subject: [Bug middle-end/20506] New: verify_stmts calls error() on internal errors
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When verify_stmts finds an inconsistency an error like the following
(taken from PR17483) is issued:
bug.cc: In function `void bar()':
bug.cc:15: error: address taken, but ADDRESSABLE bit not set
D.1590
bug.cc:15: internal compiler error: verify_stmts failed.
Please submit a full bug report, [etc.]
But this is not a user error as the first part of the error message suggests,
this is an internal error.
The error reporting mechanism should be changed to reflect this in order
to avoid user confusion.
--
Summary: verify_stmts calls error() on internal errors
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20506