public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "evstupac at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/66835] New: C++ openMP test failed after switching to C++14
Date: Fri, 10 Jul 2015 19:19:00 -0000	[thread overview]
Message-ID: <bug-66835-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 66835
           Summary: C++ openMP test failed after switching to C++14
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: evstupac at gmail dot com
  Target Milestone: ---

The following test:
#define max(a, b)   ( (a) > (b) ? (a) : (b) ) 

float a[4] = {0, -1.2, 7, 0.1}; 

int main() 
{ 
#pragma omp simd 
  for (int j = 0; j < 4; j++) 
    { 
      float t1 = 0.1; 
      a[j] = max(t1, a[j]); 
    } 
  return (int)(a[1] - a[3]); 
} 

fails with ICE after recent switch to std=c++14

Compiled with "-O2 -flto -fopenmp -std=c++14"

The test began to fail after:
commit 23a92fc764dc04a0248a570bba74db0a7f7d843d
Author: tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Tue Nov 11 02:31:00 2014 +0000


             reply	other threads:[~2015-07-10 19:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-10 19:19 evstupac at gmail dot com [this message]
2015-07-10 19:40 ` [Bug lto/66835] " evstupac at gmail dot com
2015-07-10 21:07 ` evstupac at gmail dot com
2015-07-10 22:00 ` evstupac at gmail dot com
2022-01-01 11:45 ` pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-66835-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).