public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/111834] New: GCC: 14: out of memory when __builtin_return_address receive a large constant
@ 2023-10-16 13:54 141242068 at smail dot nju.edu.cn
2023-10-16 14:00 ` [Bug c/111834] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: 141242068 at smail dot nju.edu.cn @ 2023-10-16 13:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111834
Bug ID: 111834
Summary: GCC: 14: out of memory when __builtin_return_address
receive a large constant
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: 141242068 at smail dot nju.edu.cn
Target Milestone: ---
Compiler Explorer: https://gcc.godbolt.org/z/7d63G6fWT
Testcase is pasted below:
```
void *retaddr;
void foo (void) {
retaddr = __builtin_return_address (1084850891);
}
```
When compile it with GCC-14, it quickly used up all 8G memory on my PC.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c/111834] GCC: 14: out of memory when __builtin_return_address receive a large constant
2023-10-16 13:54 [Bug c/111834] New: GCC: 14: out of memory when __builtin_return_address receive a large constant 141242068 at smail dot nju.edu.cn
@ 2023-10-16 14:00 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-10-16 14:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111834
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 105910
*** This bug has been marked as a duplicate of bug 105910 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-16 14:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-16 13:54 [Bug c/111834] New: GCC: 14: out of memory when __builtin_return_address receive a large constant 141242068 at smail dot nju.edu.cn
2023-10-16 14:00 ` [Bug c/111834] " pinskia 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).