public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug ada/23995] [4.0 regression] ICE on misaligned rep clause [not found] <bug-23995-11390@http.gcc.gnu.org/bugzilla/> @ 2005-10-15 16:46 ` ebotcazou at gcc dot gnu dot org 2005-10-21 18:43 ` ebotcazou at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2005-10-15 16:46 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from ebotcazou at gcc dot gnu dot org 2005-10-15 16:45 ------- Investigating. -- ebotcazou at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2005-09-26 16:01:38 |2005-10-15 16:45:55 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23995 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/23995] [4.0 regression] ICE on misaligned rep clause [not found] <bug-23995-11390@http.gcc.gnu.org/bugzilla/> 2005-10-15 16:46 ` [Bug ada/23995] [4.0 regression] ICE on misaligned rep clause ebotcazou at gcc dot gnu dot org @ 2005-10-21 18:43 ` ebotcazou at gcc dot gnu dot org 2005-11-10 11:33 ` ebotcazou at gcc dot gnu dot org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2005-10-21 18:43 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from ebotcazou at gcc dot gnu dot org 2005-10-21 18:43 ------- Works on mainline, the front-end doesn't generate the same expanded code: --- gcc-4_0-branch/sparc-sun-solaris2.8/pr23995.ads.dg 2005-10-21 20:39:56.006059768 +0200 +++ gcc/sparc-sun-solaris2.8/pr23995.ads.dg 2005-10-21 20:40:11.488706048 +0200 @@ -30,7 +30,9 @@ freeze p__test_a [ procedure p__test_aIP (_init : in out p__test_a) is begin - p__test1IP (_init.t1); + T1s : p__test1; + p__test1IP (T1s); + _init.t1 := T1s; return; end p__test_aIP; ] -- ebotcazou at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC|ebotcazou at gcc dot gnu dot| |org | Known to work|3.3 |3.3 4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23995 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/23995] [4.0 regression] ICE on misaligned rep clause [not found] <bug-23995-11390@http.gcc.gnu.org/bugzilla/> 2005-10-15 16:46 ` [Bug ada/23995] [4.0 regression] ICE on misaligned rep clause ebotcazou at gcc dot gnu dot org 2005-10-21 18:43 ` ebotcazou at gcc dot gnu dot org @ 2005-11-10 11:33 ` ebotcazou at gcc dot gnu dot org 2005-11-10 11:34 ` ebotcazou at gcc dot gnu dot org 2005-11-10 11:38 ` ebotcazou at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2005-11-10 11:33 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from ebotcazou at gcc dot gnu dot org 2005-11-10 11:33 ------- Subject: Bug 23995 Author: ebotcazou Date: Thu Nov 10 11:32:56 2005 New Revision: 106731 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106731 Log: PR ada/23995 * trans.c (call_to_gnu): Restore statement lost in translation. Modified: trunk/gcc/ada/ChangeLog trunk/gcc/ada/trans.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23995 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/23995] [4.0 regression] ICE on misaligned rep clause [not found] <bug-23995-11390@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2005-11-10 11:33 ` ebotcazou at gcc dot gnu dot org @ 2005-11-10 11:34 ` ebotcazou at gcc dot gnu dot org 2005-11-10 11:38 ` ebotcazou at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2005-11-10 11:34 UTC (permalink / raw) To: gcc-bugs ------- Comment #7 from ebotcazou at gcc dot gnu dot org 2005-11-10 11:33 ------- Subject: Bug 23995 Author: ebotcazou Date: Thu Nov 10 11:33:55 2005 New Revision: 106732 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106732 Log: PR ada/23995 * trans.c (call_to_gnu): Restore statement lost in translation. Modified: branches/gcc-4_0-branch/gcc/ada/ChangeLog branches/gcc-4_0-branch/gcc/ada/trans.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23995 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/23995] [4.0 regression] ICE on misaligned rep clause [not found] <bug-23995-11390@http.gcc.gnu.org/bugzilla/> ` (3 preceding siblings ...) 2005-11-10 11:34 ` ebotcazou at gcc dot gnu dot org @ 2005-11-10 11:38 ` ebotcazou at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2005-11-10 11:38 UTC (permalink / raw) To: gcc-bugs ------- Comment #8 from ebotcazou at gcc dot gnu dot org 2005-11-10 11:38 ------- See http://gcc.gnu.org/ml/gcc-patches/2005-11/msg00701.html -- ebotcazou at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23995 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/23995] New: GNAT BUG DETECTED
@ 2005-09-21 10:49 michael dot foerster at eads dot com
2005-09-26 16:01 ` [Bug ada/23995] [4.0 regression] ICE on misaligned rep clause ebotcazou at gcc dot gnu dot org
0 siblings, 1 reply; 6+ messages in thread
From: michael dot foerster at eads dot com @ 2005-09-21 10:49 UTC (permalink / raw)
To: gcc-bugs
spr16<hmf:spluser>(568) ~/tmp
> gcc -v -gnatv -c test_gcc_4_0_1.ads
Using built-in specs.
Target: sparc-sun-solaris2.9
Configured with: /usr/local/src/tmp/GCC/4.0/gcc-4.0.1/configure
--prefix=/usr/local/GCC/4.0/1 --enable-threads=posix
--enable-languages=c,ada,c++,f95,java,objc,treelang
--with-gmp=/usr/local/GNU/Maths/GMP/4.1/4/
--with-mpfr=/usr/local/GNU/Maths/GMP/4.1/4/
Thread model: posix
gcc version 4.0.1
/usr/local/GCC/4.0/1/libexec/gcc/sparc-sun-solaris2.9/4.0.1/gnat1 -quiet
-dumpbase test_gcc_4_0_1.ads -gnatv -mcpu=v7 test_gcc_4_0_1.ads -o /tmp/ccxtpfCn.s
GNAT 4.0.1
Copyright 1992-2005 Free Software Foundation, Inc.
Compiling: test_gcc_4_0_1.ads (source file time stamp: 2005-09-21 10:41:55)
+===========================GNAT BUG DETECTED==============================+
| 4.0.1 (sparc-sun-solaris2.9) in expand_expr_addr_expr_1, at expr.c:6222 |
| No source file position information available |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html. |
| Include the entire contents of this bug box in the report. |
| Include the exact gcc or gnatmake command that you entered. |
| Also include sources listed below in gnatchop format |
| (concatenated together with no headers between files). |
+==========================================================================+
Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
test_gcc_4_0_1.ads
24 lines: No errors
compilation abandoned
test_gcc_4_0_1.ads:
package test_gcc_4_0_1 is
type test1 is record
b2 : BOOLEAN := TRUE ;
b3 : BOOLEAN ;
b4 : BOOLEAN ;
b1 : BOOLEAN ;
end record ;
FOR test1 use record
b1 at 0 range 00 .. 00 ;
b2 at 0 range 01 .. 01 ;
b3 at 0 range 02 .. 02 ;
b4 at 0 range 03 .. 03 ;
end record ;
type test_A is record
t1 : test1 ;
end record ;
for test_A use record
-- t1 at 0 range 0 .. 3 ;
t1 at 0 range 1 .. 4 ;
end record ;
end test_gcc_4_0_1 ;
-------------------------------------------
Additional informations:
1. if b2 has no default value, then compiling succeeds
2. if t1 starts at the first bit of a byte (commented line t1 at 0 range 0 .. 3
;), then compiling succeeds.
3. the compiling succeeds with gcc 3.3
Thank you for your help
With best regards
Michael Foerster
--
Summary: GNAT BUG DETECTED
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: michael dot foerster at eads dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.9
GCC host triplet: sparc-sun-solaris2.9
GCC target triplet: sparc-sun-solaris2.9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23995
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/23995] [4.0 regression] ICE on misaligned rep clause 2005-09-21 10:49 [Bug ada/23995] New: GNAT BUG DETECTED michael dot foerster at eads dot com @ 2005-09-26 16:01 ` ebotcazou at gcc dot gnu dot org 0 siblings, 0 replies; 6+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2005-09-26 16:01 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-09-26 16:01 ------- > no ICE on x86 and x86_64, must be sparc specific. > I agree, I generated the ADA compiler on a x86 and it works. Confirmed. strict-alignment specific I presume. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Known to work| |3.3 Last reconfirmed|0000-00-00 00:00:00 |2005-09-26 16:01:38 date| | Summary|GNAT BUG DETECTED |[4.0 regression] ICE on | |misaligned rep clause http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23995 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-11-10 11:38 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-23995-11390@http.gcc.gnu.org/bugzilla/> 2005-10-15 16:46 ` [Bug ada/23995] [4.0 regression] ICE on misaligned rep clause ebotcazou at gcc dot gnu dot org 2005-10-21 18:43 ` ebotcazou at gcc dot gnu dot org 2005-11-10 11:33 ` ebotcazou at gcc dot gnu dot org 2005-11-10 11:34 ` ebotcazou at gcc dot gnu dot org 2005-11-10 11:38 ` ebotcazou at gcc dot gnu dot org 2005-09-21 10:49 [Bug ada/23995] New: GNAT BUG DETECTED michael dot foerster at eads dot com 2005-09-26 16:01 ` [Bug ada/23995] [4.0 regression] ICE on misaligned rep clause ebotcazou 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).