public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/38445]  New: [4.4 Regression] ICE in tree-ssa-struct-alias when compiling grub-0.97
@ 2008-12-08 15:09 aldot at gcc dot gnu dot org
  2008-12-08 15:10 ` [Bug c/38445] " aldot at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: aldot at gcc dot gnu dot org @ 2008-12-08 15:09 UTC (permalink / raw)
  To: gcc-bugs

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

Using built-in specs.
Target: i686-linux-uclibc
Configured with:
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/configure
--prefix=/usr --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu
--target=i686-linux-uclibc --enable-languages=c,c++
--with-sysroot=/there/src/buildroot.git.pentium4/i686_build/staging
--with-build-time-tools=/there/src/buildroot.git.pentium4/i686_build/staging/usr/i686-linux-uclibc/bin
--disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --enable-shared
--with-gmp=/there/src/buildroot.git.pentium4/i686_toolchain/gmp
--with-mpfr=/there/src/buildroot.git.pentium4/i686_toolchain/mpfr
--enable-threads --disable-multilib --with-arch=core2 --with-tune=core2
--disable-libssp --disable-libssp --disable-libmudflap --disable-libgomp
--enable-decimal-float=no
Thread model: posix
gcc version 4.4.0 20081208 (experimental) [trunk revision 142549] (GCC)
COLLECT_GCC_OPTIONS='-DHAVE_CONFIG_H' '-I.' '-I.' '-I..' '-I../stage1'
'-DSUPPORT_LOOPDEV' '-Wall' '-Wmissing-prototypes' '-Wunused' '-Wshadow'
'-Wpointer-arith' '-falign-jumps=1' '-falign-loops=1' '-falign-functions=1'
'-Wundef' '-nostdinc' '-DSUPPORT_SERIAL=1' '-DSUPPORT_HERCULES=1'
'-DSUPPORT_GRAPHICS=1' '-DFSYS_EXT2FS=1' '-DFSYS_FAT=1' '-DFSYS_FFS=1'
'-DFSYS_UFS2=1' '-DFSYS_MINIX=1' '-DFSYS_REISERFS=1' '-DFSYS_VSTAFS=1'
'-DFSYS_JFS=1' '-DFSYS_XFS=1' '-DFSYS_ISO9660=1' '-DUSE_MD5_PASSWORDS=1' '-Os'
'-pipe' '-fno-builtin' '-MT' 'pre_stage2_exec-char_io.o' '-MD' '-MP' '-MF'
'.deps/pre_stage2_exec-char_io.Tpo' '-c' '-o' 'pre_stage2_exec-char_io.o' '-v'
'-mtune=core2' '-march=core2'

/there/src/buildroot.git.pentium4/i686_build/staging/usr/bin/../libexec/gcc/i686-linux-uclibc/4.4.0/cc1
-quiet -nostdinc -v -I. -I. -I.. -I../stage1 -iprefix
/there/src/buildroot.git.pentium4/i686_build/staging/usr/bin/../lib/gcc/i686-linux-uclibc/4.4.0/
-MD pre_stage2_exec-char_io.d -MF .deps/pre_stage2_exec-char_io.Tpo -MP -MT
pre_stage2_exec-char_io.o -DHAVE_CONFIG_H -DSUPPORT_LOOPDEV -DSUPPORT_SERIAL=1
-DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1
-DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1
-DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 char_io.c
-quiet -dumpbase char_io.c -mtune=core2 -march=core2 -auxbase-strip
pre_stage2_exec-char_io.o -Os -Wall -Wmissing-prototypes -Wunused -Wshadow
-Wpointer-arith -Wundef -version -falign-jumps=1 -falign-loops=1
-falign-functions=1 -fno-builtin -o - |

/there/src/buildroot.git.pentium4/i686_build/staging/usr/bin/../lib/gcc/i686-linux-uclibc/4.4.0/../../../../i686-linux-uclibc/bin/as
-V -Qy -o pre_stage2_exec-char_io.o -
GNU assembler version 2.19 (i686-linux-uclibc) using BFD version (GNU Binutils)
2.19
ignoring duplicate directory "."
#include "..." search starts here:
#include <...> search starts here:
 .
 ..
 ../stage1
End of search list.
GNU C (GCC) version 4.4.0 20081208 (experimental) [trunk revision 142549]
(i686-linux-uclibc)
        compiled by GNU C version 4.3.2, GMP version 4.2.4, MPFR version 2.3.2.
warning: GMP header version 4.2.4 differs from library version 4.2.2.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 6a40f4131f5176b43bb64e609d95341a
char_io.c: In function ‘grub_sprintf’:
char_io.c:253: warning: dereferencing pointer ‘dataptr’ does break
strict-aliasing rules
char_io.c:248: warning: dereferencing pointer ‘dataptr’ does break
strict-aliasing rules
char_io.c:253: note: initialized from here
char_io.c:253: note: initialized from here
char_io.c:253: note: initialized from here
char_io.c:253: note: initialized from here
char_io.c:253: note: initialized from here
char_io.c:253: note: initialized from here
char_io.c:253: note: initialized from here
char_io.c:253: note: initialized from here
char_io.c:253: note: initialized from here
char_io.c:253: note: initialized from here
[snip gazillions of these]
char_io.c:253: note: initialized from here
i686-linux-uclibc-gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.


#0  0xb7e18c1e in _IO_default_xsputn_internal () from /lib/i686/cmov/libc.so.6
#1  0xb7deb783 in vfprintf () from /lib/i686/cmov/libc.so.6
#2  0xb7e1308c in vasprintf () from /lib/i686/cmov/libc.so.6
#3  0x0815d96f in build_message_string (msg=0x87e5d1a "%s:%d: %s")
    at
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/gcc/diagnostic.c:75
#4  0x0815d9fd in diagnostic_build_prefix (diagnostic=0xbf7b585c)
    at
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/gcc/diagnostic.c:158
#5  0x0815db96 in default_diagnostic_starter (context=0x8982020, 
    diagnostic=0xbf7b585c)
    at
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/gcc/diagnostic.c:264
#6  0x0815d1a0 in diagnostic_report_diagnostic (context=0x8982020, 
    diagnostic=0xbf7b585c)
    at
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/gcc/diagnostic.c:403
#7  0x0815d716 in inform (location=265376, 
    gmsgid=0x8838368 "initialized from here")
    at
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/gcc/diagnostic.c:502
#8  0x0847995f in emit_pointer_definition (def=0xb7c04e00)
    at
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/gcc/tree-ssa-structalias.c:4724
#9  0x084799c1 in emit_pointer_definition (def=<value optimized out>)
    at
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/gcc/tree-ssa-structalias.c:4718
#10 0x084799c1 in emit_pointer_definition (def=<value optimized out>)
    at
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/gcc/tree-ssa-structalias.c:4718
#11 0x084799c1 in emit_pointer_definition (def=<value optimized out>)
    at
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/gcc/tree-ssa-structalias.c:4718
#12 0x084799c1 in emit_pointer_definition (def=<value optimized out>)
    at
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/gcc/tree-ssa-structalias.c:4718
#13 0x084799c1 in emit_pointer_definition (def=<value optimized out>)
    at
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/gcc/tree-ssa-structalias.c:4718
#14 0x084799c1 in emit_pointer_definition (def=<value optimized out>)
    at
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/gcc/tree-ssa-structalias.c:4718
#15 0x084799c1 in emit_pointer_definition (def=<value optimized out>)
    at
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/gcc/tree-ssa-structalias.c:4718
#16 0x084799c1 in emit_pointer_definition (def=<value optimized out>)
    at
/there/src/buildroot.git.pentium4/i686_toolchain/gcc-4.4.0/gcc/tree-ssa-structalias.c:4718
[snip gazillions of :4718]


-- 
           Summary: [4.4 Regression] ICE in tree-ssa-struct-alias when
                    compiling grub-0.97
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aldot at gcc dot gnu dot org


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


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

* [Bug c/38445] [4.4 Regression] ICE in tree-ssa-struct-alias when compiling grub-0.97
  2008-12-08 15:09 [Bug c/38445] New: [4.4 Regression] ICE in tree-ssa-struct-alias when compiling grub-0.97 aldot at gcc dot gnu dot org
@ 2008-12-08 15:10 ` aldot at gcc dot gnu dot org
  2008-12-08 15:15 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: aldot at gcc dot gnu dot org @ 2008-12-08 15:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from aldot at gcc dot gnu dot org  2008-12-08 15:08 -------
Created an attachment (id=16851)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16851&action=view)
preprocess source


-- 


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


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

* [Bug c/38445] [4.4 Regression] ICE in tree-ssa-struct-alias when compiling grub-0.97
  2008-12-08 15:09 [Bug c/38445] New: [4.4 Regression] ICE in tree-ssa-struct-alias when compiling grub-0.97 aldot at gcc dot gnu dot org
  2008-12-08 15:10 ` [Bug c/38445] " aldot at gcc dot gnu dot org
@ 2008-12-08 15:15 ` rguenth at gcc dot gnu dot org
  2008-12-08 15:27 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-12-08 15:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-12-08 15:13 -------
Reducing.


-- 


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


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

* [Bug c/38445] [4.4 Regression] ICE in tree-ssa-struct-alias when compiling grub-0.97
  2008-12-08 15:09 [Bug c/38445] New: [4.4 Regression] ICE in tree-ssa-struct-alias when compiling grub-0.97 aldot at gcc dot gnu dot org
  2008-12-08 15:10 ` [Bug c/38445] " aldot at gcc dot gnu dot org
  2008-12-08 15:15 ` rguenth at gcc dot gnu dot org
@ 2008-12-08 15:27 ` rguenth at gcc dot gnu dot org
  2008-12-09 11:09 ` [Bug tree-optimization/38445] " rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-12-08 15:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-12-08 15:25 -------
I have a patch.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-12-08 15:25:30
               date|                            |
   Target Milestone|---                         |4.4.0


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


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

* [Bug tree-optimization/38445] [4.4 Regression] ICE in tree-ssa-struct-alias when compiling grub-0.97
  2008-12-08 15:09 [Bug c/38445] New: [4.4 Regression] ICE in tree-ssa-struct-alias when compiling grub-0.97 aldot at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-12-08 15:27 ` rguenth at gcc dot gnu dot org
@ 2008-12-09 11:09 ` rguenth at gcc dot gnu dot org
  2008-12-09 11:09 ` rguenth at gcc dot gnu dot org
  2008-12-12 10:10 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-12-09 11:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2008-12-09 11:06 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug tree-optimization/38445] [4.4 Regression] ICE in tree-ssa-struct-alias when compiling grub-0.97
  2008-12-08 15:09 [Bug c/38445] New: [4.4 Regression] ICE in tree-ssa-struct-alias when compiling grub-0.97 aldot at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-12-09 11:09 ` [Bug tree-optimization/38445] " rguenth at gcc dot gnu dot org
@ 2008-12-09 11:09 ` rguenth at gcc dot gnu dot org
  2008-12-12 10:10 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-12-09 11:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-12-09 11:07 -------
Subject: Bug 38445

Author: rguenth
Date: Tue Dec  9 11:06:34 2008
New Revision: 142590

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142590
Log:
2008-12-09  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/38445
        * tree-ssa-structalias.c (emit_pointer_definition): Only visit
        names once.
        (emit_alias_warning): Adjust.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-structalias.c


-- 


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


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

* [Bug tree-optimization/38445] [4.4 Regression] ICE in tree-ssa-struct-alias when compiling grub-0.97
  2008-12-08 15:09 [Bug c/38445] New: [4.4 Regression] ICE in tree-ssa-struct-alias when compiling grub-0.97 aldot at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-12-09 11:09 ` rguenth at gcc dot gnu dot org
@ 2008-12-12 10:10 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-12-12 10:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2008-12-12 10:06 -------
*** Bug 38491 has been marked as a duplicate of this bug. ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcb314 at hotmail dot com


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


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

end of thread, other threads:[~2008-12-12 10:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-08 15:09 [Bug c/38445] New: [4.4 Regression] ICE in tree-ssa-struct-alias when compiling grub-0.97 aldot at gcc dot gnu dot org
2008-12-08 15:10 ` [Bug c/38445] " aldot at gcc dot gnu dot org
2008-12-08 15:15 ` rguenth at gcc dot gnu dot org
2008-12-08 15:27 ` rguenth at gcc dot gnu dot org
2008-12-09 11:09 ` [Bug tree-optimization/38445] " rguenth at gcc dot gnu dot org
2008-12-09 11:09 ` rguenth at gcc dot gnu dot org
2008-12-12 10:10 ` rguenth 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).