This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/24761] [4.0/4.1 Regression] Missing register load before inline asm in templated function causes SIGSEGV

------- Comment #4 from pinskia at gcc dot gnu dot org  2005-11-09 20:24 -------
Simplified example:
template <int>
int f(int i)
  asm("%0 %1 " : "+r"(i) );
  return i;

int main(void)
  f<0>(0)+ f<1>(0);


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
          Component|inline-asm                  |c++
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
      Known to fail|                            |2.95.3 4.0.0 4.1.0
      Known to work|                            |3.4.0 3.3.3 3.2.3 3.0.4
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-09 20:24:19
               date|                            |
            Summary|Missing register load before|[4.0/4.1 Regression] Missing
                   |inline asm in templated     |register load before inline
                   |function causes SIGSEGV     |asm in templated function
                   |                            |causes SIGSEGV
   Target Milestone|---                         |4.0.3

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]