[Bug c++/20505] [4.0 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
--- Additional Comments From ivanr at syncad dot com 2005-04-08 02:37 --- Subject: Re: [4.0 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1 patch tested. works fine. thanks! I found another ICE connected to the gdb2 format. Is it posible to send a preprocessed file without publishing it? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20505
[Bug target/20446] [4.0/4.1 Regression] invalid assembly with -gstabs+
--- Additional Comments From ivanr at syncad dot com 2005-04-08 02:35 --- Subject: Re: [4.0/4.1 Regression] invalid assembly with -gstabs+ patch tested. works fine. thanks! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20446
[Bug c++/20505] internal error when compiling with -ggdb2 and no error with -ggdb1
--- Additional Comments From ivanr at syncad dot com 2005-03-16 22:15 --- Created an attachment (id=8408) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8408&action=view) preprocessed and assembler files for clockevent.41.cpp untar and apply this commmand: g++ -v -save-temps -ggdb2 -c -o clockevent.41.o clockevent.41.ii -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20505
[Bug c++/20505] New: internal error when compiling with -ggdb2 and no error with -ggdb1
When I try to compile with -ggdb2, it fails. When I try with -ggdb1, it doesn't. version of GCC: 4.1.0 20050309 (experimental) system type: SunOS 5.8 GCC configure options: ./configure --prefix=/usr/local/toolchain-4.0.0 --with-gnu-as --with-gnu-l d --enable-languages=c,c++ command line: g++ -v -save-temps -ggdb2 -c -o clockevent.41.o clockevent.41.ii compiler output: Using built-in specs. Target: sparc-sun-solaris2.8 Configured with: ../gcc/configure --prefix=/usr/local/toolchain-4.0.0 --with- gnu-as --with-gnu-ld --enable-languages=c,c++ Thread model: posix gcc version 4.1.0 20050309 (experimental) /space/home/usr.local/toolchain-4.0.0/bin/../libexec/gcc/sparc-sun- solaris2.8/4.1.0/cc1plus -fpreprocessed clockevent.41.ii -quiet -dumpbase clockevent.41.ii -mcpu=v7 -auxbase-strip clockevent.41.o -ggdb2 -version -o clockevent.41.s GNU C++ version 4.1.0 20050309 (experimental) (sparc-sun-solaris2.8) compiled by GNU C version 4.0.0 20050221 (experimental). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 clockevent.41.ii: In member function 'TClockEventBlock* TClock::GetClockEventBlock()': clockevent.41.ii:72515: warning: taking address of temporary clockevent.41.ii: In member function 'TClockEventBlock* TClock::GetUnbufferedClockEventBlock()': clockevent.41.ii:72520: warning: taking address of temporary clockevent.41.ii: At global scope: clockevent.41.ii:72546: internal compiler error: tree check: expected integer_cst, have minus_expr in tree_add_const_value_attribute, at dwarf2out.c:10173 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html> for instructions. -- Summary: internal error when compiling with -ggdb2 and no error with -ggdb1 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ivanr at syncad dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: sparc-sun-solaris2.8 GCC host triplet: sparc-sun-solaris2.8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20505
[Bug debug/20446] invalid assembly with -gstabs+
--- Additional Comments From ivanr at syncad dot com 2005-03-14 15:42 --- Subject: Re: invalid assembly with -gstabs+ Hi, If I switch to default debug format, I get an internal compiler error in another file that I guess would have to report as a different bug. I'll need some time though to narrow down the file to something smaller. Ivan - Original Message - From: "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 14, 2005 9:27 AM Subject: [Bug debug/20446] invalid assembly with -gstabs+ > > --- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-14 14:27 --- > (In reply to comment #7) > > stabs+ is used for compatibility issues with Wine > > So, even mywin (and cygwin) have both moved over to dwarf2. > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20446 > > --- You are receiving this mail because: --- > You reported the bug, or are watching the reporter. > > --- Additional Comments From ivanr at syncad dot com 2005-03-14 15:42 --- Subject: Re: invalid assembly with -gstabs+ Hi, If I switch to default debug format, I get an internal compiler error in another file that I guess would have to report as a different bug. I'll need some time though to narrow down the file to something smaller. Ivan - Original Message - From: "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 14, 2005 9:27 AM Subject: [Bug debug/20446] invalid assembly with -gstabs+ > > --- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-14 14:27 --- > (In reply to comment #7) > > stabs+ is used for compatibility issues with Wine > > So, even mywin (and cygwin) have both moved over to dwarf2. > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20446 > > --- You are receiving this mail because: --- > You reported the bug, or are watching the reporter. > > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20446
[Bug debug/20446] invalid assembly with -gstabs+
--- Additional Comments From ivanr at syncad dot com 2005-03-14 15:42 --- Subject: Re: invalid assembly with -gstabs+ Hi, If I switch to default debug format, I get an internal compiler error in another file that I guess would have to report as a different bug. I'll need some time though to narrow down the file to something smaller. Ivan - Original Message - From: "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 14, 2005 9:27 AM Subject: [Bug debug/20446] invalid assembly with -gstabs+ > > --- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-14 14:27 --- > (In reply to comment #7) > > stabs+ is used for compatibility issues with Wine > > So, even mywin (and cygwin) have both moved over to dwarf2. > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20446 > > --- You are receiving this mail because: --- > You reported the bug, or are watching the reporter. > > --- Additional Comments From ivanr at syncad dot com 2005-03-14 15:42 --- Subject: Re: invalid assembly with -gstabs+ Hi, If I switch to default debug format, I get an internal compiler error in another file that I guess would have to report as a different bug. I'll need some time though to narrow down the file to something smaller. Ivan - Original Message - From: "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 14, 2005 9:27 AM Subject: [Bug debug/20446] invalid assembly with -gstabs+ > > --- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-14 14:27 --- > (In reply to comment #7) > > stabs+ is used for compatibility issues with Wine > > So, even mywin (and cygwin) have both moved over to dwarf2. > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20446 > > --- You are receiving this mail because: --- > You reported the bug, or are watching the reporter. > > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20446
[Bug debug/20446] invalid assembly with -gstabs+
--- Additional Comments From ivanr at syncad dot com 2005-03-14 14:23 --- (In reply to comment #1) > Is there a reason why you are using stabs+, the default debuging format on solaris is dwarf-2 which > provides more information. stabs+ is used for compatibility issues with Wine -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20446
[Bug debug/20446] invalid assembly with -gstabs+
--- Additional Comments From ivanr at syncad dot com 2005-03-14 14:20 --- (In reply to comment #1) > Is there a reason why you are using stabs+, the default debuging format on solaris is dwarf-2 which > provides more information. yes, file compiles with default format but doesn't with stabs+ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20446
[Bug debug/20446] invalid assembly with -gstabs+
--- Additional Comments From ivanr at syncad dot com 2005-03-14 00:03 --- (In reply to comment #3) > It's 4.1.0 if I read correctly. Yes, actually it's 4.1.0 20050309 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20446
[Bug debug/20446] gcc-4.0.0 doesn't produce a valid assembler file.
--- Additional Comments From ivanr at syncad dot com 2005-03-12 23:13 --- Created an attachment (id=8377) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8377&action=view) preprocessed and assembler file for sugarconverter.cpp untar and apply this command: g++ -v -save-temps -gstabs+ -fPIC -c -o -DUNIX -DUSING_STLPORT -I/home/lib/S TLport/stlport sugarconverter.o sugarconverter.ii -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20446
[Bug c++/20446] New: gcc-4.0.0 doesn't produce a valid assembler file.
I didn't have this problems using gcc-3.4.2 When I try to compile the file, gcc-4.0.0 reports error which is not reported by gcc-3.4.2 Info follows: version of GCC: sparc-sun-solaris2.8-gcc-4.0.0 (GCC) 4.1.0 20050309 (experimental) system type: SunOS 5.8 GCC configure options: ./configure --prefix=/usr/local/toolchain-4.0.0 --with-gnu-as --with-gnu-l d --enable-languages=c,c++ command line: g++ -v -save-temps -gstabs+ -fPIC -c -o -DUNIX -DUSING_STLPORT -I/home/lib/S TLport/stlport sugarconverter.o sugarconverter.cpp compiler output: home/lib/STLport/stlport sugarconverter.o sugarconverter.cpp Using built-in specs. Target: sparc-sun-solaris2.8 Configured with: ../gcc/configure --prefix=/usr/local/toolchain-4.0.0 --with-gnu-as --with-gn u-ld --enable-languages=c,c++ Thread model: posix gcc version 4.1.0 20050309 (experimental) /space/home/usr.local/toolchain-4.0.0/bin/../libexec/gcc/sparc-sun-solaris2. 8/4.1.0/cc1plus -E -quiet -v -I/home/lib/STLport/stlport -iprefix /space/home/usr.local/toolchain-4.0.0/bin/../lib/gcc/sparc-sun-solaris2.8/4. 1.0/ -DUSING_STLPORT sugarconverter.cpp -mcpu=v7 -fPIC -fworking-directory -fpch-preprocess -o sugarconverter.ii ignoring nonexistent directory "/space/home/usr.local/toolchain-4.0.0/bin/../lib/gcc/sparc-sun-solaris2.8/4 .1.0/../../../../sparc-sun-solaris2.8/include" ignoring duplicate directory "/usr/local/toolchain-4.0.0/lib/gcc/sparc-sun-solaris2.8/4.1.0/../../../../i nclude/c++/4.1.0" ignoring duplicate directory "/usr/local/toolchain-4.0.0/lib/gcc/sparc-sun-solaris2.8/4.1.0/../../../../i nclude/c++/4.1.0/sparc-sun-solaris2.8" ignoring duplicate directory "/usr/local/toolchain-4.0.0/lib/gcc/sparc-sun-solaris2.8/4.1.0/../../../../i nclude/c++/4.1.0/backward" ignoring duplicate directory "/usr/local/toolchain-4.0.0/lib/gcc/sparc-sun-solaris2.8/4.1.0/include" ignoring nonexistent directory "/usr/local/toolchain-4.0.0/lib/gcc/sparc-sun-solaris2.8/4.1.0/../../../../s parc-sun-solaris2.8/include" #include "..." search starts here: #include <...> search starts here: /home/lib/STLport/stlport /space/home/usr.local/toolchain-4.0.0/bin/../lib/gcc/sparc-sun-solaris2.8/4. 1.0/../../../../include/c++/4.1.0 /space/home/usr.local/toolchain-4.0.0/bin/../lib/gcc/sparc-sun-solaris2.8/4. 1.0/../../../../include/c++/4.1.0/sparc-sun-solaris2.8 /space/home/usr.local/toolchain-4.0.0/bin/../lib/gcc/sparc-sun-solaris2.8/4. 1.0/../../../../include/c++/4.1.0/backward /space/home/usr.local/toolchain-4.0.0/bin/../lib/gcc/sparc-sun-solaris2.8/4. 1.0/include /usr/local/include /usr/local/toolchain-4.0.0/include /usr/include End of search list. sugarconverter.cpp:4:10: warning: #pragma once in main file /space/home/usr.local/toolchain-4.0.0/bin/../libexec/gcc/sparc-sun-solaris2. 8/4.1.0/cc1plus -fpreprocessed sugarconverter.ii -quiet -dumpbase sugarconverter.cpp -mcpu=v7 -auxbase-strip -DUNIX -gstabs+ -version -fPIC -o sugarconverter.s GNU C++ version 4.1.0 20050309 (experimental) (sparc-sun-solaris2.8) compiled by GNU C version 4.0.0 20050221 (experimental). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 /space/home/usr.local/toolchain-4.0.0/bin/../lib/gcc/sparc-sun-solaris2.8/4. 1.0/../../../../sparc-sun-solaris2.8/bin/as -V -Qy -s -K PIC -xarch=v8 -o -DUNIX sugarconverter.s GNU assembler version 2.14 (sparc-sun-solaris2.8) using BFD version 2.14 20030612 sugarconverter.s: Assembler messages: sugarconverter.s:888: Error: can't resolve `.text' {.text section} - `_ZThn4_N15TSugarConverter5VisitEPK1A' {.gnu.linkonce.t._ZThn4_N15TSugarConverter5VisitEPK1A section} distcc[3959] ERROR: compile (NULL) on localhost failed -- Summary: gcc-4.0.0 doesn't produce a valid assembler file. Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ivanr at syncad dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: sparc-sun-solaris2.8 GCC host triplet: sparc-sun-solaris2.8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20446