public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/63982] New: Almost all of the devirt testcases fail with -mabi=ilp32
@ 2014-11-19 20:29 pinskia at gcc dot gnu.org
2014-11-20 0:06 ` [Bug target/63982] " pinskia at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-11-19 20:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63982
Bug ID: 63982
Summary: Almost all of the devirt testcases fail with
-mabi=ilp32
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target: aarch64
FAIL: g++.dg/ipa/devirt-10.C -std=gnu++98 scan-ipa-dump-times cp "Discovered
a virtual call to a known target" 2
FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times cp "Discovered
a virtual call to a known target" 2
FAIL: g++.dg/ipa/devirt-10.C -std=gnu++14 scan-ipa-dump-times cp "Discovered
a virtual call to a known target" 2
FAIL: g++.dg/ipa/devirt-34.C -std=gnu++98 scan-ipa-dump devirt "Speculative
targets"
FAIL: g++.dg/ipa/devirt-34.C -std=gnu++98 scan-ipa-dump devirt "1
speculatively devirtualized"
FAIL: g++.dg/ipa/devirt-34.C -std=gnu++11 scan-ipa-dump devirt "Speculative
targets"
FAIL: g++.dg/ipa/devirt-34.C -std=gnu++11 scan-ipa-dump devirt "1
speculatively devirtualized"
FAIL: g++.dg/ipa/devirt-34.C -std=gnu++14 scan-ipa-dump devirt "Speculative
targets"
FAIL: g++.dg/ipa/devirt-34.C -std=gnu++14 scan-ipa-dump devirt "1
speculatively devirtualized"
FAIL: g++.dg/ipa/devirt-35.C -std=gnu++98 (internal compiler error)
FAIL: g++.dg/ipa/devirt-35.C -std=gnu++98 (test for excess errors)
FAIL: g++.dg/ipa/devirt-35.C -std=gnu++98 scan-tree-dump fre1 "converting
indirect call to function virtual int B::t"
FAIL: g++.dg/ipa/devirt-35.C -std=gnu++11 (internal compiler error)
FAIL: g++.dg/ipa/devirt-35.C -std=gnu++11 (test for excess errors)
FAIL: g++.dg/ipa/devirt-35.C -std=gnu++11 scan-tree-dump fre1 "converting
indirect call to function virtual int B::t"
FAIL: g++.dg/ipa/devirt-35.C -std=gnu++14 (internal compiler error)
FAIL: g++.dg/ipa/devirt-35.C -std=gnu++14 (test for excess errors)
FAIL: g++.dg/ipa/devirt-35.C -std=gnu++14 scan-tree-dump fre1 "converting
indirect call to function virtual int B::t"
FAIL: g++.dg/ipa/devirt-36.C -std=gnu++98 (internal compiler error)
FAIL: g++.dg/ipa/devirt-36.C -std=gnu++98 (test for excess errors)
FAIL: g++.dg/ipa/devirt-36.C -std=gnu++98 scan-tree-dump fre1 "converting
indirect call to function virtual int B::t"
FAIL: g++.dg/ipa/devirt-36.C -std=gnu++11 (internal compiler error)
FAIL: g++.dg/ipa/devirt-36.C -std=gnu++11 (test for excess errors)
FAIL: g++.dg/ipa/devirt-36.C -std=gnu++11 scan-tree-dump fre1 "converting
indirect call to function virtual int B::t"
FAIL: g++.dg/ipa/devirt-36.C -std=gnu++14 (internal compiler error)
FAIL: g++.dg/ipa/devirt-36.C -std=gnu++14 (test for excess errors)
FAIL: g++.dg/ipa/devirt-36.C -std=gnu++14 scan-tree-dump fre1 "converting
indirect call to function virtual int B::t"
FAIL: g++.dg/ipa/devirt-37.C -std=gnu++98 scan-tree-dump fre2 "No dynamic
type change found."
FAIL: g++.dg/ipa/devirt-37.C -std=gnu++98 scan-tree-dump fre2 "Checking vtbl
store:"
FAIL: g++.dg/ipa/devirt-37.C -std=gnu++98 scan-tree-dump fre2 "Function call
may change dynamic type:extcall"
FAIL: g++.dg/ipa/devirt-37.C -std=gnu++98 scan-tree-dump fre2 "converting
indirect call to function virtual void"
FAIL: g++.dg/ipa/devirt-37.C -std=gnu++11 scan-tree-dump fre2 "No dynamic
type change found."
FAIL: g++.dg/ipa/devirt-37.C -std=gnu++11 scan-tree-dump fre2 "Checking vtbl
store:"
FAIL: g++.dg/ipa/devirt-37.C -std=gnu++11 scan-tree-dump fre2 "Function call
may change dynamic type:extcall"
FAIL: g++.dg/ipa/devirt-37.C -std=gnu++11 scan-tree-dump fre2 "converting
indirect call to function virtual void"
FAIL: g++.dg/ipa/devirt-37.C -std=gnu++14 scan-tree-dump fre2 "No dynamic
type change found."
FAIL: g++.dg/ipa/devirt-37.C -std=gnu++14 scan-tree-dump fre2 "Checking vtbl
store:"
FAIL: g++.dg/ipa/devirt-37.C -std=gnu++14 scan-tree-dump fre2 "Function call
may change dynamic type:extcall"
FAIL: g++.dg/ipa/devirt-37.C -std=gnu++14 scan-tree-dump fre2 "converting
indirect call to function virtual void"
FAIL: g++.dg/ipa/devirt-41.C -std=gnu++98 scan-ipa-dump inline "Second type
is base of first"
FAIL: g++.dg/ipa/devirt-41.C -std=gnu++11 scan-ipa-dump inline "Second type
is base of first"
FAIL: g++.dg/ipa/devirt-41.C -std=gnu++14 scan-ipa-dump inline "Second type
is base of first"
FAIL: g++.dg/ipa/devirt-42.C -std=gnu++98 scan-ipa-dump-times inline "First
type is base of second" 3
FAIL: g++.dg/ipa/devirt-42.C -std=gnu++98 scan-ipa-dump-times inline
"Discovered a virtual call to a known target" 2
FAIL: g++.dg/ipa/devirt-42.C -std=gnu++98 scan-tree-dump-times optimized
"return 2" 3
FAIL: g++.dg/ipa/devirt-42.C -std=gnu++98 scan-tree-dump-not optimized
"OBJ_TYPE_REF"
FAIL: g++.dg/ipa/devirt-42.C -std=gnu++11 scan-ipa-dump-times inline "First
type is base of second" 3
FAIL: g++.dg/ipa/devirt-42.C -std=gnu++11 scan-ipa-dump-times inline
"Discovered a virtual call to a known target" 2
FAIL: g++.dg/ipa/devirt-42.C -std=gnu++11 scan-tree-dump-times optimized
"return 2" 3
FAIL: g++.dg/ipa/devirt-42.C -std=gnu++11 scan-tree-dump-not optimized
"OBJ_TYPE_REF"
FAIL: g++.dg/ipa/devirt-42.C -std=gnu++14 scan-ipa-dump-times inline "First
type is base of second" 3
FAIL: g++.dg/ipa/devirt-42.C -std=gnu++14 scan-ipa-dump-times inline
"Discovered a virtual call to a known target" 2
FAIL: g++.dg/ipa/devirt-42.C -std=gnu++14 scan-tree-dump-times optimized
"return 2" 3
FAIL: g++.dg/ipa/devirt-42.C -std=gnu++14 scan-tree-dump-not optimized
"OBJ_TYPE_REF"
FAIL: g++.dg/ipa/devirt-44.C -std=gnu++98 scan-ipa-dump inline "Second type
is base of first"
FAIL: g++.dg/ipa/devirt-44.C -std=gnu++98 scan-ipa-dump-times inline
"Discovered a virtual call to a known target[^\\n]*B::foo" 1
FAIL: g++.dg/ipa/devirt-44.C -std=gnu++11 scan-ipa-dump inline "Second type
is base of first"
FAIL: g++.dg/ipa/devirt-44.C -std=gnu++11 scan-ipa-dump-times inline
"Discovered a virtual call to a known target[^\\n]*B::foo" 1
FAIL: g++.dg/ipa/devirt-44.C -std=gnu++14 scan-ipa-dump inline "Second type
is base of first"
FAIL: g++.dg/ipa/devirt-44.C -std=gnu++14 scan-ipa-dump-times inline
"Discovered a virtual call to a known target[^\\n]*B::foo" 1
FAIL: g++.dg/ipa/devirt-45.C -std=gnu++98 scan-ipa-dump-times inline
"Discovered a virtual call to a known target[^\\n]*B::foo" 1
FAIL: g++.dg/ipa/devirt-45.C -std=gnu++11 scan-ipa-dump-times inline
"Discovered a virtual call to a known target[^\\n]*B::foo" 1
FAIL: g++.dg/ipa/devirt-45.C -std=gnu++14 scan-ipa-dump-times inline
"Discovered a virtual call to a known target[^\\n]*B::foo" 1
FAIL: g++.dg/ipa/devirt-46.C -std=gnu++98 scan-ipa-dump-times inline
"Discovered a virtual call to a known target[^\\n]*B::foo" 1
FAIL: g++.dg/ipa/devirt-46.C -std=gnu++11 scan-ipa-dump-times inline
"Discovered a virtual call to a known target[^\\n]*B::foo" 1
FAIL: g++.dg/ipa/devirt-46.C -std=gnu++14 scan-ipa-dump-times inline
"Discovered a virtual call to a known target[^\\n]*B::foo" 1
FAIL: g++.dg/ipa/devirt-47.C -std=gnu++98 scan-ipa-dump-times inline
"Discovered a virtual call to a known target[^\\n]*C::_ZTh" 1
FAIL: g++.dg/ipa/devirt-47.C -std=gnu++11 scan-ipa-dump-times inline
"Discovered a virtual call to a known target[^\\n]*C::_ZTh" 1
FAIL: g++.dg/ipa/devirt-47.C -std=gnu++14 scan-ipa-dump-times inline
"Discovered a virtual call to a known target[^\\n]*C::_ZTh" 1
FAIL: g++.dg/ipa/devirt-9.C -std=gnu++98 scan-ipa-dump-not whole-program
"OBJ_TYPE_REF"
FAIL: g++.dg/ipa/devirt-9.C -std=gnu++11 scan-ipa-dump-not whole-program
"OBJ_TYPE_REF"
FAIL: g++.dg/ipa/devirt-9.C -std=gnu++14 scan-ipa-dump-not whole-program
"OBJ_TYPE_REF"
FAIL: g++.dg/ipa/devirt-g-1.C -std=gnu++98 scan-tree-dump-times optimized
"OBJ_TYPE_REF" 0
FAIL: g++.dg/ipa/devirt-g-1.C -std=gnu++11 scan-tree-dump-times optimized
"OBJ_TYPE_REF" 0
FAIL: g++.dg/ipa/devirt-g-1.C -std=gnu++14 scan-tree-dump-times optimized
"OBJ_TYPE_REF" 0
FAIL: g++.dg/ipa/pr60600.C -std=gnu++98 scan-ipa-dump cp "Type inconsistent
devirtualization"
FAIL: g++.dg/ipa/pr60600.C -std=gnu++11 scan-ipa-dump cp "Type inconsistent
devirtualization"
FAIL: g++.dg/ipa/pr60600.C -std=gnu++14 scan-ipa-dump cp "Type inconsistent
devirtualization"
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/63982] Almost all of the devirt testcases fail with -mabi=ilp32
2014-11-19 20:29 [Bug target/63982] New: Almost all of the devirt testcases fail with -mabi=ilp32 pinskia at gcc dot gnu.org
@ 2014-11-20 0:06 ` pinskia at gcc dot gnu.org
2014-11-20 0:09 ` pinskia at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-11-20 0:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63982
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2014-11-20
Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I have a patch. The problem is the use of Pmode which is not the C/C++ size
for pointers but rather it is the mode which is used when doing loads from a
pointer (that is Pmode is the mode which is used inside mem RTL).
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/63982] Almost all of the devirt testcases fail with -mabi=ilp32
2014-11-19 20:29 [Bug target/63982] New: Almost all of the devirt testcases fail with -mabi=ilp32 pinskia at gcc dot gnu.org
2014-11-20 0:06 ` [Bug target/63982] " pinskia at gcc dot gnu.org
@ 2014-11-20 0:09 ` pinskia at gcc dot gnu.org
2014-11-20 0:47 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-11-20 0:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63982
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 34045
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34045&action=edit
Patch which needs testing
A simple s/GET_MODE_BITSIZE (Pmode)/POINTER_SIZE in ipa-polymorphic-call.c
fixes the issue.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/63982] Almost all of the devirt testcases fail with -mabi=ilp32
2014-11-19 20:29 [Bug target/63982] New: Almost all of the devirt testcases fail with -mabi=ilp32 pinskia at gcc dot gnu.org
2014-11-20 0:06 ` [Bug target/63982] " pinskia at gcc dot gnu.org
2014-11-20 0:09 ` pinskia at gcc dot gnu.org
@ 2014-11-20 0:47 ` pinskia at gcc dot gnu.org
2014-11-20 0:55 ` [Bug target/63982] [5 Regression] " pinskia at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-11-20 0:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63982
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 63981 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/63982] [5 Regression] Almost all of the devirt testcases fail with -mabi=ilp32
2014-11-19 20:29 [Bug target/63982] New: Almost all of the devirt testcases fail with -mabi=ilp32 pinskia at gcc dot gnu.org
` (2 preceding siblings ...)
2014-11-20 0:47 ` pinskia at gcc dot gnu.org
@ 2014-11-20 0:55 ` pinskia at gcc dot gnu.org
2014-11-20 17:13 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-11-20 0:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63982
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code, patch,
| |wrong-code
URL| |https://gcc.gnu.org/ml/gcc-
| |patches/2014-11/msg02598.ht
| |ml
Target Milestone|--- |5.0
Summary|Almost all of the devirt |[5 Regression] Almost all
|testcases fail with |of the devirt testcases
|-mabi=ilp32 |fail with -mabi=ilp32
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/63982] [5 Regression] Almost all of the devirt testcases fail with -mabi=ilp32
2014-11-19 20:29 [Bug target/63982] New: Almost all of the devirt testcases fail with -mabi=ilp32 pinskia at gcc dot gnu.org
` (3 preceding siblings ...)
2014-11-20 0:55 ` [Bug target/63982] [5 Regression] " pinskia at gcc dot gnu.org
@ 2014-11-20 17:13 ` pinskia at gcc dot gnu.org
2014-11-20 17:14 ` pinskia at gcc dot gnu.org
2014-11-22 21:46 ` pinskia at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-11-20 17:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63982
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed. I put 63981 in the changelog.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/63982] [5 Regression] Almost all of the devirt testcases fail with -mabi=ilp32
2014-11-19 20:29 [Bug target/63982] New: Almost all of the devirt testcases fail with -mabi=ilp32 pinskia at gcc dot gnu.org
` (4 preceding siblings ...)
2014-11-20 17:13 ` pinskia at gcc dot gnu.org
@ 2014-11-20 17:14 ` pinskia at gcc dot gnu.org
2014-11-22 21:46 ` pinskia at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-11-20 17:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63982
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Author: pinskia
Date: Thu Nov 20 17:14:09 2014
New Revision: 217889
URL: https://gcc.gnu.org/viewcvs?rev=217889&root=gcc&view=rev
Log:
2014-11-20 Andrew Pinski <apinski@cavium.com>
PR ipa/63981
PR ipa/63982
* ipa-polymorphic-call.c (possible_placement_new):
Use POINTER_SIZE instead of GET_MODE_BITSIZE (Pmode).
(ipa_polymorphic_call_context::restrict_to_inner_class): Likewise.
(extr_type_from_vtbl_ptr_store): Likewise.
Modified:
trunk/gcc/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/63982] [5 Regression] Almost all of the devirt testcases fail with -mabi=ilp32
2014-11-19 20:29 [Bug target/63982] New: Almost all of the devirt testcases fail with -mabi=ilp32 pinskia at gcc dot gnu.org
` (5 preceding siblings ...)
2014-11-20 17:14 ` pinskia at gcc dot gnu.org
@ 2014-11-22 21:46 ` pinskia at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-11-22 21:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63982
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-11-22 21:46 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-19 20:29 [Bug target/63982] New: Almost all of the devirt testcases fail with -mabi=ilp32 pinskia at gcc dot gnu.org
2014-11-20 0:06 ` [Bug target/63982] " pinskia at gcc dot gnu.org
2014-11-20 0:09 ` pinskia at gcc dot gnu.org
2014-11-20 0:47 ` pinskia at gcc dot gnu.org
2014-11-20 0:55 ` [Bug target/63982] [5 Regression] " pinskia at gcc dot gnu.org
2014-11-20 17:13 ` pinskia at gcc dot gnu.org
2014-11-20 17:14 ` pinskia at gcc dot gnu.org
2014-11-22 21:46 ` 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).