[Bug target/92137] [ia32] Missing documentation for ia32 builtins

2019-10-17 Thread danielgutson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92137 Daniel Gutson changed: What|Removed |Added CC||danielgutson at gmail dot com

[Bug c++/51897] New: command line option to create a namespace alias

2012-01-18 Thread danielgutson at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51897 Bug #: 51897 Summary: command line option to create a namespace alias Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement

[Bug ipa/85617] New: Wunused-but-set-variable does not analyze variables passed to functions

2018-05-02 Thread danielgutson at gmail dot com
Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: danielgutson at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- The following code void f(int& x) { x = 1; } int main() { int a;

[Bug ipa/85617] Wunused-but-set-variable does not analyze variables passed to functions

2018-05-02 Thread danielgutson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85617 --- Comment #2 from Daniel Gutson --- (In reply to Andrew Pinski from comment #1) > I doubt we want to make this warning to be flow sensitive at all. There are > many other warnings which are flow sensitive and they change behavior > between dif

[Bug ipa/85617] Wunused-but-set-variable does not analyze variables passed to functions

2018-05-03 Thread danielgutson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85617 --- Comment #4 from Daniel Gutson --- (In reply to Jakub Jelinek from comment #3) > The warning really can't be implemented later than in the FE, because many > of the non-setting uses are optimized away already during the FEs. So there > is no

[Bug ipa/85617] Wunused-but-set-variable does not analyze variables passed to functions

2018-05-03 Thread danielgutson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85617 --- Comment #5 from Daniel Gutson --- Additionally, could you please consider to gently leave this issue open as an enhancement?

[Bug tree-optimization/84595] New: __builtin_trap() causes optimizer to remove code

2018-02-27 Thread danielgutson at gmail dot com
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: danielgutson at gmail dot com Target Milestone: --- __builtin_trap() cannot be used as a breakpointing mechanism because the optimizer removes all subsequent code: #include int main

[Bug tree-optimization/84595] __builtin_trap() causes optimizer to remove code

2018-02-27 Thread danielgutson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595 --- Comment #3 from Daniel Gutson --- (In reply to Andrew Pinski from comment #1) > What you want is __builtin_breakpoint (if that existed). Trap is considered > as noreturn just like abort/exit. OK. That was my second suggested alternative. BT

[Bug tree-optimization/84595] __builtin_trap() causes optimizer to remove code

2018-02-27 Thread danielgutson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595 --- Comment #5 from Daniel Gutson --- (In reply to Andrew Pinski from comment #4) > (In reply to Daniel Gutson from comment #3) > > OK. That was my second suggested alternative. > > BTW I didn't see __builtin_trap documented as noreturn in the do

[Bug c/84595] Add __builtin_break() built-in for a breakpointing mechanism

2018-02-28 Thread danielgutson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595 --- Comment #8 from Daniel Gutson --- (In reply to Richard Biener from comment #7) > I frequently use raise(SIGSTOP) ... (or x86 specific you can do asm ("int > 3"); > or whatever that break thing was... > > Note I think that a compiler-only-sid

[Bug c++/88050] Add a warning for breaking the "Rule of Three"

2018-11-16 Thread danielgutson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88050 --- Comment #3 from Daniel Gutson --- It is not the same and doesn't cover important cases: for example, the opposite one, there is a nontrivial copy ctor implementation but there is no nontrivial dtor. Or even between the special ctors, or there

[Bug libstdc++/81469] std::uncaught_exception should be marked as deprecated for C++1z

2017-07-25 Thread danielgutson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81469 --- Comment #3 from Daniel Gutson --- Any update on this? Could someone review the proposed patch?

[Bug middle-end/82958] New: uninitialized used warning missed when variable is both in function argument and return value within a loop

2017-11-12 Thread danielgutson at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: danielgutson at gmail dot com Target Milestone: --- Created attachment 42591 --> https://gcc.gnu.org/bugzi