public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/22177] New: error: in assign_stack_temp_for_type, at function.c:655
@ 2005-06-24 21:56 zhr_buaa at 263 dot net
2005-06-24 22:04 ` [Bug middle-end/22177] " pinskia at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: zhr_buaa at 263 dot net @ 2005-06-24 21:56 UTC (permalink / raw)
To: gcc-bugs
this bug occured when compiling the mplayer, file dsputil.c:3243.
here is the compiler report:
dsputil.c:3243: internal compiler error: in assign_stack_temp_for_type, at
function.c:655
the compiling code segment is:
3237 static int rd8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t
*src2, int stride, int h){
3238 MpegEncContext * const s= (MpegEncContext *)c;
3239 const uint8_t *scantable= s->intra_scantable.permutated;
3240 uint64_t __align8 aligned_temp[sizeof(DCTELEM)*64/8];
3241 uint64_t __align8 aligned_bak[stride];
3242 DCTELEM * const temp= (DCTELEM*)aligned_temp;
3243 uint8_t * const bak= (uint8_t*)aligned_bak;
3244 int i, last, run, bits, level, distoration, start_i;
3245 const int esc_length= s->ac_esc_length;
3246 uint8_t * length;
3247 uint8_t * last_length;
--
Summary: error: in assign_stack_temp_for_type, at function.c:655
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zhr_buaa at 263 dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686-linux-gcc
GCC target triplet: arm-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22177
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/22177] error: in assign_stack_temp_for_type, at function.c:655
2005-06-24 21:56 [Bug c/22177] New: error: in assign_stack_temp_for_type, at function.c:655 zhr_buaa at 263 dot net
@ 2005-06-24 22:04 ` pinskia at gcc dot gnu dot org
2005-06-25 18:18 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-24 22:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-24 22:04 -------
Could you add -save-temps to the command line which is compiling the file and attach the
preprocessed source?
Also could you supply how you run gcc?
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22177
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/22177] error: in assign_stack_temp_for_type, at function.c:655
2005-06-24 21:56 [Bug c/22177] New: error: in assign_stack_temp_for_type, at function.c:655 zhr_buaa at 263 dot net
2005-06-24 22:04 ` [Bug middle-end/22177] " pinskia at gcc dot gnu dot org
@ 2005-06-25 18:18 ` pinskia at gcc dot gnu dot org
2005-06-26 16:18 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-25 18:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-25 18:18 -------
We need the preprocessed source file to be able to reproduce it.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22177
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/22177] error: in assign_stack_temp_for_type, at function.c:655
2005-06-24 21:56 [Bug c/22177] New: error: in assign_stack_temp_for_type, at function.c:655 zhr_buaa at 263 dot net
2005-06-24 22:04 ` [Bug middle-end/22177] " pinskia at gcc dot gnu dot org
2005-06-25 18:18 ` pinskia at gcc dot gnu dot org
@ 2005-06-26 16:18 ` pinskia at gcc dot gnu dot org
2005-06-27 6:13 ` zhr_buaa at 263 dot net
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-26 16:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 16:18 -------
What options are used to reproduce this?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22177
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/22177] error: in assign_stack_temp_for_type, at function.c:655
2005-06-24 21:56 [Bug c/22177] New: error: in assign_stack_temp_for_type, at function.c:655 zhr_buaa at 263 dot net
` (2 preceding siblings ...)
2005-06-26 16:18 ` pinskia at gcc dot gnu dot org
@ 2005-06-27 6:13 ` zhr_buaa at 263 dot net
2005-06-27 6:19 ` zhr_buaa at 263 dot net
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: zhr_buaa at 263 dot net @ 2005-06-27 6:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zhr_buaa at 263 dot net 2005-06-27 06:13 -------
this is my command line to compile the source file. then, i change the option -c
to -E and option -o, to generate the dsputil.i. wish this can help u.
arm-linux-gcc -I../libvo -I../../libvo -pipe -mcpu=iwmmxt -g -static
-Wa,-mcpu=iwmmxt -O1 -fno-guess-branch-probability -fno-if-conversion
-fno-delayed-branch -fno-loop-optimize -fcrossjumping -foptimize-sibling-calls
-fgcse -fexpensive-optimizations -fstrength-reduce -frerun-loop-opt -fforce-mem
-fpeephole2 -fschedule-insns -fschedule-insns2 -fstrict-aliasing
-freorder-functions -fsched-interblock -fno-align-jumps -fno-align-labels
-fno-align-functions -finline-functions -frename-registers -funswitch-loops
-fno-math-errno -funsafe-math-optimizations -fno-trapping-math
-ffinite-math-only -finline-limit=500 -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/opt/arm-linux/arm-linux//include -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
-I/opt/intel/ipp41/pca_wmmx/include/ -c -o dsputil.o dsputil.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22177
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/22177] error: in assign_stack_temp_for_type, at function.c:655
2005-06-24 21:56 [Bug c/22177] New: error: in assign_stack_temp_for_type, at function.c:655 zhr_buaa at 263 dot net
` (3 preceding siblings ...)
2005-06-27 6:13 ` zhr_buaa at 263 dot net
@ 2005-06-27 6:19 ` zhr_buaa at 263 dot net
2005-06-27 13:39 ` [Bug middle-end/22177] [3.4 only] " pinskia at gcc dot gnu dot org
2005-09-01 15:21 ` rearnsha at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: zhr_buaa at 263 dot net @ 2005-06-27 6:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zhr_buaa at 263 dot net 2005-06-27 06:19 -------
the following is printed by command 'arm-linux-gcc -v'. hope it useful!
Reading specs from /opt/arm-linux/bin/../lib/gcc/arm-linux/3.4.3/specs
Configured with:
/work/zhr/XScale/pxa27x/build/toolchain/build/arm-linux/gcc-3.4.3-glibc-2.3.2/gcc-3.4.3/configure
--target=arm-linux --host=i686-host_pc-linux-gnu
--prefix=/work/zhr/XScale/pxa27x/build/toolchain/buildresult/arm-linux
--with-cpu=iwmmxt --enable-cxx-flags=-mcpu=iwmmxt
--with-headers=/work/zhr/XScale/pxa27x/build/toolchain/buildresult/arm-linux/arm-linux/include
--with-local-prefix=/work/zhr/XScale/pxa27x/build/toolchain/buildresult/arm-linux/arm-linux
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit
--enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long
--without-fp
Thread model: posix
gcc version 3.4.3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22177
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/22177] [3.4 only] error: in assign_stack_temp_for_type, at function.c:655
2005-06-24 21:56 [Bug c/22177] New: error: in assign_stack_temp_for_type, at function.c:655 zhr_buaa at 263 dot net
` (4 preceding siblings ...)
2005-06-27 6:19 ` zhr_buaa at 263 dot net
@ 2005-06-27 13:39 ` pinskia at gcc dot gnu dot org
2005-09-01 15:21 ` rearnsha at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-27 13:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 13:38 -------
Reduced testcase:
int rd8x8_c( int stride)
{
unsigned long long __attribute__ ((aligned (4))) aligned_bak[stride];
unsigned char * const bak= (unsigned char*)aligned_bak;
}
Confirmed, only happens on the 3.4 branch, I don't know if this is a regression or not so keeping this
bug opened.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed| |1
Known to fail| |3.4.5
Known to work| |4.0.0 4.0.1
Last reconfirmed|0000-00-00 00:00:00 |2005-06-27 13:38:47
date| |
Summary|error: in |[3.4 only] error: in
|assign_stack_temp_for_type, |assign_stack_temp_for_type,
|at function.c:655 |at function.c:655
Target Milestone|--- |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22177
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/22177] [3.4 only] error: in assign_stack_temp_for_type, at function.c:655
2005-06-24 21:56 [Bug c/22177] New: error: in assign_stack_temp_for_type, at function.c:655 zhr_buaa at 263 dot net
` (5 preceding siblings ...)
2005-06-27 13:39 ` [Bug middle-end/22177] [3.4 only] " pinskia at gcc dot gnu dot org
@ 2005-09-01 15:21 ` rearnsha at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2005-09-01 15:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rearnsha at gcc dot gnu dot org 2005-09-01 15:21 -------
Not a regression since iwwmxt support was new in 3.4
Note that you cannot use __attribute__((aligned (4))) to reduce the alignement
of an object, so this code is invalid (code compiled for iwmmxt processors
requires an ABI change where long long objects are 8-byte aligned).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22177
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-09-01 15:21 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-24 21:56 [Bug c/22177] New: error: in assign_stack_temp_for_type, at function.c:655 zhr_buaa at 263 dot net
2005-06-24 22:04 ` [Bug middle-end/22177] " pinskia at gcc dot gnu dot org
2005-06-25 18:18 ` pinskia at gcc dot gnu dot org
2005-06-26 16:18 ` pinskia at gcc dot gnu dot org
2005-06-27 6:13 ` zhr_buaa at 263 dot net
2005-06-27 6:19 ` zhr_buaa at 263 dot net
2005-06-27 13:39 ` [Bug middle-end/22177] [3.4 only] " pinskia at gcc dot gnu dot org
2005-09-01 15:21 ` rearnsha 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).