From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31151 invoked by alias); 22 Dec 2006 09:24:22 -0000 Received: (qmail 31128 invoked by uid 48); 22 Dec 2006 09:24:13 -0000 Date: Fri, 22 Dec 2006 09:24:00 -0000 Message-ID: <20061222092413.31127.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/30274] [4.2/4.3 Regression] bool bit-field: wrong increment and decremenet In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-12/txt/msg01766.txt.bz2 ------- Comment #5 from pinskia at gcc dot gnu dot org 2006-12-22 09:24 ------- Actually I was wrong in saying this is an easy fix. That part of the fix is still needed but there is another issue in that we are getting the wrong type for the increment: unit size align 8 symtab 0 alias set -1 precision 4 min max > arg 0 unit size align 8 symtab 0 alias set -1 fields X() X(constX&) this=(X&) n_parents=0 use_template=0 interface-unknown pointer_to_this chain > used tree_1 tree_2 tree_3 decl_5 QI file t.cc line 9 size unit size align 8 context initial > arg 1 used unsigned external nonlocal bit-field nonaddressable decl_3 decl_4 QI file t.cc line 4 size unit size align 1 offset_align 128 offset bit offset bit_field_type unit size align 8 symtab 0 alias set -1 precision 1 min max > context chain nonlocal decl_4 VOID file t.cc line 3 align 1 context >>> -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|pinskia at gcc dot gnu dot |unassigned at gcc dot gnu |org |dot org Status|ASSIGNED |NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30274