public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/63582] New: [5 Regression]:  g++.dg/init/enum1.C ... (test for errors, line 12)
@ 2014-10-18  0:40 hp at gcc dot gnu.org
  2014-10-18 16:27 ` [Bug c++/63582] " danglin at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hp at gcc dot gnu.org @ 2014-10-18  0:40 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63582
           Summary: [5 Regression]:  g++.dg/init/enum1.C ... (test for
                    errors, line 12)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hp at gcc dot gnu.org
                CC: dj at gcc dot gnu.org
              Host: x86_64-unknown-linux-gnu
            Target: cris-axis-elf

This test used to pass and now fails.
Last known previous revision it passed: r216206.
First known revision where FAIL is seen: r216224.

A commit in the revision range (216206:216224] caused this test to fail as
follows:
FAIL: g++.dg/init/enum1.C  -std=gnu++98  (test for errors, line 12)
FAIL: g++.dg/init/enum1.C  -std=gnu++11  (test for errors, line 12)
FAIL: g++.dg/init/enum1.C  -std=gnu++1y  (test for errors, line 12)

The g++.log has nothing to add; there's simply no error for the enum, which
seems like a gcc bug rather than a required test-suite tweak.

In gcc-testresults@, I see similar errors for arm7l-unknown-linux-gnueabihf and
hppa2.0w-hp-hpux11.11.  Not sure of the other systems, but there's no
target-specific support for __int128 for cris-elf.

Author of suspected commit in revision-range CC:ed.


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

* [Bug c++/63582] [5 Regression]:  g++.dg/init/enum1.C ... (test for errors, line 12)
  2014-10-18  0:40 [Bug c++/63582] New: [5 Regression]: g++.dg/init/enum1.C ... (test for errors, line 12) hp at gcc dot gnu.org
@ 2014-10-18 16:27 ` danglin at gcc dot gnu.org
  2014-10-20 12:55 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-10-18 16:27 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-10-18
                 CC|                            |danglin at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
Also fails on hppa64-hp-hpux11.11.


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

* [Bug c++/63582] [5 Regression]:  g++.dg/init/enum1.C ... (test for errors, line 12)
  2014-10-18  0:40 [Bug c++/63582] New: [5 Regression]: g++.dg/init/enum1.C ... (test for errors, line 12) hp at gcc dot gnu.org
  2014-10-18 16:27 ` [Bug c++/63582] " danglin at gcc dot gnu.org
@ 2014-10-20 12:55 ` rguenth at gcc dot gnu.org
  2014-10-21  1:26 ` dj at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-10-20 12:55 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|cris-axis-elf               |cris-axis-elf,
                   |                            |i?86-linux-gnu
   Target Milestone|---                         |5.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Also fails on x86_64-linux with -m32.


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

* [Bug c++/63582] [5 Regression]:  g++.dg/init/enum1.C ... (test for errors, line 12)
  2014-10-18  0:40 [Bug c++/63582] New: [5 Regression]: g++.dg/init/enum1.C ... (test for errors, line 12) hp at gcc dot gnu.org
  2014-10-18 16:27 ` [Bug c++/63582] " danglin at gcc dot gnu.org
  2014-10-20 12:55 ` rguenth at gcc dot gnu.org
@ 2014-10-21  1:26 ` dj at redhat dot com
  2014-10-24  9:38 ` jiwang at gcc dot gnu.org
  2014-10-27 19:09 ` dj at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: dj at redhat dot com @ 2014-10-21  1:26 UTC (permalink / raw)
  To: gcc-bugs

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

DJ Delorie <dj at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dj at redhat dot com
           Assignee|unassigned at gcc dot gnu.org      |dj at redhat dot com

--- Comment #3 from DJ Delorie <dj at redhat dot com> ---
Created attachment 33764
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33764&action=edit
proposed patch

As there are places in the code that scan all of integer_type_kind[]
without regard for whether those types are allowed or not, decline to
create said types in the first place if they're not enabled.

Unable to test at the moment due to PR 63307.


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

* [Bug c++/63582] [5 Regression]:  g++.dg/init/enum1.C ... (test for errors, line 12)
  2014-10-18  0:40 [Bug c++/63582] New: [5 Regression]: g++.dg/init/enum1.C ... (test for errors, line 12) hp at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-10-21  1:26 ` dj at redhat dot com
@ 2014-10-24  9:38 ` jiwang at gcc dot gnu.org
  2014-10-27 19:09 ` dj at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: jiwang at gcc dot gnu.org @ 2014-10-24  9:38 UTC (permalink / raw)
  To: gcc-bugs

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

Jiong Wang <jiwang at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jiwang at gcc dot gnu.org

--- Comment #4 from Jiong Wang <jiwang at gcc dot gnu.org> ---
also on
  arm-none-linux-gnueabi, arm-none-linux-gnueabihf, arm-none-eabi


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

* [Bug c++/63582] [5 Regression]:  g++.dg/init/enum1.C ... (test for errors, line 12)
  2014-10-18  0:40 [Bug c++/63582] New: [5 Regression]: g++.dg/init/enum1.C ... (test for errors, line 12) hp at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2014-10-24  9:38 ` jiwang at gcc dot gnu.org
@ 2014-10-27 19:09 ` dj at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: dj at redhat dot com @ 2014-10-27 19:09 UTC (permalink / raw)
  To: gcc-bugs

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

DJ Delorie <dj at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from DJ Delorie <dj at redhat dot com> ---
Patch committed to r216762.


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

end of thread, other threads:[~2014-10-27 19:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-18  0:40 [Bug c++/63582] New: [5 Regression]: g++.dg/init/enum1.C ... (test for errors, line 12) hp at gcc dot gnu.org
2014-10-18 16:27 ` [Bug c++/63582] " danglin at gcc dot gnu.org
2014-10-20 12:55 ` rguenth at gcc dot gnu.org
2014-10-21  1:26 ` dj at redhat dot com
2014-10-24  9:38 ` jiwang at gcc dot gnu.org
2014-10-27 19:09 ` dj at redhat dot com

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