public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/38054]  New: Assertion failed in change_decl_assembler_name()
@ 2008-11-07 18:45 d dot g dot gorbachev at gmail dot com
  2008-11-07 18:46 ` [Bug middle-end/38054] " d dot g dot gorbachev at gmail dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2008-11-07 18:45 UTC (permalink / raw)
  To: gcc-bugs

mingw32-c++ (GCC) 4.4.0 20081031 (experimental)

internal compiler error: in change_decl_assembler_name, at cgraph.c:1252

C++ source is here:
<http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/desktop/desktop.cpp?revision=34284&content-type=text%2Fplain>


-- 
           Summary: Assertion failed in change_decl_assembler_name()
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: d dot g dot gorbachev at gmail dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i386-pc-mingw32


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


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

* [Bug middle-end/38054] Assertion failed in change_decl_assembler_name()
  2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
@ 2008-11-07 18:46 ` d dot g dot gorbachev at gmail dot com
  2008-11-09  0:42 ` dannysmith at users dot sourceforge dot net
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2008-11-07 18:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from d dot g dot gorbachev at gmail dot com  2008-11-07 18:45 -------
Created an attachment (id=16632)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16632&action=view)
Preprocessed source


-- 


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


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

* [Bug middle-end/38054] Assertion failed in change_decl_assembler_name()
  2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
  2008-11-07 18:46 ` [Bug middle-end/38054] " d dot g dot gorbachev at gmail dot com
@ 2008-11-09  0:42 ` dannysmith at users dot sourceforge dot net
  2008-11-09  8:22 ` [Bug target/38054] " dannysmith at users dot sourceforge dot net
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2008-11-09  0:42 UTC (permalink / raw)
  To: gcc-bugs



-- 

dannysmith at users dot sourceforge dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |dannysmith at users dot
                   |dot org                     |sourceforge dot net
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-11-09 00:41:29
               date|                            |


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


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

* [Bug target/38054] Assertion failed in change_decl_assembler_name()
  2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
  2008-11-07 18:46 ` [Bug middle-end/38054] " d dot g dot gorbachev at gmail dot com
  2008-11-09  0:42 ` dannysmith at users dot sourceforge dot net
@ 2008-11-09  8:22 ` dannysmith at users dot sourceforge dot net
  2008-11-09  8:26 ` dannysmith at users dot sourceforge dot net
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2008-11-09  8:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dannysmith at users dot sourceforge dot net  2008-11-09 08:20 -------
This a target bug (stdcall symbol name decorati0on on windows targets)


-- 

dannysmith at users dot sourceforge dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |target


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


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

* [Bug target/38054] Assertion failed in change_decl_assembler_name()
  2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
                   ` (2 preceding siblings ...)
  2008-11-09  8:22 ` [Bug target/38054] " dannysmith at users dot sourceforge dot net
@ 2008-11-09  8:26 ` dannysmith at users dot sourceforge dot net
  2008-11-09 11:32 ` d dot g dot gorbachev at gmail dot com
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2008-11-09  8:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dannysmith at users dot sourceforge dot net  2008-11-09 08:24 -------
Patch at:
http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00321.html


-- 


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


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

* [Bug target/38054] Assertion failed in change_decl_assembler_name()
  2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
                   ` (3 preceding siblings ...)
  2008-11-09  8:26 ` dannysmith at users dot sourceforge dot net
@ 2008-11-09 11:32 ` d dot g dot gorbachev at gmail dot com
  2008-11-11  6:29 ` dannysmith at users dot sourceforge dot net
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2008-11-09 11:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from d dot g dot gorbachev at gmail dot com  2008-11-09 11:30 -------
(In reply to comment #3)

Ok, thanks.


-- 


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


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

* [Bug target/38054] Assertion failed in change_decl_assembler_name()
  2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
                   ` (4 preceding siblings ...)
  2008-11-09 11:32 ` d dot g dot gorbachev at gmail dot com
@ 2008-11-11  6:29 ` dannysmith at users dot sourceforge dot net
  2008-11-13 20:23 ` d dot g dot gorbachev at gmail dot com
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2008-11-11  6:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from dannysmith at users dot sourceforge dot net  2008-11-11 06:27 -------
(In reply to comment #3)
> Patch at:
> http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00321.html
> 

That patch also fixes the FAIL of testsuite\g++.old-deja\g++.dg\other>g++
pr35504.C .  Currently it fails on mingw32 and cygwin with:

Warning: resolving non-virtual thunk to c3::method5()@4 by linking to
non-virtual thunk to c3::method5()
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
c:\tmp/ccisCRqc.o:pr35504.C:(.rdata$_ZTV2c3[vtable for c3]+0x44): undefined
reference to `@_ZThn8_N2c37method4Ev@4'
collect2: ld returned 1 exit status 


-- 


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


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

* [Bug target/38054] Assertion failed in change_decl_assembler_name()
  2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
                   ` (5 preceding siblings ...)
  2008-11-11  6:29 ` dannysmith at users dot sourceforge dot net
@ 2008-11-13 20:23 ` d dot g dot gorbachev at gmail dot com
  2008-11-24 10:26 ` hackbunny at reactos dot com
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2008-11-13 20:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from d dot g dot gorbachev at gmail dot com  2008-11-13 20:21 -------
(In reply to comment #5)

GCC 4.3.2 suffers from the same bug.


-- 


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


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

* [Bug target/38054] Assertion failed in change_decl_assembler_name()
  2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
                   ` (6 preceding siblings ...)
  2008-11-13 20:23 ` d dot g dot gorbachev at gmail dot com
@ 2008-11-24 10:26 ` hackbunny at reactos dot com
  2008-11-24 10:30 ` hackbunny at reactos dot com
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hackbunny at reactos dot com @ 2008-11-24 10:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from hackbunny at reactos dot com  2008-11-24 10:24 -------
Created an attachment (id=16756)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16756&action=view)
Smaller test case

gcc -c -v -funit-at-a-time -nostdinc testcase.c

Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.1.3/configure --prefix=/gcc-4.1.3 --with-gcc
--with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --build=mingw32
--enable-languages=c,c++ --enable-checking=release --enable-threads=win32
--disable-win32-registry --disable-nls --disable-shared
Thread model: win32
gcc version 4.1.3 20071015 (prerelease)
 c:/users/hyperion/rosbe/4.1.3/bin/../libexec/gcc/mingw32/4.1.3/cc1.exe -quiet
-nostdinc -v -iprefix
c:\users\hyperion\rosbe\4.1.3\bin\../lib/gcc/mingw32/4.1.3/ testcase.c -quiet
-dumpbase testcase.c -auxbase testcase -version -funit-at-a-time -o
C:\Users\Hyperion\AppData\Local\Temp/cczKM08O.s
#include "..." search starts here:
#include <...> search starts here:
 C:/Users/Hyperion/RosBE/4.1.3/include
 C:/Users/Hyperion/RosBE/4.1.3/lib/gcc/mingw32/4.1.3/include
End of search list.
GNU C version 4.1.3 20071015 (prerelease) (mingw32)
        compiled by GNU C version 4.1.3 20071015 (prerelease).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 3f527ff7c87fdc28aecf612037bc62b2
testcase.c: In function 'y':
testcase.c:10: warning: y renamed after being referenced in assembly

c:/users/hyperion/rosbe/4.1.3/bin/../lib/gcc/mingw32/4.1.3/../../../../mingw32/bin/as.exe
-o testcase.o C:\Users\Hyperion\AppData\Local\Temp/cczKM08O.s


-- 


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


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

* [Bug target/38054] Assertion failed in change_decl_assembler_name()
  2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
                   ` (7 preceding siblings ...)
  2008-11-24 10:26 ` hackbunny at reactos dot com
@ 2008-11-24 10:30 ` hackbunny at reactos dot com
  2008-11-26  0:15 ` d dot g dot gorbachev at gmail dot com
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hackbunny at reactos dot com @ 2008-11-24 10:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from hackbunny at reactos dot com  2008-11-24 10:29 -------
I have added a test case that shows a closely related issue with nested
functions, -funit-at-a-time and unreferenced file-scope externs (yes, if you
remove "int x = 0;" the warning goes away)

The "%D renamed after being referenced in assembly" warning cannot be disabled,
either, so this is a bit problematic for sources compiled with -Werror


-- 

hackbunny at reactos dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hackbunny at reactos dot com


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


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

* [Bug target/38054] Assertion failed in change_decl_assembler_name()
  2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
                   ` (8 preceding siblings ...)
  2008-11-24 10:30 ` hackbunny at reactos dot com
@ 2008-11-26  0:15 ` d dot g dot gorbachev at gmail dot com
  2008-12-02  8:05 ` dannysmith at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2008-11-26  0:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from d dot g dot gorbachev at gmail dot com  2008-11-26 00:14 -------
GCC 4.3.2 and 4.4.0 compile the above testcase without warnings.


-- 


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


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

* [Bug target/38054] Assertion failed in change_decl_assembler_name()
  2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
                   ` (9 preceding siblings ...)
  2008-11-26  0:15 ` d dot g dot gorbachev at gmail dot com
@ 2008-12-02  8:05 ` dannysmith at gcc dot gnu dot org
  2008-12-02  8:07 ` dannysmith at users dot sourceforge dot net
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: dannysmith at gcc dot gnu dot org @ 2008-12-02  8:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from dannysmith at gcc dot gnu dot org  2008-12-02 08:03 -------
Subject: Bug 38054

Author: dannysmith
Date: Tue Dec  2 08:02:07 2008
New Revision: 142347

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142347
Log:
        PR target/38054
        * config/i386/winnt.c (i386_pe_encode_section_info): Condition stdcall
        decoration of function RTL names here on Ada language.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/winnt.c


-- 


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


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

* [Bug target/38054] Assertion failed in change_decl_assembler_name()
  2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
                   ` (10 preceding siblings ...)
  2008-12-02  8:05 ` dannysmith at gcc dot gnu dot org
@ 2008-12-02  8:07 ` dannysmith at users dot sourceforge dot net
  2008-12-04  7:15 ` dannysmith at gcc dot gnu dot org
  2008-12-04  7:18 ` dannysmith at users dot sourceforge dot net
  13 siblings, 0 replies; 15+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2008-12-02  8:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from dannysmith at users dot sourceforge dot net  2008-12-02 08:05 -------
I have committed a patch to 4.4.0  to fix  bug in compilation of desktop.cpp


-- 

dannysmith at users dot sourceforge dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.4


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


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

* [Bug target/38054] Assertion failed in change_decl_assembler_name()
  2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
                   ` (11 preceding siblings ...)
  2008-12-02  8:07 ` dannysmith at users dot sourceforge dot net
@ 2008-12-04  7:15 ` dannysmith at gcc dot gnu dot org
  2008-12-04  7:18 ` dannysmith at users dot sourceforge dot net
  13 siblings, 0 replies; 15+ messages in thread
From: dannysmith at gcc dot gnu dot org @ 2008-12-04  7:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from dannysmith at gcc dot gnu dot org  2008-12-04 07:14 -------
Subject: Bug 38054

Author: dannysmith
Date: Thu Dec  4 07:13:05 2008
New Revision: 142429

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142429
Log:
        Backport from mainline:
        PR target/38054
        * config/i386/winnt.c (i386_pe_encode_section_info): Condition stdcall
        decoration of function RTL names here on Ada language.

Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/config/i386/winnt.c


-- 


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


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

* [Bug target/38054] Assertion failed in change_decl_assembler_name()
  2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
                   ` (12 preceding siblings ...)
  2008-12-04  7:15 ` dannysmith at gcc dot gnu dot org
@ 2008-12-04  7:18 ` dannysmith at users dot sourceforge dot net
  13 siblings, 0 replies; 15+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2008-12-04  7:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from dannysmith at users dot sourceforge dot net  2008-12-04 07:16 -------
Fixed in 4.3.3


-- 

dannysmith at users dot sourceforge dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.3.4                       |4.3.3


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


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

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

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-07 18:45 [Bug middle-end/38054] New: Assertion failed in change_decl_assembler_name() d dot g dot gorbachev at gmail dot com
2008-11-07 18:46 ` [Bug middle-end/38054] " d dot g dot gorbachev at gmail dot com
2008-11-09  0:42 ` dannysmith at users dot sourceforge dot net
2008-11-09  8:22 ` [Bug target/38054] " dannysmith at users dot sourceforge dot net
2008-11-09  8:26 ` dannysmith at users dot sourceforge dot net
2008-11-09 11:32 ` d dot g dot gorbachev at gmail dot com
2008-11-11  6:29 ` dannysmith at users dot sourceforge dot net
2008-11-13 20:23 ` d dot g dot gorbachev at gmail dot com
2008-11-24 10:26 ` hackbunny at reactos dot com
2008-11-24 10:30 ` hackbunny at reactos dot com
2008-11-26  0:15 ` d dot g dot gorbachev at gmail dot com
2008-12-02  8:05 ` dannysmith at gcc dot gnu dot org
2008-12-02  8:07 ` dannysmith at users dot sourceforge dot net
2008-12-04  7:15 ` dannysmith at gcc dot gnu dot org
2008-12-04  7:18 ` dannysmith at users dot sourceforge dot net

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).