public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12694] New: insufficient contextual information to determine type - templated function parameter
@ 2003-10-20 19:31 belz at kolumbus dot fi
  2003-10-20 19:50 ` [Bug c++/12694] " bangerth at dealii dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: belz at kolumbus dot fi @ 2003-10-20 19:31 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: insufficient contextual information to determine type -
                    templated function parameter
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belz at kolumbus dot fi
                CC: gcc-bugs at gcc dot gnu dot org

following code gives an error.

namespace a { typedef int string; }
template<typename T> void foo(const T& string) { string.data(); }

error: insufficient contextual information to determine type

Same occures whatever the namespace a is, eg. including <string>

using gcc version 3.4 20031015 (experimental) in mandrake 9.1


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

* [Bug c++/12694] insufficient contextual information to determine type - templated function parameter
  2003-10-20 19:31 [Bug c++/12694] New: insufficient contextual information to determine type - templated function parameter belz at kolumbus dot fi
@ 2003-10-20 19:50 ` bangerth at dealii dot org
  2003-10-20 19:55 ` [Bug c++/12694] [3.4 regression] " bangerth at dealii dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bangerth at dealii dot org @ 2003-10-20 19:50 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-20 19:47:33
               date|                            |
   Target Milestone|---                         |3.4


------- Additional Comments From bangerth at dealii dot org  2003-10-20 19:47 -------
Confirmed. This is totally bogus! It compiles with 3.3, so is a mainline
regression.

W.


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

* [Bug c++/12694] [3.4 regression] insufficient contextual information to determine type - templated function parameter
  2003-10-20 19:31 [Bug c++/12694] New: insufficient contextual information to determine type - templated function parameter belz at kolumbus dot fi
  2003-10-20 19:50 ` [Bug c++/12694] " bangerth at dealii dot org
@ 2003-10-20 19:55 ` bangerth at dealii dot org
  2003-10-24  8:55 ` nathan at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bangerth at dealii dot org @ 2003-10-20 19:55 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From bangerth at dealii dot org  2003-10-20 19:50 -------
This looks related to PR 12937.


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

* [Bug c++/12694] [3.4 regression] insufficient contextual information to determine type - templated function parameter
  2003-10-20 19:31 [Bug c++/12694] New: insufficient contextual information to determine type - templated function parameter belz at kolumbus dot fi
  2003-10-20 19:50 ` [Bug c++/12694] " bangerth at dealii dot org
  2003-10-20 19:55 ` [Bug c++/12694] [3.4 regression] " bangerth at dealii dot org
@ 2003-10-24  8:55 ` nathan at gcc dot gnu dot org
  2003-12-05  4:05 ` pinskia at gcc dot gnu dot org
  2003-12-22 21:01 ` mmitchel at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-10-24  8:55 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From nathan at gcc dot gnu dot org  2003-10-24 08:12 -------
there is infinite recursion going on with VAARG_EXPR and force_rvalue


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

* [Bug c++/12694] [3.4 regression] insufficient contextual information to determine type - templated function parameter
  2003-10-20 19:31 [Bug c++/12694] New: insufficient contextual information to determine type - templated function parameter belz at kolumbus dot fi
                   ` (2 preceding siblings ...)
  2003-10-24  8:55 ` nathan at gcc dot gnu dot org
@ 2003-12-05  4:05 ` pinskia at gcc dot gnu dot org
  2003-12-22 21:01 ` mmitchel at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-05  4:05 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
   Last reconfirmed|2003-10-20 19:47:33         |2003-12-05 04:05:22
               date|                            |


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


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

* [Bug c++/12694] [3.4 regression] insufficient contextual information to determine type - templated function parameter
  2003-10-20 19:31 [Bug c++/12694] New: insufficient contextual information to determine type - templated function parameter belz at kolumbus dot fi
                   ` (3 preceding siblings ...)
  2003-12-05  4:05 ` pinskia at gcc dot gnu dot org
@ 2003-12-22 21:01 ` mmitchel at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-12-22 21:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2003-12-22 20:55 -------


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

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


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


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

end of thread, other threads:[~2003-12-22 20:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-20 19:31 [Bug c++/12694] New: insufficient contextual information to determine type - templated function parameter belz at kolumbus dot fi
2003-10-20 19:50 ` [Bug c++/12694] " bangerth at dealii dot org
2003-10-20 19:55 ` [Bug c++/12694] [3.4 regression] " bangerth at dealii dot org
2003-10-24  8:55 ` nathan at gcc dot gnu dot org
2003-12-05  4:05 ` pinskia at gcc dot gnu dot org
2003-12-22 21:01 ` mmitchel 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).