public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/41740]  New: assembler error when using -O2 option
@ 2009-10-18 12:22 denis dot onischenko at gmail dot com
  2009-10-18 12:24 ` [Bug middle-end/41740] " denis dot onischenko at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: denis dot onischenko at gmail dot com @ 2009-10-18 12:22 UTC (permalink / raw)
  To: gcc-bugs

assembler error occurs when compiling this file with -O2 option. Without -O2    
option the file was compiled without error. 

Revision 152496 does not yet have this error. Revision of 152600 already has
this error.


-- 
           Summary: assembler error when using -O2 option
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: denis dot onischenko at gmail dot com
 GCC build triplet: x86_64-cross-linux-gnu
  GCC host triplet: x86_64-cross-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug middle-end/41740] assembler error when using -O2 option
  2009-10-18 12:22 [Bug middle-end/41740] New: assembler error when using -O2 option denis dot onischenko at gmail dot com
@ 2009-10-18 12:24 ` denis dot onischenko at gmail dot com
  2009-10-18 12:25 ` denis dot onischenko at gmail dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: denis dot onischenko at gmail dot com @ 2009-10-18 12:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from denis dot onischenko at gmail dot com  2009-10-18 12:24 -------
Created an attachment (id=18817)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18817&action=view)
preprocessed file


-- 


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


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

* [Bug middle-end/41740] assembler error when using -O2 option
  2009-10-18 12:22 [Bug middle-end/41740] New: assembler error when using -O2 option denis dot onischenko at gmail dot com
  2009-10-18 12:24 ` [Bug middle-end/41740] " denis dot onischenko at gmail dot com
@ 2009-10-18 12:25 ` denis dot onischenko at gmail dot com
  2009-10-18 12:26 ` denis dot onischenko at gmail dot com
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: denis dot onischenko at gmail dot com @ 2009-10-18 12:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from denis dot onischenko at gmail dot com  2009-10-18 12:24 -------
Created an attachment (id=18818)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18818&action=view)
console output


-- 


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


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

* [Bug middle-end/41740] assembler error when using -O2 option
  2009-10-18 12:22 [Bug middle-end/41740] New: assembler error when using -O2 option denis dot onischenko at gmail dot com
  2009-10-18 12:24 ` [Bug middle-end/41740] " denis dot onischenko at gmail dot com
  2009-10-18 12:25 ` denis dot onischenko at gmail dot com
@ 2009-10-18 12:26 ` denis dot onischenko at gmail dot com
  2009-10-18 12:30 ` denis dot onischenko at gmail dot com
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: denis dot onischenko at gmail dot com @ 2009-10-18 12:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from denis dot onischenko at gmail dot com  2009-10-18 12:26 -------
Created an attachment (id=18819)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18819&action=view)
compiler output


-- 


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


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

* [Bug middle-end/41740] assembler error when using -O2 option
  2009-10-18 12:22 [Bug middle-end/41740] New: assembler error when using -O2 option denis dot onischenko at gmail dot com
                   ` (2 preceding siblings ...)
  2009-10-18 12:26 ` denis dot onischenko at gmail dot com
@ 2009-10-18 12:30 ` denis dot onischenko at gmail dot com
  2009-10-18 13:54 ` [Bug tree-optimization/41740] [4.5 Regression] ICE in ipcp_analyze_node, at ipa-cp.c:183 rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: denis dot onischenko at gmail dot com @ 2009-10-18 12:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from denis dot onischenko at gmail dot com  2009-10-18 12:30 -------
Revision of 152560 has this error too


-- 


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


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

* [Bug tree-optimization/41740] [4.5 Regression] ICE in ipcp_analyze_node, at ipa-cp.c:183
  2009-10-18 12:22 [Bug middle-end/41740] New: assembler error when using -O2 option denis dot onischenko at gmail dot com
                   ` (3 preceding siblings ...)
  2009-10-18 12:30 ` denis dot onischenko at gmail dot com
@ 2009-10-18 13:54 ` rguenth at gcc dot gnu dot org
  2009-10-18 14:37 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-18 13:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-10-18 13:54 -------
I get

> ./g++ -B. -c Affine_Space.ii -O2
Affine_Space.cc:426:1: internal compiler error: in ipcp_analyze_node, at
ipa-cp.c:183
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

which may explain your later error (or not).

Reducing.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |tree-optimization
           Keywords|                            |ice-on-valid-code
            Summary|assembler error when using -|[4.5 Regression] ICE in
                   |O2 option                   |ipcp_analyze_node, at ipa-
                   |                            |cp.c:183
   Target Milestone|---                         |4.5.0


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


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

* [Bug tree-optimization/41740] [4.5 Regression] ICE in ipcp_analyze_node, at ipa-cp.c:183
  2009-10-18 12:22 [Bug middle-end/41740] New: assembler error when using -O2 option denis dot onischenko at gmail dot com
                   ` (4 preceding siblings ...)
  2009-10-18 13:54 ` [Bug tree-optimization/41740] [4.5 Regression] ICE in ipcp_analyze_node, at ipa-cp.c:183 rguenth at gcc dot gnu dot org
@ 2009-10-18 14:37 ` rguenth at gcc dot gnu dot org
  2009-10-18 14:39 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-18 14:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2009-10-18 14:37 -------
namespace std {                                                                 
    template<typename _CharT> class basic_ostream;
    typedef basic_ostream<char> ostream;                                        
    extern ostream cerr;
};                                                                              
class Affine_Space
{                                                                               
  void print() const;
};                                                                              
std::ostream& operator<<(std::ostream& s, const Affine_Space& gr);
void Affine_Space::print() const                                                
{ 
  std::cerr << *this;                                                           
}
std::ostream&                                                                  
operator<<(std::ostream& s, const Affine_Space& gr)
{                                                                               
  s << gr;
  return s;                                                                     
}


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mjambor at suse dot cz
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-10-18 14:37:25
               date|                            |


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


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

* [Bug tree-optimization/41740] [4.5 Regression] ICE in ipcp_analyze_node, at ipa-cp.c:183
  2009-10-18 12:22 [Bug middle-end/41740] New: assembler error when using -O2 option denis dot onischenko at gmail dot com
                   ` (5 preceding siblings ...)
  2009-10-18 14:37 ` rguenth at gcc dot gnu dot org
@ 2009-10-18 14:39 ` rguenth at gcc dot gnu dot org
  2009-10-20 10:12 ` jamborm at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-18 14:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenth at gcc dot gnu dot org  2009-10-18 14:39 -------
Maybe also caused by honza.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org


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


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

* [Bug tree-optimization/41740] [4.5 Regression] ICE in ipcp_analyze_node, at ipa-cp.c:183
  2009-10-18 12:22 [Bug middle-end/41740] New: assembler error when using -O2 option denis dot onischenko at gmail dot com
                   ` (6 preceding siblings ...)
  2009-10-18 14:39 ` rguenth at gcc dot gnu dot org
@ 2009-10-20 10:12 ` jamborm at gcc dot gnu dot org
  2009-10-23 21:50 ` denis dot onischenko at gmail dot com
  2009-10-23 22:28 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2009-10-20 10:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jamborm at gcc dot gnu dot org  2009-10-20 10:11 -------
This looks like PR 40556.


-- 

jamborm at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|mjambor at suse dot cz      |jamborm at gcc dot gnu dot
                   |                            |org


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


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

* [Bug tree-optimization/41740] [4.5 Regression] ICE in ipcp_analyze_node, at ipa-cp.c:183
  2009-10-18 12:22 [Bug middle-end/41740] New: assembler error when using -O2 option denis dot onischenko at gmail dot com
                   ` (7 preceding siblings ...)
  2009-10-20 10:12 ` jamborm at gcc dot gnu dot org
@ 2009-10-23 21:50 ` denis dot onischenko at gmail dot com
  2009-10-23 22:28 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: denis dot onischenko at gmail dot com @ 2009-10-23 21:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from denis dot onischenko at gmail dot com  2009-10-23 21:50 -------
In revision 153504 this error is no longer reproduced


-- 


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


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

* [Bug tree-optimization/41740] [4.5 Regression] ICE in ipcp_analyze_node, at ipa-cp.c:183
  2009-10-18 12:22 [Bug middle-end/41740] New: assembler error when using -O2 option denis dot onischenko at gmail dot com
                   ` (8 preceding siblings ...)
  2009-10-23 21:50 ` denis dot onischenko at gmail dot com
@ 2009-10-23 22:28 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-23 22:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from rguenth at gcc dot gnu dot org  2009-10-23 22:28 -------
So it was indeed a dup.

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


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2009-10-23 22:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-18 12:22 [Bug middle-end/41740] New: assembler error when using -O2 option denis dot onischenko at gmail dot com
2009-10-18 12:24 ` [Bug middle-end/41740] " denis dot onischenko at gmail dot com
2009-10-18 12:25 ` denis dot onischenko at gmail dot com
2009-10-18 12:26 ` denis dot onischenko at gmail dot com
2009-10-18 12:30 ` denis dot onischenko at gmail dot com
2009-10-18 13:54 ` [Bug tree-optimization/41740] [4.5 Regression] ICE in ipcp_analyze_node, at ipa-cp.c:183 rguenth at gcc dot gnu dot org
2009-10-18 14:37 ` rguenth at gcc dot gnu dot org
2009-10-18 14:39 ` rguenth at gcc dot gnu dot org
2009-10-20 10:12 ` jamborm at gcc dot gnu dot org
2009-10-23 21:50 ` denis dot onischenko at gmail dot com
2009-10-23 22:28 ` rguenth 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).