public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug pch/45471] ICE with PCH and differening strict-aliasing settings
[not found] <bug-45471-4@http.gcc.gnu.org/bugzilla/>
@ 2010-12-08 14:37 ` zsojka at seznam dot cz
2021-10-12 7:52 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2010-12-08 14:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45471
--- Comment #4 from Zdenek Sojka <zsojka at seznam dot cz> 2010-12-08 14:37:21 UTC ---
(In reply to comment #3)
This patch indeed fixes the problem. (verified at r167585, x86_64-linux)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug pch/45471] ICE with PCH and differening strict-aliasing settings
[not found] <bug-45471-4@http.gcc.gnu.org/bugzilla/>
2010-12-08 14:37 ` [Bug pch/45471] ICE with PCH and differening strict-aliasing settings zsojka at seznam dot cz
@ 2021-10-12 7:52 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-12 7:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45471
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |6.0
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed a different way than my patch. It was fixed by r6-5494 where
get_alias_set no longer depends on strict-aliasing. This was done to fix the
attribute option fno-strict-aliasing (or fstrict-aliasing) case for functions.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug pch/45471] ICE with PCH and differening strict-aliasing settings
2010-08-31 23:11 [Bug pch/45471] New: ICE: in typeid_ok_p, at cp/rtti.c:311 when using precompiled headers zsojka at seznam dot cz
2010-08-31 23:14 ` [Bug pch/45471] ICE with PCH and differening strict-aliasing settings pinskia at gcc dot gnu dot org
@ 2010-08-31 23:16 ` zsojka at seznam dot cz
1 sibling, 0 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2010-08-31 23:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from zsojka at seznam dot cz 2010-08-31 23:16 -------
Created an attachment (id=21629)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21629&action=view)
reduced header file
#include <typeinfo>
can be replaced with:
namespace std { struct type_info { }; }
The second part of testcase is just:
----- testcase.C -----
#include "pr45471.h"
----------------------
$ g++ -O2 pr45471.h
$ g++ -O2 pr45471.C -fno-strict-aliasing
pr45471.h: In constructor 'A<<anonymous> >::A() [with int <anonymous> = 0]':
pr45471.h:12:13: instantiated from here
pr45471.h:8:5: internal compiler error: in typeid_ok_p, at cp/rtti.c:311
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45471
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug pch/45471] ICE with PCH and differening strict-aliasing settings
2010-08-31 23:11 [Bug pch/45471] New: ICE: in typeid_ok_p, at cp/rtti.c:311 when using precompiled headers zsojka at seznam dot cz
@ 2010-08-31 23:14 ` pinskia at gcc dot gnu dot org
2010-08-31 23:16 ` zsojka at seznam dot cz
1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-08-31 23:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2010-08-31 23:14 -------
The PCH should be rejected for the differences in strict-aliasing.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Summary|ICE: in typeid_ok_p, at |ICE with PCH and differening
|cp/rtti.c:311 when using |strict-aliasing settings
|precompiled headers |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45471
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-10-12 7:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-45471-4@http.gcc.gnu.org/bugzilla/>
2010-12-08 14:37 ` [Bug pch/45471] ICE with PCH and differening strict-aliasing settings zsojka at seznam dot cz
2021-10-12 7:52 ` pinskia at gcc dot gnu.org
2010-08-31 23:11 [Bug pch/45471] New: ICE: in typeid_ok_p, at cp/rtti.c:311 when using precompiled headers zsojka at seznam dot cz
2010-08-31 23:14 ` [Bug pch/45471] ICE with PCH and differening strict-aliasing settings pinskia at gcc dot gnu dot org
2010-08-31 23:16 ` zsojka at seznam dot cz
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).