public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)
@ 2005-07-17 21:09 pluto at agmk dot net
  2005-07-18  7:56 ` [Bug other/22533] " pluto at agmk dot net
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: pluto at agmk dot net @ 2005-07-17 21:09 UTC (permalink / raw)
  To: gcc-bugs

gcc-4.1-20050717T1716UTC 
 
(...) 
stage1/xgcc -Bstage1/ -B/usr/x86_64-pld-linux/bin/ -c -march=x86-64 -O2       
-gnatpg -gnata -I- -I. -Iada -I../../gcc/ada ../../gcc/ada/output.adb -o  
ada/output.o  
  
raised STORAGE_ERROR : stack overflow (or erroneous memory access)  
make[2]: *** [ada/output.o] Error 1

-- 
           Summary: ada / raised STORAGE_ERROR : stack overflow (or
                    erroneous memory access)
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64-pld-linux
  GCC host triplet: x86_64-pld-linux
GCC target triplet: x86_64-pld-linux


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug other/22533] ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
@ 2005-07-18  7:56 ` pluto at agmk dot net
  2005-07-18 21:43 ` pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pluto at agmk dot net @ 2005-07-18  7:56 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 801 bytes --]


------- Additional Comments From pluto at agmk dot net  2005-07-18 07:56 -------
also fails on i486/i686 target. 
 
on ppc ices in: 
 
stage1/xgcc -Bstage1/ -B/usr/ppc-pld-linux/bin/ -c -O2 
-fsigned-char      -gnatpg -gnata -g -O1 -fno-inline \ 
 -I- -I. -Iada -I../../gcc/ada ../../gcc/ada/a-except.adb -o ada/a-except.o 
 
+===========================GNAT BUG DETECTED==============================+ 
| 4.1.0 20050717 (experimental) (powerpc-pld-linux-gnu) GCC error:         | 
| tree check: expected class                                               | 
| Error detected at a-except.adb:1411:4                                    | 
 
raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:38 
 

-- 


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug other/22533] ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
  2005-07-18  7:56 ` [Bug other/22533] " pluto at agmk dot net
@ 2005-07-18 21:43 ` pinskia at gcc dot gnu dot org
  2005-07-20 20:40 ` [Bug other/22533] [4.1 regression] " pluto at agmk dot net
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-18 21:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-18 21:42 -------
(In reply to comment #1)
> on ppc ices in: 
The PPC bug is a different bug for sure which I have a patch and testing it right now.

-- 


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug other/22533] [4.1 regression] ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
  2005-07-18  7:56 ` [Bug other/22533] " pluto at agmk dot net
  2005-07-18 21:43 ` pinskia at gcc dot gnu dot org
@ 2005-07-20 20:40 ` pluto at agmk dot net
  2005-07-20 20:41 ` pluto at agmk dot net
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pluto at agmk dot net @ 2005-07-20 20:40 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ada / raised STORAGE_ERROR :|[4.1 regression] ada /
                   |stack overflow (or erroneous|raised STORAGE_ERROR : stack
                   |memory access)              |overflow (or erroneous
                   |                            |memory access)


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug other/22533] [4.1 regression] ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
                   ` (2 preceding siblings ...)
  2005-07-20 20:40 ` [Bug other/22533] [4.1 regression] " pluto at agmk dot net
@ 2005-07-20 20:41 ` pluto at agmk dot net
  2005-07-23  8:25 ` pluto at agmk dot net
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pluto at agmk dot net @ 2005-07-20 20:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at agmk dot net  2005-07-20 20:41 -------
known to work: 4.1.0-20050711 
known to fail: 4.1.0-20050717+ 
 

-- 


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug other/22533] [4.1 regression] ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
                   ` (3 preceding siblings ...)
  2005-07-20 20:41 ` pluto at agmk dot net
@ 2005-07-23  8:25 ` pluto at agmk dot net
  2005-07-23 15:23 ` pluto at agmk dot net
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pluto at agmk dot net @ 2005-07-23  8:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at agmk dot net  2005-07-23 07:59 -------
with current mainline i can't trig the ix86 bug. 
testing ppc... 
 

-- 


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug other/22533] [4.1 regression] ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
                   ` (4 preceding siblings ...)
  2005-07-23  8:25 ` pluto at agmk dot net
@ 2005-07-23 15:23 ` pluto at agmk dot net
  2005-07-23 15:26 ` [Bug ada/22533] " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pluto at agmk dot net @ 2005-07-23 15:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at agmk dot net  2005-07-23 13:27 -------
(In reply to comment #4)
> with current mainline i can't trig the ix86 bug. 
> testing ppc... 
>  

ppc still fails with the same error.


-- 


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug ada/22533] [4.1 regression] ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
                   ` (5 preceding siblings ...)
  2005-07-23 15:23 ` pluto at agmk dot net
@ 2005-07-23 15:26 ` pinskia at gcc dot gnu dot org
  2005-07-25 16:59 ` pluto at agmk dot net
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-23 15:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-23 15:24 -------
Confirmed, patch here then: <http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01327.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |07/msg01327.html
             Status|UNCONFIRMED                 |ASSIGNED
          Component|other                       |ada
     Ever Confirmed|                            |1
  GCC build triplet|x86_64-pld-linux            |
   GCC host triplet|x86_64-pld-linux            |
 GCC target triplet|x86_64-pld-linux            |
           Keywords|                            |build, ice-on-valid-code,
                   |                            |patch
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-23 15:24:35
               date|                            |
   Target Milestone|---                         |4.1.0


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug ada/22533] [4.1 regression] ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
                   ` (6 preceding siblings ...)
  2005-07-23 15:26 ` [Bug ada/22533] " pinskia at gcc dot gnu dot org
@ 2005-07-25 16:59 ` pluto at agmk dot net
  2005-07-25 17:04 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pluto at agmk dot net @ 2005-07-25 16:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at agmk dot net  2005-07-25 16:58 -------
linked patch causes an ice. get correct patch from PR22631. 
 

-- 


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug ada/22533] [4.1 regression] ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
                   ` (7 preceding siblings ...)
  2005-07-25 16:59 ` pluto at agmk dot net
@ 2005-07-25 17:04 ` pinskia at gcc dot gnu dot org
  2005-07-31  4:06 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-25 17:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-25 17:02 -------
Actually only the slight modification is needed to the linked patch.
If I change the second agrument to create_tmp_var/create_tmp_var_raw to "C" instead of NULL, we 
no longer get an ICE.

I don't understand why passing NULL to those functions change anything but oh well.

-- 


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug ada/22533] [4.1 regression] ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
                   ` (8 preceding siblings ...)
  2005-07-25 17:04 ` pinskia at gcc dot gnu dot org
@ 2005-07-31  4:06 ` pinskia at gcc dot gnu dot org
  2005-08-19 22:45 ` laurent at guerby dot net
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-31  4:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-31 04:04 -------
I am no longer going to work on this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pinskia at gcc dot gnu dot  |unassigned at gcc dot gnu
                   |org                         |dot org
                URL|http://gcc.gnu.org/ml/gcc-  |
                   |patches/2005-               |
                   |07/msg01327.html            |
             Status|ASSIGNED                    |NEW
           Keywords|patch                       |


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug ada/22533] [4.1 regression] ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
                   ` (9 preceding siblings ...)
  2005-07-31  4:06 ` pinskia at gcc dot gnu dot org
@ 2005-08-19 22:45 ` laurent at guerby dot net
  2005-08-19 23:02 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: laurent at guerby dot net @ 2005-08-19 22:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From laurent at guerby dot net  2005-08-19 22:43 -------
Still there as of 20050819

http://gcc.gnu.org/ml/gcc/2005-08/msg00538.html

+===========================GNAT BUG DETECTED==============================+
| 4.1.0 20050819 (experimental) (powerpc-apple-darwin8.3.0) GCC error: 
| tree check: expected class expression, have exceptional 
| (constructor) in get_base_var, at ipa-utils.c: 224 
| Error detected at a-except.adb: 1411:4 

Updated patch (negative review) here:

http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01666.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |07/msg01666.html
 GCC target triplet|                            |powerpc-*-*


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug ada/22533] [4.1 regression] ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
                   ` (10 preceding siblings ...)
  2005-08-19 22:45 ` laurent at guerby dot net
@ 2005-08-19 23:02 ` pinskia at gcc dot gnu dot org
  2005-09-02 22:53 ` [Bug ada/22533] [4.1 regression] ICE in get_base_var pinskia at gcc dot gnu dot org
  2005-09-15 19:13 ` laurent at guerby dot net
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-19 23:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-19 23:01 -------
As mentioned the patch is the wrong approach. And also the C++ front-end have the same issue, see 
PR 23171.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://gcc.gnu.org/ml/gcc-  |
                   |patches/2005-               |
                   |07/msg01666.html            |


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
                   ` (11 preceding siblings ...)
  2005-08-19 23:02 ` pinskia at gcc dot gnu dot org
@ 2005-09-02 22:53 ` pinskia at gcc dot gnu dot org
  2005-09-15 19:13 ` laurent at guerby dot net
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-02 22:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-02 22:53 -------
*** Bug 23703 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schwab at suse dot de


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
                   ` (12 preceding siblings ...)
  2005-09-02 22:53 ` [Bug ada/22533] [4.1 regression] ICE in get_base_var pinskia at gcc dot gnu dot org
@ 2005-09-15 19:13 ` laurent at guerby dot net
  13 siblings, 0 replies; 15+ messages in thread
From: laurent at guerby dot net @ 2005-09-15 19:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From laurent at guerby dot net  2005-09-15 19:12 -------
Happens on s390 too.

stage1/xgcc -Bstage1/
-B/home/uweigand/fsf/gcc-head-install/s390-ibm-linux/bin/ -c -g -O2
-gnatpg -gnata -I- -I. -Iada -I../../gcc-head/gcc/ada
../../gcc-head/gcc/ada/a-elchha.adb -o ada/a-elchha.o

+===========================GNAT BUG DETECTED==============================+
| 4.1.0 20050914 (experimental) (s390-ibm-linux-gnu) GCC error:
| tree check: expected class
| Error detected at a-elchha.adb:125:4


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uweigand at gcc dot gnu dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-09-15 19:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
2005-07-18  7:56 ` [Bug other/22533] " pluto at agmk dot net
2005-07-18 21:43 ` pinskia at gcc dot gnu dot org
2005-07-20 20:40 ` [Bug other/22533] [4.1 regression] " pluto at agmk dot net
2005-07-20 20:41 ` pluto at agmk dot net
2005-07-23  8:25 ` pluto at agmk dot net
2005-07-23 15:23 ` pluto at agmk dot net
2005-07-23 15:26 ` [Bug ada/22533] " pinskia at gcc dot gnu dot org
2005-07-25 16:59 ` pluto at agmk dot net
2005-07-25 17:04 ` pinskia at gcc dot gnu dot org
2005-07-31  4:06 ` pinskia at gcc dot gnu dot org
2005-08-19 22:45 ` laurent at guerby dot net
2005-08-19 23:02 ` pinskia at gcc dot gnu dot org
2005-09-02 22:53 ` [Bug ada/22533] [4.1 regression] ICE in get_base_var pinskia at gcc dot gnu dot org
2005-09-15 19:13 ` laurent at guerby dot net

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).