public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/22310] New: ICE in in first_vi_for_offset
@ 2005-07-05 15:50 falk at debian dot org
2005-07-05 15:52 ` [Bug tree-optimization/22310] " falk at debian dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: falk at debian dot org @ 2005-07-05 15:50 UTC (permalink / raw)
To: gcc-bugs
% g++ -v -O -c min4.cc
Using built-in specs.
Target: alphaev68-unknown-linux-gnu
Configured with: ../configure --disable-nls --enable-languages=c++
Thread model: posix
gcc version 4.1.0 20050705 (experimental)
/usr/local/stow/gcc-2005.07.05/bin/../libexec/gcc/alphaev68-unknown-linux-gnu/4.1.0/cc1plus
-quiet -v -iprefix
/usr/local/stow/gcc-2005.07.05/bin/../lib/gcc/alphaev68-unknown-linux-gnu/4.1.0/
min4.cc -quiet -dumpbase min4.cc -mcpu=ev67 -auxbase min4 -O -version -o
/tmp/cc8V3FBD.s
ignoring nonexistent directory
"/usr/local/stow/gcc-2005.07.05/bin/../lib/gcc/alphaev68-unknown-linux-gnu/4.1.0/../../../../alphaev68-unknown-linux-gnu/include"
ignoring duplicate directory
"/usr/local/lib/gcc/alphaev68-unknown-linux-gnu/4.1.0/../../../../include/c++/4.1.0"
ignoring duplicate directory
"/usr/local/lib/gcc/alphaev68-unknown-linux-gnu/4.1.0/../../../../include/c++/4.1.0/alphaev68-unknown-linux-gnu"
ignoring duplicate directory
"/usr/local/lib/gcc/alphaev68-unknown-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward"
ignoring nonexistent directory "NONE/include"
ignoring duplicate directory
"/usr/local/lib/gcc/alphaev68-unknown-linux-gnu/4.1.0/include"
ignoring nonexistent directory
"/usr/local/lib/gcc/alphaev68-unknown-linux-gnu/4.1.0/../../../../alphaev68-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/stow/gcc-2005.07.05/bin/../lib/gcc/alphaev68-unknown-linux-gnu/4.1.0/../../../../include/c++/4.1.0
/usr/local/stow/gcc-2005.07.05/bin/../lib/gcc/alphaev68-unknown-linux-gnu/4.1.0/../../../../include/c++/4.1.0/alphaev68-unknown-linux-gnu
/usr/local/stow/gcc-2005.07.05/bin/../lib/gcc/alphaev68-unknown-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward
/usr/local/stow/gcc-2005.07.05/bin/../lib/gcc/alphaev68-unknown-linux-gnu/4.1.0/include
/usr/local/include
/usr/include
End of search list.
GNU C++ version 4.1.0 20050705 (experimental) (alphaev68-unknown-linux-gnu)
compiled by GNU C version 4.1.0 20050705 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 48193d44e71dca2238e35a9b055060fc
min4.cc: In member function 'const ai::defensive_position&
ai::best_defensive_position(const gamemap::location&, const
std::multimap<gamemap::location, gamemap::location,
std::less<gamemap::location>, std::allocator<std::pair<const gamemap::location,
gamemap::location> > >&, const std::multimap<gamemap::location,
gamemap::location, std::less<gamemap::location>, std::allocator<std::pair<const
gamemap::location, gamemap::location> > >&, const
std::multimap<gamemap::location, gamemap::location,
std::less<gamemap::location>, std::allocator<std::pair<const gamemap::location,
gamemap::location> > >&, const std::multimap<gamemap::location,
gamemap::location, std::less<gamemap::location>, std::allocator<std::pair<const
gamemap::location, gamemap::location> > >&) const':
min4.cc:74: internal compiler error: in first_vi_for_offset, at
tree-ssa-structalias.c:2565
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I cannot reproduce this on i686-pc-linux-gnu for some reason... last changelog
entry is
2005-07-05 Kazu Hirata <kazu@codesourcery.com>
* Makefile.in (stamp-as): Use $(ORIGINAL_AS_FOR_TARGET)
instead of $<. Don't remove ./as if it already exists.
so Daniel Berlin's fix for PR 22279 is already in.
--
Summary: ICE in in first_vi_for_offset
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: falk at debian dot org
CC: dberlin at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
dot org
GCC build triplet: alphaev68-unknown-linux-gnu
GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22310
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/22310] ICE in in first_vi_for_offset
2005-07-05 15:50 [Bug tree-optimization/22310] New: ICE in in first_vi_for_offset falk at debian dot org
@ 2005-07-05 15:52 ` falk at debian dot org
2005-07-05 17:35 ` [Bug tree-optimization/22310] [4.1 Regression] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: falk at debian dot org @ 2005-07-05 15:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From falk at debian dot org 2005-07-05 15:52 -------
Created an attachment (id=9206)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9206&action=view)
test case (use -O)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22310
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/22310] [4.1 Regression] ICE in in first_vi_for_offset
2005-07-05 15:50 [Bug tree-optimization/22310] New: ICE in in first_vi_for_offset falk at debian dot org
2005-07-05 15:52 ` [Bug tree-optimization/22310] " falk at debian dot org
@ 2005-07-05 17:35 ` pinskia at gcc dot gnu dot org
2005-07-05 18:06 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-05 17:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 17:35 -------
This is 64bit targets only.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
GCC build triplet|alphaev68-unknown-linux-gnu |
GCC host triplet|alphaev68-unknown-linux-gnu |
Summary|ICE in in |[4.1 Regression] ICE in in
|first_vi_for_offset |first_vi_for_offset
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22310
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/22310] [4.1 Regression] ICE in in first_vi_for_offset
2005-07-05 15:50 [Bug tree-optimization/22310] New: ICE in in first_vi_for_offset falk at debian dot org
2005-07-05 15:52 ` [Bug tree-optimization/22310] " falk at debian dot org
2005-07-05 17:35 ` [Bug tree-optimization/22310] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-07-05 18:06 ` pinskia at gcc dot gnu dot org
2005-07-05 18:10 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-05 18:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 18:06 -------
Confirmed, reduced as far as I can get it:
struct location
{
int x, y;
};
struct defensive_position
{
int chance_to_hit;
long long vulnerability, support;
};
template<class _T1, class _T2> struct pair
{
_T1 first;
_T2 second;
pair();
template<class _U1, class _U2> pair(const pair<_U1, _U2>& __p)
: first(__p.first), second(__p.second){}
};
struct map
{
typedef pair<const location, defensive_position> value_type;
void insert(const value_type& );
};
map defensive_position_cache_;
void best_defensive_position()
{
defensive_position_cache_.insert(pair< location,defensive_position>());
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-07-05 18:06:33
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22310
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/22310] [4.1 Regression] ICE in in first_vi_for_offset
2005-07-05 15:50 [Bug tree-optimization/22310] New: ICE in in first_vi_for_offset falk at debian dot org
` (2 preceding siblings ...)
2005-07-05 18:06 ` pinskia at gcc dot gnu dot org
@ 2005-07-05 18:10 ` pinskia at gcc dot gnu dot org
2005-07-06 16:50 ` cvs-commit at gcc dot gnu dot org
2005-07-06 17:32 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-05 18:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 18:10 -------
(In reply to comment #3)
> Confirmed, reduced as far as I can get it:
One more thing, this testcase also fails on 32bit ppc-darwin and 64bit ppc-darwin.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|alphaev68-unknown-linux-gnu |alphaev68-linux-gnu,
| |powerpc-darwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22310
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/22310] [4.1 Regression] ICE in in first_vi_for_offset
2005-07-05 15:50 [Bug tree-optimization/22310] New: ICE in in first_vi_for_offset falk at debian dot org
` (3 preceding siblings ...)
2005-07-05 18:10 ` pinskia at gcc dot gnu dot org
@ 2005-07-06 16:50 ` cvs-commit at gcc dot gnu dot org
2005-07-06 17:32 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-06 16:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-06 16:50 -------
Subject: Bug 22310
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: dberlin@gcc.gnu.org 2005-07-06 16:50:00
Modified files:
gcc : ChangeLog tree-ssa-structalias.c
Log message:
2005-07-06 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/22319
Fix PR tree-optimization/22140
Fix PR tree-optimization/22310
* tree-ssa-structalias.c (do_structure_copy): Give up earlier on
variable sized types.
Use correct type for intermediate structure on *a = *b structure
copies.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9356&r2=2.9357
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-structalias.c.diff?cvsroot=gcc&r1=2.12&r2=2.13
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22310
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/22310] [4.1 Regression] ICE in in first_vi_for_offset
2005-07-05 15:50 [Bug tree-optimization/22310] New: ICE in in first_vi_for_offset falk at debian dot org
` (4 preceding siblings ...)
2005-07-06 16:50 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-06 17:32 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-06 17:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-06 17:31 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22310
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-07-06 17:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-05 15:50 [Bug tree-optimization/22310] New: ICE in in first_vi_for_offset falk at debian dot org
2005-07-05 15:52 ` [Bug tree-optimization/22310] " falk at debian dot org
2005-07-05 17:35 ` [Bug tree-optimization/22310] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-07-05 18:06 ` pinskia at gcc dot gnu dot org
2005-07-05 18:10 ` pinskia at gcc dot gnu dot org
2005-07-06 16:50 ` cvs-commit at gcc dot gnu dot org
2005-07-06 17:32 ` pinskia at gcc dot gnu dot 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).