public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/26882] [AVR][C++] ICE when using template function with memory attributes
       [not found] <bug-26882-4@http.gcc.gnu.org/bugzilla/>
@ 2011-06-10 20:30 ` gjl at gcc dot gnu.org
  2012-03-03 14:09 ` gjl at gcc dot gnu.org
  1 sibling, 0 replies; 4+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-06-10 20:30 UTC (permalink / raw)
  To: gcc-bugs

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

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gjl at gcc dot gnu.org
      Known to fail|                            |4.5.2

--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-06-10 20:30:12 UTC ---
Reduded testcase that threds avr-gcc 4.5.2:

template<typename T>
T * rom (const T& init)
{
    static T t = init;
    return &t;
}

int * rom1 = rom(123);

extern bool __cxa_guard_acquire (void*);


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

* [Bug target/26882] [AVR][C++] ICE when using template function with memory attributes
       [not found] <bug-26882-4@http.gcc.gnu.org/bugzilla/>
  2011-06-10 20:30 ` [Bug target/26882] [AVR][C++] ICE when using template function with memory attributes gjl at gcc dot gnu.org
@ 2012-03-03 14:09 ` gjl at gcc dot gnu.org
  1 sibling, 0 replies; 4+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-03-03 14:09 UTC (permalink / raw)
  To: gcc-bugs

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

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|avr-unknown-none            |avr-*
           Priority|P3                          |P5
             Status|NEW                         |RESOLVED
      Known to work|                            |4.7.0
               Host|*-*-*                       |
         Resolution|                            |WORKSFORME
   Target Milestone|---                         |4.7.0

--- Comment #5 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-03-03 14:08:33 UTC ---
Works in 4.7.0, thus closed


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

* [Bug target/26882] [AVR][C++] ICE when using template function with memory attributes
  2006-03-27  7:19 [Bug c++/26882] New: " gcc-bugzilla at gcc dot gnu dot org
  2007-07-25 17:42 ` [Bug target/26882] [AVR][C++] " eweddington at cso dot atmel dot com
@ 2007-07-25 17:42 ` eweddington at cso dot atmel dot com
  1 sibling, 0 replies; 4+ messages in thread
From: eweddington at cso dot atmel dot com @ 2007-07-25 17:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from eweddington at cso dot atmel dot com  2007-07-25 17:42 -------
Confirmed for 4.2.1 on mingw host.

test.cpp: In function 'T* rom(const T&) [with T = uint8_t]':
test.cpp:21:   instantiated from here
test.cpp:10: internal compiler error: Segmentation fault


-- 

eweddington at cso dot atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  GCC build triplet|powerpc-apple-darwin8.5.0   |
   GCC host triplet|powerpc-apple-darwin8.5.0   |*-*-*
      Known to fail|4.0.2                       |4.0.2 4.2.1
            Summary|ICE when using template     |[AVR][C++] ICE when using
                   |function with memory        |template function with
                   |attributes                  |memory attributes


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


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

* [Bug target/26882] [AVR][C++] ICE when using template function with memory attributes
  2006-03-27  7:19 [Bug c++/26882] New: " gcc-bugzilla at gcc dot gnu dot org
@ 2007-07-25 17:42 ` eweddington at cso dot atmel dot com
  2007-07-25 17:42 ` eweddington at cso dot atmel dot com
  1 sibling, 0 replies; 4+ messages in thread
From: eweddington at cso dot atmel dot com @ 2007-07-25 17:42 UTC (permalink / raw)
  To: gcc-bugs



-- 

eweddington at cso dot atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-07-25 17:42:40
               date|                            |


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


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

end of thread, other threads:[~2012-03-03 14:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-26882-4@http.gcc.gnu.org/bugzilla/>
2011-06-10 20:30 ` [Bug target/26882] [AVR][C++] ICE when using template function with memory attributes gjl at gcc dot gnu.org
2012-03-03 14:09 ` gjl at gcc dot gnu.org
2006-03-27  7:19 [Bug c++/26882] New: " gcc-bugzilla at gcc dot gnu dot org
2007-07-25 17:42 ` [Bug target/26882] [AVR][C++] " eweddington at cso dot atmel dot com
2007-07-25 17:42 ` eweddington at cso dot atmel dot com

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).