* [Bug middle-end/115208] [15 Regression] Memory consumption get extremely high after r15-809
2024-05-24 6:35 [Bug middle-end/115208] New: [15 Regression] Memory consumption get extremely high after r15-809 haochen.jiang at intel dot com
@ 2024-05-24 6:39 ` haochen.jiang at intel dot com
2024-05-24 6:41 ` [Bug tree-optimization/115208] " pinskia at gcc dot gnu.org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: haochen.jiang at intel dot com @ 2024-05-24 6:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208
--- Comment #1 from Haochen Jiang <haochen.jiang at intel dot com> ---
Forgot to mention, the memory consumption collection is collected on x86_64
target in order to get the test finished. Therefore, we could debug on x86_64.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-809
2024-05-24 6:35 [Bug middle-end/115208] New: [15 Regression] Memory consumption get extremely high after r15-809 haochen.jiang at intel dot com
2024-05-24 6:39 ` [Bug middle-end/115208] " haochen.jiang at intel dot com
@ 2024-05-24 6:41 ` pinskia at gcc dot gnu.org
2024-05-24 7:39 ` rguenth at gcc dot gnu.org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-05-24 6:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |tree-optimization
Target Milestone|--- |15.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-809
2024-05-24 6:35 [Bug middle-end/115208] New: [15 Regression] Memory consumption get extremely high after r15-809 haochen.jiang at intel dot com
2024-05-24 6:39 ` [Bug middle-end/115208] " haochen.jiang at intel dot com
2024-05-24 6:41 ` [Bug tree-optimization/115208] " pinskia at gcc dot gnu.org
@ 2024-05-24 7:39 ` rguenth at gcc dot gnu.org
2024-05-24 13:22 ` pinskia at gcc dot gnu.org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-05-24 7:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-809
2024-05-24 6:35 [Bug middle-end/115208] New: [15 Regression] Memory consumption get extremely high after r15-809 haochen.jiang at intel dot com
` (2 preceding siblings ...)
2024-05-24 7:39 ` rguenth at gcc dot gnu.org
@ 2024-05-24 13:22 ` pinskia at gcc dot gnu.org
2024-05-24 14:08 ` ro at gcc dot gnu.org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-05-24 13:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ro at gcc dot gnu.org
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 115213 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-809
2024-05-24 6:35 [Bug middle-end/115208] New: [15 Regression] Memory consumption get extremely high after r15-809 haochen.jiang at intel dot com
` (3 preceding siblings ...)
2024-05-24 13:22 ` pinskia at gcc dot gnu.org
@ 2024-05-24 14:08 ` ro at gcc dot gnu.org
2024-05-25 2:16 ` [Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-807-gfae5e6a4dfcf92 sjames at gcc dot gnu.org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: ro at gcc dot gnu.org @ 2024-05-24 14:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208
--- Comment #3 from Rainer Orth <ro at gcc dot gnu.org> ---
An i686-pc-linux-gnu reghunt just completed, looking for the rust OOM failures
reported in PR bootstrap/115213. This patch is the culprit:
commit fae5e6a4dfcf9270cd09c2240480860b09c2c627
Author: Andrew MacLeod <amacleod@redhat.com>
Date: Tue May 21 14:20:52 2024 -0400
Make gori_map a shared component.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-807-gfae5e6a4dfcf92
2024-05-24 6:35 [Bug middle-end/115208] New: [15 Regression] Memory consumption get extremely high after r15-809 haochen.jiang at intel dot com
` (4 preceding siblings ...)
2024-05-24 14:08 ` ro at gcc dot gnu.org
@ 2024-05-25 2:16 ` sjames at gcc dot gnu.org
2024-05-25 15:08 ` schwab@linux-m68k.org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-05-25 2:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |blocker
--- Comment #4 from Sam James <sjames at gcc dot gnu.org> ---
Blocker given I can't do any more testing with this.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-807-gfae5e6a4dfcf92
2024-05-24 6:35 [Bug middle-end/115208] New: [15 Regression] Memory consumption get extremely high after r15-809 haochen.jiang at intel dot com
` (5 preceding siblings ...)
2024-05-25 2:16 ` [Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-807-gfae5e6a4dfcf92 sjames at gcc dot gnu.org
@ 2024-05-25 15:08 ` schwab@linux-m68k.org
2024-05-25 16:38 ` amacleod at redhat dot com
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: schwab@linux-m68k.org @ 2024-05-25 15:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |slyfox at gcc dot gnu.org
--- Comment #5 from Andreas Schwab <schwab@linux-m68k.org> ---
*** Bug 115227 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-807-gfae5e6a4dfcf92
2024-05-24 6:35 [Bug middle-end/115208] New: [15 Regression] Memory consumption get extremely high after r15-809 haochen.jiang at intel dot com
` (6 preceding siblings ...)
2024-05-25 15:08 ` schwab@linux-m68k.org
@ 2024-05-25 16:38 ` amacleod at redhat dot com
2024-05-25 19:46 ` slyfox at gcc dot gnu.org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: amacleod at redhat dot com @ 2024-05-25 16:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208
--- Comment #6 from Andrew Macleod <amacleod at redhat dot com> ---
Created attachment 58287
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58287&action=edit
proposed patch
I'm testing this patch, does it resolve your problem?
I forgot to free the gori_nmap object when the companion gori object was freed.
doh.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-807-gfae5e6a4dfcf92
2024-05-24 6:35 [Bug middle-end/115208] New: [15 Regression] Memory consumption get extremely high after r15-809 haochen.jiang at intel dot com
` (7 preceding siblings ...)
2024-05-25 16:38 ` amacleod at redhat dot com
@ 2024-05-25 19:46 ` slyfox at gcc dot gnu.org
2024-05-26 1:46 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: slyfox at gcc dot gnu.org @ 2024-05-25 19:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208
--- Comment #7 from Sergei Trofimovich <slyfox at gcc dot gnu.org> ---
(In reply to Andrew Macleod from comment #6)
> Created attachment 58287 [details]
> proposed patch
>
> I'm testing this patch, does it resolve your problem?
>
> I forgot to free the gori_nmap object when the companion gori object was
> freed. doh.
At least for me that fixed the crash when building libepoxy, doxygen and
p11-kit on i686-linux. Thank you!
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-807-gfae5e6a4dfcf92
2024-05-24 6:35 [Bug middle-end/115208] New: [15 Regression] Memory consumption get extremely high after r15-809 haochen.jiang at intel dot com
` (8 preceding siblings ...)
2024-05-25 19:46 ` slyfox at gcc dot gnu.org
@ 2024-05-26 1:46 ` cvs-commit at gcc dot gnu.org
2024-05-26 9:12 ` ro at CeBiTec dot Uni-Bielefeld.DE
2024-05-26 12:43 ` haochen.jiang at intel dot com
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-05-26 1:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andrew Macleod <amacleod@gcc.gnu.org>:
https://gcc.gnu.org/g:f9810728cf42ea7c3d84198aa582e53cfb2302d1
commit r15-833-gf9810728cf42ea7c3d84198aa582e53cfb2302d1
Author: Andrew MacLeod <amacleod@redhat.com>
Date: Sat May 25 12:28:52 2024 -0400
Delete gori_map during destruction of GORI.
Forgot to free the gori_mpa object when a gori object is freed.
PR tree-optimization/115208
* value-query.cc (range_query::create_gori): Confirm gori_map is
NULL.
(range_query::destroy_gori): Free gori_map if one was allocated.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-807-gfae5e6a4dfcf92
2024-05-24 6:35 [Bug middle-end/115208] New: [15 Regression] Memory consumption get extremely high after r15-809 haochen.jiang at intel dot com
` (9 preceding siblings ...)
2024-05-26 1:46 ` cvs-commit at gcc dot gnu.org
@ 2024-05-26 9:12 ` ro at CeBiTec dot Uni-Bielefeld.DE
2024-05-26 12:43 ` haochen.jiang at intel dot com
11 siblings, 0 replies; 13+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2024-05-26 9:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208
--- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #6 from Andrew Macleod <amacleod at redhat dot com> ---
> Created attachment 58287
> --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58287&action=edit
> proposed patch
>
> I'm testing this patch, does it resolve your problem?
It did: i386-pc-solaris2.11 and sparc-sun-solaris2.11 bootstraps
completed without issues. Thanks.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-807-gfae5e6a4dfcf92
2024-05-24 6:35 [Bug middle-end/115208] New: [15 Regression] Memory consumption get extremely high after r15-809 haochen.jiang at intel dot com
` (10 preceding siblings ...)
2024-05-26 9:12 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2024-05-26 12:43 ` haochen.jiang at intel dot com
11 siblings, 0 replies; 13+ messages in thread
From: haochen.jiang at intel dot com @ 2024-05-26 12:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208
Haochen Jiang <haochen.jiang at intel dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #10 from Haochen Jiang <haochen.jiang at intel dot com> ---
It also solved the issue for me. Thx!
^ permalink raw reply [flat|nested] 13+ messages in thread