public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/20506] New: verify_stmts calls error() on internal errors
@ 2005-03-17 0:19 reichelt at gcc dot gnu dot org
2005-03-17 0:24 ` [Bug middle-end/20506] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-03-17 0:19 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/20506] verify_stmts calls error() on internal errors
2005-03-17 0:19 [Bug middle-end/20506] New: verify_stmts calls error() on internal errors reichelt at gcc dot gnu dot org
@ 2005-03-17 0:24 ` pinskia at gcc dot gnu dot org
2005-06-18 1:23 ` [Bug middle-end/20506] verify_stmts calls error() on internal errors(notes) pinskia at gcc dot gnu dot org
2005-06-18 1:24 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-17 0:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-17 00:24 -------
This is done also at the rtl level and nobody has complained before until now. If we use internal_error,
well it just stops at the first error and then we don't know and we try to fix one error and then we get
another, which sucks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20506
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/20506] verify_stmts calls error() on internal errors(notes)
2005-03-17 0:19 [Bug middle-end/20506] New: verify_stmts calls error() on internal errors reichelt at gcc dot gnu dot org
2005-03-17 0:24 ` [Bug middle-end/20506] " pinskia at gcc dot gnu dot org
@ 2005-06-18 1:23 ` pinskia at gcc dot gnu dot org
2005-06-18 1:24 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-18 1:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-18 01:23 -------
Maybe we should be using note instead or something different.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-06-18 01:23:36
date| |
Summary|verify_stmts calls error() |verify_stmts calls error()
|on internal errors |on internal errors(notes)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20506
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/20506] verify_stmts calls error() on internal errors(notes)
2005-03-17 0:19 [Bug middle-end/20506] New: verify_stmts calls error() on internal errors reichelt at gcc dot gnu dot org
2005-03-17 0:24 ` [Bug middle-end/20506] " pinskia at gcc dot gnu dot org
2005-06-18 1:23 ` [Bug middle-end/20506] verify_stmts calls error() on internal errors(notes) pinskia at gcc dot gnu dot org
@ 2005-06-18 1:24 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-18 1:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-18 01:23 -------
Like a non fatal internal_error.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20506
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/20506] verify_stmts calls error() on internal errors(notes)
[not found] <bug-20506-1771@http.gcc.gnu.org/bugzilla/>
@ 2005-10-10 4:59 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-10 4:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-10 04:59 -------
maybe we should be using verbatim or note.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2005-06-18 01:23:36 |2005-10-10 04:59:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20506
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-10-10 4:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-17 0:19 [Bug middle-end/20506] New: verify_stmts calls error() on internal errors reichelt at gcc dot gnu dot org
2005-03-17 0:24 ` [Bug middle-end/20506] " pinskia at gcc dot gnu dot org
2005-06-18 1:23 ` [Bug middle-end/20506] verify_stmts calls error() on internal errors(notes) pinskia at gcc dot gnu dot org
2005-06-18 1:24 ` pinskia at gcc dot gnu dot org
[not found] <bug-20506-1771@http.gcc.gnu.org/bugzilla/>
2005-10-10 4:59 ` pinskia at gcc dot gnu dot org
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).