public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/31116]  New: [4.3 regression] libstdc++  ext/pb_ds/regression/priority_queue_rand.cc
@ 2007-03-09 23:49 hp at gcc dot gnu dot org
  2007-03-10  0:10 ` [Bug middle-end/31116] " hp at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hp at gcc dot gnu dot org @ 2007-03-09 23:49 UTC (permalink / raw)
  To: gcc-bugs

This test passed with r122752 and failed with r122760:
Running
/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
...
...
FAIL: ext/pb_ds/regression/priority_queue_rand.cc (test for excess errors)

and in libstdc++.log:

/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/util/regression/rand/priority_queue/detail/diagnostic_fn_imps.hpp:
In member funct
ion 'void
pb_ds::test::detail::container_rand_regression_test<Cntnr>::print_container(const
pb_ds::test::native_priority_queue<std
::basic_string<char, std::char_traits<char>, std::allocator<char> >, true,
std::less<std::basic_string<char, std::char_traits<char
>, std::allocator<char> > >, std::allocator<char> >&, std::ostream&) const [with Cntnr = pb_ds::priority_queue<pb_ds::test::basic_
type, std::less<pb_ds::test::basic_type>, pb_ds::thin_heap_tag,
__gnu_cxx::throw_allocator<pb_ds::test::basic_type> >]':
/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/util/regression/rand/priority_queue/detail/diagnostic_fn_imps.hpp:60:
internal com
piler error: in cse_find_path, at cse.c:5930
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Authors of suspected patches in revision range CC:ed, though for apparent
reasons I believe the cse.c patch is the more likely suspect.
Preprocessed code coming up.


-- 
           Summary: [4.3 regression] libstdc++
                    ext/pb_ds/regression/priority_queue_rand.cc
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: cris-axis-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31116


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

* [Bug middle-end/31116] [4.3 regression] libstdc++  ext/pb_ds/regression/priority_queue_rand.cc
  2007-03-09 23:49 [Bug middle-end/31116] New: [4.3 regression] libstdc++ ext/pb_ds/regression/priority_queue_rand.cc hp at gcc dot gnu dot org
@ 2007-03-10  0:10 ` hp at gcc dot gnu dot org
  2007-03-10  2:30 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hp at gcc dot gnu dot org @ 2007-03-10  0:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hp at gcc dot gnu dot org  2007-03-10 00:10 -------
Created an attachment (id=13184)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13184&action=view)
Preprocessed code from test-suite

Running cc1plus -fpreprocessed priority_queue_rand.ii -quiet -O2
is sufficient.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31116


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

* [Bug middle-end/31116] [4.3 regression] libstdc++  ext/pb_ds/regression/priority_queue_rand.cc
  2007-03-09 23:49 [Bug middle-end/31116] New: [4.3 regression] libstdc++ ext/pb_ds/regression/priority_queue_rand.cc hp at gcc dot gnu dot org
  2007-03-10  0:10 ` [Bug middle-end/31116] " hp at gcc dot gnu dot org
@ 2007-03-10  2:30 ` pinskia at gcc dot gnu dot org
  2007-03-10  2:32 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-10  2:30 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31116


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

* [Bug middle-end/31116] [4.3 regression] libstdc++  ext/pb_ds/regression/priority_queue_rand.cc
  2007-03-09 23:49 [Bug middle-end/31116] New: [4.3 regression] libstdc++ ext/pb_ds/regression/priority_queue_rand.cc hp at gcc dot gnu dot org
  2007-03-10  0:10 ` [Bug middle-end/31116] " hp at gcc dot gnu dot org
  2007-03-10  2:30 ` pinskia at gcc dot gnu dot org
@ 2007-03-10  2:32 ` pinskia at gcc dot gnu dot org
  2007-03-10 14:15 ` aldyh at gcc dot gnu dot org
  2007-03-11 10:15 ` steven at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-10  2:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-03-10 02:32 -------
On spu-elf, I get:

Executing on host: /home/apinski/src/local/gcc/objdir-spu/gcc/xgcc
-B/home/apinski/src/local/gcc/objdir-spu/gcc/
/home/apinski/src/local/gcc/gcc/testsuite/gcc.dg/pr28935.c   -O3
-ftree-vectorize -fno-show-column -S  -o pr28935.s    (timeout = 300)
/home/apinski/src/local/gcc/gcc/testsuite/gcc.dg/pr28935.c: In function
'extend_options':^M
/home/apinski/src/local/gcc/gcc/testsuite/gcc.dg/pr28935.c:15: internal
compiler error: in cse_find_path, at cse.c:5930^M
Please submit a full bug report,^M


The testcase is small enough to copy and paste here:
/* { dg-do compile } */
/* { dg-options "-O3 -ftree-vectorize" } */

int col[8];
int extend_options(int w, int h, int *map, int x, int y, int index)
{
  int dx, dy;
  for (dx = -1; dx <= +1; dx++)
    {
      int index = (dy < 0 ? 6-dx : dy > 0 ? 2+dx : 2*(1+dx));
      if (x+dx >= 0 && x+dx < w && y+dy >= 0 && y+dy < h)
        col[index] = map[(y+dy)*w+(x+dx)];
      col[index] = -1;
    }
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31116


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

* [Bug middle-end/31116] [4.3 regression] libstdc++  ext/pb_ds/regression/priority_queue_rand.cc
  2007-03-09 23:49 [Bug middle-end/31116] New: [4.3 regression] libstdc++ ext/pb_ds/regression/priority_queue_rand.cc hp at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-03-10  2:32 ` pinskia at gcc dot gnu dot org
@ 2007-03-10 14:15 ` aldyh at gcc dot gnu dot org
  2007-03-11 10:15 ` steven at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: aldyh at gcc dot gnu dot org @ 2007-03-10 14:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from aldyh at gcc dot gnu dot org  2007-03-10 14:14 -------
This has nothing to do with my patch.  When I remove the cse.c patch, the
-ftree-vectorize goes away, so it's probably related to that patch.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31116


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

* [Bug middle-end/31116] [4.3 regression] libstdc++  ext/pb_ds/regression/priority_queue_rand.cc
  2007-03-09 23:49 [Bug middle-end/31116] New: [4.3 regression] libstdc++ ext/pb_ds/regression/priority_queue_rand.cc hp at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-03-10 14:15 ` aldyh at gcc dot gnu dot org
@ 2007-03-11 10:15 ` steven at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-03-11 10:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from steven at gcc dot gnu dot org  2007-03-11 10:14 -------
Same problem as PR31127.

*** This bug has been marked as a duplicate of 31127 ***


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31116


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

end of thread, other threads:[~2007-03-11 10:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-09 23:49 [Bug middle-end/31116] New: [4.3 regression] libstdc++ ext/pb_ds/regression/priority_queue_rand.cc hp at gcc dot gnu dot org
2007-03-10  0:10 ` [Bug middle-end/31116] " hp at gcc dot gnu dot org
2007-03-10  2:30 ` pinskia at gcc dot gnu dot org
2007-03-10  2:32 ` pinskia at gcc dot gnu dot org
2007-03-10 14:15 ` aldyh at gcc dot gnu dot org
2007-03-11 10:15 ` steven at gcc dot gnu dot 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).