public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/101568] New: [12 regression] g++.dg/ipa/pr82352.C fails after r12-2338
@ 2021-07-21 21:41 seurer at gcc dot gnu.org
2021-07-21 21:44 ` [Bug other/101568] " pinskia at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-07-21 21:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101568
Bug ID: 101568
Summary: [12 regression] g++.dg/ipa/pr82352.C fails after
r12-2338
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: seurer at gcc dot gnu.org
Target Milestone: ---
g:f0500db3692276f60e0562c17c87a0cb03e34398, r12-2338
make -k check-gcc RUNTESTFLAGS="dg.exp=g++.dg/ipa/pr82352.C"
FAIL: g++.dg/ipa/pr82352.C -std=gnu++98 (test for excess errors)
FAIL: g++.dg/ipa/pr82352.C -std=gnu++14 (test for excess errors)
FAIL: g++.dg/ipa/pr82352.C -std=gnu++17 (test for excess errors)
FAIL: g++.dg/ipa/pr82352.C -std=gnu++2a (test for excess errors)
# of unexpected failures 4
Same failure for all 4:
FAIL: g++.dg/ipa/pr82352.C -std=gnu++17 (test for excess errors)
Excess errors:
cc1plus: warning: writing 16 bytes into a region of size 0
[-Wstringop-overflow=]
Note: This still occurs with r12-2456.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/101568] [12 regression] g++.dg/ipa/pr82352.C fails after r12-2338
2021-07-21 21:41 [Bug other/101568] New: [12 regression] g++.dg/ipa/pr82352.C fails after r12-2338 seurer at gcc dot gnu.org
@ 2021-07-21 21:44 ` pinskia at gcc dot gnu.org
2021-07-22 17:20 ` [Bug tree-optimization/101568] " cvs-commit at gcc dot gnu.org
2021-07-22 17:20 ` [Bug testsuite/101568] " msebor at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-21 21:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101568
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |12.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/101568] [12 regression] g++.dg/ipa/pr82352.C fails after r12-2338
2021-07-21 21:41 [Bug other/101568] New: [12 regression] g++.dg/ipa/pr82352.C fails after r12-2338 seurer at gcc dot gnu.org
2021-07-21 21:44 ` [Bug other/101568] " pinskia at gcc dot gnu.org
@ 2021-07-22 17:20 ` cvs-commit at gcc dot gnu.org
2021-07-22 17:20 ` [Bug testsuite/101568] " msebor at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-07-22 17:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101568
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>:
https://gcc.gnu.org/g:50f3ac1beb0cb400484dd2621dd0e3e530583e69
commit r12-2474-g50f3ac1beb0cb400484dd2621dd0e3e530583e69
Author: Martin Sebor <msebor@redhat.com>
Date: Thu Jul 22 10:23:11 2021 -0600
Remove an invalid defintion [PR101568].
Resolves:
PR testsuite/101568 - g++.dg/ipa/pr82352.C fails
gcc/testsuite/ChangeLog:
PR testsuite/101568
* g++.dg/ipa/pr82352.C
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/101568] [12 regression] g++.dg/ipa/pr82352.C fails after r12-2338
2021-07-21 21:41 [Bug other/101568] New: [12 regression] g++.dg/ipa/pr82352.C fails after r12-2338 seurer at gcc dot gnu.org
2021-07-21 21:44 ` [Bug other/101568] " pinskia at gcc dot gnu.org
2021-07-22 17:20 ` [Bug tree-optimization/101568] " cvs-commit at gcc dot gnu.org
@ 2021-07-22 17:20 ` msebor at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: msebor at gcc dot gnu.org @ 2021-07-22 17:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101568
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Last reconfirmed| |2021-7-22
Status|UNCONFIRMED |RESOLVED
Component|tree-optimization |testsuite
--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
The test calls a member operator new that returns an invalid address and then
stores data at that address. The warning correctly points that out.
class B
{
public :
void *operator new(size_t t) { return (void*)(42); };
};
Removing the bad definition avoids the warning.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-07-22 17:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 21:41 [Bug other/101568] New: [12 regression] g++.dg/ipa/pr82352.C fails after r12-2338 seurer at gcc dot gnu.org
2021-07-21 21:44 ` [Bug other/101568] " pinskia at gcc dot gnu.org
2021-07-22 17:20 ` [Bug tree-optimization/101568] " cvs-commit at gcc dot gnu.org
2021-07-22 17:20 ` [Bug testsuite/101568] " msebor 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).