public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/62179] New: undefined reference linking failure when combining "extern template"
@ 2014-08-19 6:33 miles at gnu dot org
2014-08-19 9:24 ` [Bug lto/62179] " miles at gnu dot org
2014-08-19 12:14 ` glisse at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: miles at gnu dot org @ 2014-08-19 6:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62179
Bug ID: 62179
Summary: undefined reference linking failure when combining
"extern template"
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: miles at gnu dot org
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug lto/62179] undefined reference linking failure when combining "extern template"
2014-08-19 6:33 [Bug lto/62179] New: undefined reference linking failure when combining "extern template" miles at gnu dot org
@ 2014-08-19 9:24 ` miles at gnu dot org
2014-08-19 12:14 ` glisse at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: miles at gnu dot org @ 2014-08-19 9:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62179
--- Comment #2 from miles at gnu dot org ---
Sorry, that got submitted accidentally (it turns out that RET in the web
page Summary text-box is bound to "submit"!).... I'm not sure how to
delete a bogus report... ^^;
Could you delete that?
[I updated my copy of gcc and it seems the bug I was going to report _may_
have been fixed.... but I'm running into other problems so I'm not sure
yet.]
Thanks,
-miles
2014年8月19日火曜日、rguenth at gcc dot gnu.org<gcc-bugzilla@gcc.gnu.org>さんは書きました:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62179
>
> Richard Biener <rguenth at gcc dot gnu.org> changed:
>
> What |Removed |Added
>
> ----------------------------------------------------------------------------
> Status|UNCONFIRMED |WAITING
> Last reconfirmed| |2014-08-19
> Ever confirmed|0 |1
>
> --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
> Waiting for ... the bugreport? Testcase?
>
> --
> You are receiving this mail because:
> You reported the bug.
>
>From gcc-bugs-return-458760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Aug 19 09:37:20 2014
Return-Path: <gcc-bugs-return-458760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25617 invoked by alias); 19 Aug 2014 09:37:19 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 25572 invoked by uid 48); 19 Aug 2014 09:37:15 -0000
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/40989] -Werror= and #pragma diagnostics do not work with group flags
Date: Tue, 19 Aug 2014 09:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 4.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: manu at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-40989-4-5FEmUv2RjI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-40989-4@http.gcc.gnu.org/bugzilla/>
References: <bug-40989-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-08/txt/msg01257.txt.bz2
Content-length: 611
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40989
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #11 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
I consider this FIXED. Almost all options now work. The ones that don't are due
to missing features in the *.opt files, which are tracked in PR53063.
>From gcc-bugs-return-458761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Aug 19 09:40:13 2014
Return-Path: <gcc-bugs-return-458761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28225 invoked by alias); 19 Aug 2014 09:40:12 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 28193 invoked by uid 48); 19 Aug 2014 09:40:09 -0000
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/62182] New: New warning wished: operator== and "equality comparison result unused [-Wunused-comparison]"/-Wunsed-value
Date: Tue, 19 Aug 2014 09:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: burnus at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc
Message-ID: <bug-62182-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-08/txt/msg01258.txt.bz2
Content-length: 1452
https://gcc.gnu.org/bugzilla/show_bug.cgi?idb182
Bug ID: 62182
Summary: New warning wished: operator== and "equality
comparison result unused
[-Wunused-comparison]"/-Wunsed-value
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
CC: mpolacek at gcc dot gnu.org
For a simple:
int i;
i == 5;
GCC diagnoses (but warning is enabled not by default):
warning: statement with no effect [-Wunused-value]
i == 7;
CLANG does the same (warning enabled by default):
warning: equality comparison result unused [-Wunused-comparison]
i == 7;
~~^~~~
note: use '=' to turn this equality comparison into an assignment
i == 7;
^~
However, in our code C++ code, we used an operator==. In that case, GCC doesn't
warn while Clang does (by default):
foo.cc:6:7: warning: equality comparison result unused [-Wunused-comparison]
str == "bar";
~~~~^~~~~~~~
foo.cc:6:7: note: use '=' to turn this equality comparison into an assignment
str == "bar";
^~
C++ test case:
#include <stdio.h>
#include <string>
int main() {
std::string str("init");
str == "bar";
printf("%s\n", str.c_str());
return 0;
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug lto/62179] undefined reference linking failure when combining "extern template"
2014-08-19 6:33 [Bug lto/62179] New: undefined reference linking failure when combining "extern template" miles at gnu dot org
2014-08-19 9:24 ` [Bug lto/62179] " miles at gnu dot org
@ 2014-08-19 12:14 ` glisse at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: glisse at gcc dot gnu.org @ 2014-08-19 12:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62179
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-19 12:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-19 6:33 [Bug lto/62179] New: undefined reference linking failure when combining "extern template" miles at gnu dot org
2014-08-19 9:24 ` [Bug lto/62179] " miles at gnu dot org
2014-08-19 12:14 ` glisse at gcc dot gnu.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).