From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by sourceware.org (Postfix) with ESMTPS id 5C29D3858D20 for ; Wed, 8 Feb 2023 23:12:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5C29D3858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-x631.google.com with SMTP id f6so846800pln.12 for ; Wed, 08 Feb 2023 15:12:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=jqfWtyqbzT/plJRHts8Tuf2Ovwl+CZPFw4U5viefppc=; b=T/G/LAbP8SuaZ5YIsMfszs04SfW7WWV39W47i1x4Aivf9QG56/twTKfRmHcy8K2npA 5HxXihGKIUh76vhG96SLgWwjZSvejKi0FE0E+1ItYy1weHlV+/QvMs/IdT7y8Ejrnjy2 PF994CWWRgMrEpWte+WeHQYw0uNYiRnfNXqIxep5cpwj45YQpoHe58hxUhHHLLQpjupz YqRAnXz8jOdmUkpL8nlSCXn/53NMptJ5aLnYUPn8WqdwEQE4h5l95iilXB2PnO1iMvvW 8u68NsTwZ1xLWn5kBSupeHqXh6xWA0c310uzmJ2Z2qHEhyEiWgkNZ2mEec74Y5tg9H1X FgQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jqfWtyqbzT/plJRHts8Tuf2Ovwl+CZPFw4U5viefppc=; b=nQbACjucbYlfpW+1O2SHYDLONHU3ZI1WTWI/5/ieu/nKLLfe67N1c7wwwEqUe8LpVl om94WmqjQHAGJNuZfm90fiBIXbjZWBw69VJlrio0vfChvYaqGyubUS2L3elecllJl5et 3O1JJ2FlpouF5maID1WES3odJv0AuKZLWYQSSDI/PVJQHpfp+eiRZF2c6imANJ513ekE UZ84Ku6p0Lcsxpqa83E7jJ8dclscwxsZ97UnyhYxLR/oOkqQ6i7gbGaIFV29TZzfVflT MZgT7BB8cH3G4k/fV2D3CXEhM2w/9FLiBJbfBe/muDOBYFU4/Byb1kOhGJG6pK5qRLLs nnAg== X-Gm-Message-State: AO0yUKXnPYEtkQiSsdFresGoGGpUofLIJj6mk5daZxqmU7WLwrZMA147 mxliB4exEcnuCvow2epBioKkGpGM0eQ= X-Google-Smtp-Source: AK7set9pNx8fgCs399sEAbN4370yXEQXUssf/7QN6Kl4/SD1AyLVuBGfaVV55KEMQQIr9ceMuyuiWw== X-Received: by 2002:a17:902:e548:b0:199:1c4e:7681 with SMTP id n8-20020a170902e54800b001991c4e7681mr10078316plf.52.1675897939956; Wed, 08 Feb 2023 15:12:19 -0800 (PST) Received: from squeak.grove.modra.org ([2406:3400:51d:8cc0:2c19:e063:cb3b:da4]) by smtp.gmail.com with ESMTPSA id ju3-20020a170903428300b0019117164732sm9770836plb.213.2023.02.08.15.12.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Feb 2023 15:12:19 -0800 (PST) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id C2A3E1140F9C; Thu, 9 Feb 2023 09:42:16 +1030 (ACDT) Date: Thu, 9 Feb 2023 09:42:16 +1030 From: Alan Modra To: binutils@sourceware.org Subject: Internal error at gas/expr.c:1814 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-3034.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This is the assertion know (*input_line_pointer != ' '); after calling operand. The usual exit from operand calls SKIP_ALL_WHITESPACE. * expr.c (operand): Call SKIP_ALL_WHITESPACE after call to expr. diff --git a/gas/expr.c b/gas/expr.c index 794be6f09d8..189236bec6d 100644 --- a/gas/expr.c +++ b/gas/expr.c @@ -996,7 +996,7 @@ operand (expressionS *expressionP, enum expr_mode mode) } else input_line_pointer++; - SKIP_WHITESPACE (); + SKIP_ALL_WHITESPACE (); /* Here with input_line_pointer -> char after "(...)". */ return segment; -- Alan Modra Australia Development Lab, IBM