From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15770 invoked by alias); 29 May 2004 07:47:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 15758 invoked by alias); 29 May 2004 07:47:30 -0000 Date: Sun, 30 May 2004 15:14:00 -0000 Message-ID: <20040529074730.15757.qmail@sourceware.org> From: "rakdver at atrey dot karlin dot mff dot cuni dot cz" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040528210221.15717.rakdver@gcc.gnu.org> References: <20040528210221.15717.rakdver@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug rtl-optimization/15717] [3.4/3.5 Regression] Error: can't resolve `L0' {*ABS* section} - `xx' {*UND* section} X-Bugzilla-Reason: CC X-SW-Source: 2004-05/txt/msg03573.txt.bz2 List-Id: ------- Additional Comments From rakdver at atrey dot karlin dot mff dot cuni dot cz 2004-05-29 07:47 ------- Subject: Re: [3.4/3.5 Regression] Error: can't resolve `L0' {*ABS* section} - `xx' {*UND* section} > > ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-28 21:34 ------- > I do not know if this is really a bug at all because it is really undefined. I believe it is defined: "Any pointer type may be converted to an integer type; the result is implementation-defined" (c99 standard draft) Or is there something else you have objections against? Zdenek > Note with an earlier version of as I get: > temp.s: Assembler messages: > temp.s:12: Error: negative of non-absolute symbol `xx' > > The only thing we can do I can think of is reject (minus xxx Symbol_Ref) as a valid constant. > > I should note that i686-darwin's as also rejects it (it is a much older GNU as). > > -- > What |Removed |Added > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |NEW > Ever Confirmed| |1 > Keywords| |wrong-code > Known to fail| |3.4.0 3.5.0 > Known to work| |3.3.3 > Last reconfirmed|0000-00-00 00:00:00 |2004-05-28 21:34:50 > date| | > Summary|Error: can't resolve `L0' |[3.4/3.5 Regression] Error: > |{*ABS* section} - `xx' |can't resolve `L0' {*ABS* > |{*UND* section} |section} - `xx' {*UND* > | |section} > Target Milestone|--- |3.4.1 > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15717 > > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15717