[Bug testsuite/53028] add dg-pedantic

2012-04-18 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53028 --- Comment #5 from Manuel López-Ibáñez 2012-04-18 21:47:10 UTC --- (In reply to comment #4) > > So, to recap, ripping out all but one solve the duplication problem you point > out, it solves the duplication of creation effort you point out, it

[Bug testsuite/53028] add dg-pedantic

2012-04-19 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53028 --- Comment #7 from Manuel López-Ibáñez 2012-04-19 07:03:30 UTC --- grep -F "pedantic-errors" testsuite/gcc.dg/*.c Most of those testcases are duplicated or triplicated. Another alternative could be if -pedantic warnings always were associated

[Bug c/37985] [4.5/4.6/4.7/4.8 Regression] unsigned char shift lacks "statement with no effect" warning

2012-04-19 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37985 Manuel López-Ibáñez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c/53041] Changing of array is leading to changing of another variable

2012-04-19 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Resolution||INVALID --- Comment #2 from Manuel López-Ibáñez 2012-04-19 12:10:27 UTC --- See: http://pubs.opengroup.org/onlinepubs/007904975/functions/scanf.html s Matches a sequence of bytes that are not

[Bug middle-end/27193] dump-tree-original-raw does not print the linkage for a variable with file scope.

2012-04-19 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Resolution||INVALID --- Comment #4 from Manuel López-Ibáñez 2012-04-19 12:20:26 UTC --- No, you should write a plugin: http://gcc.gnu.org/wiki/plugins

[Bug c++/28525] ICE after duplicate_decls

2012-04-19 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28525 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug translation/37457] pp_base_format, pretty-print.c:529

2012-04-19 Thread manu at gcc dot gnu.org
||2012-04-19 CC||manu at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #4 from Manuel López-Ibáñez 2012-04-19 12:43:30 UTC --- Please find the contact address here: http://translationproject.org/team

[Bug c++/33925] gcc -Waddress lost some useful warnings

2012-04-20 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33925 --- Comment #7 from Manuel López-Ibáñez 2012-04-20 12:57:59 UTC --- (In reply to comment #6) > ... That's not an argument against improving the warning though. GCC's uses > occur in system headers so warnings are suppressed, and could be worked

[Bug c++/53061] New: [C/ObjC/C++/ObjC++] cleanup diagnostics initialization

2012-04-21 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53061 Bug #: 53061 Summary: [C/ObjC/C++/ObjC++] cleanup diagnostics initialization Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/53061] [C/ObjC/C++/ObjC++] cleanup diagnostics initialization

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

[Bug c++/32614] -fmessage-length documentation and implementation disagree

2012-04-21 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32614 Manuel López-Ibáñez changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c/53060] Typo in build_binary_op for scalar-vector ops

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

[Bug c/53063] New: encode group options in the .opt files

2012-04-21 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53063 Bug #: 53063 Summary: encode group options in the .opt files Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Prio

[Bug c/35441] [4.5/4.6/4.7/4.8 regression] Completely broken diagnostics

2012-04-21 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35441 --- Comment #8 from Manuel López-Ibáñez 2012-04-21 14:53:25 UTC --- Author: manu Date: Sat Apr 21 14:53:21 2012 New Revision: 186652 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186652 Log: 2012-04-21 Manuel López-Ibáñez PR 3544

[Bug c/35441] pretty-printer cannot handle some expressions

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

[Bug c/53066] New: Wshadow should not warn for shadowing an extern function

2012-04-21 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53066 Bug #: 53066 Summary: Wshadow should not warn for shadowing an extern function Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c/53066] Wshadow should not warn for shadowing an extern function

2012-04-21 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53066 Manuel López-Ibáñez changed: What|Removed |Added Keywords||patch --- Comment #1 from Manuel Ló

[Bug c++/51033] generic vector subscript and shuffle support was not added to C++

2012-04-22 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51033 --- Comment #21 from Manuel López-Ibáñez 2012-04-22 14:56:28 UTC --- (In reply to comment #19) > With this patch, g++ passes the few __builtin_shuffle tests I tried, and > generates generic code for non-constant indexes and special code for const

[Bug c++/24985] caret diagnostics

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

[Bug c/53072] New: automatically set Init() only if option was not set in some other way

2012-04-22 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53072 Bug #: 53072 Summary: automatically set Init() only if option was not set in some other way Classification: Unclassified Product: gcc Version: unknown Status: UNCONFI

[Bug c/44774] -Werror=edantic

2012-04-22 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44774 --- Comment #16 from Manuel López-Ibáñez 2012-04-22 19:17:51 UTC --- Author: manu Date: Sun Apr 22 19:17:47 2012 New Revision: 186681 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186681 Log: 2012-04-22 Manuel López-Ibáñez PR c/4

[Bug c/53075] New: -Werror=pedantic should be equivalent to -pedantic-errors

2012-04-22 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53075 Bug #: 53075 Summary: -Werror=pedantic should be equivalent to -pedantic-errors Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c/44774] -Werror=edantic

2012-04-22 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44774 Manuel López-Ibáñez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c/37187] please provide a way to treat -pedantic as warning when using -Werror

2012-04-22 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37187 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic Target|x86_6

[Bug c/53091] Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang

2012-04-23 Thread manu at gcc dot gnu.org
|http://m8y.org/tmp/gcc_bug. | |c | CC||jsm28 at gcc dot gnu.org, ||manu at gcc dot gnu.org Resolution|INVALID | --- Comment #5 from

[Bug c/47901] -Wall should not imply -Wformat-zero-length by default

2012-04-23 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47901 --- Comment #3 from Manuel López-Ibáñez 2012-04-23 20:08:09 UTC --- Well, I don't really see how custom_printf("") can produce any damage. It may be an oversight when one actually wanted to print something, but it may be as likely that one didn't

[Bug c++/49152] pretty printer cannot handle iterators and other complex expressions

2012-04-23 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49152 --- Comment #45 from Manuel López-Ibáñez 2012-04-23 20:27:39 UTC --- (In reply to comment #44) > On Sun, 1 Apr 2012, manu at gcc dot gnu.org wrote: > > > moving > > line-map out of libcpp to create a source-locatio

[Bug c/29467] -ansi -pedantic accepts _Bool without diagnostic

2012-04-23 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29467 Manuel López-Ibáñez changed: What|Removed |Added Status|WAITING |NEW --- Comment #5 from Manuel Lópe

[Bug c/53072] automatically set Init() only if option was not set in some other way

2012-04-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53072 --- Comment #2 from Manuel López-Ibáñez 2012-04-24 14:10:48 UTC --- (In reply to comment #1) > On Sun, 22 Apr 2012, manu at gcc dot gnu.org wrote: > This is explicitly not a detailed design; anyone implementing it would > need to fles

[Bug c/53091] static initializer accepted by clang but not by gcc

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

[Bug c/53072] automatically set Init() only if option was not set in some other way

2012-04-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53072 --- Comment #4 from Manuel López-Ibáñez 2012-04-24 14:49:54 UTC --- (In reply to comment #3) > > Init() should I think ideally be just for the defaults (with _set > replacing the present uses of -1 or 2 in Init to mean "not set"). Do you think

[Bug c/53119] -Wbraces wrongly warns about universal zero initializer {0}

2012-04-25 Thread manu at gcc dot gnu.org
||2012-04-25 CC||manu at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #1 from Manuel López-Ibáñez 2012-04-25 17:53:25 UTC --- Where did you get your compiler? -Wbraces is not a valid option in the

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2012-04-25 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #3 from Manuel López-Ibáñez 2012-04-25 18:12:29 UTC --- I can't get reproduce this. Could you provide a small reproducible testcase? Plus the info asked here: http://gcc.gnu.org/bugs/#need

[Bug middle-end/17308] nonnull attribute not as useful as it could

2012-04-25 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17308 --- Comment #9 from Manuel López-Ibáñez 2012-04-25 20:00:44 UTC --- (In reply to comment #8) > Even if you decide that you are unable to warn about a call to foo(var) > because > the only way to analyze that var might be NULL is in the middle en

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2012-04-25 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 Manuel López-Ibáñez changed: What|Removed |Added Status|WAITING |UNCONFIRMED CC|

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2012-04-26 Thread manu at gcc dot gnu.org
--- Comment #7 from Manuel López-Ibáñez 2012-04-26 10:46:11 UTC --- (In reply to comment #6) > On Wed, 25 Apr 2012, manu at gcc dot gnu.org wrote: > > > It seems to me you are right. However, I cannot see how to check for ={0} at > > the point of the warning. > > > > Joseph,

[Bug c/51712] -Wtype-limits should not trigger for types of implementation-defined signedness

2012-04-26 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51712 --- Comment #7 from Manuel López-Ibáñez 2012-04-26 11:59:30 UTC --- (In reply to comment #6) > On Tue, 17 Apr 2012, manu at gcc dot gnu.org wrote: > > > Unfortunately, I cannot see any way to know that FOO is a constant that > &

[Bug c++/53127] cc1plus segmentation fault

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

[Bug c/47901] -Wall should not imply -Wformat-zero-length by default

2012-04-26 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47901 --- Comment #8 from Manuel López-Ibáñez 2012-04-26 14:19:13 UTC --- I still think it may be fine moving this warning to -Wextra, since it gives false positives and when it does, they are hard to avoid. Anders, you may get to convince more people

[Bug c/53129] New: Wself-assign

2012-04-26 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53129 Bug #: 53129 Summary: Wself-assign Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Componen

[Bug c/53129] Wself-assign

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

[Bug regression/53130] [4.8 Regression]: gcc.dg/20011021-1.c, gcc.dg/m-un-2.c, gcc.dg/missing-field-init-2.c

2012-04-26 Thread manu at gcc dot gnu.org
||2012-04-26 AssignedTo|unassigned at gcc dot |manu at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #1 from Manuel López-Ibáñez 2012-04-26 20:30:11 UTC --- I am testing this

[Bug c/53131] -Wlogical-op: ready for prime time in -Wall ?

2012-04-26 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Depends on||43772 --- Comment #1 from Manuel López-Ibáñez 2012-04-26 21:58:33 UTC --- (In reply to comment #0) > I am somewhat surprised that -Wlogical-op isn't part of either -Wall > or possibly -

[Bug c/17896] The expression (a>0 & b>0) should give clearer warning message (-Wparentheses)

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

[Bug regression/53130] [4.8 Regression]: gcc.dg/20011021-1.c, gcc.dg/m-un-2.c, gcc.dg/missing-field-init-2.c

2012-04-27 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53130 --- Comment #2 from Manuel López-Ibáñez 2012-04-27 08:22:01 UTC --- Author: manu Date: Fri Apr 27 08:21:49 2012 New Revision: 186896 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186896 Log: 2012-04-25 Manuel López-Ibáñez PR c/53

[Bug regression/53130] [4.8 Regression]: gcc.dg/20011021-1.c, gcc.dg/m-un-2.c, gcc.dg/missing-field-init-2.c

2012-04-27 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53130 Manuel López-Ibáñez changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug driver/53002] Request new specs string token for multilib_os_dir

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

[Bug other/53143] [4.8 Regression] ' in c_tree_printer, at c-objc-common.c:136

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

[Bug testsuite/53028] add dg-pedantic

2012-04-27 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53028 --- Comment #10 from Manuel López-Ibáñez 2012-04-28 00:02:13 UTC --- (In reply to comment #9) > also don't test that the warning goes away with -w. We don't test the warning > turns into an error with -Werror. Don't we? http://gcc.gnu.org/ml/g

[Bug c/40989] -Werror= and #pragma diagnostics do not work with group flags

2012-04-27 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40989 Manuel López-Ibáñez changed: What|Removed |Added Depends on||53063 --- Comment #7 from Manuel Ló

[Bug c/53072] automatically set Init() only if option was not set in some other way

2012-04-27 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53072 --- Comment #6 from Manuel López-Ibáñez 2012-04-28 00:17:33 UTC --- (In reply to comment #5) > > It may be possible - you'd need to avoid implicit setting marking the > implied option as "set" - and I don't think delaying processing of Init()

[Bug regression/53149] [4.8 Regression]: gcc.dg/20011021-1.c

2012-04-27 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53149 --- Comment #1 from Manuel López-Ibáñez 2012-04-28 01:28:13 UTC --- Doh, I was testing a revision before my commit. Anyway, the testcase just needs adjusting. I will do that as soon as an up-to-date version finishes bootstrapping.

[Bug c/53001] -Wfloat-conversion should be available to warn about floating point errors

2013-09-26 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53001 --- Comment #17 from Manuel López-Ibáñez --- (In reply to Joshua Cogliati from comment #16) > This does not bootstrap trunk yet, because gcc has floating conversion > issues and with this being enabled by -Wextra and with -Werror, gcc fails to > b

[Bug libgcc/58571] Warning while building gcc

2013-09-29 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Manuel López-Ibáñez --- Not a problem. See: http://gcc.gnu.org/wiki/FAQ#stage1warnings

[Bug c/53001] -Wfloat-conversion should be available to warn about floating point errors

2013-10-02 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53001 --- Comment #21 from Manuel López-Ibáñez --- (In reply to Joshua Cogliati from comment #20) > Created attachment 30937 [details] > Patch to add -Wfloat-conversion option against trunk > > Added one more changed needed to get it to compile (which

[Bug c++/58575] gcc should compile firefox code faster.

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

[Bug middle-end/58711] Missing "uninitialized" warning in loop condition (when compiling without optimization)

2013-10-13 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Manuel López-Ibáñez --- Known issue. *** This bug has been marked as a duplicate of bug 58488 ***

[Bug c/58488] -Wuninitialized is useless for a variable whose address is later taken

2013-10-13 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58488 Manuel López-Ibáñez changed: What|Removed |Added CC||mimomorin at gmail dot com --- Comm

[Bug c/58823] Uninitialized variable warning is missing

2013-10-21 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #2 from Manuel López-Ibáñez --- You need to enable optimization (-O1) to get this warning. *** This bug has been marked as a duplicate of bug 43361 ***

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

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

[Bug c/39589] make -Wmissing-field-initializers=2 work with "designated initializers" ?

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

[Bug c++/58822] Segfault when calling make_shared

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

[Bug c/39693] Warning about uninitialized local variable use

2013-10-26 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39693 --- Comment #6 from Manuel López-Ibáñez --- Igor, your testcase is exactly PR18501. No fix in sight unfortunately.

[Bug tree-optimization/18501] [4.7/4.8/4.9 Regression] Missing 'used uninitialized' warning (CCP)

2013-10-26 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501 Manuel López-Ibáñez changed: What|Removed |Added CC||igor.shevlyakov at gmail dot com -

[Bug tree-optimization/58890] Doesn't generate warning about potentially uninitialized variable

2013-10-26 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #2 from Manuel López-Ibáñez --- Exactly 18501. No fix in sight unfortunately. *** This bug has been marked as a duplicate of bug 18501 ***

[Bug preprocessor/58687] "#line __LINE__ ..." changes subsequent line numbers

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

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

2013-10-30 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43361 Manuel López-Ibáñez changed: What|Removed |Added CC||noufal at nibrahim dot net.in --- C

[Bug c/58236] -Wuninitialized doesn't report uninitialised variable as expected

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

[Bug c++/55252] Caret diagnostic doesn't show useful location when macro clashes with name in system header

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

[Bug c/58953] Unhelpful error message in conflict between enum and #define

2013-11-01 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Manuel López-Ibáñez --- Macro unwinder known issue. *** This bug has been marked as a duplicate of bug 55252 ***

[Bug c++/55252] Caret diagnostic doesn't show useful location when macro clashes with name in system header

2013-11-01 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55252 --- Comment #12 from Manuel López-Ibáñez --- PR52962 is another case where it would make more sense to give the error on the macro expansion location rather than on the macro definition.

[Bug middle-end/43736] Invalid uninitialized variable warning at -O3 -Wall

2013-11-01 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from Manuel López-Ibáñez --- This seems to be fixed on 4.9.

[Bug tree-optimization/44781] unjustified warning about uninitialized variable

2013-11-01 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Manuel López-Ibáñez --- It seems fixed since 4.6 and the testcase is too large to be useful for the testsuite.

[Bug tree-optimization/40635] bogus name and location in 'may be used uninitialized' warning

2013-11-01 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40635 --- Comment #3 from Manuel López-Ibáñez --- This somehow got worse. Now we only warn with -O1 or -Os but not with -O2 or -O3.

[Bug c/58988] -Werror=missing-include-dirs does not work

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

[Bug c/59022] Bogus "warning: conversion to 'short int' from 'int' may alter its value [-Wconversion]"

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

[Bug c++/59030] [4.9 Regression] Caret diagnostic always points to the first line

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

[Bug fortran/58189] Color diagnostics for gfortran

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

[Bug c++/18969] Invalid return statement diagnosed too late

2013-11-07 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18969 --- Comment #3 from Manuel López-Ibáñez --- It works in clang: test.cc:3:16: error: void function 'foo' should not return a value [-Wreturn-type] void foo() { return 0; } ^ ~

[Bug c++/18969] Invalid return statement diagnosed too late

2013-11-07 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18969 --- Comment #4 from Manuel López-Ibáñez --- Breakpoint 5, check_return_expr (retval=, no_warning=0x7fffdf2f) at /home/manuel/test1/src/gcc/cp/typeck.c:8311 B =>if (processing_template_decl) { current_function_returns_value = 1;

[Bug c/59098] Unwarranted warning: promoted ~unsigned is always non-zero [-Wsign-compare]

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

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic ignored "-Wundef"

2013-11-16 Thread manu at gcc dot gnu.org
||2013-11-16 CC||manu at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #5 from Manuel López-Ibáñez --- The C++ parser lexes (and preprocesses) before handling the pragmas, whereas the C parser processes

[Bug c++/47347] "pragma GCC diagnostic ignored" has no effect for templates

2013-11-16 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Known to work||4.6.0 Resolution|--- |FIXED Summary|"pragma GCC diagnostic |"pragma GCC diagnostic |ignored" has no effect |ignored

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic ignored "-Wundef"

2013-11-16 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 Manuel López-Ibáñez changed: What|Removed |Added CC||scottbaldwin at gmail dot com --- C

[Bug c++/57241] -Wmultichar warnings despite a #pragma diagnostic ignored -Wmultichar directive

2013-11-16 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57241 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug preprocessor/53920] "gcc -E" does not honor #pragma GCC diagnostic ignored "-Wunused-macro"

2013-11-16 Thread manu at gcc dot gnu.org
||2013-11-16 CC||manu at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Manuel López-Ibáñez --- The C FE normally preprocesses and parses concurrently. But -E (only preprocessing) is handled by a

[Bug c++/48914] #pragma GCC diagnostic ignored "-Wc++0x-compat" doesn't work

2013-11-16 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48914 --- Comment #9 from Manuel López-Ibáñez --- If this warning is given by the preprocessor during lexing, then this is a dup of bug 53431.

[Bug web/59184] Broken links

2013-11-18 Thread manu at gcc dot gnu.org
||2013-11-19 CC||manu at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Manuel López-Ibáñez --- 1) and 2) should be perhaps: http://gcc.gnu.org/onlinedocs/gccint/GENERIC.html 3) should be perhaps

[Bug middle-end/58961] missing " may be used uninitialized in this function"

2013-11-18 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Resolution|--- |WONTFIX --- Comment #3 from Manuel López-Ibáñez --- I would close it as WONTFIX but simply because I think this testcase is not specially useful. First, this bug report is already covered by other

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-11-18 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic, patch Targe

[Bug tree-optimization/42145] Incorrect "may be used uninitialized warning" for a very specific test case

2013-11-19 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145 Manuel López-Ibáñez changed: What|Removed |Added Status|RESOLVED|NEW Known to work|

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

2013-11-19 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 42145, which changed state. Bug 42145 Summary: Incorrect "may be used uninitialized warning" for a very specific test case http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145 What|Removed

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-11-19 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 --- Comment #9 from Manuel López-Ibáñez --- Something has changed in the C++ FE in the meanwhile. Could you try with this one? Index: name-lookup.c === --- name-lookup.c (revis

[Bug web/59184] Broken links

2013-11-19 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59184 --- Comment #3 from Manuel López-Ibáñez --- (In reply to Philippe Baril Lecavalier from comment #2) > (In reply to Manuel López-Ibáñez from comment #1) > > Thanks for the suggestions, which I will apply. I have to admit that this is > my first ti

[Bug c/53001] -Wfloat-conversion should be available to warn about floating point errors

2013-11-19 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53001 --- Comment #28 from Manuel López-Ibáñez --- Author: manu Date: Wed Nov 20 07:15:40 2013 New Revision: 205090 URL: http://gcc.gnu.org/viewcvs?rev=205090&root=gcc&view=rev Log: 2013-11-19 Joshua J Cogliati PR c/53001 Splitting out a -W

[Bug c/53001] -Wfloat-conversion should be available to warn about floating point errors

2013-11-19 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53001 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/59223] -Wmaybe-uninitialized and -Wuninitialized relationships

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

[Bug middle-end/19430] V_MAY_DEF (taking address of var) causes missing uninitialized warning

2013-11-20 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430 --- Comment #19 from Manuel López-Ibáñez --- (In reply to Vincent Lefèvre from comment #18) > This seems to be fixed in the trunk. Is there an XPASS for gcc.dg/uninit-pr19430.c ? Also, the testcase from bug 42079?

[Bug middle-end/59225] missing maybe uninitialized warning following single if

2013-11-20 Thread manu at gcc dot gnu.org
||manu at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Manuel López-Ibáñez --- CCP assumes y == 1 in the first testcase, this is PR18501 In the second testcase, y may be either 1 or 2, so CCP does not kick-in, and nothing

[Bug tree-optimization/18501] [4.7/4.8/4.9 Regression] Missing 'used uninitialized' warning (CCP)

2013-11-20 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501 --- Comment #67 from Manuel López-Ibáñez --- *** Bug 59225 has been marked as a duplicate of this bug. ***

<    3   4   5   6   7   8   9   10   11   12   >