[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-05-03 Thread matz at suse dot de


--- Comment #10 from matz at suse dot de  2006-05-03 15:40 ---
We also got a bugreport about an ICE in get_constraint_for_component_ref,
but have a C testcase.  In the hope that it's the same reason I paste it
here:
-
/* compile with gcc -c -O2 -o foo.o foo.c */
typedef struct {
struct { } z;
} thang_t;
struct widget {
struct widget *p, *q;
};
typedef struct thing {
struct widget   x;
} thing_t;
struct {
int a;
int b;
int c;
int d;
int e;
thang_t f;
thing_t g;
} my_struct;
static void foo(thang_t *r)
{ splat(r);}

void function(int blaz)
{ foo(my_struct.f);}
--

This fails with 4.1.x on x86_64 with -O1 and beyond.


-- 

matz at suse dot de changed:

   What|Removed |Added

 CC||matz at suse dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678



[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-05-03 Thread pinskia at gcc dot gnu dot org


--- Comment #11 from pinskia at gcc dot gnu dot org  2006-05-03 15:43 
---
(In reply to comment #10)
 We also got a bugreport about an ICE in get_constraint_for_component_ref,
 but have a C testcase.  In the hope that it's the same reason I paste it
 here:
File as a seperate bug please.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678



[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-05-03 Thread matz at suse dot de


--- Comment #12 from matz at suse dot de  2006-05-03 15:48 ---
It's bug 27409 now.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678



[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-04-25 Thread george dot chapman at lmco dot com


--- Comment #9 from george dot chapman at lmco dot com  2006-04-25 21:32 
---
*** Bug 27186 has been marked as a duplicate of this bug. ***


-- 

george dot chapman at lmco dot com changed:

   What|Removed |Added

 CC||george dot chapman at lmco
   ||dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678



[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-03-23 Thread krischik at users dot sourceforge dot net


--- Comment #8 from krischik at users dot sourceforge dot net  2006-03-23 
20:07 ---
Hello Andrew, 

you are right - the hole of AWS compiles nicely with x86_64.

Martin


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678



[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-03-16 Thread pinskia at gcc dot gnu dot org


--- Comment #7 from pinskia at gcc dot gnu dot org  2006-03-16 18:33 ---
Hmm, this source works for me just fine on powerpc-darwin.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678



[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-03-14 Thread charlet at gcc dot gnu dot org


--- Comment #1 from charlet at gcc dot gnu dot org  2006-03-14 13:38 ---
Well, if it's CVS HEAD, it's not a release.

Anyway, please post self contained (reduced if possible) sources showing
the problem, as well as standalone command line (simplified if possible).

Thanks.

Arno


-- 

charlet at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678



[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-03-14 Thread krischik at users dot sourceforge dot net


--- Comment #2 from krischik at users dot sourceforge dot net  2006-03-14 
13:45 ---
Created an attachment (id=11047)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11047action=view)
The sources, concaternated and ziped.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678



[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-03-14 Thread krischik at users dot sourceforge dot net


-- 

krischik at users dot sourceforge dot net changed:

   What|Removed |Added

   Severity|normal  |major


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678



[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-03-14 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|major   |normal


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678



[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-03-14 Thread charlet at gcc dot gnu dot org


--- Comment #3 from charlet at gcc dot gnu dot org  2006-03-14 13:52 ---
Thanks for the sources. If you get a chance to reduce the problem, that
will certainly give this report higher priority.

I am also surprised by the location: tree-ssa-structalias.c, I thought
strict aliasing was disabled for Ada. Are you using FSF GCC sources or sources
modified ?

(btw, is there a way to remove the 'waiting' state without confirming the PR ?)

Arno


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678



[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-03-14 Thread krischik at users dot sourceforge dot net


--- Comment #4 from krischik at users dot sourceforge dot net  2006-03-14 
14:02 ---
Hi Arnaud,

The HEAD is indeed a typo - should have been release_2_1a.  For head we have a
different problem (bug:26162).

As for the compiler, it is the unmodified release version:

GNAT 4.1.0
gcc (GCC) 4.1.0

With Regards

Martin


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678



[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-03-14 Thread ebotcazou at gcc dot gnu dot org


--- Comment #5 from ebotcazou at gcc dot gnu dot org  2006-03-14 14:47 
---
 I am also surprised by the location: tree-ssa-structalias.c, I thought
 strict aliasing was disabled for Ada. Are you using FSF GCC sources or sources
 modified ?

Structure aliasing is indeed disabled for Ada but tree-ssa-structalias.c
contains the generic points-to analyser, aka constraint solver.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678



[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-03-14 Thread pinskia at gcc dot gnu dot org


--- Comment #6 from pinskia at gcc dot gnu dot org  2006-03-14 14:53 ---
A note is that it works on x86_64 (and I cannot test i686 because Ada does not
have mulitilib support:( ).

if Ada did have multilib support I could reduce this easier.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||pinskia at gcc dot gnu dot
   ||org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678