public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/14997] New: ncurses build fails with Ada
@ 2004-04-17 20:16 ehicks at binarymagi dot com
2004-04-17 20:25 ` [Bug ada/14997] " ehicks at binarymagi dot com
` (15 more replies)
0 siblings, 16 replies; 17+ messages in thread
From: ehicks at binarymagi dot com @ 2004-04-17 20:16 UTC (permalink / raw)
To: gcc-bugs
I'm trying to build ncurses with an Ada-enabled compiler and get this:
<< much stuff not included >>
gcc -c -I./ -O3 -gnatpn -I. -I. -I- ./terminal_interface-curses-aux.adb
gcc -c -I./ -O3 -gnatpn -I. -I. -I- ./terminal_interface-curses.adb
+===========================GNAT BUG DETECTED==============================+
| 3.3.3 (sparcv9-sun-solaris2) in expand_expr, at expr.c:7512 |
| Error detected at ./terminal_interface-curses.adb:1987:34 |
| 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
./terminal_interface-curses.adb
./terminal_interface-curses.ads
./terminal_interface.ads
./terminal_interface-curses-aux.ads
compilation abandoned
gnatmake: "./terminal_interface-curses.adb" compilation error
make[2]: *** [terminal_interface-curses-aux.o] Error 4
make[2]: Leaving directory `/root/build/ncurses-5.4/Ada95/src'
make[2]: Entering directory `/root/build/ncurses-5.4/Ada95/samples'
cp ./explain.txt explain.msg
gnatmake -a -A. -A../src -A./../src tour -cargs -O3 -gnatpn -I. -largs -
L../../lib -L../lib -lform -lmenu -lpanel -lncurses -R /root/build/ncurses-
5.4/lib:/usr/local/lib -lAdaCurses
gcc -c -I. -I../src -I./../src -O3 -gnatpn -I. tour.adb
gcc -c -I./ -I. -I../src -I./../src -O3 -gnatpn -I. -I- -
gnatpg /usr/local/lib/gcc-lib/sparcv9-sun-solaris2/3.3.3/adainclude/s-
stalib.adb
gcc -c -I. -I../src -I./../src -O3 -gnatpn -I. sample.adb
terminal_interface-curses-menus.ads:141:33: size for "Menu_Option_Set" too
small, minimum allowed is 64
terminal_interface-curses-menus.ads:164:33: size for "Item_Option_Set" too
small, minimum allowed is 64
gnatmake: "sample.adb" compilation error
make[2]: *** [tour] Error 4
make[2]: Leaving directory `/root/build/ncurses-5.4/Ada95/samples'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/build/ncurses-5.4/Ada95'
make: *** [all] Error 2
[root@lurch ncurses-5.4]# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparcv9-sun-solaris2/3.3.3/specs
Configured with: ../configure --enable-languages=all --disable-nls --with-
ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as sparcv9-sun-solaris2
Thread model: posix
gcc version 3.3.3
The configure line for ncurses was simply ./configure --enable-shared; make
I'll include the gnatchop files in different posts to this ticket.
--
Summary: ncurses build fails with Ada
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ehicks at binarymagi dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ada/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
@ 2004-04-17 20:25 ` ehicks at binarymagi dot com
2004-04-17 20:32 ` ehicks at binarymagi dot com
` (14 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: ehicks at binarymagi dot com @ 2004-04-17 20:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ehicks at binarymagi dot com 2004-04-17 20:15 -------
Created an attachment (id=6100)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6100&action=view)
1/4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ada/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
2004-04-17 20:25 ` [Bug ada/14997] " ehicks at binarymagi dot com
@ 2004-04-17 20:32 ` ehicks at binarymagi dot com
2004-04-17 20:43 ` ehicks at binarymagi dot com
` (13 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: ehicks at binarymagi dot com @ 2004-04-17 20:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ehicks at binarymagi dot com 2004-04-17 20:15 -------
Created an attachment (id=6101)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6101&action=view)
2/4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ada/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
2004-04-17 20:25 ` [Bug ada/14997] " ehicks at binarymagi dot com
2004-04-17 20:32 ` ehicks at binarymagi dot com
@ 2004-04-17 20:43 ` ehicks at binarymagi dot com
2004-04-17 20:54 ` ehicks at binarymagi dot com
` (12 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: ehicks at binarymagi dot com @ 2004-04-17 20:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ehicks at binarymagi dot com 2004-04-17 20:16 -------
Created an attachment (id=6102)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6102&action=view)
3/4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ada/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
` (2 preceding siblings ...)
2004-04-17 20:43 ` ehicks at binarymagi dot com
@ 2004-04-17 20:54 ` ehicks at binarymagi dot com
2004-04-17 20:55 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: ehicks at binarymagi dot com @ 2004-04-17 20:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ehicks at binarymagi dot com 2004-04-17 20:16 -------
Created an attachment (id=6103)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6103&action=view)
4/4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ada/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
` (3 preceding siblings ...)
2004-04-17 20:54 ` ehicks at binarymagi dot com
@ 2004-04-17 20:55 ` pinskia at gcc dot gnu dot org
2004-04-17 21:15 ` laurent at guerby dot net
` (10 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-17 20:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-17 20:25 -------
Can you try a snapshot of 3.4.0 as the Ada front-end in 3.3.x is known not to be the best Ada
compiler?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ada/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
` (4 preceding siblings ...)
2004-04-17 20:55 ` pinskia at gcc dot gnu dot org
@ 2004-04-17 21:15 ` laurent at guerby dot net
2004-04-17 21:16 ` ehicks at binarymagi dot com
` (9 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: laurent at guerby dot net @ 2004-04-17 21:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From laurent at guerby dot net 2004-04-17 20:43 -------
Compiles at -O0 but blows up at -O1 and above on x86-linux HEAD for me.
$ gcc -c -O1 terminal_interface-curses.adb
+===========================GNAT BUG DETECTED==============================+
| 3.5.0 20040417 (experimental) (i686-pc-linux-gnu) GCC error: |
| in expand_expr_real, at expr.c:7137 |
| Error detected at terminal_interface-curses.adb:1989:34 |
| 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.
terminal_interface-curses.adb
terminal_interface-curses.ads
terminal_interface.ads
terminal_interface-curses-aux.ads
compilation abandoned
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |laurent at guerby dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ada/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
` (6 preceding siblings ...)
2004-04-17 21:16 ` ehicks at binarymagi dot com
@ 2004-04-17 21:16 ` pinskia at gcc dot gnu dot org
2004-04-17 23:43 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-17 21:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-17 20:54 -------
Ok, then confirming:
/* In this case, BITPOS must start at a byte boundary and
TARGET, if specified, must be a MEM. */
if (GET_CODE (op0) != MEM
|| (target != 0 && GET_CODE (target) != MEM)
|| bitpos % BITS_PER_UNIT != 0)
abort ();
So this looks like an Ada front-end bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-04-17 20:54:31
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ada/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
` (5 preceding siblings ...)
2004-04-17 21:15 ` laurent at guerby dot net
@ 2004-04-17 21:16 ` ehicks at binarymagi dot com
2004-04-17 21:16 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: ehicks at binarymagi dot com @ 2004-04-17 21:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ehicks at binarymagi dot com 2004-04-17 20:55 -------
Ah, that did indeed fix that particular problem. I knocked out the -O3 and it
compiled that one fine. (Still having issues with other parts, though, but
they don't seem gcc-related.) It seems to be an issue with the -O level.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Priority|P2 |P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ada/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
` (7 preceding siblings ...)
2004-04-17 21:16 ` pinskia at gcc dot gnu dot org
@ 2004-04-17 23:43 ` pinskia at gcc dot gnu dot org
2004-04-18 2:21 ` laurent at guerby dot net
` (6 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-17 23:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-17 21:19 -------
*** Bug 14998 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ada/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
` (8 preceding siblings ...)
2004-04-17 23:43 ` pinskia at gcc dot gnu dot org
@ 2004-04-18 2:21 ` laurent at guerby dot net
2004-11-24 19:32 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: laurent at guerby dot net @ 2004-04-18 2:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From laurent at guerby dot net 2004-04-17 21:38 -------
Here is a reduced test cases that ICE even at -O0.
But the problem is that the user code is incorrect, it assumes
that Interfaces.C.Unsigned_Long is 64 bits, however it is 32 bits.
In the aux package C_Chtype should be declared as:
type C_Chtype is mod 2**64;
Then everything should work (it compiles, I cannot test fully).
On the GCC side, if the code does the assignement in two steps,
I get a warning not a blow up:
X : constant C_Chtype := 0;
Y : Character_Attribute_Set;
Z : Attributed_Character;
begin
Z := Chtype_To_AttrChar (X);
Y := Z.Attr;
$ gcc -c -O1 pq.adb
pq.adb:70:04: warning: types for unchecked conversion have different sizes
So on the front-end side, a warning should be generated
and may be a way not to ICE in back-end could be found.
Generated code will be meaningless anyway.
Laurent
$ gcc -c -O0 pq.adb
+===========================GNAT BUG DETECTED==============================+
| 3.5.0 20040417 (experimental) (i686-pc-linux-gnu) GCC error: |
| in expand_expr_real, at expr.c:7137 |
| Error detected at pq.adb:78:29 |
--
with Interfaces.C; use Interfaces.C;
with Ada.Unchecked_Conversion;
procedure PQ is
subtype C_ULong is Interfaces.C.unsigned_long;
type C_Chtype is new C_ULong;
type Character_Attribute_Set is
record
Stand_Out : Boolean;
Under_Line : Boolean;
Reverse_Video : Boolean;
Blink : Boolean;
Dim_Character : Boolean;
Bold_Character : Boolean;
Alternate_Character_Set : Boolean;
Invisible_Character : Boolean;
Protected_Character : Boolean;
Horizontal : Boolean;
Left : Boolean;
Low : Boolean;
Right : Boolean;
Top : Boolean;
Vertical : Boolean;
end record;
pragma Pack (Character_Attribute_Set);
pragma Convention (C, Character_Attribute_Set);
for Character_Attribute_Set use
record
Stand_Out at 0 range 47 .. 47;
Under_Line at 0 range 46 .. 46;
Reverse_Video at 0 range 45 .. 45;
Blink at 0 range 44 .. 44;
Dim_Character at 0 range 43 .. 43;
Bold_Character at 0 range 42 .. 42;
Alternate_Character_Set at 0 range 41 .. 41;
Invisible_Character at 0 range 40 .. 40;
Protected_Character at 0 range 39 .. 39;
Horizontal at 0 range 38 .. 38;
Left at 0 range 37 .. 37;
Low at 0 range 36 .. 36;
Right at 0 range 35 .. 35;
Top at 0 range 34 .. 34;
Vertical at 0 range 33 .. 33;
end record;
for Character_Attribute_Set'Size use 48;
type Color_Pair is range 0 .. 255;
for Color_Pair'Size use 8;
type Attributed_Character is
record
Attr : Character_Attribute_Set;
Color : Color_Pair;
Ch : Character;
end record;
pragma Convention (C, Attributed_Character);
-- This is the counterpart for the chtype in C.
for Attributed_Character use
record
Ch at 0 range 56 .. 63;
Color at 0 range 48 .. 55;
Attr at 0 range 0 .. 47;
end record;
for Attributed_Character'Size use 64;
function Chtype_To_AttrChar is new
Ada.Unchecked_Conversion (Source => C_Chtype,
Target => Attributed_Character);
X : constant C_Chtype := 0;
Y : Character_Attribute_Set;
begin
Y := Chtype_To_AttrChar (X).Attr;
end PQ;
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |normal
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ada/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
` (9 preceding siblings ...)
2004-04-18 2:21 ` laurent at guerby dot net
@ 2004-11-24 19:32 ` pinskia at gcc dot gnu dot org
2005-03-30 9:12 ` charlet at gcc dot gnu dot org
` (4 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-24 19:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-24 19:32 -------
On the mainline I get a different ICE:
+===========================GNAT BUG
DETECTED==============================+
| 4.0.0 20041121 (experimental) (powerpc-apple-darwin7.6.0) GCC error: |
| RTL flag check: MEM_VOLATILE_P used with unexpected rtx code |
| 'const_int' in extract_fixed_bit_field, at expmed.c:1687 |
| Error detected at pq.adb:79:5 |
| 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). |
+==============================================================
============+
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ada/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
` (10 preceding siblings ...)
2004-11-24 19:32 ` pinskia at gcc dot gnu dot org
@ 2005-03-30 9:12 ` charlet at gcc dot gnu dot org
2005-05-09 13:06 ` ebotcazou at gcc dot gnu dot org
` (3 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-03-30 9:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From charlet at gcc dot gnu dot org 2005-03-30 09:12 -------
Here is a further simplification of the test case:
procedure PQ is
subtype C_ULong is Interfaces.C.unsigned_long;
type C_Chtype is new C_ULong;
type Character_Attribute_Set is array (0 .. 47) of Boolean;
pragma Pack (Character_Attribute_Set);
type Attributed_Character is record
Attr : Character_Attribute_Set;
Color : Character;
Ch : Character;
end record;
pragma Convention (C, Attributed_Character);
-- This is the counterpart for the chtype in C.
for Attributed_Character use record
Attr at 0 range 0 .. 47;
Color at 0 range 48 .. 55;
Ch at 0 range 56 .. 63;
end record;
for Attributed_Character'Size use 64;
function Chtype_To_AttrChar is new
Ada.Unchecked_Conversion (C_Chtype, Attributed_Character);
X : constant C_Chtype := 0;
Y : Character_Attribute_Set;
begin
Y := Chtype_To_AttrChar (X).Attr;
end PQ;
The expected output of the compilation is:
gcc -c pq.adb
pq.adb:27:04: warning: types for unchecked conversion have different sizes
I assume the incorrect code in the ncurses Ada binding has been fixed in
the mean time. Anyway, GNAT should not ICE here.
Arno
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ada/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
` (11 preceding siblings ...)
2005-03-30 9:12 ` charlet at gcc dot gnu dot org
@ 2005-05-09 13:06 ` ebotcazou at gcc dot gnu dot org
2005-09-06 8:30 ` [Bug middle-end/14997] " ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-05-09 13:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-05-09 13:00 -------
Looking into it for AdaCore.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2005-02-23 23:42:44 |2005-05-09 13:00:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
` (12 preceding siblings ...)
2005-05-09 13:06 ` ebotcazou at gcc dot gnu dot org
@ 2005-09-06 8:30 ` ebotcazou at gcc dot gnu dot org
2005-09-06 19:47 ` cvs-commit at gcc dot gnu dot org
2005-09-06 19:50 ` ebotcazou at gcc dot gnu dot org
15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-09-06 8:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-09-06 08:29 -------
Recategorizing.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|ada |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
` (13 preceding siblings ...)
2005-09-06 8:30 ` [Bug middle-end/14997] " ebotcazou at gcc dot gnu dot org
@ 2005-09-06 19:47 ` cvs-commit at gcc dot gnu dot org
2005-09-06 19:50 ` ebotcazou at gcc dot gnu dot org
15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-06 19:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-06 19:47 -------
Subject: Bug 14997
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: ebotcazou@gcc.gnu.org 2005-09-06 19:47:09
Modified files:
gcc : ChangeLog expr.c
Log message:
PR middle-end/14997
* expr.c (expand_expr_real) <normal_inner_ref>: Force op0 to mem
when we would be extracting outside its bit span (bitpos+bitsize
larger than its mode), possible with some VIEW_CONVERT_EXPRs from
Ada unchecked conversions.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9904&r2=2.9905
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expr.c.diff?cvsroot=gcc&r1=1.814&r2=1.815
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/14997] ncurses build fails with Ada
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
` (14 preceding siblings ...)
2005-09-06 19:47 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-06 19:50 ` ebotcazou at gcc dot gnu dot org
15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-09-06 19:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-09-06 19:50 -------
See http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00324.html
--
What |Removed |Added
----------------------------------------------------------------------------
URL|http://gcc.gnu.org/ml/gcc- |
|patches/2005- |
|09/msg00324.html |
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2005-09-06 19:50 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
2004-04-17 20:25 ` [Bug ada/14997] " ehicks at binarymagi dot com
2004-04-17 20:32 ` ehicks at binarymagi dot com
2004-04-17 20:43 ` ehicks at binarymagi dot com
2004-04-17 20:54 ` ehicks at binarymagi dot com
2004-04-17 20:55 ` pinskia at gcc dot gnu dot org
2004-04-17 21:15 ` laurent at guerby dot net
2004-04-17 21:16 ` ehicks at binarymagi dot com
2004-04-17 21:16 ` pinskia at gcc dot gnu dot org
2004-04-17 23:43 ` pinskia at gcc dot gnu dot org
2004-04-18 2:21 ` laurent at guerby dot net
2004-11-24 19:32 ` pinskia at gcc dot gnu dot org
2005-03-30 9:12 ` charlet at gcc dot gnu dot org
2005-05-09 13:06 ` ebotcazou at gcc dot gnu dot org
2005-09-06 8:30 ` [Bug middle-end/14997] " ebotcazou at gcc dot gnu dot org
2005-09-06 19:47 ` cvs-commit at gcc dot gnu dot org
2005-09-06 19:50 ` 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).