public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33977]  New: [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5]
@ 2007-11-01 22:40 bero at arklinux dot org
  2007-11-01 22:43 ` [Bug c++/33977] " bero at arklinux dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bero at arklinux dot org @ 2007-11-01 22:40 UTC (permalink / raw)
  To: gcc-bugs

/usr/src/ark/BUILD/ooo-build/build/oog680-m7/sw/source/ui/uno/swdet2.cxx: At
global scope:
/usr/src/ark/BUILD/ooo-build/build/oog680-m7/sw/source/ui/uno/swdet2.cxx:91:
internal compiler error: canonical types differ for identical types const char
[5] and const sal_Char [5]

This is similar to bug 33886, may be just another test case for the same bug:


-- 
           Summary: [4.3 Regression] internal compiler error: canonical
                    types differ for identical types const char [5] and
                    const sal_Char [5]
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bero at arklinux dot org
 GCC build triplet: i586-pc-linux-gnu
  GCC host triplet: i586-pc-linux-gnu
GCC target triplet: i586-pc-linux-gnu


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


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

* [Bug c++/33977] [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5]
  2007-11-01 22:40 [Bug c++/33977] New: [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5] bero at arklinux dot org
@ 2007-11-01 22:43 ` bero at arklinux dot org
  2007-11-01 22:45 ` bero at arklinux dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bero at arklinux dot org @ 2007-11-01 22:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bero at arklinux dot org  2007-11-01 22:43 -------
Created an attachment (id=14461)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14461&action=view)
bzip2-ed preprocessed source


-- 


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


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

* [Bug c++/33977] [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5]
  2007-11-01 22:40 [Bug c++/33977] New: [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5] bero at arklinux dot org
  2007-11-01 22:43 ` [Bug c++/33977] " bero at arklinux dot org
@ 2007-11-01 22:45 ` bero at arklinux dot org
  2007-11-01 22:56 ` bero at arklinux dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bero at arklinux dot org @ 2007-11-01 22:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bero at arklinux dot org  2007-11-01 22:45 -------
Difference from bug 33886: bug 33977 occurs even at -O0, 33866 needs -O2


-- 


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


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

* [Bug c++/33977] [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5]
  2007-11-01 22:40 [Bug c++/33977] New: [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5] bero at arklinux dot org
  2007-11-01 22:43 ` [Bug c++/33977] " bero at arklinux dot org
  2007-11-01 22:45 ` bero at arklinux dot org
@ 2007-11-01 22:56 ` bero at arklinux dot org
  2007-11-02  5:41 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bero at arklinux dot org @ 2007-11-01 22:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from bero at arklinux dot org  2007-11-01 22:56 -------
Created an attachment (id=14462)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14462&action=view)
Reduced test case

typedef char sal_Char;
const sal_Char sHTML[] = "HTML";
extern const char sHTML[];


-- 


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


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

* [Bug c++/33977] [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5]
  2007-11-01 22:40 [Bug c++/33977] New: [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5] bero at arklinux dot org
                   ` (2 preceding siblings ...)
  2007-11-01 22:56 ` bero at arklinux dot org
@ 2007-11-02  5:41 ` pinskia at gcc dot gnu dot org
  2007-11-05  2:46 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-02  5:41 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.3.0


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


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

* [Bug c++/33977] [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5]
  2007-11-01 22:40 [Bug c++/33977] New: [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5] bero at arklinux dot org
                   ` (3 preceding siblings ...)
  2007-11-02  5:41 ` pinskia at gcc dot gnu dot org
@ 2007-11-05  2:46 ` mmitchel at gcc dot gnu dot org
  2007-11-05 15:13 ` dgregor at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-11-05  2:46 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug c++/33977] [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5]
  2007-11-01 22:40 [Bug c++/33977] New: [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5] bero at arklinux dot org
                   ` (4 preceding siblings ...)
  2007-11-05  2:46 ` mmitchel at gcc dot gnu dot org
@ 2007-11-05 15:13 ` dgregor at gcc dot gnu dot org
  2007-11-06 14:40 ` dgregor at gcc dot gnu dot org
  2007-11-06 14:40 ` dgregor at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: dgregor at gcc dot gnu dot org @ 2007-11-05 15:13 UTC (permalink / raw)
  To: gcc-bugs



-- 

dgregor at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |dgregor at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-11-05 15:13:00
               date|                            |


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


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

* [Bug c++/33977] [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5]
  2007-11-01 22:40 [Bug c++/33977] New: [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5] bero at arklinux dot org
                   ` (5 preceding siblings ...)
  2007-11-05 15:13 ` dgregor at gcc dot gnu dot org
@ 2007-11-06 14:40 ` dgregor at gcc dot gnu dot org
  2007-11-06 14:40 ` dgregor at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: dgregor at gcc dot gnu dot org @ 2007-11-06 14:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from dgregor at gcc dot gnu dot org  2007-11-06 14:40 -------
Fixed


-- 

dgregor at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/33977] [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5]
  2007-11-01 22:40 [Bug c++/33977] New: [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5] bero at arklinux dot org
                   ` (6 preceding siblings ...)
  2007-11-06 14:40 ` dgregor at gcc dot gnu dot org
@ 2007-11-06 14:40 ` dgregor at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: dgregor at gcc dot gnu dot org @ 2007-11-06 14:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dgregor at gcc dot gnu dot org  2007-11-06 14:39 -------
Subject: Bug 33977

Author: dgregor
Date: Tue Nov  6 14:39:41 2007
New Revision: 129929

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129929
Log:
2007-11-06  Douglas Gregor  <doug.gregor@gmail.com>

        PR c++/33977
        PR c++/33886
        * tree.c (c_build_qualified_type): Define bridge to
        cp_build_qualified_type.

2007-11-06  Douglas Gregor  <doug.gregor@gmail.com>

        PR c++/33977
        PR c++/33886
        * c-common.c (c_build_qualified_type): Moved to c-typeck.c.
        (complete_array_type): Set canonical type appropriately.
        * c-typeck.c (c_build_qualified_type): Moved from c-common.c. The
        C and C++ front ends now have different versions of this function,
        because the C++ version needs to maintain canonical types here.

2007-11-06  Douglas Gregor  <doug.gregor@gmail.com>

        PR c++/33977
        PR c++/33886
        * g++.dg/other/canon-array.C: New.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-common.c
    trunk/gcc/c-typeck.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

end of thread, other threads:[~2007-11-06 14:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-01 22:40 [Bug c++/33977] New: [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5] bero at arklinux dot org
2007-11-01 22:43 ` [Bug c++/33977] " bero at arklinux dot org
2007-11-01 22:45 ` bero at arklinux dot org
2007-11-01 22:56 ` bero at arklinux dot org
2007-11-02  5:41 ` pinskia at gcc dot gnu dot org
2007-11-05  2:46 ` mmitchel at gcc dot gnu dot org
2007-11-05 15:13 ` dgregor at gcc dot gnu dot org
2007-11-06 14:40 ` dgregor at gcc dot gnu dot org
2007-11-06 14:40 ` dgregor 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).