public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/108125] New: Suggestion for improving bug-box / reporting on ICE
@ 2022-12-15 11:23 jesper.quorning at gmail dot com
  2022-12-15 11:40 ` [Bug ada/108125] " pinskia at gcc dot gnu.org
  2023-05-11 15:47 ` ebotcazou at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: jesper.quorning at gmail dot com @ 2022-12-15 11:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108125

            Bug ID: 108125
           Summary: Suggestion for improving bug-box / reporting on ICE
           Product: gcc
           Version: 12.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jesper.quorning at gmail dot com
                CC: dkm at gcc dot gnu.org
  Target Milestone: ---

Barry Houser @barryhouser:matrix.org 2022-12-15 10:36 [1];

> It would be a lot easier for both parties if the compiler offered to collect the 
> necessary data and logs for submitting the bug. If it can detect a bug, then why 
> stop there? This is exactly why Apple's products are so successful. It's small 
> seemingly insignificant things they get right that makes all the difference. It's 
> paid off handsomely. Just their iPhone division  > alone is bigger than Microsoft. 
> It's hard to believe Apple was on life support 20 years ago.

it would be nice to have more information available in case of ICE;
Like -

* (Symbolic) Stack traceback
* Source code location
* Data structures

[1]: https://gitter.im/ada-lang/Alire.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug ada/108125] Suggestion for improving bug-box / reporting on ICE
  2022-12-15 11:23 [Bug ada/108125] New: Suggestion for improving bug-box / reporting on ICE jesper.quorning at gmail dot com
@ 2022-12-15 11:40 ` pinskia at gcc dot gnu.org
  2023-05-11 15:47 ` ebotcazou at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-15 11:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108125

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The ice for Ada front end already provides this information. Even saying what
to attachments are required.


The c/c++ frontend ice says to rerun with -freport-bug and attach that .out
file.

What more improvements are needed to compared to what clang does?
Outputting internal state is hard to do really and confuse everyone.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug ada/108125] Suggestion for improving bug-box / reporting on ICE
  2022-12-15 11:23 [Bug ada/108125] New: Suggestion for improving bug-box / reporting on ICE jesper.quorning at gmail dot com
  2022-12-15 11:40 ` [Bug ada/108125] " pinskia at gcc dot gnu.org
@ 2023-05-11 15:47 ` ebotcazou at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2023-05-11 15:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108125

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> The ice for Ada front end already provides this information. Even saying
> what to attachments are required.

Right, including the chain of instances for the source location.

> What more improvements are needed to compared to what clang does?
> Outputting internal state is hard to do really and confuse everyone.

I agree, and neither a backtrace nor a snapshot of data structures are
sufficient to diagnose the problem in most cases, the compiler is much too
complex for this.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-11 15:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-15 11:23 [Bug ada/108125] New: Suggestion for improving bug-box / reporting on ICE jesper.quorning at gmail dot com
2022-12-15 11:40 ` [Bug ada/108125] " pinskia at gcc dot gnu.org
2023-05-11 15:47 ` ebotcazou at gcc dot gnu.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).