public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/65586] New: [5 Regression] -fopenmp-simd rejects valid input
@ 2015-03-26 17:21 burnus at gcc dot gnu.org
  2015-03-26 17:21 ` [Bug c/65586] " burnus at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2015-03-26 17:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65586

            Bug ID: 65586
           Summary: [5 Regression] -fopenmp-simd rejects valid input
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Keywords: openmp, rejects-valid
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org

One of the recent GCC changes causes -fopenmp-simd to reject code, which
compiled before (by ignoring it):


gcc -fno-openmp -fopenmp-simd foo.c
foo.c: In function ‘main’:
foo.c:4:17: error: expected end of line before ‘collapse’
 #pragma omp for collapse(1)
                 ^


void foo() { }

int main() {
#pragma omp for collapse(1)
  for (int i = 1; i <= 151; i+=31)
     foo();
}
>From gcc-bugs-return-481855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 26 16:42:31 2015
Return-Path: <gcc-bugs-return-481855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94108 invoked by alias); 26 Mar 2015 16:42:31 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 94030 invoked by uid 48); 26 Mar 2015 16:42:27 -0000
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/65587] New: C package incomplete/not working for powerpc-linux-gnu
Date: Thu, 26 Mar 2015 17:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: go
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: doko at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc
Message-ID: <bug-65587-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-03/txt/msg02999.txt.bz2
Content-length: 1917

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide587

            Bug ID: 65587
           Summary: C package incomplete/not working for powerpc-linux-gnu
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: doko at gcc dot gnu.org
                CC: cmang at google dot com

when trying to build github.com/gosexy/gettext/gettext.go on powerpc-linux-gnu,
I get

dist/src/github.com/gosexy/gettext/gettext.go:42:16: unable to find value of
constant C.LC_ALL
dist/src/github.com/gosexy/gettext/gettext.go:46:19: unable to find value of
constant C.LC_ALL
dist/src/github.com/gosexy/gettext/gettext.go:50:18: unable to find value of
constant C.LC_CTYPE
dist/src/github.com/gosexy/gettext/gettext.go:53:21: unable to find value of
constant C.LC_MESSAGES
dist/src/github.com/gosexy/gettext/gettext.go:56:21: unable to find value of
constant C.LC_MONETARY
dist/src/github.com/gosexy/gettext/gettext.go:60:20: unable to find value of
constant C.LC_NUMERIC
dist/src/github.com/gosexy/gettext/gettext.go:63:17: unable to find value of
constant C.LC_TIME
dist/src/github.com/gosexy/gettext/gettext.go:68:13: call of non-function
C.CString
dist/src/github.com/gosexy/gettext/gettext.go:70:9: call of non-function
C.GoString
dist/src/github.com/gosexy/gettext/gettext.go:70:20: call of non-function
C.setlocale
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x14]

goroutine 16 [running]:
main.rewriteRef.pN12_main.Package
    ../../src/gotools/../libgo/go/cmd/cgo/gcc.go:620
main.Translate.pN12_main.Package
    ../../src/gotools/../libgo/go/cmd/cgo/gcc.go:184
main.main
    ../../src/gotools/../libgo/go/cmd/cgo/main.go:287
created by main
    ../../../src/libgo/runtime/go-main.c:42

goroutine 18 [finalizer wait]:


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

end of thread, other threads:[~2015-03-27 20:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-26 17:21 [Bug c/65586] New: [5 Regression] -fopenmp-simd rejects valid input burnus at gcc dot gnu.org
2015-03-26 17:21 ` [Bug c/65586] " burnus at gcc dot gnu.org
2015-03-26 22:15 ` burnus at gcc dot gnu.org
2015-03-26 23:46 ` jakub at gcc dot gnu.org
2015-03-27 21:29 ` burnus at gcc dot gnu.org
2015-03-28  0:33 ` burnus at gcc dot gnu.org

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