public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/43424]  New: -O2 -floop-parallelize-all causes verify_stmts failure
@ 2010-03-18 18:12 dcb314 at hotmail dot com
  2010-03-18 18:14 ` [Bug c++/43424] " dcb314 at hotmail dot com
  2010-03-18 20:22 ` [Bug tree-optimization/43424] " pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: dcb314 at hotmail dot com @ 2010-03-18 18:12 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile the package normaliz-2.2
with the C++ compiler version 4.5 snapshot 20100311 and it said

vector_operations.cpp: In function 'std::vector<long int> v_make_prime(const
std::vector<long int>&, Integer&)':
vector_operations.cpp:300:17: error: statement marked for throw in middle of
block
# .MEM_36 = VDEF <.MEM_81>
D.34201_8 = v_gcd (v_2(D));

vector_operations.cpp:300:17: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. Flags -O2 -floop-parallelize-all required.


-- 
           Summary: -O2 -floop-parallelize-all causes verify_stmts failure
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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


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

* [Bug c++/43424] -O2 -floop-parallelize-all causes verify_stmts failure
  2010-03-18 18:12 [Bug c++/43424] New: -O2 -floop-parallelize-all causes verify_stmts failure dcb314 at hotmail dot com
@ 2010-03-18 18:14 ` dcb314 at hotmail dot com
  2010-03-18 20:22 ` [Bug tree-optimization/43424] " pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: dcb314 at hotmail dot com @ 2010-03-18 18:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dcb314 at hotmail dot com  2010-03-18 18:13 -------
Created an attachment (id=20140)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20140&action=view)
C++ source code


-- 


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


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

* [Bug tree-optimization/43424] -O2 -floop-parallelize-all causes verify_stmts failure
  2010-03-18 18:12 [Bug c++/43424] New: -O2 -floop-parallelize-all causes verify_stmts failure dcb314 at hotmail dot com
  2010-03-18 18:14 ` [Bug c++/43424] " dcb314 at hotmail dot com
@ 2010-03-18 20:22 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-03-18 20:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2010-03-18 20:22 -------
Reduced testcase:
struct vector
{
  long &operator[](int __n)   {  return *(_M_start + __n); }
  ~vector();
  long *_M_start; 
};
long v_gcd();
void v_make_prime(vector& v,long& g, long j){
  int i;
  vector w;
  g=v_gcd();
  for (i = 0; i < j; i++)
   w[i]=v[i]/g; 
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-03-18 20:22:06
               date|                            |


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


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

end of thread, other threads:[~2010-03-18 20:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-18 18:12 [Bug c++/43424] New: -O2 -floop-parallelize-all causes verify_stmts failure dcb314 at hotmail dot com
2010-03-18 18:14 ` [Bug c++/43424] " dcb314 at hotmail dot com
2010-03-18 20:22 ` [Bug tree-optimization/43424] " pinskia 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).