From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18632 invoked by alias); 20 Apr 2013 21:01:42 -0000 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 Received: (qmail 18604 invoked by uid 48); 20 Apr 2013 21:01:39 -0000 From: "aversa at email dot arizona.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/57017] New:=?UTF-8?Q?=20=C2=ABError?=: expecting string instruction after `rep'=?UTF-8?Q?=C2=BB=20in=20code=20w?=/o inline assembly Date: Sat, 20 Apr 2013 21:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aversa at email dot arizona.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2013-04/txt/msg01807.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57017 Bug #: 57017 Summary: =C2=ABError: expecting string instruction after `rep'= =C2=BB in code w/o inline assembly Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned@gcc.gnu.org ReportedBy: aversa@email.arizona.edu Compiling code without inline assembly gives an error: libtool: compile: gcc -std=3Dgnu99 -DPACKAGE_NAME=3D\"libblkmaker\" -DPACKAGE_TARNAME=3D\"libblkmaker\" -DPACKAGE_VERSION=3D\"0.1\" "-DPACKAGE_STRING=3D\"libblkmaker 0.1\"" -DPACKAGE_BUGREPORT=3D\"luke_libblkmaker@dashjr.org\" -DPACKAGE_URL=3D\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=3D\"libblkmaker\" -DVERSION=3D\"0.1\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STR= ING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDIN= T_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -I. -O3 -O3= -MT blkmaker.lo -MD -MP -MF .deps/blkmaker.Tpo -c blkmaker.c -fPIC -DPIC -o .libs/blkmaker.o /tmp/ccot8mMw.s: Assembler messages: /tmp/ccot8mMw.s:529: Error: expecting string instruction after `rep' However, disabling inline assembly "-fno-asm" only fixes the problem when "= -O3" is not used. The error always occurs when not specifying "-fno-asm". >>From gcc-bugs-return-420663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 20 21:44:54 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2841 invoked by alias); 20 Apr 2013 21:44:54 -0000 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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2813 invoked by uid 48); 20 Apr 2013 21:44:50 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/57017]=?UTF-8?Q?=20=C2=ABError?=: expecting string instruction after `rep'=?UTF-8?Q?=C2=BB=20in=20code=20w?=/o inline assembly Date: Sat, 20 Apr 2013 21:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-04/txt/msg01808.txt.bz2 Content-length: 188 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57017 --- Comment #1 from Andrew Pinski 2013-04-20 21:44:50 UTC --- Can you attach the preprocessed source?