public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/93041] GCC 10 removes an infinite loop and causes a null pointer to dereferenced
       [not found] <bug-93041-4@http.gcc.gnu.org/bugzilla/>
@ 2024-03-21 21:48 ` pinskia at gcc dot gnu.org
  2024-03-21 21:48 ` pinskia at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-21 21:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://eel.is/c++draft/intro.progress#1

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

* [Bug middle-end/93041] GCC 10 removes an infinite loop and causes a null pointer to dereferenced
       [not found] <bug-93041-4@http.gcc.gnu.org/bugzilla/>
  2024-03-21 21:48 ` [Bug middle-end/93041] GCC 10 removes an infinite loop and causes a null pointer to dereferenced pinskia at gcc dot gnu.org
@ 2024-03-21 21:48 ` pinskia at gcc dot gnu.org
  2024-03-21 21:48 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-21 21:48 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |earlephilhower at yahoo dot com

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 114421 has been marked as a duplicate of this bug. ***

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

* [Bug middle-end/93041] GCC 10 removes an infinite loop and causes a null pointer to dereferenced
       [not found] <bug-93041-4@http.gcc.gnu.org/bugzilla/>
  2024-03-21 21:48 ` [Bug middle-end/93041] GCC 10 removes an infinite loop and causes a null pointer to dereferenced pinskia at gcc dot gnu.org
  2024-03-21 21:48 ` pinskia at gcc dot gnu.org
@ 2024-03-21 21:48 ` pinskia at gcc dot gnu.org
  2024-03-21 22:01 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-21 21:48 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ingo at hannover dot ccc.de

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 96196 has been marked as a duplicate of this bug. ***

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

* [Bug middle-end/93041] GCC 10 removes an infinite loop and causes a null pointer to dereferenced
       [not found] <bug-93041-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2024-03-21 21:48 ` pinskia at gcc dot gnu.org
@ 2024-03-21 22:01 ` jakub at gcc dot gnu.org
  2024-04-07 22:28 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2024-03-21 22:01 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note, C++26 will likely vote in tomorrow https://wg21.link/P2809R3 a change
where loops like for (;;); or while (true) ; and similar will not be UB
anymore.
Though the loops in this PR and the dups aren't like that anyway and I think we
already treat unconditional loops as infinite even with -ffinite-loops.

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

* [Bug middle-end/93041] GCC 10 removes an infinite loop and causes a null pointer to dereferenced
       [not found] <bug-93041-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2024-03-21 22:01 ` jakub at gcc dot gnu.org
@ 2024-04-07 22:28 ` pinskia at gcc dot gnu.org
  2024-04-08 20:10 ` kubry at gmx dot com
  2024-04-09  8:22 ` xry111 at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-07 22:28 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kubry at gmx dot com

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 114631 has been marked as a duplicate of this bug. ***

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

* [Bug middle-end/93041] GCC 10 removes an infinite loop and causes a null pointer to dereferenced
       [not found] <bug-93041-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2024-04-07 22:28 ` pinskia at gcc dot gnu.org
@ 2024-04-08 20:10 ` kubry at gmx dot com
  2024-04-09  8:22 ` xry111 at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: kubry at gmx dot com @ 2024-04-08 20:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Ganton <kubry at gmx dot com> ---
A related assigned task is:
[C++26] P2809R3 - Trivial infinite loops are not undefined behavior
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114462

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

* [Bug middle-end/93041] GCC 10 removes an infinite loop and causes a null pointer to dereferenced
       [not found] <bug-93041-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2024-04-08 20:10 ` kubry at gmx dot com
@ 2024-04-09  8:22 ` xry111 at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: xry111 at gcc dot gnu.org @ 2024-04-09  8:22 UTC (permalink / raw)
  To: gcc-bugs

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

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xry111 at gcc dot gnu.org

--- Comment #12 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(In reply to Ganton from comment #11)
> A related assigned task is:
> [C++26] P2809R3 - Trivial infinite loops are not undefined behavior
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114462

Note that even with P2809R3 the test case in this ticket is still invalid, as
explained in comment 9.

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

end of thread, other threads:[~2024-04-09  8:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-93041-4@http.gcc.gnu.org/bugzilla/>
2024-03-21 21:48 ` [Bug middle-end/93041] GCC 10 removes an infinite loop and causes a null pointer to dereferenced pinskia at gcc dot gnu.org
2024-03-21 21:48 ` pinskia at gcc dot gnu.org
2024-03-21 21:48 ` pinskia at gcc dot gnu.org
2024-03-21 22:01 ` jakub at gcc dot gnu.org
2024-04-07 22:28 ` pinskia at gcc dot gnu.org
2024-04-08 20:10 ` kubry at gmx dot com
2024-04-09  8:22 ` xry111 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).