Current 4.4 snapshot (r142497) runs out of memory (stack usage >2GB) while
compiling table_layout.cpp from kdelibs-3.5.10 with -O{s,1,2,3}. It succeeds
with -O0.
The following reduced testcase shows the same behaviour even if compiled with
'gcc -O0 -S -o testcase.s testcase.c'
struct s
{
union {
Addresses of functions stored in flash memory are stored as word addresses, not
byte addresses.
Test case:
#include
int main(void) {
while (1);
}
int (*ptr) (void) PROGMEM = main;
Build options: -Os -mmcu=attiny13
Fragments of generated code:
Disassembly of section .text:
0014 :
1
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||pinskia at gcc dot gnu dot
|
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-06 02:53 ---
It ICEs for me with
GNU C (GCC) version 4.4.0 20081202 (experimental) [trunk revision 142376]
(powerpc64-unknown-linux-gnu)
even at -O0. Anyways confirmed.
--
pinskia at gcc dot gnu dot org changed:
--- Comment #12 from hjl at gcc dot gnu dot org 2008-12-06 03:19 ---
Subject: Bug 38272
Author: hjl
Date: Sat Dec 6 03:18:15 2008
New Revision: 142514
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142514
Log:
2008-12-05 Bernd Schmidt <[EMAIL PROTECTED]>
PR rtl-optim
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2008-12-06 04:15
---
Subject: Bug 38291
Author: jvdelisle
Date: Sat Dec 6 04:13:34 2008
New Revision: 142515
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142515
Log:
2008-12-05 Jerry DeLisle <[EMAIL PROTECTED]>
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2008-12-06 04:19
---
Subject: Bug 38291
Author: jvdelisle
Date: Sat Dec 6 04:17:31 2008
New Revision: 142516
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142516
Log:
2008-12-05 Jerry DeLisle <[EMAIL PROTECTED]>
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2008-12-06 04:19
---
Fixed on trunk.
--
jvdelisle at gcc dot gnu dot org changed:
What|Removed |Added
S
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-12-06 04:34
---
Closing, I do not consider this a bug for reasons stated in comment #1
--
jvdelisle at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #4 from doko at ubuntu dot com 2008-12-06 06:59 ---
works with r142144, not with r142179; the only non-fortran patch between these
two revisions is
r142149 | ebotcazou | 2008-11-24 09:36:43 +0100 (Mon, 24 Nov 2008) | 4 lines
* df-scan.c (df_get_call_refs): For unco
command:
g++ -v -save-temps -c -m64 -pipe -I/usr/ssl/include/ -I/opt/cups/include
-I/usr/X11/include/ -O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I../../../mkspecs/linux-g++-64 -I. -I../../../include/QtCore
-I../../../in
--- Comment #1 from gcc at spatium dot org 2008-12-06 07:30 ---
Created an attachment (id=16838)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16838&action=view)
the .ii file, bzipped
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38424
--- Comment #13 from hjl dot tools at gmail dot com 2008-12-06 07:47
---
Fixed.
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
Status|UNCONFI
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2008-12-06 07:53
---
> works with r142144, not with r142179; the only non-fortran patch between these
> two revisions is
Please confirm, this goes against your opening message in this PR.
--
ebotcazou at gcc dot gnu dot org chan
101 - 114 of 114 matches
Mail list logo