public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28659]  New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
@ 2006-08-08 20:06 bero at arklinux dot org
  2006-08-08 20:08 ` [Bug c++/28659] " bero at arklinux dot org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: bero at arklinux dot org @ 2006-08-08 20:06 UTC (permalink / raw)
  To: gcc-bugs

/usr/src/ark/BUILD/kdelibs/phonon/objectdescription.cpp: In member function
'Phonon::ObjectDescription<T>& Phonon::ObjectDescription<T>::operator=(const
Phonon::ObjectDescription<T>&)':
/usr/src/ark/BUILD/kdelibs/phonon/objectdescription.cpp:54: internal compiler
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [4.2 regression] ICE (segfault) while compiling kdelibs
                    4.0 snapshot
           Product: gcc
           Version: 4.2.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=28659


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
@ 2006-08-08 20:08 ` bero at arklinux dot org
  2006-08-08 20:18 ` bero at arklinux dot org
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bero at arklinux dot org @ 2006-08-08 20:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bero at arklinux dot org  2006-08-08 20:08 -------
Created an attachment (id=12043)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12043&action=view)
Preprocessed source


-- 


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
  2006-08-08 20:08 ` [Bug c++/28659] " bero at arklinux dot org
@ 2006-08-08 20:18 ` bero at arklinux dot org
  2006-08-08 20:19 ` bero at arklinux dot org
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bero at arklinux dot org @ 2006-08-08 20:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bero at arklinux dot org  2006-08-08 20:17 -------
Created an attachment (id=12044)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12044&action=view)
Simplified test case


-- 


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
  2006-08-08 20:08 ` [Bug c++/28659] " bero at arklinux dot org
  2006-08-08 20:18 ` bero at arklinux dot org
@ 2006-08-08 20:19 ` bero at arklinux dot org
  2006-08-08 20:38 ` pinskia at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bero at arklinux dot org @ 2006-08-08 20:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from bero at arklinux dot org  2006-08-08 20:19 -------
The problem in the simplified test case goes away when removing the
__attribute__((visibility("default")))


-- 


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (2 preceding siblings ...)
  2006-08-08 20:19 ` bero at arklinux dot org
@ 2006-08-08 20:38 ` pinskia at gcc dot gnu dot org
  2006-08-08 20:50 ` tbm at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-08 20:38 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |4.2.0


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (3 preceding siblings ...)
  2006-08-08 20:38 ` pinskia at gcc dot gnu dot org
@ 2006-08-08 20:50 ` tbm at gcc dot gnu dot org
  2006-08-11 18:46 ` janis at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: tbm at gcc dot gnu dot org @ 2006-08-08 20:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from tbm at gcc dot gnu dot org  2006-08-08 20:50 -------
Confirmed.

 test::TestDescription<T>& test::TestDescription<T>::operator=(const
test::TestDescription<T>&)
Program received signal SIGSEGV, Segmentation fault.
0x0000000000477cd3 in min_vis_r (tp=<value optimized out>,
walk_subtrees=0x7fffcc62fa84,
    data=0x7fffcc62fc24) at /home/tbm/scratch/gcc/gcc/cp/decl2.c:1550
1550          if (!TREE_PUBLIC (TYPE_MAIN_DECL (*tp)))
(gdb) where
#0  0x0000000000477cd3 in min_vis_r (tp=<value optimized out>,
walk_subtrees=0x7fffcc62fa84,
    data=0x7fffcc62fc24) at /home/tbm/scratch/gcc/gcc/cp/decl2.c:1550
#1  0x000000000086e318 in walk_tree (tp=0x2aaedebb40b8, func=0x477c90
<min_vis_r>,
    data=0x7fffcc62fc24, pset=0xd517b0) at
/home/tbm/scratch/gcc/gcc/tree.c:7427
#2  0x000000000086ed3e in walk_tree (tp=0x2aaedebb4218, func=0x477c90
<min_vis_r>,
    data=0x7fffcc62fc24, pset=0xd517b0) at
/home/tbm/scratch/gcc/gcc/tree.c:7652
#3  0x000000000086f211 in walk_type_fields (type=0x2aaedebb4210, func=0x477c90
<min_vis_r>,
    data=0x7fffcc62fc24, pset=dwarf2_read_address: Corrupted DWARF expression.
) at /home/tbm/scratch/gcc/gcc/tree.c:7355
#4  0x000000000086ed3e in walk_tree (tp=0x7fffcc62fc10, func=0x477c90
<min_vis_r>,
    data=0x7fffcc62fc24, pset=0xd517b0) at
/home/tbm/scratch/gcc/gcc/tree.c:7652
#5  0x000000000086f11a in walk_tree_without_duplicates (tp=0x7fffcc62fc10,
    func=0x477c90 <min_vis_r>, data=0x7fffcc62fc24) at
/home/tbm/scratch/gcc/gcc/tree.c:7672
#6  0x00000000004793f2 in type_visibility (type=0x2aaedebb4210)
    at /home/tbm/scratch/gcc/gcc/cp/decl2.c:1568
#7  0x0000000000479bb7 in determine_visibility (decl=0x2aaedeba9ee0)
    at /home/tbm/scratch/gcc/gcc/cp/decl2.c:1782
#8  0x0000000000413914 in start_preparsed_function (decl1=0x2aaedeba9ee0,
    attrs=<value optimized out>, flags=<value optimized out>)
    at /home/tbm/scratch/gcc/gcc/cp/decl.c:10644
#9  0x000000000042cfaf in start_function (declspecs=<value optimized out>,
    declarator=<value optimized out>, attrs=0x0) at
/home/tbm/scratch/gcc/gcc/cp/decl.c:10690
#10 0x00000000004942c7 in cp_parser_init_declarator (parser=0x2aaedea23500,
    decl_specifiers=0x7fffcc62fdb0, checks=0x0, function_definition_allowed_p=1
'\001',
    member_p=0 '\0', declares_class_or_enum=<value optimized out>,
    function_definition_p=0x7fffcc62fe0f "\001") at
/home/tbm/scratch/gcc/gcc/cp/parser.c:15374
#11 0x00000000004947dd in cp_parser_single_declaration (parser=0x2aaedea23500,
checks=0x0,
    member_p=0 '\0', friend_p=<value optimized out>) at
/home/tbm/scratch/gcc/gcc/cp/parser.c:15684
#12 0x00000000004a2404 in cp_parser_template_declaration_after_export
(parser=0x2aaedea23500,
    member_p=0 '\0') at /home/tbm/scratch/gcc/gcc/cp/parser.c:15543
#13 0x00000000004a41f7 in cp_parser_declaration (parser=0x2aaedea23500)
    at /home/tbm/scratch/gcc/gcc/cp/parser.c:7108
#14 0x00000000004a475a in cp_parser_declaration_seq_opt (parser=0x2aaedea23500)
    at /home/tbm/scratch/gcc/gcc/cp/parser.c:7031
#15 0x00000000004a4195 in cp_parser_declaration (parser=0x2aaedea23500)
    at /home/tbm/scratch/gcc/gcc/cp/parser.c:10559
---Type <return> to continue, or q <return> to quit---
#16 0x00000000004a475a in cp_parser_declaration_seq_opt (parser=0x2aaedea23500)
    at /home/tbm/scratch/gcc/gcc/cp/parser.c:7031
#17 0x00000000004a4e49 in c_parse_file () at
/home/tbm/scratch/gcc/gcc/cp/parser.c:2755
#18 0x00000000005331b5 in c_common_parse_file (set_yydebug=<value optimized
out>)
    at /home/tbm/scratch/gcc/gcc/c-opts.c:1164
#19 0x0000000000866f33 in toplev_main (argc=<value optimized out>, argv=<value
optimized out>)
    at /home/tbm/scratch/gcc/gcc/toplev.c:999
#20 0x00002aaede5ab4ca in __libc_start_main () from /lib/libc.so.6
#21 0x000000000040273a in _start () at ../sysdeps/x86_64/elf/start.S:113
(gdb)


-- 

tbm at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-08-08 20:50:40
               date|                            |


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (4 preceding siblings ...)
  2006-08-08 20:50 ` tbm at gcc dot gnu dot org
@ 2006-08-11 18:46 ` janis at gcc dot gnu dot org
  2006-08-13 12:48 ` mueller at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: janis at gcc dot gnu dot org @ 2006-08-11 18:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from janis at gcc dot gnu dot org  2006-08-11 18:46 -------
A regression hunt on powerpc-linux using the test case added for comment #3
identified the following patch:

    http://gcc.gnu.org/viewcvs?view=rev&rev=115086

    r115086 | jason | 2006-06-30 01:15:56 +0000 (Fri, 30 Jun 2006)


-- 


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (5 preceding siblings ...)
  2006-08-11 18:46 ` janis at gcc dot gnu dot org
@ 2006-08-13 12:48 ` mueller at gcc dot gnu dot org
  2006-08-18 17:55 ` mueller at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: mueller at gcc dot gnu dot org @ 2006-08-13 12:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from mueller at gcc dot gnu dot org  2006-08-13 12:48 -------
I'm currently testing this patch: 

--- cp/decl2.c  (revision 116108)
+++ cp/decl2.c  (working copy)
@@ -1541,7 +1541,7 @@ static tree
 min_vis_r (tree *tp, int *walk_subtrees, void *data)
 {
   int *vis_p = (int *)data;
-  if (! TYPE_P (*tp))
+  if (! TYPE_P (*tp) || ! IS_AGGR_TYPE (*tp))
     {
       *walk_subtrees = 0;
     }


-- 

mueller at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mueller at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-08-08 20:50:40         |2006-08-13 12:48:44
               date|                            |


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (6 preceding siblings ...)
  2006-08-13 12:48 ` mueller at gcc dot gnu dot org
@ 2006-08-18 17:55 ` mueller at gcc dot gnu dot org
  2006-08-20 22:33 ` mmitchel at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: mueller at gcc dot gnu dot org @ 2006-08-18 17:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mueller at gcc dot gnu dot org  2006-08-18 17:55 -------
struct o<T>D.1993:
 <record_type 0xb7dd49b4 o<T> type_0 type_5 type_6 BLK
    size <integer_cst 0xb7d1c930 type <integer_type 0xb7d3105c bit_size_type>
constant invariant 0>
    unit size <integer_cst 0xb7d1c180 type <integer_type 0xb7d31000 unsigned
int> constant invariant 0>
    align 8 symtab 0 alias set -1
    attributes <tree_list 0xb7da1d08
        purpose <identifier_node 0xb7da816c visibility
        bindings <(nil)>
        local bindings <(nil)>>
        value <tree_list 0xb7da1c90
            value <string_cst 0xb7da0640 type <array_type 0xb7dd4564>
                readonly constant invariant static "default\000">>>
    no-binfo use_template=1 interface-unknown>

the original type is:
o<T>D.1985::

 <method_type 0xb7dd4a6c
    type <record_type 0xb7dd49b4 o<T> type_0 type_5 type_6 BLK
        size <integer_cst 0xb7d1c930 constant invariant 0>
        unit size <integer_cst 0xb7d1c180 constant invariant 0>
        align 8 symtab 0 alias set -1
        attributes <tree_list 0xb7da1d08
            purpose <identifier_node 0xb7da816c visibility
            bindings <(nil)>
            local bindings <(nil)>>
            value <tree_list 0xb7da1c90
                value <string_cst 0xb7da0640 type <array_type 0xb7dd4564>
                    readonly constant invariant static "default\000">>>
        no-binfo use_template=1 interface-unknown>
    QI
    size <integer_cst 0xb7d1c1e0 type <integer_type 0xb7d3105c bit_size_type>
constant invariant 8>
    unit size <integer_cst 0xb7d1c1f8 type <integer_type 0xb7d31000 unsigned
int> constant invariant 1>
    align 8 symtab 0 alias set -1 method basetype <record_type 0xb7dd45c0 o<T>>
    arg-types <tree_list 0xb7da1fc0
        value <pointer_type 0xb7dd46d4 type <record_type 0xb7dd45c0 o<T>>
            unsigned SI
            size <integer_cst 0xb7d1c3d8 constant invariant 32>
            unit size <integer_cst 0xb7d1c168 constant invariant 4>
            align 32 symtab 0 alias set -1>
        chain <tree_list 0xb7d1cc30 value <void_type 0xb7d318a0 void>>>>


-- 


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (7 preceding siblings ...)
  2006-08-18 17:55 ` mueller at gcc dot gnu dot org
@ 2006-08-20 22:33 ` mmitchel at gcc dot gnu dot org
  2006-08-21 22:04 ` jason at redhat dot com
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-08-20 22:33 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=28659


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (8 preceding siblings ...)
  2006-08-20 22:33 ` mmitchel at gcc dot gnu dot org
@ 2006-08-21 22:04 ` jason at redhat dot com
  2006-08-22  9:19 ` mueller at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jason at redhat dot com @ 2006-08-21 22:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jason at redhat dot com  2006-08-21 22:04 -------
Subject: Re:  [4.2 regression] ICE (segfault) while compiling
 kdelibs 4.0 snapshot

I think this patch fixes the bug, but don't have time to test before 
going out for the evening.
Index: decl2.c
===================================================================
*** decl2.c     (revision 116310)
--- decl2.c     (working copy)
*************** min_vis_r (tree *tp, int *walk_subtrees,
*** 1547,1553 ****
      }
    else if (CLASS_TYPE_P (*tp))
      {
!       if (!TREE_PUBLIC (TYPE_MAIN_DECL (*tp)))
        {
          *vis_p = VISIBILITY_ANON;
          return *tp;
--- 1547,1553 ----
      }
    else if (CLASS_TYPE_P (*tp))
      {
!       if (!TREE_PUBLIC (TYPE_NAME (*tp)))
        {
          *vis_p = VISIBILITY_ANON;
          return *tp;


-- 


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (9 preceding siblings ...)
  2006-08-21 22:04 ` jason at redhat dot com
@ 2006-08-22  9:19 ` mueller at gcc dot gnu dot org
  2006-08-22 16:38 ` jason at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: mueller at gcc dot gnu dot org @ 2006-08-22  9:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from mueller at gcc dot gnu dot org  2006-08-22 09:19 -------
Thanks Jason! I'll regtest immediately. 


-- 


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (10 preceding siblings ...)
  2006-08-22  9:19 ` mueller at gcc dot gnu dot org
@ 2006-08-22 16:38 ` jason at gcc dot gnu dot org
  2006-08-22 18:27 ` jason at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-08-22 16:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from jason at gcc dot gnu dot org  2006-08-22 16:38 -------
That patch didn't fix it, but I do have a fix now; I'll check it in soon.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|mueller at gcc dot gnu dot  |jason at gcc dot gnu dot org
                   |org                         |


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (11 preceding siblings ...)
  2006-08-22 16:38 ` jason at gcc dot gnu dot org
@ 2006-08-22 18:27 ` jason at gcc dot gnu dot org
  2006-08-22 20:12 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-08-22 18:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from jason at gcc dot gnu dot org  2006-08-22 18:27 -------
Subject: Bug 28659

Author: jason
Date: Tue Aug 22 18:27:26 2006
New Revision: 116329

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116329
Log:
        PR c++/28659
        * typeck.c (merge_types): If either of the types have the right
        attributes, return that one.

        * tree.c (cp_build_type_attribute_variant): Make sure we aren't
        doing this to class types.
        * typeck.c (original_type): Deal with type quals properly.

Added:
    trunk/gcc/testsuite/g++.dg/ext/attrib26.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
    trunk/gcc/cp/typeck.c


-- 


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (12 preceding siblings ...)
  2006-08-22 18:27 ` jason at gcc dot gnu dot org
@ 2006-08-22 20:12 ` pinskia at gcc dot gnu dot org
  2006-08-27 15:41 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-22 20:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from pinskia at gcc dot gnu dot org  2006-08-22 20:12 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (13 preceding siblings ...)
  2006-08-22 20:12 ` pinskia at gcc dot gnu dot org
@ 2006-08-27 15:41 ` pinskia at gcc dot gnu dot org
  2006-08-28  0:59 ` bernie at develer dot com
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-27 15:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from pinskia at gcc dot gnu dot org  2006-08-27 15:41 -------
*** Bug 28863 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernie at develer dot com


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (14 preceding siblings ...)
  2006-08-27 15:41 ` pinskia at gcc dot gnu dot org
@ 2006-08-28  0:59 ` bernie at develer dot com
  2006-08-28  1:39 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bernie at develer dot com @ 2006-08-28  0:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from bernie at develer dot com  2006-08-28 00:59 -------
Please also backport to 4.1 (see #28863).


-- 


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (15 preceding siblings ...)
  2006-08-28  0:59 ` bernie at develer dot com
@ 2006-08-28  1:39 ` pinskia at gcc dot gnu dot org
  2006-08-28  5:05 ` bernie at develer dot com
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-28  1:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from pinskia at gcc dot gnu dot org  2006-08-28 01:38 -------
(In reply to comment #14)
> Please also backport to 4.1 (see #28863).
This never existed on 4.1.


-- 


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (16 preceding siblings ...)
  2006-08-28  1:39 ` pinskia at gcc dot gnu dot org
@ 2006-08-28  5:05 ` bernie at develer dot com
  2006-08-28  5:13 ` pinskia at gcc dot gnu dot org
  2006-08-28  6:18 ` bernie at develer dot com
  19 siblings, 0 replies; 21+ messages in thread
From: bernie at develer dot com @ 2006-08-28  5:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from bernie at develer dot com  2006-08-28 05:05 -------
(In reply to comment #15)
> This never existed on 4.1.

gcc 4.1.1 from FC6 crashes with the testcase of bug 28863.
Maybe it's some redhat specific patch, but they follow
gcc's 4.0-branch quite closely these days:

Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.1 20060825 (Red Hat 4.1.1-19)


-- 


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (17 preceding siblings ...)
  2006-08-28  5:05 ` bernie at develer dot com
@ 2006-08-28  5:13 ` pinskia at gcc dot gnu dot org
  2006-08-28  6:18 ` bernie at develer dot com
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-28  5:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from pinskia at gcc dot gnu dot org  2006-08-28 05:13 -------
(In reply to comment #16)
> (In reply to comment #15)
> > This never existed on 4.1.
> 
> gcc 4.1.1 from FC6 crashes with the testcase of bug 28863.
> Maybe it's some redhat specific patch, but they follow
> gcc's 4.0-branch quite closely these days:

And that is Redhat's branch which has the patch which caused this in the first
place on it.  The FSF's 4.1 never had this bug.  Also redhat does not follow
the 4.1 branch closely at all, they backport features like crazy still.


-- 


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


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

* [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
  2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
                   ` (18 preceding siblings ...)
  2006-08-28  5:13 ` pinskia at gcc dot gnu dot org
@ 2006-08-28  6:18 ` bernie at develer dot com
  19 siblings, 0 replies; 21+ messages in thread
From: bernie at develer dot com @ 2006-08-28  6:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from bernie at develer dot com  2006-08-28 06:18 -------
(In reply to comment #17)

> And that is Redhat's branch which has the patch which caused this in the first
> place on it.

Thus, I've filed a bug report in RedHat's bugzilla:

 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=204277


-- 


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


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

end of thread, other threads:[~2006-08-28  6:18 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-08 20:06 [Bug c++/28659] New: [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot bero at arklinux dot org
2006-08-08 20:08 ` [Bug c++/28659] " bero at arklinux dot org
2006-08-08 20:18 ` bero at arklinux dot org
2006-08-08 20:19 ` bero at arklinux dot org
2006-08-08 20:38 ` pinskia at gcc dot gnu dot org
2006-08-08 20:50 ` tbm at gcc dot gnu dot org
2006-08-11 18:46 ` janis at gcc dot gnu dot org
2006-08-13 12:48 ` mueller at gcc dot gnu dot org
2006-08-18 17:55 ` mueller at gcc dot gnu dot org
2006-08-20 22:33 ` mmitchel at gcc dot gnu dot org
2006-08-21 22:04 ` jason at redhat dot com
2006-08-22  9:19 ` mueller at gcc dot gnu dot org
2006-08-22 16:38 ` jason at gcc dot gnu dot org
2006-08-22 18:27 ` jason at gcc dot gnu dot org
2006-08-22 20:12 ` pinskia at gcc dot gnu dot org
2006-08-27 15:41 ` pinskia at gcc dot gnu dot org
2006-08-28  0:59 ` bernie at develer dot com
2006-08-28  1:39 ` pinskia at gcc dot gnu dot org
2006-08-28  5:05 ` bernie at develer dot com
2006-08-28  5:13 ` pinskia at gcc dot gnu dot org
2006-08-28  6:18 ` bernie at develer dot com

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