[Bug ada/51035] GNAT bug detected error reported when compiling Ada code

2012-02-07 Thread coopht at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51035

Alexander Basov  changed:

   What|Removed |Added

 CC||coopht at gmail dot com

--- Comment #1 from Alexander Basov  2012-02-08 
06:08:34 UTC ---
It seems, that this error fixed on trunk.
GNATMAKE 4.7.0 20120202 (experimental)

gcc -c test.adb
test.adb:5:39: extra ")" ignored
gnatmake: "test.adb" compilation error


[Bug ada/35793] Illegal program not detected, RM 3.8(12)

2012-02-14 Thread coopht at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35793

Alexander Basov  changed:

   What|Removed |Added

 CC||coopht at gmail dot com

--- Comment #1 from Alexander Basov  2012-02-15 
06:03:32 UTC ---
confirmed on trunk:


/opt/gcc-trunk/bin/gnatmake pak1.ads 
gcc -c pak1.ads
pak1.ads:7:18: discriminant must appear alone as a direct name
gnatmake: "pak1.ads" compilation error

compiler:

/opt/gcc-trunk/bin/gnatmake -v

GNATMAKE 4.7.0 20120215 (experimental)
Copyright (C) 1995-2012, Free Software Foundation, Inc.


[Bug ada/48918] GNAT Bug Box with Assert_Failure with einfo.adb:2661

2012-02-20 Thread coopht at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48918

Alexander Basov  changed:

   What|Removed |Added

 CC||coopht at gmail dot com

--- Comment #1 from Alexander Basov  2012-02-21 
06:41:46 UTC ---
Confirmed on trunk:

gcc -c -gnat12 buffers.ads
+===GNAT BUG DETECTED==+
| 4.7.0 20120221 (experimental) (x86_64-unknown-linux-gnu) Assert_Failure
einfo.adb:2742|
| Error detected at buffers.ads:3:58   |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.|
| Use a subject line meaningful to you and us to track the bug.|
| 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).   |
+==+

gnat version:

/opt/gcc-trunk/bin/gnatmake -v

GNATMAKE 4.7.0 20120221 (experimental)
Copyright (C) 1995-2012, Free Software Foundation, Inc.


[Bug middle-end/64744] ARM: gcc internal compiler error: in store_field, at expr.c:6659

2015-06-01 Thread coopht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64744

--- Comment #6 from Alexander Basov  ---

Hi, could you please take a look at this fix:
https://gcc.gnu.org/ml/gcc-patches/2015-06/msg00027.html

It also fixes:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48470
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43404


[Bug middle-end/64744] New: ARM: gcc internal compiler error: in store_field, at expr.c:6659

2015-01-23 Thread coopht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64744

Bug ID: 64744
   Summary: ARM: gcc internal compiler error: in store_field, at
expr.c:6659
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: coopht at gmail dot com

Created attachment 34544
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34544&action=edit
Test to reproduce ICE on gcc's trunk

ICE occured while compiling attach like this:
./cc1 -O0 test_segfault_array.c

Reproduced on:

svn+ssh://gcc.gnu.org/svn/gcc/trunk@220028


Backtrace:
test_segfault_array.c: In function 'foo':
test_segfault_array.c:4:10: internal compiler error: in store_field, at
expr.c:6659
 char a [2] = {0};
  ^
0x92a415 store_field
/mnt/staff/compiler/gcc-head/src/gcc/gcc/expr.c:6659
0x9236e5 expand_assignment(tree_node*, tree_node*, bool)
/mnt/staff/compiler/gcc-head/src/gcc/gcc/expr.c:5000
0x7f0544 expand_gimple_stmt_1
/mnt/staff/compiler/gcc-head/src/gcc/gcc/cfgexpand.c:3398
0x7f0958 expand_gimple_stmt
/mnt/staff/compiler/gcc-head/src/gcc/gcc/cfgexpand.c:3494
0x7f7afa expand_gimple_basic_block
/mnt/staff/compiler/gcc-head/src/gcc/gcc/cfgexpand.c:5407
0x7f9519 execute
/mnt/staff/compiler/gcc-head/src/gcc/gcc/cfgexpand.c:6016
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


[Bug middle-end/64744] ARM: gcc internal compiler error: in store_field, at expr.c:6659

2015-01-23 Thread coopht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64744

--- Comment #2 from Alexander Basov  ---
Yep, sorry it's for ARM target.


[Bug middle-end/64744] ARM: gcc internal compiler error: in store_field, at expr.c:6659

2015-01-23 Thread coopht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64744

--- Comment #4 from Alexander Basov  ---
(In reply to ktkachov from comment #3)
> Confirmed as well on all release branches.

Ok, If you have no any objections, I'd like to fix it.

BTW, what gcc should do with such code?


[Bug ada/40931] ICE in legal program, Boolean type with user-defined function True

2011-08-10 Thread coopht at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40931

Alexander Basov  changed:

   What|Removed |Added

 CC||coopht at gmail dot com

--- Comment #3 from Alexander Basov  2011-08-10 
11:00:20 UTC ---
Fixed on 4.7.0 trunk.
Checked on gcc revision 177554.

gnatmake p
gcc -c p.adb
p.adb:15:07: warning: variable "A" is never read and never assigned
p.adb:22:07: warning: variable "A" is never read and never assigned


[Bug ada/40931] ICE in legal program, Boolean type with user-defined function True

2011-08-10 Thread coopht at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40931

--- Comment #5 from Alexander Basov  2011-08-10 
11:11:04 UTC ---
Fixed on 4.7.0 trunk.
Checked on gcc revision 177554.

gnatmake p
gcc -c p.adb
p.adb:15:07: warning: variable "A" is never read and never assigned
p.adb:22:07: warning: variable "A" is never read and never assigned