public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/48343] New: ICE compiling i586 linux-2.6.38/drivers/staging/wlan-ng/p80211wep.c: in form_sum, at reload.c:5338
@ 2011-03-29 22:35 pcpa at mandriva dot com.br
  2011-03-30  9:02 ` [Bug debug/48343] [4.6/4.7 Regression] " rguenth at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: pcpa at mandriva dot com.br @ 2011-03-29 22:35 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE compiling i586
                    linux-2.6.38/drivers/staging/wlan-ng/p80211wep.c: in
                    form_sum, at reload.c:5338
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: pcpa@mandriva.com.br


Created attachment 23806
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23806
sample test case: "gcc -O1 -g test.c" to reproduce the problem

The problem happens at -O1 or larger, and only if adding -g to command line.
The problem happened after over 15k lines of kernel compile log.

$ gcc -v -O3 -g test.c
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-mandriva-linux-gnu/4.6.0/lto-wrapper
Target: i586-mandriva-linux-gnu
Configured with: ./configure --build=i586-mandriva-linux-gnu --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include
--x-libraries=/usr/lib --disable-libjava-multilib
--with-java-home=/usr/lib/jvm/java-rpmbuild
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-java-awt=qt,gtk
--enable-gtk-cairo --disable-libssp --disable-libunwind-exceptions
--disable-werror --enable-__cxa_atexit --enable-bootstrap
--enable-checking=release --enable-gnu-unique-object
--enable-languages=c,ada,c++,fortran,go,java,lto,objc,obj-c++
--enable-linker-build-id --enable-plugin --enable-shared --enable-threads=posix
--with-system-zlib --with-bugurl=https://qa.mandriva.com/ --with-tune=generic
--with-arch=i686 --host=i586-mandriva-linux-gnu
--target=i586-mandriva-linux-gnu
Thread model: posix
gcc version 4.6.0 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-O3' '-g' '-mtune=generic' '-march=i686'
 /usr/lib/gcc/i586-mandriva-linux-gnu/4.6.0/cc1 -quiet -v test.c -quiet
-dumpbase test.c -mtune=generic -march=i686 -auxbase test -g -O3 -version -o
/tmp//ccxHrbNH.s
GNU C (GCC) version 4.6.0 (i586-mandriva-linux-gnu)
        compiled by GNU C version 4.6.0, GMP version 5.0.1, MPFR version
3.0.0-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory
"/usr/lib/gcc/i586-mandriva-linux-gnu/4.6.0/include-fixed"
ignoring nonexistent directory
"/usr/lib/gcc/i586-mandriva-linux-gnu/4.6.0/../../../../i586-mandriva-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/i586-mandriva-linux-gnu/4.6.0/include
 /usr/local/include
 /usr/include
End of search list.
GNU C (GCC) version 4.6.0 (i586-mandriva-linux-gnu)
        compiled by GNU C version 4.6.0, GMP version 5.0.1, MPFR version
3.0.0-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: bca5a43bb43969b075940469833a33fd
test.c: In function 'test':
test.c:147:1: internal compiler error: in form_sum, at reload.c:5338
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://qa.mandriva.com/> for instructions.

  This is from an experimental gcc 4.6.0 package for Mandriva. I am already
using a x86_64 kernel in my computer, compiled with gcc 4.6.0.

  Attached is hopefully a small enough cut&paste with minimal changes, that
still reproduces the problem.


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

end of thread, other threads:[~2011-04-07 18:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-29 22:35 [Bug c/48343] New: ICE compiling i586 linux-2.6.38/drivers/staging/wlan-ng/p80211wep.c: in form_sum, at reload.c:5338 pcpa at mandriva dot com.br
2011-03-30  9:02 ` [Bug debug/48343] [4.6/4.7 Regression] " rguenth at gcc dot gnu.org
2011-03-30  9:49 ` rguenth at gcc dot gnu.org
2011-03-30 14:24 ` jakub at gcc dot gnu.org
2011-03-30 14:25 ` jakub at gcc dot gnu.org
2011-03-30 15:37 ` jakub at gcc dot gnu.org
2011-03-30 15:56 ` jakub at gcc dot gnu.org
2011-03-30 17:43 ` molitor@microbiology-bonn.de
2011-03-31 18:44 ` pcpa at mandriva dot com.br
2011-04-07 17:57 ` jakub at gcc dot gnu.org
2011-04-07 17:58 ` jakub at gcc dot gnu.org
2011-04-07 18:05 ` jakub at gcc dot gnu.org
2011-04-07 18:07 ` jakub at gcc dot gnu.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).