public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34408]  New: Invalid RTL sharing with -fsee and inline functions
@ 2007-12-09 15:59 tsarkov at cs dot man dot ac dot uk
  2007-12-09 16:02 ` [Bug rtl-optimization/34408] " tsarkov at cs dot man dot ac dot uk
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: tsarkov at cs dot man dot ac dot uk @ 2007-12-09 15:59 UTC (permalink / raw)
  To: gcc-bugs

>g++-4.3 -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --enable-checking --prefix=/opt/gcc
--enable-shared --enable-threads --program-suffix=-4.3 --enable-__cxa_atexit
--disable-nls --enable-languages=c,c++,objc,obj-c++,fortran,java
Thread model: posix
gcc version 4.3.0 20071209 (experimental) [trunk revision 130723] (GCC)

> /opt/gcc/bin/g++-4.3 -O2 -fsee -c scanner.cpp
scanner.cpp: In member function 'void TsScanner::FillBuffer()':
scanner.cpp:29: error: invalid rtl sharing found in the insn
(insn 39 38 36 4 scanner.cpp:17 (set (reg/v:QI 58 [ c ])
        (subreg:QI (reg:SI 62 [ c ]) 0)) -1 (nil))
scanner.cpp:29: error: shared rtx
(subreg:QI (reg:SI 62 [ c ]) 0)
scanner.cpp:29: internal compiler error: internal consistency failure
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: Invalid RTL sharing with -fsee and inline functions
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tsarkov at cs dot man dot ac dot uk


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


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

* [Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions
  2007-12-09 15:59 [Bug c++/34408] New: Invalid RTL sharing with -fsee and inline functions tsarkov at cs dot man dot ac dot uk
@ 2007-12-09 16:02 ` tsarkov at cs dot man dot ac dot uk
  2007-12-09 16:05 ` steven at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tsarkov at cs dot man dot ac dot uk @ 2007-12-09 16:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tsarkov at cs dot man dot ac dot uk  2007-12-09 16:01 -------
Created an attachment (id=14713)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14713&action=view)
Preprocessed sources


-- 


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


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

* [Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions
  2007-12-09 15:59 [Bug c++/34408] New: Invalid RTL sharing with -fsee and inline functions tsarkov at cs dot man dot ac dot uk
  2007-12-09 16:02 ` [Bug rtl-optimization/34408] " tsarkov at cs dot man dot ac dot uk
@ 2007-12-09 16:05 ` steven at gcc dot gnu dot org
  2007-12-09 16:43 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-12-09 16:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from steven at gcc dot gnu dot org  2007-12-09 16:05 -------
You brave soul for trying to compile with -fsee.
Nevertheless, yup, a bug.


-- 

steven 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         |2007-12-09 16:05:15
               date|                            |


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


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

* [Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions
  2007-12-09 15:59 [Bug c++/34408] New: Invalid RTL sharing with -fsee and inline functions tsarkov at cs dot man dot ac dot uk
  2007-12-09 16:02 ` [Bug rtl-optimization/34408] " tsarkov at cs dot man dot ac dot uk
  2007-12-09 16:05 ` steven at gcc dot gnu dot org
@ 2007-12-09 16:43 ` rguenth at gcc dot gnu dot org
  2007-12-09 21:54 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-12-09 16:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2007-12-09 16:43 -------
Not a regression since -fsee is broken since ever and the sharing verifier is
new.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking, ice-on-valid-
                   |                            |code


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


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

* [Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions
  2007-12-09 15:59 [Bug c++/34408] New: Invalid RTL sharing with -fsee and inline functions tsarkov at cs dot man dot ac dot uk
                   ` (2 preceding siblings ...)
  2007-12-09 16:43 ` rguenth at gcc dot gnu dot org
@ 2007-12-09 21:54 ` pinskia at gcc dot gnu dot org
  2007-12-29  3:33 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-12-09 21:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-12-09 21:54 -------
And here is a reduced testcase which can compiled with either the C or C++
front-ends:
int isLegalIdChar (char);
char get();

char z;

void  FillBuffer ( void )
{
 char c;
 while(1)
 {
   c = get();
   if (!isLegalIdChar(c))
     break;
   z = c;
 }
}


-- 


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


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

* [Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions
  2007-12-09 15:59 [Bug c++/34408] New: Invalid RTL sharing with -fsee and inline functions tsarkov at cs dot man dot ac dot uk
                   ` (3 preceding siblings ...)
  2007-12-09 21:54 ` pinskia at gcc dot gnu dot org
@ 2007-12-29  3:33 ` pinskia at gcc dot gnu dot org
  2008-02-17 19:31 ` hubicka at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-12-29  3:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2007-12-29 03:33 -------
*** Bug 34613 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |myg at gladesoft dot com


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


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

* [Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions
  2007-12-09 15:59 [Bug c++/34408] New: Invalid RTL sharing with -fsee and inline functions tsarkov at cs dot man dot ac dot uk
                   ` (4 preceding siblings ...)
  2007-12-29  3:33 ` pinskia at gcc dot gnu dot org
@ 2008-02-17 19:31 ` hubicka at gcc dot gnu dot org
  2008-02-19 17:12 ` hubicka at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2008-02-17 19:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hubicka at gcc dot gnu dot org  2008-02-17 19:30 -------
Path posted.


-- 

hubicka at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hubicka at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-12-09 16:05:15         |2008-02-17 19:30:34
               date|                            |


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


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

* [Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions
  2007-12-09 15:59 [Bug c++/34408] New: Invalid RTL sharing with -fsee and inline functions tsarkov at cs dot man dot ac dot uk
                   ` (5 preceding siblings ...)
  2008-02-17 19:31 ` hubicka at gcc dot gnu dot org
@ 2008-02-19 17:12 ` hubicka at gcc dot gnu dot org
  2008-08-11  1:23 ` pinskia at gcc dot gnu dot org
  2008-08-11  1:23 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2008-02-19 17:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from hubicka at gcc dot gnu dot org  2008-02-19 17:11 -------
Subject: Bug 34408

Author: hubicka
Date: Tue Feb 19 17:11:12 2008
New Revision: 132440

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132440
Log:

        PR rtl-optimization/34408
        * see.c (see_def_extension_not_merged): Copy subreg so we don't have
invalid sharing.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/see.c


-- 


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


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

* [Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions
  2007-12-09 15:59 [Bug c++/34408] New: Invalid RTL sharing with -fsee and inline functions tsarkov at cs dot man dot ac dot uk
                   ` (7 preceding siblings ...)
  2008-08-11  1:23 ` pinskia at gcc dot gnu dot org
@ 2008-08-11  1:23 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-11  1:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2008-08-11 01:21 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


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


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

* [Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions
  2007-12-09 15:59 [Bug c++/34408] New: Invalid RTL sharing with -fsee and inline functions tsarkov at cs dot man dot ac dot uk
                   ` (6 preceding siblings ...)
  2008-02-19 17:12 ` hubicka at gcc dot gnu dot org
@ 2008-08-11  1:23 ` pinskia at gcc dot gnu dot org
  2008-08-11  1:23 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-11  1:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2008-08-11 01:22 -------
*** Bug 36529 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |william dot l dot maynard at
                   |                            |nasa dot gov


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


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

end of thread, other threads:[~2008-08-11  1:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-09 15:59 [Bug c++/34408] New: Invalid RTL sharing with -fsee and inline functions tsarkov at cs dot man dot ac dot uk
2007-12-09 16:02 ` [Bug rtl-optimization/34408] " tsarkov at cs dot man dot ac dot uk
2007-12-09 16:05 ` steven at gcc dot gnu dot org
2007-12-09 16:43 ` rguenth at gcc dot gnu dot org
2007-12-09 21:54 ` pinskia at gcc dot gnu dot org
2007-12-29  3:33 ` pinskia at gcc dot gnu dot org
2008-02-17 19:31 ` hubicka at gcc dot gnu dot org
2008-02-19 17:12 ` hubicka at gcc dot gnu dot org
2008-08-11  1:23 ` pinskia at gcc dot gnu dot org
2008-08-11  1:23 ` 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).