public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/91470] [10/11 Regression] bogus uninitialized warning in trans-intrinsic.c
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
@ 2021-01-14 8:18 ` rguenth at gcc dot gnu.org
2021-04-16 0:06 ` msebor at gcc dot gnu.org
` (12 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-14 8:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/91470] [10/11 Regression] bogus uninitialized warning in trans-intrinsic.c
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
2021-01-14 8:18 ` [Bug tree-optimization/91470] [10/11 Regression] bogus uninitialized warning in trans-intrinsic.c rguenth at gcc dot gnu.org
@ 2021-04-16 0:06 ` msebor at gcc dot gnu.org
2021-04-27 11:38 ` [Bug tree-optimization/91470] [10/11/12 " jakub at gcc dot gnu.org
` (11 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: msebor at gcc dot gnu.org @ 2021-04-16 0:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |10.2.0, 11.0
Last reconfirmed|2019-08-27 00:00:00 |2021-4-15
CC| |msebor at gcc dot gnu.org
--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Reconfirmed with GCC 11 and a reduced/corrected test case and slightly enhanced
output:
$ cat pr91470.c && gcc -O2 -S -Wall pr91470.c
int i1;
int* f1 (int);
void f2 (int, int);
void g2 (int, void *);
void f0 (void)
{
int *p;
for (int i = 0; i < 2; i++)
{
f2 (0, 0);
f2 (0, 0);
f2 (0, 0);
f2 (0, 0);
g2 (i1, 0);
if (i == 0)
p = f1 (0);
}
g2 (i1, p);
}
void f0 ()
{
int i;
int * p;
int i1.0_1;
int i1.1_2;
int _6;
<bb 2> [local count: 357878152]:
<bb 3> [local count: 715863673]:
# p_26 = PHI <p_4(6), p_9(D)(2)>
# i_27 = PHI <_6(6), 0(2)>
# .MEM_28 = PHI <.MEM_25(6), .MEM_10(D)(2)>
# .MEM_12 = VDEF <.MEM_28>
f2 (0, 0);
# .MEM_13 = VDEF <.MEM_12>
f2 (0, 0);
# .MEM_14 = VDEF <.MEM_13>
f2 (0, 0);
# .MEM_15 = VDEF <.MEM_14>
f2 (0, 0);
# VUSE <.MEM_15>
i1.0_1 = i1;
# .MEM_16 = VDEF <.MEM_15>
g2 (i1.0_1, 0B);
_6 = i_27 + 1;
if (_6 == 1)
goto <bb 4>; [21.69%]
else
goto <bb 5>; [78.31%]
<bb 4> [local count: 155270830]:
# .MEM_17 = VDEF <.MEM_16>
p_18 = f1 (0);
goto <bb 6>; [100.00%]
<bb 5> [local count: 560592843]:
if (_6 != 2)
goto <bb 8>; [36.16%]
else
goto <bb 7>; [63.84%]
<bb 8> [local count: 202714689]:
<bb 6> [local count: 357985519]:
# p_4 = PHI <p_26(8), p_18(4)>
# .MEM_25 = PHI <.MEM_16(8), .MEM_17(4)>
goto <bb 3>; [100.00%]
<bb 7> [local count: 357878152]:
# VUSE <.MEM_16>
i1.1_2 = i1;
# .MEM_11 = VDEF <.MEM_16>
g2 (i1.1_2, p_26); [tail call]
# VUSE <.MEM_11>
return;
}
pr91470.c: In function ‘f0’:
pr91470.c:23:3: warning: ‘p’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
23 | g2 (i1, p);
| ^~~~~~~~~~
pr91470.c:9:8: note: used when ‘i + 1 != 1 && i + 1 != 2 || i + 1 != 1 && i + 1
== 2’
9 | int *p;
| ^
pr91470.c:9:8: note: ‘p’ was declared here
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/91470] [10/11/12 Regression] bogus uninitialized warning in trans-intrinsic.c
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
2021-01-14 8:18 ` [Bug tree-optimization/91470] [10/11 Regression] bogus uninitialized warning in trans-intrinsic.c rguenth at gcc dot gnu.org
2021-04-16 0:06 ` msebor at gcc dot gnu.org
@ 2021-04-27 11:38 ` jakub at gcc dot gnu.org
2021-05-04 12:31 ` rguenth at gcc dot gnu.org
` (10 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-27 11:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.0 |11.2
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.1 has been released, retargeting bugs to GCC 11.2.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/91470] [10/11/12 Regression] bogus uninitialized warning in trans-intrinsic.c
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2021-04-27 11:38 ` [Bug tree-optimization/91470] [10/11/12 " jakub at gcc dot gnu.org
@ 2021-05-04 12:31 ` rguenth at gcc dot gnu.org
2021-07-28 7:04 ` rguenth at gcc dot gnu.org
` (9 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-05-04 12:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/91470] [10/11/12 Regression] bogus uninitialized warning in trans-intrinsic.c
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2021-05-04 12:31 ` rguenth at gcc dot gnu.org
@ 2021-07-28 7:04 ` rguenth at gcc dot gnu.org
2022-04-21 7:47 ` rguenth at gcc dot gnu.org
` (8 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-07-28 7:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.2 |11.3
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.2 is being released, retargeting bugs to GCC 11.3
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/91470] [10/11/12 Regression] bogus uninitialized warning in trans-intrinsic.c
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2021-07-28 7:04 ` rguenth at gcc dot gnu.org
@ 2022-04-21 7:47 ` rguenth at gcc dot gnu.org
2022-11-20 4:35 ` law at gcc dot gnu.org
` (7 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-04-21 7:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.3 |11.4
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.3 is being released, retargeting bugs to GCC 11.4.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/91470] [10/11/12 Regression] bogus uninitialized warning in trans-intrinsic.c
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2022-04-21 7:47 ` rguenth at gcc dot gnu.org
@ 2022-11-20 4:35 ` law at gcc dot gnu.org
2022-11-21 6:48 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: law at gcc dot gnu.org @ 2022-11-20 4:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470
Jeffrey A. Law <law at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[10/11/12/13 Regression] |[10/11/12 Regression] bogus
|bogus uninitialized warning |uninitialized warning in
|in trans-intrinsic.c |trans-intrinsic.c
--- Comment #9 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Seems to be fixed on the trunk so removing 13 regression marker. Leaving
others, though I doubt backporting the changes to fix this is likely to happen.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/91470] [10/11/12 Regression] bogus uninitialized warning in trans-intrinsic.c
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2022-11-20 4:35 ` law at gcc dot gnu.org
@ 2022-11-21 6:48 ` rguenth at gcc dot gnu.org
2022-12-27 14:48 ` marxin at gcc dot gnu.org
` (5 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-11-21 6:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needs-bisection
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
I wonder what exactly fixed it.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/91470] [10/11/12 Regression] bogus uninitialized warning in trans-intrinsic.c
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2022-11-21 6:48 ` rguenth at gcc dot gnu.org
@ 2022-12-27 14:48 ` marxin at gcc dot gnu.org
2023-01-09 10:04 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-12-27 14:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marxin at gcc dot gnu.org
Keywords|needs-bisection |
--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> ---
Got fixed with r12-476-gd846f225c25c5885.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/91470] [10/11/12 Regression] bogus uninitialized warning in trans-intrinsic.c
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2022-12-27 14:48 ` marxin at gcc dot gnu.org
@ 2023-01-09 10:04 ` rguenth at gcc dot gnu.org
2023-05-29 10:02 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-01-09 10:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470
--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
OK, so better optimization.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/91470] [10/11/12 Regression] bogus uninitialized warning in trans-intrinsic.c
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2023-01-09 10:04 ` rguenth at gcc dot gnu.org
@ 2023-05-29 10:02 ` jakub at gcc dot gnu.org
2024-07-19 13:05 ` [Bug tree-optimization/91470] [12 " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-05-29 10:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.4 |11.5
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.4 is being released, retargeting bugs to GCC 11.5.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/91470] [12 Regression] bogus uninitialized warning in trans-intrinsic.c
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
` (10 preceding siblings ...)
2023-05-29 10:02 ` jakub at gcc dot gnu.org
@ 2024-07-19 13:05 ` rguenth at gcc dot gnu.org
2024-08-04 17:52 ` sjames at gcc dot gnu.org
2024-08-04 17:52 ` sjames at gcc dot gnu.org
13 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-07-19 13:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.5 |12.5
--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11 branch is being closed.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/91470] [12 Regression] bogus uninitialized warning in trans-intrinsic.c
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
` (11 preceding siblings ...)
2024-07-19 13:05 ` [Bug tree-optimization/91470] [12 " rguenth at gcc dot gnu.org
@ 2024-08-04 17:52 ` sjames at gcc dot gnu.org
2024-08-04 17:52 ` sjames at gcc dot gnu.org
13 siblings, 0 replies; 14+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-08-04 17:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Known to work| |12.1.0
Resolution|--- |FIXED
--- Comment #15 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #11)
> Got fixed with r12-476-gd846f225c25c5885.
... which is in 12.1.0, hence fixed (and checked).
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/91470] [12 Regression] bogus uninitialized warning in trans-intrinsic.c
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
` (12 preceding siblings ...)
2024-08-04 17:52 ` sjames at gcc dot gnu.org
@ 2024-08-04 17:52 ` sjames at gcc dot gnu.org
13 siblings, 0 replies; 14+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-08-04 17:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91470
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|12.5 |12.0
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2024-08-04 17:52 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-91470-4@http.gcc.gnu.org/bugzilla/>
2021-01-14 8:18 ` [Bug tree-optimization/91470] [10/11 Regression] bogus uninitialized warning in trans-intrinsic.c rguenth at gcc dot gnu.org
2021-04-16 0:06 ` msebor at gcc dot gnu.org
2021-04-27 11:38 ` [Bug tree-optimization/91470] [10/11/12 " jakub at gcc dot gnu.org
2021-05-04 12:31 ` rguenth at gcc dot gnu.org
2021-07-28 7:04 ` rguenth at gcc dot gnu.org
2022-04-21 7:47 ` rguenth at gcc dot gnu.org
2022-11-20 4:35 ` law at gcc dot gnu.org
2022-11-21 6:48 ` rguenth at gcc dot gnu.org
2022-12-27 14:48 ` marxin at gcc dot gnu.org
2023-01-09 10:04 ` rguenth at gcc dot gnu.org
2023-05-29 10:02 ` jakub at gcc dot gnu.org
2024-07-19 13:05 ` [Bug tree-optimization/91470] [12 " rguenth at gcc dot gnu.org
2024-08-04 17:52 ` sjames at gcc dot gnu.org
2024-08-04 17:52 ` sjames 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).