[Bug web/12821] dead link on onlinedocs/gccint/Top-Level.html

2013-01-21 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12821 --- Comment #13 from Manuel López-Ibáñez 2013-01-21 11:14:43 UTC --- In fact, the nicest solution would be to investigate how much of Ian's document is already duplicated in the GNU binutils sources: http://www.gnu.org/savannah-checkouts/gnu/au

[Bug c/56048] -Werror=format=2 does not work

2013-01-21 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56048 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug web/56063] [bugzilla] last reconfirmed : now

2013-01-21 Thread manu at gcc dot gnu.org
||net, manu at gcc dot ||gnu.org Summary|last reconfirmed : now |[bugzilla] last reconfirmed ||: now --- Comment #2 from Manuel López-Ibáñez 2013-01

[Bug c/56048] -Werror=format=2 does not work

2013-01-21 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56048 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/56084] New: poor error recovery for missing ";"

2013-01-23 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56084 Bug #: 56084 Summary: poor error recovery for missing ";" Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/56084] poor error recovery for missing ";"

2013-01-23 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56084 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from Man

[Bug c++/56084] poor error recovery for missing ";"

2013-01-23 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56084 --- Comment #3 from Manuel López-Ibáñez 2013-01-23 17:02:02 UTC --- > (Separately, I'm investigating whether there's some way to reduce the output > when an invalid ostream operation is done, because the sheer number of > overloads of operator<<

[Bug c++/56084] poor error recovery for missing ";"

2013-01-23 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56084 --- Comment #4 from Manuel López-Ibáñez 2013-01-23 17:05:14 UTC --- BTW, what is the difference between deduction and substitution?

[Bug c++/56084] poor error recovery for missing ";"

2013-01-23 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56084 --- Comment #5 from Manuel López-Ibáñez 2013-01-23 17:10:58 UTC --- Of course, the color output makes much easier to spot the "note:". And the use of a common prefix "note: candidate function..." or "note: candidate template..." also makes easie

[Bug c++/56084] poor error recovery for missing ";"

2013-01-23 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56084 --- Comment #7 from Manuel López-Ibáñez 2013-01-23 17:31:21 UTC --- Strange. In the GCC farm and without any customization, clang uses gray for the note. I have seen presentations where it also uses this color scheme. I don't know if they have s

[Bug tree-optimization/56094] Invalid line number info generated with tree-level ivopts

2013-01-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56094 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug tree-optimization/56094] Invalid line number info generated with tree-level ivopts

2013-01-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56094 --- Comment #9 from Manuel López-Ibáñez 2013-01-24 18:39:18 UTC --- > During original gimplification, I can understand the OR_HERE (aka > input_location) part there, or in passes that maintain input_location. I thought gimplification happens af

[Bug tree-optimization/56094] Invalid line number info generated with tree-level ivopts

2013-01-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56094 --- Comment #11 from Manuel López-Ibáñez 2013-01-24 20:49:33 UTC --- (In reply to comment #10) > > Input_location should only be used from parsing. Other places reuse the > variable and those happen to eventually pick up stale values, such as

[Bug tree-optimization/56094] Invalid line number info generated with tree-level ivopts

2013-01-25 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56094 --- Comment #13 from Manuel López-Ibáñez 2013-01-25 11:43:37 UTC --- (In reply to comment #12) > Created attachment 29272 [details] > gcc48-pr56094.patch > > input_location is used heavily in the gimplifier, gimplify_expr sets it from > the exp

[Bug lto/56061] [4.8 Regression] ICE in lto1 (in inline_call, at ipa-inline-transform.c:267)

2013-01-30 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56061 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug lto/56061] [4.8 Regression] ICE in lto1 (in inline_call, at ipa-inline-transform.c:267)

2013-01-30 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56061 --- Comment #6 from Manuel López-Ibáñez 2013-01-30 11:29:02 UTC --- (In reply to comment #3) > Does it make sense to allow "-O0 -flto" at all? Answering myself, the docs have this example: Additionally, the optimization flags used to compile i

[Bug other/19165] (Natural) language independent error / warning classification

2013-01-30 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19165 --- Comment #16 from Manuel López-Ibáñez 2013-01-30 18:18:35 UTC --- (In reply to comment #15) > I'm speaking as one of Code::Blocks' developers: > If you implement this we'll for sure use it, because we have many complaints > similar to the one

[Bug c/56153] False warning about signed and unsigned type in conditional expression

2013-01-30 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56153 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug tree-optimization/55970] [x86] Avoid reverse order of function argument gimplifying

2013-02-04 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55970 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug fortran/69495] unused-label warning does not tell which flag triggered it

2016-01-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69495 --- Comment #5 from Manuel López-Ibáñez --- (In reply to janus from comment #4) > This seems very inconsistent: All three calls involve an invalid flag, but > the diagnostics is very different for each of them (it's particularly bad > that the se

[Bug fortran/69495] unused-label warning does not tell which flag triggered it

2016-01-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69495 --- Comment #6 from Manuel López-Ibáñez --- (In reply to janus from comment #3) > I guess practically all occurrences of "gfc_warning (0, ..." need to be > transformed, or are there cases where the zero is legitimate? Most warnings don't have a

[Bug c++/22238] Awful error messages with virtual functions

2016-01-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22238 --- Comment #20 from Manuel López-Ibáñez --- (In reply to David Malcolm from comment #19) > Is it time to close this one out as fixed? with gcc HEAD 6.0.0 20160127 and the testcase in comment #12, I get: prog.cc: In member function 'void B::bar

[Bug c++/20906] excessive diagnostic messages for missing template arguments

2016-01-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20906 Manuel López-Ibáñez changed: What|Removed |Added Summary|excessive diagnostic|excessive diagnostic

[Bug c++/22238] Awful error messages with virtual functions

2016-01-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22238 --- Comment #21 from Manuel López-Ibáñez --- (In reply to David Malcolm from comment #19) > /tmp/test2.cc:9:24: error: return-statement with a value, in function > returning 'void' [-fpermissive] > return P->bar() + *P; >

[Bug c++/20906] excessive diagnostic messages for missing template arguments

2016-01-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20906 --- Comment #5 from Manuel López-Ibáñez --- With a slight change in the parse tree, we get a much better message. prog.cc:3:38: error: wrong number of template arguments (0, should be 1) template void foo::pop(bar<>&, int) {}

[Bug c++/24375] Wrong line number in diagnostic

2016-01-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24375 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug fortran/69544] [5/6 Regression] Internal compiler error with -Wall and where

2016-01-29 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69544 Manuel López-Ibáñez changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comm

[Bug c/69558] [6 Regression] glib2 warning pragmas stopped working

2016-01-29 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69558 --- Comment #5 from Manuel López-Ibáñez --- (In reply to Jakub Jelinek from comment #4) > Reverting one minor part of those changes fixes both of the PRs though: > --- gcc/c-family/c-pragma.c.jj2016-01-15 21:57:00.0 +0100 > +++ gc

[Bug c/69558] [6 Regression] glib2 warning pragmas stopped working

2016-01-29 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69558 --- Comment #6 from Manuel López-Ibáñez --- (In reply to Jakub Jelinek from comment #0) > warns about deprecated use, while before that we didn't warn. It would be useful to see the locations in the output (and whether the warning uses %q+), sin

[Bug c/69558] [6 Regression] glib2 warning pragmas stopped working

2016-01-29 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69558 --- Comment #8 from Manuel López-Ibáñez --- So input_location does not point to foo but to column 1, then the expansion location of the pragmas is the closing paren because of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61817#c3 In terms of exp

[Bug c/69558] [6 Regression] glib2 warning pragmas stopped working

2016-01-29 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69558 --- Comment #9 from Manuel López-Ibáñez --- (In reply to Manuel López-Ibáñez from comment #8) > then the second one doesn't work. I cannot think a way to make the above > work properly without breaking something else. Actually, the history check

[Bug fortran/44491] Diagnostic just shows "" instead of a locus

2016-01-29 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44491 --- Comment #7 from Manuel López-Ibáñez --- (In reply to Dominique d'Humieres from comment #6) > Related to pr69544. Note that compiling the test with 5.3.0 or trunk (6.0) > gives now an ICE, r218570 gives the error and r218658 gives the ICE. Hi

[Bug other/69554] Multi-location diagnostics writes too many lines

2016-01-29 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69554 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug other/69554] Multi-location diagnostics writes too many lines

2016-01-29 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69554 --- Comment #4 from Manuel López-Ibáñez --- Pre rich locations, it should have looked like # [name]:[locus]: # # some code # 1 # [name]:[locus2]: # # some other code # 2

[Bug fortran/69554] [6 Regression] Multi-location diagnostics writes too many lines

2016-01-30 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69554 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic Component|othe

[Bug fortran/69554] [6 Regression] Multi-location diagnostics writes too many lines

2016-01-30 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69554 --- Comment #10 from Manuel López-Ibáñez --- (In reply to Dominique d'Humieres from comment #8) > This seems a lot of work for big patches. Note that this is not specific to > gfortran: any one committing a patch should look at the Intel results!

[Bug fortran/69495] unused-label warning does not tell which flag triggered it

2016-01-30 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69495 --- Comment #13 from Manuel López-Ibáñez --- (In reply to Dominique d'Humieres from comment #11) > I think you need to add a line > > ! { dg-options "-pedantic" } > > to elemental_optional_args_6.f90 (untested). I'd suggest to use -Wpedantic,

[Bug preprocessor/69126] [6 regression] _Pragma does not apply if part of a macro

2016-02-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69126 --- Comment #23 from Manuel López-Ibáñez --- (In reply to Stephan Bergmann from comment #18) > (Also, the problem > only happens with -O or higher.) That is weird. If you use "GCC diagnostic warning" instead of "ignored", you should be able to s

[Bug fortran/69554] [6 Regression] Multi-location diagnostics writes too many lines

2016-02-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69554 --- Comment #12 from Manuel López-Ibáñez --- (In reply to Thomas Koenig from comment #11) > (In reply to Manuel López-Ibáñez from comment #7) > > Please take this as a humble general suggestion: Fortran maintainers should > > enforce during patch

[Bug c/69605] printf %f on integers

2016-02-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69605 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug c/69602] [6 Regression] over-ambitious logical-op warning on EAGAIN vs EWOULDBLOCK

2016-02-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug c/69602] [6 Regression] over-ambitious logical-op warning on EAGAIN vs EWOULDBLOCK

2016-02-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602 --- Comment #3 from Manuel López-Ibáñez --- I wonder when/why it started warning, since -Wlogical-op is not new in GCC 6. This is just a more complex case of PR61534.

[Bug c/69602] [6 Regression] over-ambitious logical-op warning on EAGAIN vs EWOULDBLOCK

2016-02-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602 --- Comment #4 from Manuel López-Ibáñez --- Since EAGAIN and EWOULDBLOCK probably expand from a macro to a constant (or are they enums? do we track the original form of the enum or only the underlying value?), this is as hard as: extern int xxx;

[Bug c/69602] [6 Regression] over-ambitious logical-op warning on EAGAIN vs EWOULDBLOCK

2016-02-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602 --- Comment #6 from Manuel López-Ibáñez --- (In reply to Jakub Jelinek from comment #5) > Even if we look through macros, I'd actually think we should warn here. I think we should NOT look through macros. The purpose of the warning is to catch m

[Bug c/69602] [6 Regression] over-ambitious logical-op warning on EAGAIN vs EWOULDBLOCK

2016-02-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602 --- Comment #7 from Manuel López-Ibáñez --- (In reply to Eric Blake from comment #0) > However, as shown by the sample code below, gcc 6.0's new warning is > over-ambitious, and is likely to _cause_ rather than cure user bugs, when > uninformed u

[Bug c/69612] Optimizer does not consider overflow

2016-02-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69612 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug c++/69641] invalid int32 comparison

2016-02-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69641 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug preprocessor/69664] New: column info is lost

2016-02-03 Thread manu at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: manu at gcc dot gnu.org Target Milestone: --- GCC 5.2 prog.cc:1:5: warning: "/*" within comment [-Wcomment] /* /* */ ^ GCC 6.0 prog.cc:1:0: warning: "/*" within comment [-Wcomment] /* /* */

[Bug preprocessor/49973] Column numbers count special characters as multiple columns

2016-02-03 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 --- Comment #11 from Manuel López-Ibáñez --- This should be fixed in libcpp, probably in lex.c, but maybe other places also. A good testcase to start with would be: /* ñ /* */ /* a /* */ cc1 -Wcomment prog.cc:1:7: warning: "/*" within comment

[Bug preprocessor/69664] [6 Regression] column info is lost

2016-02-03 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69664 Manuel López-Ibáñez changed: What|Removed |Added Target Milestone|--- |6.0 Summary|column info

[Bug lto/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-02-05 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug c++/69687] Buffer Overflow in libiberty

2016-02-06 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69687 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug other/69554] [6 Regression] Multi-location diagnostics writes too many lines

2016-02-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69554 --- Comment #16 from Manuel López-Ibáñez --- You can also just match the locations and the columns with dg-error. Placing dg-error at the expected lines will match the expected output as explained in comment 12. Fixing dg-begin-multiline-output f

[Bug c/69602] [6 Regression] over-ambitious logical-op warning on EAGAIN vs EWOULDBLOCK

2016-02-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602 Manuel López-Ibáñez changed: What|Removed |Added Depends on||43486, 61534 --- Comment #9 from M

[Bug lto/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-02-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #6 from Manuel López-Ibáñez --- Note that it is ok to completely ignore such an invalid line directive and: line-map.c: file "" left but not entered should actually be an error or an ICE. As the code says: /* Depending upon w

[Bug c/69602] [6 Regression] over-ambitious logical-op warning on EAGAIN vs EWOULDBLOCK

2016-02-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602 --- Comment #11 from Manuel López-Ibáñez --- (In reply to Gerald Pfeifer from comment #10) > (In reply to Jakub Jelinek from comment #8) > > if (errno == EAGAIN || (EWOULDBLOCK != EAGAIN && errno == EWOULDBLOCK)) > > could be better workaround.

[Bug c++/69723] Inconsistent report of unused and uninitialized variables

2016-02-08 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69723 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug c++/69723] pre-post-increment/decrement and reading the same variable that is assigned should not be considered uses for Wunused-but-set-variable

2016-02-08 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69723 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic Status|UNCO

[Bug c/44677] Warn for variables incremented but not used

2016-02-08 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44677 Manuel López-Ibáñez changed: What|Removed |Added CC||developm...@faf-ltd.com --- Commen

[Bug c++/69723] pre-post-increment/decrement and reading the same variable that is assigned should not be considered uses for Wunused-but-set-variable

2016-02-09 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69723 --- Comment #8 from Manuel López-Ibáñez --- (In reply to Jakub Jelinek from comment #7) > As for the missed -Wuninitialized at -O0, wonder if we couldn't do something > about it for GCC 7. Sounds good to me, but perhaps it is better to open a ne

[Bug c++/60239] False positive maybe-uninitialized in for loop

2016-02-09 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60239 Manuel López-Ibáñez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/69723] pre-post-increment/decrement and reading the same variable that is assigned should not be considered uses for Wunused-but-set-variable

2016-02-09 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69723 --- Comment #9 from Manuel López-Ibáñez --- (In reply to Jakub Jelinek from comment #7) > As for the missed -Wuninitialized at -O0, wonder if we couldn't do something > about it for GCC 7. Note that people do complain a lot about this case: PR43

[Bug c++/69730] problem with references and templates when using O2

2016-02-09 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69730 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug libstdc++/69782] [6 Regression] defining min() macro causes thousand of lines of error messages

2016-02-12 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69782 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug c++/69793] ICE on invalid code in "cp_lexer_peek_nth_token"

2016-02-14 Thread manu at gcc dot gnu.org
||2016-02-14 CC||manu at gcc dot gnu.org Summary|g++ ICE on invalid code on |ICE on invalid code in |x86_64-linux-gnu in |"cp_lexer_peek_nth_token" |"cp_lexer

[Bug debug/69785] c++filt can't demangle string or compiler produce wrong mangled string

2016-02-14 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69785 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug c++/69777] Give a warning when virtual function is devirtualized into a __cxa_pure_virtual call

2016-02-14 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69777 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug c++/69778] Bogus "qualifiers cannot be applied" error with redundant (but legal) 'typename'

2016-02-14 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org --- Comment #1 from Manuel López-Ibáñez --- Probably, when 'typename' became valid here, this code path was not fixed. Needs further debugging, but should be easy to fix. Not a regression.

[Bug c++/69778] Bogus "qualifiers cannot be applied" error with redundant (but legal) 'typename'

2016-02-14 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69778 --- Comment #2 from Manuel López-Ibáñez --- Bonus points if instead of creating a useless tree, the error uses %qv to print the qualifiers, as the C FE does.

[Bug c++/69818] warn for C++ functional cast expression on pointer or reference

2016-02-14 Thread manu at gcc dot gnu.org
CC||manu at gcc dot gnu.org Summary|feature request: generate a |warn for C++ functional |warning for C++ functional |cast expression on pointer |cast expression on pointer |or reference |or

[Bug c++/64531] `casting between pointer-to-function and pointer-to-object` is still a warning instead of error with `-pedantic -pedantic-errors`

2016-02-14 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from Manuel López-Ibáñez --- (In reply to Harald van Dijk from comment #2) > It's already been fixed. [...] > But the comments in PR 60850 note that this may have been

[Bug c++/60850] pedantic warning behavior when casting void* to ptr-to-func

2016-02-14 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60850 Manuel López-Ibáñez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags

2016-02-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651 Manuel López-Ibáñez changed: What|Removed |Added Keywords||easyhack --- Comment #34 from Manue

[Bug other/53313] Add warning levels

2016-02-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53313 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/31573] -Wall-all to enable all warnings

2016-02-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31573 Manuel López-Ibáñez changed: What|Removed |Added CC||david at doublewise dot net --- Co

[Bug c++/31573] -Wall-all to enable all warnings

2016-02-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31573 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug c/61864] -Wcovered-switch-default to identify "dead" default branch

2016-02-15 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Target Milestone|5.4 |--- Summary|Feature Request,|-Wcovered-switch-default to |-Wcovered-switch-default to |identify "dead" default |identify &quo

[Bug c/62184] [C/C++] Extend -Wempty-body to 'while' loops

2016-02-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62184 Manuel López-Ibáñez changed: What|Removed |Added Keywords||easyhack Severity|normal

[Bug c/28901] -Wunused-variable ignores unused const initialised variables

2016-02-17 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28901 --- Comment #27 from Manuel López-Ibáñez --- (In reply to Mark Wielaard from comment #21) > Although in C a static const is not really like a #define I suspect that > there are cases where they are used as such in header files. If that is the > m

[Bug c++/69850] [6 Regression] unnecessary -Wnonnull-compare warning

2016-02-17 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69850 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug c++/46476] Missing Warning about unreachable code after return

2016-02-17 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 --- Comment #7 from Manuel López-Ibáñez --- Richard, perhaps a less aggressive -Wunreachable-code could be implemented just after (or while) building the control flow graph? It would not try to be smart with constant propagation or guessing bran

[Bug target/69857] gcc/config/arm/arm.c:15949: return in strange place ?

2016-02-17 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69857 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug middle-end/50847] missed warning about unreachable code after throw statment.

2016-02-17 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50847 --- Comment #6 from Manuel López-Ibáñez --- Other testcases: int baz() { while(1) { break; return 5; // dead } do { continue; return 6; // dead } while(0); return 1; } int bax() { while(1) {

[Bug c++/69864] Narrowing conversion warning instead of an error

2016-02-18 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69864 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2016-02-18 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 Manuel López-Ibáñez changed: What|Removed |Added CC||mgsergio at yandex dot ru --- Comm

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2016-02-18 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug c++/69865] -trigraphs option broken

2016-02-18 Thread manu at gcc dot gnu.org
||2016-02-18 CC||manu at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Manuel López-Ibáñez --- (In reply to Bernd Edlinger from comment #2) > in gcc/c-family/c-opts.c: > > following cod

[Bug c++/69872] New: Wnarrowing note without warning/errror

2016-02-19 Thread manu at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: manu at gcc dot gnu.org Target Milestone: --- struct s { int x, y; }; short offsets[1] = { ((char*) &(((struct s*)16)->y) - (char *)16), // { dg-message "narrowing" "" { target c++11 } } }; $ g++ pro

[Bug c++/69864] Fix various Wnarrowing minor issues

2016-02-19 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69864 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic, documentation,

[Bug c++/69864] Fix various Wnarrowing minor issues

2016-02-19 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69864 --- Comment #10 from Manuel López-Ibáñez --- (In reply to Markus Trippelsdorf from comment #9) > > * Create a new function in diagnostic.c, e.g., > > > > extern diagnostic_t pederror (location_t, int, const char *, ...) > > ATTRIBUTE_GCC_D

[Bug c++/43361] missing uninitialized warning without optimization (loop representation)

2016-02-21 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43361 Manuel López-Ibáñez changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug c++/69892] Missing -Wuninitialized warning

2016-02-21 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #5 from Manuel López-Ibáñez --- If you wish to get the warning with -O0, then this is a duplicate of PR43361 (explained in detail here: https://gcc.gnu.org/wiki

[Bug c/28901] -Wunused-variable ignores unused const initialised variables

2016-02-21 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28901 --- Comment #31 from Manuel López-Ibáñez --- (In reply to Mark Wielaard from comment #29) > > > + || filename_cmp (main_input_filename, > > > +DECL_SOURCE_FILE (decl)) == 0))) > > > > Better

[Bug c++/16233] unhelpful error message when "template" is omitted

2016-02-22 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16233 Manuel López-Ibáñez changed: What|Removed |Added CC||steve.lorimer at gmail dot com ---

[Bug c++/69906] Feature request: better error message when dependent function template parsing fails

2016-02-22 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Manuel López-Ibáñez --- Duplicate *** This bug has been marked as a duplicate of bug 16233 ***

[Bug c++/16233] unhelpful error message when "template" is omitted

2016-02-22 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16233 --- Comment #9 from Manuel López-Ibáñez --- Very likely, we don't even try to parse this as a template function. We should first try to parse it as we do now. When that fails, we should try to reparse it as a template if we have seen <>, if that

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2016-02-22 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 43361, which changed state. Bug 43361 Summary: missing uninitialized warning without optimization (loop representation) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43361 What|Removed |

[Bug c++/43361] missing uninitialized warning without optimization (loop representation)

2016-02-22 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43361 Manuel López-Ibáñez changed: What|Removed |Added Status|RESOLVED|NEW Resolution|WONTFIX

[Bug tree-optimization/69908] recognizing idioms that check for a buffer of all-zeros could make *much* better code

2016-02-22 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69908 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug tree-optimization/22226] vectorization library

2016-02-22 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

<    6   7   8   9   10   11   12   13   14   15   >